{"version":3,"file":"/tmp/diubl_38514/ui/static/js/app.min.js.map","names":["setDatasetSlug","slug","document","cookie","window","__DATASET_SLUG_COOKIE","Modernizr","a","b","c","w","j","cssText","y","s","v","e","g","documentElement","h","i","createElement","style","m","split","n","q","r","slice","t","d","f","k","l","body","parseInt","id","appendChild","join","innerHTML","background","overflow","parentNode","removeChild","u","hasOwnProperty","B","call","constructor","prototype","Function","bind","this","TypeError","arguments","apply","concat","Object","touch","DocumentTouch","offsetTop","toLowerCase","push","addTest","className","_version","_prefixes","testStyles","replace","global","factory","module","exports","Error","noGlobal","arr","getProto","getPrototypeOf","flat","array","indexOf","class2type","toString","hasOwn","fnToString","ObjectFunctionString","support","isFunction","obj","nodeType","item","isWindow","preservedScriptAttributes","type","src","nonce","noModule","DOMEval","code","node","doc","val","script","text","getAttribute","setAttribute","head","toType","version","rhtmlSuffix","jQuery","selector","context","fn","init","isArrayLike","length","nodeName","elem","name","jquery","toArray","get","num","pushStack","elems","ret","merge","prevObject","each","callback","map","first","eq","last","even","grep","_elem","odd","len","end","sort","splice","extend","options","copy","copyIsArray","clone","target","deep","isPlainObject","Array","isArray","undefined","expando","Math","random","isReady","error","msg","noop","proto","Ctor","isEmptyObject","globalEval","textContent","nodeValue","makeArray","results","inArray","isXMLDoc","namespace","namespaceURI","docElem","ownerDocument","test","second","invert","matches","callbackExpect","arg","value","guid","Symbol","iterator","_i","pop","whitespace","rtrimCSS","RegExp","contains","bup","compareDocumentPosition","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","escapeSelector","sel","preferredDoc","pushNative","Expr","outermostContext","sortInput","hasDuplicate","documentIsHTML","rbuggyQSA","dirruns","done","classCache","createCache","tokenCache","compilerCache","nonnativeSelectorCache","sortOrder","booleans","identifier","attributes","pseudos","rwhitespace","rcomma","rleadingCombinator","rdescend","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rinputs","rheader","rquickExpr","rsibling","runescape","funescape","escape","nonHex","high","String","fromCharCode","unloadHandler","setDocument","inDisabledFieldset","addCombinator","disabled","dir","next","childNodes","els","find","seed","nid","match","groups","newSelector","newContext","exec","getElementById","getElementsByTagName","getElementsByClassName","testContext","scope","tokenize","toSelector","querySelectorAll","qsaError","removeAttribute","select","keys","cache","key","cacheLength","shift","markFunction","assert","el","createInputPseudo","createButtonPseudo","createDisabledPseudo","isDisabled","createPositionalPseudo","argument","matchIndexes","subWindow","webkitMatchesSelector","msMatchesSelector","defaultView","top","addEventListener","getById","getElementsByName","disconnectedMatch","cssHas","querySelector","filter","attrId","getAttributeNode","tag","input","compare","sortDetached","expr","elements","matchesSelector","attr","attrHandle","uniqueSort","duplicates","sortStable","createPseudo","relative","preFilter","excess","unquoted","nodeNameSelector","expectedNodeName","pattern","operator","check","result","what","_argument","simple","forward","ofType","_context","xml","outerCache","nodeIndex","start","parent","useCache","diff","firstChild","lastChild","pseudo","args","setFilters","idx","matched","not","matcher","compile","unmatched","has","lang","elemLang","hash","location","root","focus","activeElement","err","safeActiveElement","hasFocus","href","tabIndex","enabled","checked","selected","selectedIndex","empty","nextSibling","header","button","_matchIndexes","lt","gt","nth","radio","checkbox","file","password","image","submit","reset","parseOnly","tokens","soFar","preFilters","cached","combinator","base","skip","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","matcherOut","preMap","postMap","preexisting","contexts","multipleContexts","matcherIn","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","setMatchers","elementMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","matcherFromGroupMatchers","token","compiled","filters","unique","getText","isXML","selectors","until","truncate","is","siblings","rneedsContext","rsingleTag","winnow","qualifier","self","rootjQuery","parseHTML","ready","rparentsprev","guaranteedUnique","children","contents","prev","sibling","cur","targets","closest","index","prevAll","add","addBack","parents","parentsUntil","nextAll","nextUntil","prevUntil","contentDocument","content","reverse","rnothtmlwhite","Identity","Thrower","ex","adoptValue","resolve","reject","noValue","method","promise","fail","then","Callbacks","object","_","flag","createOptions","firing","memory","fired","locked","list","queue","firingIndex","fire","once","stopOnFalse","remove","disable","lock","fireWith","Deferred","func","tuples","state","always","deferred","catch","pipe","fns","newDefer","tuple","returned","progress","notify","onFulfilled","onRejected","onProgress","maxDepth","depth","handler","special","that","mightThrow","notifyWith","resolveWith","process","exceptionHook","rejectWith","getErrorHook","getStackHook","setTimeout","stateString","when","singleValue","remaining","resolveContexts","resolveValues","primary","updateFunc","rerrorNames","asyncError","console","warn","message","stack","readyException","readyList","completed","removeEventListener","readyWait","wait","readyState","doScroll","access","chainable","emptyGet","raw","bulk","_key","rmsPrefix","rdashAlpha","fcamelCase","_all","letter","toUpperCase","camelCase","string","acceptData","owner","Data","uid","defineProperty","configurable","set","data","prop","hasData","dataPriv","dataUser","rbrace","rmultiDash","dataAttr","JSON","parse","getData","removeData","_data","_removeData","attrs","dequeue","startLength","hooks","_queueHooks","unshift","stop","setter","clearQueue","tmp","count","defer","pnum","source","rcssNum","cssExpand","isAttached","composed","getRootNode","isHiddenWithinTree","display","css","adjustCSS","valueParts","tween","adjusted","scale","maxIterations","currentValue","initial","unit","cssNumber","initialInUnit","defaultDisplayMap","getDefaultDisplay","showHide","show","values","hide","toggle","div","rcheckableType","rtagName","rscriptType","createDocumentFragment","checkClone","cloneNode","noCloneChecked","defaultValue","option","wrapMap","thead","col","tr","td","_default","getAll","setGlobalEval","refElements","tbody","tfoot","colgroup","caption","th","optgroup","rhtml","buildFragment","scripts","selection","ignored","wrap","attached","fragment","nodes","htmlPrefilter","createTextNode","rtypenamespace","returnTrue","returnFalse","on","types","one","origFn","event","off","leverageNative","isSetup","saved","isTrigger","delegateType","stopPropagation","stopImmediatePropagation","preventDefault","trigger","isImmediatePropagationStopped","handleObjIn","eventHandle","events","handleObj","handlers","namespaces","origType","elemData","create","handle","triggered","dispatch","bindType","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","nativeEvent","handlerQueue","fix","delegateTarget","preDispatch","isPropagationStopped","currentTarget","rnamespace","postDispatch","matchedHandlers","matchedSelectors","addProp","hook","Event","enumerable","originalEvent","writable","load","noBubble","click","beforeunload","returnValue","props","isDefaultPrevented","defaultPrevented","relatedTarget","timeStamp","Date","now","isSimulated","altKey","bubbles","cancelable","changedTouches","ctrlKey","detail","eventPhase","metaKey","pageX","pageY","shiftKey","view","char","charCode","keyCode","buttons","clientX","clientY","offsetX","offsetY","pointerId","pointerType","screenX","screenY","targetTouches","toElement","touches","which","blur","focusMappedHandler","documentMode","simulate","attaches","dataHolder","mouseenter","mouseleave","pointerenter","pointerleave","orig","related","rnoInnerhtml","rchecked","rcleanScript","manipulationTarget","disableScript","restoreScript","cloneCopyEvent","dest","udataOld","udataCur","fixInput","domManip","collection","hasScripts","iNoClone","valueIsFunction","html","_evalUrl","keepData","cleanData","dataAndEvents","deepDataAndEvents","srcElements","destElements","inPage","detach","append","prepend","insertBefore","before","after","replaceWith","replaceChild","appendTo","prependTo","insertAfter","replaceAll","original","insert","rnumnonpx","rcustomProp","getStyles","opener","getComputedStyle","swap","old","rboxStyle","curCSS","computed","width","minWidth","maxWidth","isCustomProp","getPropertyValue","pixelBoxStyles","addGetHookIf","conditionFn","hookFn","computeStyleTests","container","divStyle","pixelPositionVal","reliableMarginLeftVal","roundPixelMeasures","marginLeft","right","pixelBoxStylesVal","boxSizingReliableVal","position","scrollboxSizeVal","offsetWidth","measure","round","parseFloat","reliableTrDimensionsVal","backgroundClip","clearCloneStyle","boxSizingReliable","pixelPosition","reliableMarginLeft","scrollboxSize","reliableTrDimensions","table","trChild","trStyle","height","borderTopWidth","borderBottomWidth","offsetHeight","cssPrefixes","emptyStyle","vendorProps","finalPropName","final","cssProps","capName","vendorPropName","rdisplayswap","cssShow","visibility","cssNormalTransform","letterSpacing","fontWeight","setPositiveNumber","subtract","max","boxModelAdjustment","dimension","box","isBorderBox","styles","computedVal","extra","delta","marginDelta","ceil","getWidthOrHeight","valueIsBorderBox","offsetProp","getClientRects","Tween","easing","cssHooks","opacity","animationIterationCount","aspectRatio","borderImageSlice","columnCount","flexGrow","flexShrink","gridArea","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineHeight","order","orphans","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeMiterlimit","strokeOpacity","origName","setProperty","isFinite","getBoundingClientRect","scrollboxSizeBuggy","left","margin","padding","border","prefix","suffix","expand","expanded","parts","propHooks","run","percent","eased","duration","pos","step","fx","scrollTop","scrollLeft","linear","p","swing","cos","PI","fxNow","inProgress","rfxtypes","rrun","schedule","hidden","requestAnimationFrame","interval","tick","createFxNow","genFx","includeWidth","createTween","animation","Animation","tweeners","properties","stopped","prefilters","currentTime","startTime","tweens","opts","specialEasing","originalProperties","originalOptions","gotoEnd","propFilter","complete","timer","anim","tweener","oldfire","propTween","restoreDisplay","isBox","dataShow","unqueued","overflowX","overflowY","prefilter","speed","opt","speeds","fadeTo","to","animate","optall","doAnimation","finish","stopQueue","timers","cssFn","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","slow","fast","delay","time","timeout","clearTimeout","checkOn","optSelected","radioValue","boolHook","removeAttr","nType","attrHooks","attrNames","getter","lowercaseName","rfocusable","rclickable","stripAndCollapse","getClass","classesToArray","removeProp","propFix","tabindex","for","class","addClass","classNames","curValue","finalValue","removeClass","toggleClass","stateVal","isValidValue","hasClass","rreturn","valHooks","optionSet","rquery","parseXML","parserErrorElem","DOMParser","parseFromString","rfocusMorph","stopPropagationCallback","onlyHandlers","bubbleType","ontype","lastElement","eventPath","parentWindow","triggerHandler","rbracket","rCRLF","rsubmitterTypes","rsubmittable","buildParams","traditional","param","valueOrFunction","encodeURIComponent","serialize","serializeArray","r20","rhash","rantiCache","rheaders","rnoContent","rprotocol","transports","allTypes","originAnchor","addToPrefiltersOrTransports","structure","dataTypeExpression","dataType","dataTypes","inspectPrefiltersOrTransports","jqXHR","inspected","seekingTransport","inspect","prefilterOrFactory","dataTypeOrTransport","ajaxExtend","flatOptions","ajaxSettings","active","lastModified","etag","url","isLocal","protocol","processData","async","contentType","accepts","json","responseFields","converters","ajaxSetup","settings","ajaxPrefilter","ajaxTransport","ajax","transport","cacheURL","responseHeadersString","responseHeaders","timeoutTimer","urlAnchor","fireGlobals","uncached","callbackContext","globalEventContext","completeDeferred","statusCode","requestHeaders","requestHeadersNames","strAbort","getResponseHeader","getAllResponseHeaders","setRequestHeader","overrideMimeType","mimeType","status","abort","statusText","finalText","crossDomain","host","hasContent","ifModified","headers","beforeSend","success","send","nativeStatusText","responses","isSuccess","response","modified","ct","finalDataType","firstDataType","ajaxHandleResponses","conv2","current","conv","dataFilter","throws","ajaxConvert","getJSON","getScript","wrapAll","firstElementChild","wrapInner","htmlIsFunction","unwrap","visible","xhr","XMLHttpRequest","xhrSuccessStatus","xhrSupported","cors","errorCallback","open","username","xhrFields","onload","onerror","onabort","ontimeout","onreadystatechange","responseType","responseText","binary","scriptAttrs","charset","scriptCharset","evt","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","jsonProp","createHTMLDocument","implementation","keepScripts","parsed","params","animated","offset","setOffset","curPosition","curLeft","curCSSTop","curTop","curOffset","curCSSLeft","curElem","using","rect","win","pageYOffset","pageXOffset","offsetParent","parentOffset","scrollTo","Height","Width","defaultExtra","funcName","unbind","delegate","undelegate","hover","fnOver","fnOut","rtrim","proxy","holdReady","hold","parseJSON","isNumeric","isNaN","trim","define","amd","_jQuery","_$","$","noConflict","globalThis","Popper","getWindow","isElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","min","getUAString","uaData","navigator","userAgentData","brands","brand","userAgent","isLayoutViewport","element","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","visualViewport","addVisualOffsets","x","offsetLeft","bottom","getWindowScroll","getNodeName","getDocumentElement","getWindowScrollBarX","isScrollParent","_getComputedStyle","getCompositeRect","elementOrVirtualElement","isFixed","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","scroll","offsets","clientLeft","clientTop","getLayoutRect","abs","getParentNode","assignedSlot","getScrollParent","listScrollParents","_element$ownerDocumen","scrollParent","isBody","updatedList","isTableElement","getTrueOffsetParent","getOffsetParent","isFirefox","currentNode","transform","perspective","contain","willChange","getContainingBlock","auto","basePlacements","viewport","popper","variationPlacements","reduce","acc","placement","placements","modifierPhases","modifiers","Map","visited","Set","modifier","requires","requiresIfExists","forEach","dep","depModifier","child","rootNode","isSameNode","rectToClientRect","assign","getClientRectFromMixedType","clippingParent","strategy","clientWidth","clientHeight","layoutViewport","getViewportRect","getInnerBoundingClientRect","winScroll","scrollWidth","scrollHeight","direction","getDocumentRect","getClippingRect","boundary","rootBoundary","mainClippingParents","clippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","getBasePlacement","getVariation","getMainAxisFromPlacement","computeOffsets","_ref","reference","basePlacement","variation","commonX","commonY","mainAxis","mergePaddingObject","paddingObject","expandToHashMap","hashMap","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","popperRect","rects","clippingClientRect","contextElement","referenceClientRect","popperOffsets","popperClientRect","elementClientRect","overflowOffsets","offsetData","modifiersData","multiply","axis","DEFAULT_OPTIONS","areValidElements","_len","some","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","pending","orderedModifiers","effectCleanupFns","isDestroyed","instance","setOptions","setOptionsAction","cleanupModifierEffects","scrollParents","merged","phase","orderModifiers","existing","_ref$options","effect","cleanupFn","noopFn","update","forceUpdate","_state$elements","_state$orderedModifie","_state$orderedModifie2","Promise","destroy","onFirstUpdate","passive","eventListeners","_options$scroll","_options$resize","resize","popperOffsets$1","unsetSides","mapToStyles","_ref2","_Object$assign2","gpuAcceleration","adaptive","roundOffsets","_offsets$x","_offsets$y","_ref3","hasX","hasY","sideX","sideY","heightProp","widthProp","_Object$assign","commonStyles","_ref4","dpr","devicePixelRatio","roundOffsetsByDPR","computeStyles$1","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","arrow","applyStyles$1","initialStyles","property","attribute","offset$1","_options$offset","invertDistance","skidding","distance","distanceAndSkiddingToXY","_data$state$placement","hash$1","getOppositePlacement","getOppositeVariationPlacement","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","placements$1","allowedPlacements","overflows","flip$1","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","every","_loop","fittingPlacement","within","min$1","max$1","preventOverflow$1","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowElement","arrowRect","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","arrowOffsetParent","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","withinMaxClamp","arrow$1","_state$modifiersData$","toPaddingObject","minProp","maxProp","endDiff","startDiff","clientSize","centerToReference","center","axisProp","centerOffset","_options$element","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","hide$1","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","createPopper$1","createPopper","applyStyles","computeStyles","createPopperLite","flip","require","DataTable","H","W","S","o","E","P","A","T","X","V","M","api","tt","defaults","z","Q","K","column","nTable","nTHead","nTFoot","bRetrieve","bDestroy","oInstance","Api","sTableId","ext","_unique","models","oSettings","sDestroyWidth","sInstance","fastData","oInit","dataTable","aLengthMenu","iDisplayLength","oFeatures","oScroll","oLanguage","Y","fnDrawCallback","fnStateSaveParams","fnStateLoadParams","fnStateLoaded","fnRowCallback","fnCreatedRow","fnHeaderCallback","fnFooterCallback","fnInitComplete","fnPreDrawCallback","rowIdFn","U","rowId","__browser","barWidth","bScrollbarLeft","oBrowser","iBarWidth","oClasses","classes","bPaginate","iDisplayStart","iInitDisplayStart","_iDisplayStart","iDeferLoading","deferLoading","_iRecordsDisplay","_iRecordsTotal","Ne","aoColumns","ee","D","aoColumnDefs","C","te","I","sName","L","aTargets","cell","N","F","mData","_isArrayHost","Ke","bStateSave","aaSorting","O","asSorting","Qe","bSorted","J","bDeferRender","R","_captionSide","captionNode","nTBody","aiDisplay","aiDisplayMaster","bInitialised","sUrl","G","He","builder","ccContent","errMode","feature","features","search","row","legacy","pager","renderer","pageButton","detect","render","fnVersionCheck","iApiIndex","sVersion","afnFiltering","aTypes","ofnSearch","oSort","afnSortData","aoFeatures","oStdClasses","oPagination","info","layout","tableRow","tableCell","full","canAsc","canDesc","isAsc","isDesc","none","processing","scrolling","footer","inner","paging","nav","pow","Ee","normalize","from","classList","Z","_hungarianMap","charAt","util","diacritics","debounce","throttle","escapeRegex","ge","pe","substring","stripHtml","escapeHtml","sScrollX","scrollX","bSort","orderIndicators","indicators","orderHandler","bSortCellsTop","titleRow","aoSearchCols","oSearch","serverSide","searchDelay","aDataSort","oColumn","searchFixed","colEl","aoPreSearchCols","mDataProp","sType","_sManualType","sClass","iDataSort","mRender","_render","_bAttrSrc","_setter","fnGetData","fnSetData","_rowReadObject","bSortable","ne","bAutoWidth","sY","sX","sXInner","ie","ze","containerWidth","ce","maxLenString","De","sContentPadding","outerWidth","sWidth","_reszEvt","bDestroying","ResizeObserver","nTableWrapper","resizeObserver","observe","Ue","re","ae","oe","aoHeader","bVisible","le","_name","se","aoData","typeDetect","oneOf","allOf","ue","aoFooter","nTr","displayData","he","anCells","de","sWidthOrig","oRow","_aData","aIds","xe","fe","ye","cells","iDraw","sDefaultContent","iDrawError","me","ve","be","_aSortData","_aFilterData","Se","_DT_RowIndex","sCellType","_DT_CellIndex","fnCreatedCell","DT_RowClass","__rowc","DT_RowAttr","DT_RowData","we","colSpan","at","Te","includes","colspan","rowspan","title","_e","fnRecordsDisplay","fnDisplayEnd","bDrawing","Ie","Fe","oPreviousSearch","draw","columns","searchable","bSearchable","orderable","regex","fixed","term","Je","_iDisplayLength","Oe","je","We","replaceChildren","bFiltered","Ce","bFilter","Ze","Re","_drawHold","sZeroRecords","sEmptyTable","fnRecordsTotal","sLoadingRecords","Le","rowClass","rowNum","sTitle","autoTitle","ariaTitle","sError","sServerMethod","oAjaxData","submitAs","stringify","dataSrc","aaData","ke","Me","innerText","_sFilterRow","Pe","it","caseInsensitive","exact","smart","sDom","qe","cFeature","fnInit","bProcessing","role","sProcessing","Ae","Ye","$e","fnStateLoadCallback","et","_bInitComplete","Xe","rt","Ve","floor","Be","bCollapse","nScrollHead","nScrollBody","nScrollFoot","aoDrawCallback","scrollBarVis","nt","_idx","bSortMulti","Ge","aaSortingFixed","pre","post","formatter","sorter","sSortDataType","orderDescReverse","sortDetails","aLastSort","bSortClasses","_bLoadingState","oSavedState","fnStateSaveCallback","iStateDuration","oLoadedState","page","adjust","log","sErrMode","alert","dt","bServerSide","ot","fnFormatNumber","i18n","st","ut","ft","columnOrder","ht","_details","_detailsShow","rows","wt","St","mt","vt","cols","any","flatten","Dt","lastIndexOf","pluck","reduceRight","to$","toJQuery","__apiStruct","__dt_wrapper","methodExt","propExt","register","registerPlural","tables","indexes","pages","recordsTotal","recordsDisplay","bt","yt","xt","childRows","loaded","Tt","_t","Ct","pt","It","Lt","At","columnVisible","use","DateTime","bootstrap","Foundation","FixedOffsetZone","isMoment","Modal","NAME","Reveal","versionCheck","isDataTable","camelToHungarian","disconnect","return","sSortingClass","bInfo","bLengthChange","bScrollCollapse","sThousands","fnInfoCallback","sessionStorage","localStorage","getItem","pathname","setItem","iTabIndex","oAria","orderableReverse","orderableRemove","paginate","previous","number","oPaginate","sFirst","sLast","sNext","sPrevious","entries","lengthLabels","sInfo","sInfoEmpty","sInfoFiltered","sInfoPostFix","sDecimal","sLengthMenu","sSearch","sSearchPlaceholder","topStart","topEnd","bottomStart","bottomEnd","sPaginationType","sScrollXInner","sScrollY","aanFeatures","aoRowCallback","aoHeaderCallback","aoFooterCallback","aoRowCreatedCallback","aoPreDrawCallback","aoInitComplete","aoStateSaveParams","aoStateLoadParams","aoStateLoaded","aoOpenRows","pagingControls","aoStateSave","aoStateLoad","bAjaxDataGet","aoDestroyCallback","oPlugins","numbers","simple_numbers","full_numbers","first_last","first_last_numbers","_numbers","Bt","numbers_length","pagingButton","clicker","pagingContainer","Nt","Ft","luxon","moment","utc","isValid","fromFormat","fromISO","setLocale","Ot","valueOf","UTC","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","jt","Rt","Intl","Pt","NumberFormat","formatToParts","Et","localeCompare","languages","language","numeric","ignorePunctuation","kt","datetime","date","toExponential","toFixed","Mt","asc","desc","findIndex","Ht","_forLayoutRow","postfix","_infoEl","Wt","Xt","previousNext","firstLast","Vt","placeholder","boundaryNumbers","action","outerHeight","qt","menu","label","Node","TEXT_NODE","Option","dataTableSettings","dataTableExt","deselect","_select","getSelection","items","anchorNode","_select_lastCell","blurable","_select_set","_select_mode","toggleable","save","ids","infoEls","headerCheckbox","selectable","available","_select_selected","_selected_cells","_eventNamespace","_select_init","mode","limitTo","enable","selectedSingle","selectAll","selectorModifier","selectNone","showSelected","aria","rowCheckbox","rtl","leftColumns","rightColumns","dom","bottomBlocker","topBlocker","scroller","_addStyles","_setKeyTableListener","_scroll","_fixedColumns","_destroy","fixedColumns","widths","_sum","_fixColumn","tableFixedStart","tableFixedEnd","tableFixedLeft","tableFixedRight","tableScrollingEnd","tableScrollingLeft","tableScrollingStart","tableScrollingRight","fixedEnd","fixedLeft","fixedRight","fixedStart","FixedColumns","config","rowGroup","_constructor","_draw","_adjustColspan","_colspan","_group","_groupDisplay","emptyDataGroup","dataPoint","startRender","_rowWrap","startClassName","endRender","endClassName","RowGroup","_interopNamespaceDefault","toStringTag","getOwnPropertyDescriptor","default","freeze","Popper__namespace","elementMap","instanceMap","size","delete","TRANSITION_END","parseSelector","CSS","triggerTransitionEnd","dispatchEvent","getElement","isVisible","elementIsVisible","closedDetails","summary","ELEMENT_NODE","hasAttribute","findShadowRoot","attachShadow","reflow","getjQuery","DOMContentLoadedCallbacks","isRTL","defineJQueryPlugin","plugin","JQUERY_NO_CONFLICT","jQueryInterface","Constructor","execute","possibleCallback","executeAfterTransition","transitionElement","waitForTransition","emulatedDuration","transitionDuration","transitionDelay","floatTransitionDuration","Number","floatTransitionDelay","getTransitionDurationFromElement","called","getNextActiveElement","shouldGetNext","isCycleAllowed","listLength","namespaceRegex","stripNameRegex","stripUidRegex","eventRegistry","uidEvent","customEvents","nativeEvents","makeEventUid","getElementEvents","findHandler","callable","delegationSelector","normalizeParameters","originalTypeEvent","delegationFunction","isDelegated","typeEvent","getTypeEvent","addHandler","oneOff","wrapFunction","previousFunction","domElements","domElement","hydrateObj","EventHandler","bootstrapDelegationHandler","bootstrapHandler","removeHandler","Boolean","removeNamespacedHandlers","storeElementEvent","handlerKey","inNamespace","isNamespace","startsWith","elementEvent","keyHandlers","jQueryEvent","nativeDispatch","meta","_unused","normalizeData","decodeURIComponent","normalizeDataKey","chr","Manipulator","setDataAttribute","removeDataAttribute","getDataAttributes","bsKeys","dataset","pureKey","getDataAttribute","Config","Default","DefaultType","_getConfig","_mergeConfigObj","_configAfterMerge","_typeCheckConfig","jsonConfig","configTypes","expectedTypes","valueType","BaseComponent","super","_element","_config","DATA_KEY","dispose","EVENT_KEY","propertyName","getOwnPropertyNames","_queueCallback","isAnimated","getInstance","getOrCreateInstance","VERSION","eventName","getSelector","hrefAttribute","SelectorEngine","findOne","ancestor","previousElementSibling","nextElementSibling","focusableChildren","focusables","getSelectorFromElement","getElementFromSelector","getMultipleElementsFromSelector","enableDismissTrigger","component","clickEvent","tagName","EVENT_KEY$b","EVENT_CLOSE","EVENT_CLOSED","Alert","close","_destroyElement","SELECTOR_DATA_TOGGLE$5","Button","EVENT_KEY$9","EVENT_TOUCHSTART","EVENT_TOUCHMOVE","EVENT_TOUCHEND","EVENT_POINTERDOWN","EVENT_POINTERUP","Default$c","endCallback","leftCallback","rightCallback","DefaultType$c","Swipe","isSupported","_deltaX","_supportPointerEvents","PointerEvent","_initEvents","_start","_eventIsPointerPenTouch","_end","_handleSwipe","_move","absDeltaX","maxTouchPoints","EVENT_KEY$8","DATA_API_KEY$5","ARROW_LEFT_KEY$1","ARROW_RIGHT_KEY$1","ORDER_NEXT","ORDER_PREV","DIRECTION_LEFT","DIRECTION_RIGHT","EVENT_SLIDE","EVENT_SLID","EVENT_KEYDOWN$1","EVENT_MOUSEENTER$1","EVENT_MOUSELEAVE$1","EVENT_DRAG_START","EVENT_LOAD_DATA_API$3","EVENT_CLICK_DATA_API$5","CLASS_NAME_CAROUSEL","CLASS_NAME_ACTIVE$2","SELECTOR_ACTIVE","SELECTOR_ITEM","SELECTOR_ACTIVE_ITEM","KEY_TO_DIRECTION","Default$b","keyboard","pause","ride","DefaultType$b","Carousel","_interval","_activeElement","_isSliding","touchTimeout","_swipeHelper","_indicatorsElement","_addEventListeners","cycle","_slide","nextWhenVisible","_clearInterval","_updateInterval","setInterval","_maybeEnableCycle","_getItems","activeIndex","_getItemIndex","_getActive","defaultInterval","_keydown","_addTouchEventListeners","img","swipeConfig","_directionToOrder","_setActiveIndicatorElement","activeIndicator","newActiveIndicator","elementInterval","isNext","nextElement","nextElementIndex","triggerEvent","_orderToDirection","isCycling","directionalClassName","orderClassName","_isAnimated","clearInterval","carousel","slideIndex","carousels","EVENT_KEY$7","EVENT_SHOW$6","EVENT_SHOWN$6","EVENT_HIDE$6","EVENT_HIDDEN$6","EVENT_CLICK_DATA_API$4","CLASS_NAME_SHOW$7","CLASS_NAME_COLLAPSE","CLASS_NAME_COLLAPSING","CLASS_NAME_DEEPER_CHILDREN","SELECTOR_DATA_TOGGLE$4","Default$a","DefaultType$a","Collapse","_isTransitioning","_triggerArray","toggleList","filterElement","foundElement","_initializeChildren","_addAriaAndCollapsedClass","_isShown","activeChildren","_getFirstLevelChildren","activeInstance","_getDimension","scrollSize","triggerArray","isOpen","NAME$a","EVENT_KEY$6","DATA_API_KEY$3","ARROW_UP_KEY$1","ARROW_DOWN_KEY$1","EVENT_HIDE$5","EVENT_HIDDEN$5","EVENT_SHOW$5","EVENT_SHOWN$5","EVENT_CLICK_DATA_API$3","EVENT_KEYDOWN_DATA_API","EVENT_KEYUP_DATA_API","CLASS_NAME_SHOW$6","SELECTOR_DATA_TOGGLE$3","SELECTOR_DATA_TOGGLE_SHOWN","SELECTOR_MENU","PLACEMENT_TOP","PLACEMENT_TOPEND","PLACEMENT_BOTTOM","PLACEMENT_BOTTOMEND","PLACEMENT_RIGHT","PLACEMENT_LEFT","Default$9","autoClose","popperConfig","DefaultType$9","Dropdown","_popper","_parent","_menu","_inNavbar","_detectNavbar","_createPopper","_completeHide","referenceElement","_getPopperConfig","_getPlacement","parentDropdown","isEnd","_getOffset","popperData","defaultBsPopperConfig","_selectMenuItem","clearMenus","openToggles","composedPath","isMenuTarget","dataApiKeydownHandler","isInput","isEscapeEvent","isUpOrDownEvent","getToggleButton","NAME$9","CLASS_NAME_SHOW$5","EVENT_MOUSEDOWN","Default$8","clickCallback","rootElement","DefaultType$8","Backdrop","_isAppended","_append","_getElement","_emulateAnimation","backdrop","EVENT_KEY$5","EVENT_FOCUSIN$2","EVENT_KEYDOWN_TAB","TAB_NAV_BACKWARD","Default$7","autofocus","trapElement","DefaultType$7","FocusTrap","_isActive","_lastTabNavDirection","activate","_handleFocusin","_handleKeydown","deactivate","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","PROPERTY_PADDING","PROPERTY_MARGIN","ScrollBarHelper","getWidth","documentWidth","innerWidth","_disableOverFlow","_setElementAttributes","calculatedValue","_resetElementAttributes","isOverflowing","_saveInitialAttribute","styleProperty","scrollbarWidth","_applyManipulationCallback","actualValue","removeProperty","callBack","EVENT_KEY$4","EVENT_HIDE$4","EVENT_HIDE_PREVENTED$1","EVENT_HIDDEN$4","EVENT_SHOW$4","EVENT_SHOWN$4","EVENT_RESIZE$1","EVENT_CLICK_DISMISS","EVENT_MOUSEDOWN_DISMISS","EVENT_KEYDOWN_DISMISS$1","EVENT_CLICK_DATA_API$2","CLASS_NAME_OPEN","CLASS_NAME_SHOW$4","CLASS_NAME_STATIC","Default$6","DefaultType$6","_dialog","_backdrop","_initializeBackDrop","_focustrap","_initializeFocusTrap","_scrollBar","_adjustDialog","_showElement","_hideModal","handleUpdate","modalBody","_triggerBackdropTransition","event2","_resetAdjustments","isModalOverflowing","initialOverflowY","isBodyOverflowing","paddingLeft","paddingRight","showEvent","alreadyOpen","EVENT_KEY$3","DATA_API_KEY$1","EVENT_LOAD_DATA_API$2","CLASS_NAME_SHOW$3","CLASS_NAME_SHOWING$1","CLASS_NAME_HIDING","OPEN_SELECTOR","EVENT_SHOW$3","EVENT_SHOWN$3","EVENT_HIDE$3","EVENT_HIDE_PREVENTED","EVENT_HIDDEN$3","EVENT_RESIZE","EVENT_CLICK_DATA_API$1","EVENT_KEYDOWN_DISMISS","Default$5","DefaultType$5","Offcanvas","DefaultAllowlist","area","br","em","hr","h1","h2","h3","h4","h5","h6","li","ol","small","span","sub","sup","strong","ul","uriAttributes","SAFE_URL_PATTERN","allowedAttribute","allowedAttributeList","attributeName","attributeRegex","Default$4","allowList","extraClass","sanitize","sanitizeFn","template","DefaultType$4","DefaultContentType","entry","TemplateFactory","getContent","_resolvePossibleFunction","changeContent","_checkContent","toHtml","templateWrapper","_maybeSanitize","_setContent","templateElement","_putElementInTemplate","unsafeHtml","sanitizeFunction","createdDocument","elementName","attributeList","allowedAttributes","sanitizeHtml","DISALLOWED_ATTRIBUTES","CLASS_NAME_FADE$2","CLASS_NAME_SHOW$2","SELECTOR_TOOLTIP_INNER","SELECTOR_MODAL","EVENT_MODAL_HIDE","TRIGGER_HOVER","TRIGGER_FOCUS","AttachmentMap","AUTO","TOP","RIGHT","BOTTOM","LEFT","Default$3","customClass","DefaultType$3","Tooltip","_isEnabled","_timeout","_isHovered","_activeTrigger","_templateFactory","_newContent","tip","_setListeners","_fixTitle","toggleEnabled","_leave","_enter","_hideModalHandler","_disposePopper","_isWithContent","isInTheDom","_getTipElement","_isWithActiveTrigger","_getTitle","_createTipElement","_getContentForTemplate","_getTemplateFactory","tipId","getUID","setContent","_initializeOnDelegatedTarget","_getDelegateConfig","attachment","triggers","eventIn","eventOut","_setTimeout","dataAttributes","dataAttribute","SELECTOR_TITLE","SELECTOR_CONTENT","Default$2","DefaultType$2","Popover","_getContent","EVENT_KEY$2","EVENT_ACTIVATE","EVENT_CLICK","EVENT_LOAD_DATA_API$1","CLASS_NAME_ACTIVE$1","SELECTOR_TARGET_LINKS","SELECTOR_NAV_LINKS","SELECTOR_LINK_ITEMS","Default$1","rootMargin","smoothScroll","threshold","DefaultType$1","ScrollSpy","_targetLinks","_observableSections","_rootElement","_activeTarget","_observer","_previousScrollData","visibleEntryTop","parentScrollTop","refresh","_initializeTargetsAndObservables","_maybeEnableSmoothScroll","_getNewObserver","section","observableSection","behavior","IntersectionObserver","_observerCallback","targetElement","_process","userScrollsDown","isIntersecting","_clearActiveClass","entryIsLowerThanPrevious","targetLinks","anchor","decodeURI","_activateParents","listGroup","activeNodes","spy","EVENT_KEY$1","EVENT_HIDE$1","EVENT_HIDDEN$1","EVENT_SHOW$1","EVENT_SHOWN$1","EVENT_CLICK_DATA_API","EVENT_KEYDOWN","EVENT_LOAD_DATA_API","ARROW_LEFT_KEY","ARROW_RIGHT_KEY","ARROW_UP_KEY","ARROW_DOWN_KEY","CLASS_NAME_ACTIVE","CLASS_NAME_FADE$1","CLASS_NAME_SHOW$1","NOT_SELECTOR_DROPDOWN_TOGGLE","SELECTOR_DATA_TOGGLE","SELECTOR_INNER_ELEM","SELECTOR_DATA_TOGGLE_ACTIVE","Tab","_setInitialAttributes","_getChildren","innerElem","_elemIsActive","_getActiveElem","hideEvent","_deactivate","_activate","relatedElem","_toggleDropDown","nextActiveElement","preventScroll","_setAttributeIfNotExists","_setInitialAttributesOnChild","_getInnerElement","isActive","outerElem","_getOuterElement","_setInitialAttributesOnTargetPanel","EVENT_MOUSEOVER","EVENT_MOUSEOUT","EVENT_FOCUSIN","EVENT_FOCUSOUT","EVENT_HIDE","EVENT_HIDDEN","EVENT_SHOW","EVENT_SHOWN","CLASS_NAME_HIDE","CLASS_NAME_SHOW","CLASS_NAME_SHOWING","autohide","Toast","_hasMouseInteraction","_hasKeyboardInteraction","_clearTimeout","_maybeScheduleHide","isShown","_onInteraction","isInteracting","__CURRENT_DATASET_SLUG","Globals","__webpack_require__","definition","__webpack_exports__","SVG_NS","product","svg","createElementNS","createSVGRect","pageLang","isChrome","chrome","isMS","opera","isSafari","isTouchDevice","isWebKit","deg2rad","marginNames","supportsPassiveEvents","supportsPassive","charts","dateFormats","seriesTypes","symbolSizes","chartCount","Core_Globals","chart","severity","isCode","isNumber","additionalMessages","objectEach","encodeURI","fireEvent","messages","pInt","mag","isString","str","isObject","strict","isDOMElement","isClass","Infinity","defined","keyOrAttribs","isGetter","attrSingle","splat","pick","getMagnitude","LN10","correctFloat","prec","toPrecision","easeInOutSine","ctx","removeOneEvent","removeAllEvents","eventCollection","_val","hcEvents","typeEvents","eventArguments","defaultFunction","createEvent","initEvent","multilevel","serialMode","uniqueKey","highcharts","Utilities","addEvent","Point","series","runTrackerClick","capture","eventObject","arrayMax","arrayMin","clamp","attribs","nopad","crisp","lineWidth","inverted","mod","inverter","destroyObjectProperties","except","destructablesOnly","diffObjects","newer","older","keepOlder","collectionsWithUpdate","keeper","newerVal","discardElement","parentElement","erase","extendClass","members","getAlignFactor","align","middle","getClosestDistance","arrays","onError","allowNegative","loopLength","xData","getNestedProperty","path","pathElements","pathElement","thisProp","getStyle","toInt","boundingClientRectWidth","insertItem","indexOption","isInternal","extendOrSource","sources","doCopy","normalizeTickInterval","multiples","magnitude","allowDecimals","hasTickAmount","retInterval","normalized","pad","padder","pushUnique","relativeLength","replaceNested","replacements","replacement","stableSort","sortFunction","sortValue","safeI","syncTimeout","timeUnits","millisecond","minute","hour","day","week","month","year","ucfirst","useSerialIds","proceed","outerArgs","Core_Utilities","Chart_ChartDefaults","alignThresholds","panning","styledMode","borderRadius","colorCount","allowMutatingData","ignoreHiddenSeries","spacing","resetZoomButton","theme","zooming","singleTouch","resetButton","borderColor","backgroundColor","plotBorderColor","Palettes","colors","Time_win","Time_defined","Time_error","Time_extend","Time_isNumber","Time_isObject","Time_isString","Time_merge","Time_objectEach","Time_pad","Time_splat","Time_timeUnits","Time_ucfirst","hasOldSafariBug","DateTimeFormat","formatRange","spanishWeekdayIndex","weekday","Core_Time","timezone","variableTimezone","dTLCache","timezoneOffset","useUTC","isMonth","isShort","timeZone","dateFormat","toParts","timestamp","dayOfMonth","hours","minutes","seconds","dateTimeFormat","locale","cacheKey","str2dtf","dTL","format","dtf","mapping","fractionalSecondDigits","makeTime","milliseconds","getTimezoneOffset","newOffset","hasTimezone","isYYYYMMDD","ts","gmt","colon","timeZoneName","upperCaseFirst","invalidDate","localeAwareRegex","fullYear","langWeekdays","weekdays","shortWeekdays","months","shortMonths","substr","tzHours","resolveDTLFormat","main","getTimeTicks","normalizedInterval","startOfWeek","tickPositions","higherRanks","unitRange","variableDayLength","weekdayNo","totalRange","getDateFormat","range","dateTimeLabelFormats","dateStr","blank","strpos","lastN","Defaults_fireEvent","Defaults_merge","symbols","loading","numericSymbols","resetZoom","resetZoomTitle","buttonTheme","fill","stroke","color","cursor","fontSize","states","minScale","subtitle","verticalAlign","plotOptions","legend","alignColumns","itemMarginBottom","itemMarginTop","labelFormatter","navigation","activeColor","inactiveColor","itemStyle","textDecoration","textOverflow","itemHoverStyle","itemHiddenStyle","shadow","itemCheckboxStyle","squareSymbol","symbolPadding","labelStyle","textAlign","tooltip","sqrt","footerFormat","headerShape","hideDelay","shape","shared","snap","headerFormat","pointFormat","borderWidth","stickOnContact","useHTML","credits","defaultTime","Defaults","getOptions","Color_isNumber","Color_merge","Color_pInt","Color_defined","Color","None","rgba","NaN","GlobalColor","parser","stops","names","parsers","brighten","alpha","setOpacity","tweenTo","fromRgba","toRgba","hasAlpha","channel","white","black","Color_Color","Fx_win","Fx_isNumber","Fx_objectEach","Fx","dSetter","paths","startSeg","endSeg","tweenSeg","startItem","endItem","toD","curAnim","initPath","fromD","startX","endX","isArea","positionFactor","disableAnimation","hasStackedCliffs","fullLength","other","moveSegment","otherSegment","segmentToAdd","lowerSegmentToAdd","fillSetter","strokeSetter","Animation_Fx","AnimationUtilities_defined","AnimationUtilities_getStyle","AnimationUtilities_isArray","AnimationUtilities_isNumber","AnimationUtilities_isObject","AnimationUtilities_merge","AnimationUtilities_objectEach","AnimationUtilities_pick","animObject","AnimationUtilities","pathArray","getDeferredAnimation","labelAnimation","seriesAnim","forExport","setAnimation","globalAnimation","AST_win","AST_attr","AST_createElement","AST_css","AST_error","AST_isFunction","AST_isString","AST_objectEach","AST_splat","trustedTypes","trustedTypesPolicy","createPolicy","createHTML","emptyHTML","AST","filterUserAttributes","valid","allowedReferences","ref","parseStyle","line","pair","setElementHTML","addToDOM","parseMarkup","recurse","subtree","subParent","textNode","bypassHTMLFiltering","allowedTags","NS","markup","appendChildNodes","addTo","astNode","parsedAttributes","attrib","childNode","HTML_AST","Templating_defaultOptions","Templating_defaultTime","Templating_pageLang","Templating_extend","Templating_getNestedProperty","Templating_isArray","Templating_isNumber","Templating_isObject","Templating_isString","Templating_pick","Templating_ucfirst","helpers","divide","if","condition","unless","numberFormatCache","isQuotedString","subRegex","floatRegex","decRegex","numberFormatter","numberFormat","resolveProperty","currentMatch","hasSub","mainMatch","subMatch","isBlock","expression","startInner","startingElseSection","elseBody","startChar","valueAndFormat","segment","decimals","decimalPoint","thousandsSep","lastIndex","fractionDigits","mantissa","exp","origDec","firstDecimals","minimumFractionDigits","maximumFractionDigits","useGrouping","hasSeparators","Core_Templating","RendererRegistry","defaultRenderer","rendererTypes","getRendererType","rendererType","registerRendererType","rendererClass","setAsDefault","Renderer","Renderer_RendererRegistry","RendererUtilities_clamp","RendererUtilities_pick","RendererUtilities_pushUnique","RendererUtilities_stableSort","RendererUtilities","distribute","boxes","maxDistance","origBoxes","reducedLen","sortByRank","rank","sortByTarget","restBoxes","boxesLength","forDeletion","equalRank","overlapping","total","posInCompositeBox","Renderer_RendererUtilities","SVGElement_animate","SVGElement_animObject","SVGElement_stop","SVGElement_doc","SVGElement_SVG_NS","SVGElement_win","SVGElement_addEvent","SVGElement_attr","SVGElement_createElement","SVGElement_crisp","SVGElement_css","SVGElement_defined","SVGElement_erase","SVGElement_extend","SVGElement_fireEvent","SVGElement_getAlignFactor","SVGElement_isArray","SVGElement_isFunction","SVGElement_isNumber","SVGElement_isObject","SVGElement_isString","SVGElement_merge","SVGElement_objectEach","SVGElement_pick","SVGElement_pInt","SVGElement_pushUnique","SVGElement_replaceNested","SVGElement_syncTimeout","SVGElement_uniqueKey","SVGElement","_defaultGetter","_defaultSetter","inserted","parentGroup","textStr","buildText","added","handleZ","zIndexSetter","onAdd","currentClassName","newClassName","afterSetters","doTransform","updateTransform","alignOptions","alignByTranslate","alignTo","redraw","alignedObjects","initialAlignment","alignToKey","alignToBox","placed","alignAttr","alignSetter","convert","alignValue","animOptions","deferTime","applyTextOutline","textOutline","getContrast","strokeWidth","fakeTS","digit","removeTextOutline","outline","parentElem","totalHeight","dy","continueAnimation","symbolCustomAttribs","hasSetSymbolSize","skipAttr","symbolName","symbolAttr","rotation","clip","clipElem","clipPath","defs","x1","y1","x2","y2","x2Crisp","y2Crisp","complexColor","colorOptions","colorObject","gradName","gradAttr","radAttr","gradients","stopColor","radialReference","radialGradient","linearGradient","gradientUnits","getRadialAttr","gradientObject","stopObject","gradient","oldStyles","newStyles","textWidth","hasNew","stylesToApply","dashstyleSetter","wrapper","ownerSVGElement","grandParent","parentToClean","onclick","onmouseout","onmouseover","onmousemove","point","connector","safeRemoveChild","pathToSegments","seg","hrefSetter","setAttributeNS","getBBox","reload","rot","cacheKeys","isSVG","bBox","toggleTextShadowShim","rootFontSize","lineClamp","polygon","htmlGetBBox","getRotatedBox","boxX","boxY","translateY","rotationOriginX","rotationOriginY","alignFactor","baseline","rad","rad90","cosRad","sinRad","sin","wCosRad","wSinRad","cosRad90","sinRad90","xOriginCosRad","xOriginSinRad","yOriginCosRad","yOriginSinRad","rotOrigin","aX","bX","cX","dX","aY","bY","cY","dY","onEvents","eventType","opacitySetter","reAlign","setRadialReference","coordinates","existingGradient","shadowOptions","shadowDefinition","inherit","tempElement","textSetter","textPxLength","titleSetter","titleNode","toFront","translate","translateX","matrix","textPath","visibilitySetter","xGetter","svgParent","otherElement","otherZIndex","undefinedOtherZIndex","yGetter","matrixSetter","rotationOriginXSetter","rotationOriginYSetter","rotationSetter","scaleXSetter","scaleYSetter","translateXSetter","translateYSetter","verticalAlignSetter","SVG_SVGElement","SVGLabel_defined","SVGLabel_extend","SVGLabel_getAlignFactor","SVGLabel_isNumber","SVGLabel_merge","SVGLabel_pick","SVGLabel_removeEvent","SVGLabel","anchorX","anchorY","hasBGImage","paddingLeftSetter","paddingSetter","paddingRightSetter","doUpdate","symbolKey","emptyBBox","baselineOffset","needsBox","deferredAttr","xSetting","anchorXSetter","boxAttr","getCrispAdjust","anchorYSetter","ySetting","textStyles","textProps","updateTextPadding","updateBoxSize","heightSetter","heightSetting","rSetter","widthSetting","crispAdjust","getPaddedWidth","metrics","fontMetrics","firstLineMetrics","symbol","textY","textX","widthSetter","xSetter","ySetter","SVG_SVGLabel","Symbols_defined","Symbols_isNumber","Symbols_pick","arc","cx","cy","rx","ry","proximity","fullCircle","innerRadius","innerR","cosStart","sinStart","cosEnd","sinEnd","longArc","arcSegment","clockwise","roundedRect","SVG_Symbols","callout","safeDistance","isTopCorner","cornerY","sliceStart","circle","diamond","square","triangle","TextBuilder_doc","TextBuilder_SVG_NS","TextBuilder_win","TextBuilder_attr","TextBuilder_extend","TextBuilder_fireEvent","TextBuilder_isString","TextBuilder_objectEach","TextBuilder_pick","stringWithEllipsis","currentIndex","SVG_TextBuilder","svgElement","textLineHeight","ellipsis","noWrap","whiteSpace","buildSVG","hasMarkup","tempParent","textCache","actualWidth","ast","modifyTree","modifyDOM","unescapeEntities","previousSibling","getLineHeight","modifyTextNode","words","hasWhiteSpace","ellipsisWidth","lineNo","startAt","lines","precedingSiblings","modifyChildren","baseVal","modifyChild","fontStyle","nextNode","getString","lengths","minIndex","maxIndex","getSubStringLength","charEnd","concatenatedEnd","inputStr","escapes","SVGRenderer_defaultOptions","SVGRenderer_charts","SVGRenderer_deg2rad","SVGRenderer_doc","SVGRenderer_isFirefox","SVGRenderer_SVG_NS","SVGRenderer_win","SVGRenderer_addEvent","SVGRenderer_attr","SVGRenderer_createElement","SVGRenderer_crisp","SVGRenderer_css","SVGRenderer_defined","SVGRenderer_destroyObjectProperties","SVGRenderer_extend","SVGRenderer_isArray","SVGRenderer_isNumber","SVGRenderer_isObject","SVGRenderer_isString","SVGRenderer_merge","SVGRenderer_pick","SVGRenderer_pInt","SVGRenderer_replaceNested","SVGRenderer_uniqueKey","hasInternalReferenceBug","SVGRenderer","allowHTML","boxWrapper","getReferenceURL","subPixelFix","imgCount","setSize","unSubPixelFix","def","hitElement","elementFromPoint","fontFamily","setStyle","isHidden","rendererDefs","chartIndex","filterUnits","getShadowFilterContent","dx","stdDeviation","b8","hoverState","selectState","disabledState","curState","normalStyle","stateAttribs","stateStyles","stateName","setState","pointerEvents","crispLine","points","rGetter","viewBox","alignElements","preserveAspectRatio","elemWrapper","onDummyLoad","dummy","Image","ren","imageRegex","isImage","sym","symbolFn","imageSrc","centerImage","imgwidth","imgheight","imgSize","backgroundSize","isImg","symbolUrl","hasLoaded","clipRect","tspans","parentVal","tspan","rotCorr","alterY","commandLength","SVG_SVGRenderer","HTMLElement_attr","HTMLElement_css","HTMLElement_createElement","HTMLElement_defined","HTMLElement_extend","HTMLElement_getAlignFactor","HTMLElement_isNumber","HTMLElement_pInt","HTMLElement_pushUnique","commonSetter","decorateSVGGroup","cssProto","classSetter","compose","SVGRendererClass","getSpanCorrection","alignCorrection","xCorr","yCorr","isSettingWidth","WebkitLineClamp","WebkitBoxOrient","alignOnAdd","getTextPxLength","marginTop","currentTextTransform","parentPadding","oldTextWidth","textWidthNum","cTT","oldRotation","oldAlign","setSpanRotation","transformOrigin","originX","originY","svgGroup","HTML_HTMLElement","AxisDefaults","xAxis","alignTicks","panningEnabled","zoomEnabled","endOnTick","gridLineDashStyle","gridZIndex","labels","autoRotationLimit","indentation","reserveSpace","staggerLines","maxPadding","minorGridLineDashStyle","minorTickLength","minorTickPosition","minorTicksPerMajor","minPadding","reversed","reversedStacks","showEmpty","showFirstLabel","showLastLabel","startOnTick","tickLength","tickPixelInterval","tickmarkPlacement","tickPosition","minorGridLineColor","minorGridLineWidth","minorTickColor","lineColor","gridLineColor","gridLineWidth","tickColor","yAxis","stackLabels","allowOverlap","crop","Axis_AxisDefaults","Foundation_addEvent","Foundation_isFunction","Foundation_objectEach","Foundation_removeEvent","registerEventOptions","eventOptions","Core_Foundation","Tick_deg2rad","Tick_clamp","Tick_correctFloat","Tick_defined","Tick_destroyObjectProperties","Tick_extend","Tick_fireEvent","Tick_getAlignFactor","Tick_isNumber","Tick_merge","Tick_objectEach","Tick_pick","Axis_Tick","noLabel","parameters","isNew","isNewLabel","tickmarkOffset","addLabel","categories","logarithmic","labelOptions","isFirst","isLast","animateLabels","tickInterval","tickPositionInfo","dateTimeLabelFormat","category","lin2log","dateTime","grid","unitName","getXDateFormat","defaultLabelFormatter","shortenLabel","getSlotWidth","_addedPlotLB","moveLabel","movedLabel","createLabel","xy","labelGroup","getPosition","horiz","tickPos","cHeight","oldChartHeight","chartHeight","transB","opposite","oldChartWidth","chartWidth","getLabelPosition","transA","isLinked","linkedParent","tickRotCorr","labelOffsetCorrection","reserveSpaceDefault","labelOffset","labelAlign","yOffset","getLabelSize","getMarkPath","tickWidth","handleOverflow","pxPos","leftBound","labelLeft","rightBound","labelRight","isRadial","factor","labelWidth","slotWidth","xCorrection","leftPos","rightPos","modifiedSlotWidth","goRight","autoRotation","labelPos","moved","ticks","currentTick","axisStart","axisEnd","polar","labelOpacity","newOpacity","renderGridLine","renderMark","renderLabel","gridLinePath","gridLine","dashStyle","dashstyle","gridGroup","getPlotLinePath","force","acrossPanes","tickSize","isXAxis","mark","isNewMark","axisGroup","replaceMovedLabel","isDirty","Axis_animObject","Axis_defaultOptions","Axis_deg2rad","Axis_arrayMax","Axis_arrayMin","Axis_clamp","Axis_correctFloat","Axis_defined","Axis_destroyObjectProperties","Axis_erase","Axis_error","Axis_extend","Axis_fireEvent","Axis_getClosestDistance","Axis_insertItem","Axis_isArray","Axis_isNumber","Axis_isString","Axis_merge","Axis_normalizeTickInterval","Axis_objectEach","Axis_pick","Axis_relativeLength","Axis_removeEvent","Axis_splat","Axis_syncTimeout","getNormalizedTickInterval","tickAmount","Axis","userOptions","coll","isZAxis","labelsOptions","uniqueNames","minPixelPadding","hasNames","plotLinesAndBandsGroups","positiveValuesOnly","linkedTo","labelEdge","minorTicks","plotLinesAndBands","alternateBands","minRange","userMinRange","maxZoom","crosshair","crosshairs","axes","orderItems","labelRotation","sideSpecific","numSymMagnitude","numericSymbolMagnitude","numericSymbolDetector","multi","getSeriesExtremes","xExtremes","hasVisibleSeries","dataMin","dataMax","softThreshold","seriesOptions","seriesDataMin","seriesDataMax","getColumn","getXExtremes","dataExtremes","applyExtremes","backwards","cvsCoord","handleLog","pointPlacement","localMin","doPostTranslate","isOrdinal","brokenAxis","hasBreaks","lin2val","sign","cvsOffset","localA","sector","val2lin","toPixels","paneCoordinates","toValue","pixel","axisLeft","axisTop","cWidth","translatedValue","between","scrollablePixelsY","scrollablePixelsX","getLinearTickPositions","roundedMin","roundedMax","lastPos","precision","single","getMinorTickInterval","minorTickInterval","getMinorTickPositions","pointRangePadding","unitLength","minorTickPositions","paddedTicks","_pos","getLogTickPositions","normalizeTimeTickInterval","trimTicks","adjustForMinRange","zoomOffset","spaceAvailable","closestDataRange","minArgs","maxArgs","ceiling","xIncrement","log2lin","getClosest","closestSingleDistance","closestDistance","singleXs","seriesClosest","closestPointRange","sorted","nameToX","explicitCategories","nameX","requireSorting","autoIncrement","updateNames","isDirtyData","rowCount","generatePoints","setColumn","setAxisTranslation","hasCategories","ordinalCorrection","pointRange","axisPointRange","minPointOffset","seriesPointRange","isPointPlacementAxis","ordinal","slope","translationSlope","staticScale","minFromRange","setTickInterval","secondPass","softMax","softMin","tickPixelIntervalOption","linkedParentExtremes","thresholdMin","thresholdMax","hardMin","hardMax","tickIntervalOption","getTickAmount","userMin","userMax","getExtremes","stacking","usePercentage","numThreshold","hasExtremesChanged","forceCrop","forceCropping","minTickInterval","unsquish","setTickPositions","tickPositionsOption","tickPositioner","minorTickIntervalOption","allowEndOnTick","isPanning","tickPositionerResult","positions","units","startingTickInterval","adjustedTickInterval","adjustTickAmount","alignToOthers","alignedAxes","chartOptions","thresholdAlignments","hasOther","thresholdAlignment","getKey","pane","thisKey","otherAxis","threshAlign","getThresholdAlignment","sum","callerAxis","finalTickAmt","currentTickAmount","thresholdTickIndex","adjustExtremes","setScale","isXAxisDirty","setAxisSize","isDirtyAxisLength","forceRedraw","buildStacks","cleanStacks","allExtremes","setExtremes","serie","kdTree","eventArgs","plotWidth","plotHeight","plotTop","plotLeft","getThreshold","realMin","realMax","autoLabelAlign","angle","labelMetrics","slotSize","rotationOption","getStep","spaceNeeded","newTickInterval","bestScore","MAX_VALUE","score","slotCount","cssWidth","renderUnsquish","labelStyleOptions","lineClampOption","commonWidth","maxLabelLength","widthOption","addTitle","axisTitleOptions","axisTitle","low","generateTick","createGroups","axisParent","createGroup","getOffset","invertedSide","hasCrossing","crossing","axisOffset","clipOffset","directionFactor","showAxis","titleOffsetOption","labelOffsetPadded","lineHeightCorrection","titleOffset","titleMargin","renderLine","axisTitleMargin","getMaxLabelDimensions","maxLabelDimensions","axisLine","getLinePath","lineLeft","lineTop","getTitlePosition","axisLength","xOption","yOption","textHeightOvershoot","alongAxis","offAxis","titlePosition","renderMinorTick","slideIn","renderTick","isColumn","stackLabelOptions","alternateGridColor","overlap","px","slideInTicks","hasRendered","PlotLineOrBand","plotLines","plotBands","plotLineOptions","addPlotBandOrLine","forDestruction","isPlaced","renderStackTotals","plotLine","getKeepProps","keepProps","keepEvents","plotGroup","drawCrosshair","categorized","crossOptions","graphic","cross","crosshairPos","plotX","plotY","chartX","chartY","stackY","isCrosshair","hideCrosshair","isDirtyBox","axisSeries","setTitle","titleOptions","setCategories","Axis_Axis","DateTimeAxis_addEvent","DateTimeAxis_getMagnitude","DateTimeAxis_normalizeTickInterval","DateTimeAxis_timeUnits","DateTimeAxis","onAfterSetType","Additions","AxisClass","unitsOption","Axis_DateTimeAxis","LogarithmicAxis_addEvent","LogarithmicAxis_normalizeTickInterval","LogarithmicAxis_pick","LogarithmicAxis","onAfterInit","minor","minorAutoInterval","intermediate","break2","filteredTickIntervalOption","totalPixelLength","Axis_LogarithmicAxis","PlotLineOrBandAxis_erase","PlotLineOrBandAxis_extend","PlotLineOrBandAxis_isNumber","PlotLineOrBandAxis","PlotLineOrBandClass","addPlotBand","updatedOptions","addPlotLine","getPlotBandPath","toPath","outside","isFlat","plus","pathStart","pathEnd","toPathStart","toPathEnd","removePlotBand","removePlotBandOrLine","removePlotLine","PlotLineOrBandType","axisProto","PlotLineOrBand_PlotLineOrBandAxis","PlotLineOrBand_addEvent","PlotLineOrBand_arrayMax","PlotLineOrBand_arrayMin","PlotLineOrBand_defined","PlotLineOrBand_destroyObjectProperties","PlotLineOrBand_erase","PlotLineOrBand_fireEvent","PlotLineOrBand_merge","PlotLineOrBand_objectEach","PlotLineOrBand_pick","ChartClass","labelCollectors","groupAttribs","group","optionsLabel","svgElem","isBand","isLine","groupName","eventsAdded","inside","getLabelText","xBounds","yBounds","bBoxWidth","PlotLineOrBand_PlotLineOrBand","Tooltip_animObject","Tooltip_format","Tooltip_composed","Tooltip_doc","Tooltip_addEvent","Tooltip_clamp","Tooltip_css","Tooltip_discardElement","Tooltip_extend","Tooltip_fireEvent","Tooltip_isArray","Tooltip_isNumber","Tooltip_isObject","Tooltip_isString","Tooltip_merge","Tooltip_pick","Tooltip_pushUnique","Tooltip_splat","Tooltip_syncTimeout","pointer","allowShared","isSticky","bodyFormatter","tooltipOptions","formatPrefix","tooltipFormatter","cleanSplit","defaultFormatter","hoverPoints","headerFooterFormatter","hideTimer","getAnchor","mouseEvent","followPointer","tooltipPos","getClassName","isSplit","isHeader","colorIndex","getLabel","doSplit","wasSplit","chartStyle","renderTo","shouldStickOnContact","getPlayingField","boxWidth","boxHeight","chartPosition","getChartPosition","buildDimensionArray","dim","isX","swapped","flipped","negative","hoverSeries","preferFarSide","ttBelow","firstDimension","outerSize","innerSize","scaledInnerSize","scaledDist","scaleDiff","roomLeft","roomRight","alignedLeft","alignedRight","secondDimension","pointerEvent","inClass","move","drawTracker","pointOrPoints","formatString","wasShared","noSharedTooltip","applyInactiveState","currentSeries","renderSplit","checkX","checkY","isDirectTouch","shouldShowTooltip","spacingBox","updatePosition","positioner","scrollablePlotArea","scrollingContainer","bounds","tooltipLabel","headerTop","chartLeft","chartTop","distributionBoxTop","headerHeight","adjustedPlotHeight","defaultPositioner","partialTooltip","updatePartialTooltip","ignoreX","boxPosition","boxStart","boxExtremes","tracker","hoverPoint","anchorPos","labelBBox","styledModeFormat","isFooter","xDateFormat","tooltipDateKeys","PointerClass","Core_Tooltip","Point_animObject","Point_defaultOptions","Point_format","Point_addEvent","Point_crisp","Point_erase","Point_extend","Point_fireEvent","Point_getNestedProperty","Point_isArray","Point_isFunction","Point_isNumber","Point_isObject","Point_merge","Point_pick","Point_syncTimeout","Point_removeEvent","Point_uniqueKey","animateBeforeDestroy","animateParams","startXPos","graphicalProps","getGraphicalProps","singular","isDataLabel","startYPos","plural","applyOptions","pointValKey","optionsToObject","dataLabels","relativeXValue","isNull","destroyed","dataSorting","destroyPoint","graphics","dataLabel","destroyElements","legendItem","destroyItem","onMouseOut","pointCount","kinds","firePointEvent","manageEvent","allowPointSelect","zone","getZone","zones","zoneAxis","nonZonedColor","hasNewShapeType","shapeType","resolveColor","pointArrayMap","valueCount","firstItemType","setNestedProperty","hasDataLabels","marker","_hasPointMarkers","chartCoordinates","posX","posY","optionsChart","colorByPoint","colorCounter","isLastKey","shouldDraw","valueDecimals","valuePrefix","valueSuffix","runEvent","hasMockGraphic","shouldDestroyGraphic","dataColumnKeys","setRow","fixedBox","hasCartesianSeries","legendType","isDirtyLegend","removePoint","accumulate","selectedStaging","getSelectedPoints","loopPoint","loopSeries","inactiveOtherPoints","onMouseOver","getChartCoordinatesFromPoint","runPointActions","userEvent","importedUserEvent","previousState","stateOptions","markerOptions","normalDisabled","markerStateOptions","stateDisabled","pointMarker","hasMarkers","markerAttribs","pointAttribs","pointAttribsAnimation","newSymbol","halo","stateMarkerGraphic","currentSymbol","markerGroup","isInside","haloOptions","markerGraphic","markerVisibility","isCluster","haloPath","Series_Point","Pointer_color","Pointer_charts","Pointer_composed","Pointer_isTouchDevice","Pointer_addEvent","Pointer_attr","Pointer_css","Pointer_extend","Pointer_find","Pointer_fireEvent","Pointer_isNumber","Pointer_isObject","Pointer_objectEach","Pointer_offset","Pointer_pick","Pointer_pushUnique","Pointer_splat","Pointer","activeSeries","linkedSeries","navigatorSeries","inactiveSeries","setAllPointsToState","eventsToUnbind","unbindDocumentMouseUp","unbindDocumentTouchEnd","tooltipTimeout","getSelectionMarkerAttrs","zoomHor","zoomVert","mouseDownX","mouseDownY","drag","panKey","selectionMarkerFill","panKeyPressed","clickedInside","selectionMarker","hasDragged","isInsidePlot","visiblePlotOnly","mapView","hasZoom","pan","dragStart","mouseIsDown","cancelClick","getSelectionBox","drop","boosted","zoomX","zoomY","_cursor","pinchDown","findNearestKDPoint","compareX","findNearestPointBy","searchPoint","p1","p2","isCloserX","distX","isCloser","dist","isAbove","shapeArgs","isNode","getCoordinates","getHoverData","existingHoverPoint","existingHoverSeries","useExisting","directTouch","enableMouseTracking","searchSeries","stickyTracking","boost","getPoint","getPointFromEvent","onTrackerMouseOut","elemClassName","pointerCaptureEventsToUnbind","runChartClick","setDOMEvents","ePos","onContainerClick","pEvt","onContainerMouseDown","isPrimaryButton","onContainerMouseMove","zoomOption","onContainerMouseLeave","hoverChartIndex","onContainerMouseEnter","setHoverChartIndex","touchSelect","openMenu","onDocumentTouchEnd","onDocumentMouseUp","onContainerTouchMove","onContainerTouchStart","onDocumentMouseMove","pinch","lastTouches","touchesLength","fireClickEvent","followTouchMove","initiated","res","boxFromTouches","finger0","finger1","allowMove","tooltipPoints","isCartesian","unDocMouseMove","hoverData","useSharedTooltip","ownerDoc","onmousedown","setPointerCapture","shouldHave","hasPointerCapture","releasePointerCapture","hoverChart","relatedTargetObj","hasMoved","zoomType","pinchType","Core_Pointer","DataTableCore_fireEvent","DataTableCore_isArray","DataTableCore_objectEach","DataTableCore_uniqueKey","Data_DataTableCore","autoId","versionTag","columnName","applyRowCount","asReference","getColumns","columnNames","getRow","rowIndex","eventDetail","setColumns","silent","indexRowCount","cellValue","addColumns","LegendSymbol_extend","LegendSymbol_merge","LegendSymbol_pick","LegendSymbol","lineMarker","hasArea","symbolWidth","symbolHeight","generalRadius","legendItemGroup","verticalCenter","legendSymbol","lineSizer","linecap","radius","isMarker","areaMarker","rectangle","symbolRadius","Legend_LegendSymbol","SeriesDefaults","showCheckbox","enabledThreshold","normal","radiusPlus","lineWidthPlus","fillColor","cropThreshold","inactive","turboThreshold","SeriesRegistry_defaultOptions","SeriesRegistry_extend","SeriesRegistry_extendClass","SeriesRegistry_merge","SeriesRegistry","registerSeriesType","seriesType","SeriesClass","defaultPlotOptions","seriesProto","pointClass","pointProto","PointClass","Series_SeriesRegistry","Series_animObject","Series_setAnimation","Series_defaultOptions","Series_registerEventOptions","Series_svg","Series_win","Series_arrayMax","Series_arrayMin","Series_clamp","Series_correctFloat","Series_crisp","Series_defined","Series_destroyObjectProperties","Series_diffObjects","Series_erase","Series_error","Series_extend","Series_find","Series_fireEvent","Series_getClosestDistance","Series_getNestedProperty","Series_insertItem","Series_isArray","Series_isNumber","Series_isString","Series_merge","Series_objectEach","Series_pick","Series_removeEvent","Series_syncTimeout","Series","chartSeries","bindAxes","lastSeries","getColor","getSymbol","setDataSortingOptions","setData","axisOptions","axisTypes","optionalAxis","hasMarkerChanged","oldOptions","oldMarker","pointIntervalUnit","pointStart","pointInterval","enabledDataSorting","allowDG","itemOptions","seriesUserOptions","typeOptions","userPlotOptions","userPlotOptionsSeries","defaultPlotOptionsType","userPlotOptionsType","negativeColor","negativeFillColor","getName","getCyclic","indexName","counterName","setting","getPointsCollection","hasGroupedData","seriesMarkerOption","findPointIndex","optionsObject","fromIndex","oldData","matchingPoint","matchedById","pointIndex","oldPoint","touched","matchByName","cropped","cropStart","updateData","pointsToAdd","equalLength","hasUpdatedByKey","succeeded","pointOptions","hasDerivedData","addPoint","updatePoints","oldDataLength","updatedData","copiedData","indexOfX","indexOfY","dataLength","sortData","runTurbo","firstPoint","getFirstValidPoint","lastPoint","isShortArray","valueData","autoX","colArray","sortKey","getPointOptionsObject","aValue","bValue","seriesData","getProcessedData","forceExtremesFromAll","getExtremesFromAll","croppedData","updatingNames","cropData","processedData","basePointRange","dataOptions","processedDataLength","groupCropStartIndex","dataGrouping","groupAll","pOptions","dataGroup","groupMap","yData","customData","stackedYData","yAxisData","keysAffectYAxis","activeYData","shoulder","doAll","xMin","xMax","increment","pointPlacementToXValue","dynamicallyPlaced","stackThreshold","startFromThreshold","lastPlotX","stackIndicator","closestPointRangePx","limitedRange","xValue","stackItem","stackValues","yValue","lowValue","stacks","negStacks","stackKey","getStackIndicator","stackTotal","percentage","irregularWidths","pointXOffset","barW","yBottom","dataModify","modifyValue","isPointInside","getValidPoints","insideOnly","allowNull","getClipBox","clipBox","plotSizeX","plotSizeY","invertible","getSharedClipKey","sharedClipKey","setClip","sharedClips","animationClipKey","animationClipRect","markerAnimationClipRect","markerClipBox","finalBox","afterAnimate","finishedAnimating","drawPoints","colorAxis","seriesMarkerOptions","specialGroup","globallyEnabled","verb","pointMarkerOptions","hasPointMarker","hasImage","pointAttr","seriesStateOptions","pointStateOptions","pointColorOption","pointColor","zoneColor","keepEventsForUpdate","issue134","removeEvents","AXIS","animationTimeout","survive","applyZones","graph","halfWidth","avoidClose","translated","lineClip","axisMax","invertPath","showLine","zoneBelow","lastLineClip","lastTranslated","simpleClip","simplePath","adaptivePath","getPlotBox","horAxis","vertAxis","chartSeriesGroup","seriesGroup","animDuration","drawGraph","drawDataLabels","redrawPoints","wasDirty","searchKDTree","buildKDTree","buildingKdTree","dimensions","kdtree","median","kdAxisArray","kdNow","suppliedPointEvaluator","suppliedBSideCheckEvaluator","kdX","kdY","kdComparer","kdDimensions","useRadius","isBubble","pointEvaluator","comparisonProp","bSideCheckEvaluator","doSearch","tree","p1kdX","p2kdX","p1kdY","p2kdY","setDistance","tdist","sideA","sideB","sqrtTDist","retDist","trackByArea","trackerPath","areaPath","graphPath","TRACKER_FILL","dataLabelsGroup","withEvent","isInTheMiddle","linkSeries","initialType","initialSeriesProto","preserve","newType","keepPoints","joinBy","mapData","hasOptionChanged","parallelArrays","casting","propFromSeries","setPrototypeOf","ownEvents","missingModuleFor","showInLegend","setSortedData","setName","optionName","oldOption","plotOptionsOption","mouseOver","mouseOut","stateAnimation","graphElement","labelBySeries","setVisible","vis","oldVisibility","showOrHide","colorizeItem","otherSeries","drawLegendSymbol","registerType","Series_Series","Legend_animObject","Legend_setAnimation","Legend_registerEventOptions","Legend_composed","Legend_distribute","Legend_format","Legend_addEvent","Legend_createElement","Legend_css","Legend_defined","Legend_discardElement","Legend_find","Legend_fireEvent","Legend_isNumber","Legend_merge","Legend_pick","Legend_pushUnique","Legend_relativeLength","Legend_stableSort","Legend_syncTimeout","Legend","allItems","initialItemY","itemHeight","itemX","itemY","lastItemY","lastLineHeight","legendHeight","legendWidth","maxItemWidth","maxLegendWidth","titleHeight","totalItemWidth","positionCheckboxes","proximate","proximatePositions","positionItems","originalColor","legendSymbolColor","hiddenColor","colorizeHidden","positionItem","isResizing","ltr","getAllItems","clipHeight","scrollOffset","checkboxOffset","renderTitle","contentGroup","setText","labelFormat","renderItem","horizontal","itemDistance","isSeries","createCheckboxForItem","itemClassName","itemExtraWidth","scrollGroup","setItemEvents","itemWidth","fontMetricsH","labelHeight","layoutItem","getAlignment","floating","adjustMargins","alignment","alignments","alignLeft","useFirstPoint","allowedWidth","legendGroup","legendIndex","optionsY","alignTop","maxHeight","navOptions","arrowSize","clipToHeight","addTracker","lastY","spaceHeight","currentPage","fullHeight","pageIx","up","down","scrollBy","pageCount","upTracker","downTracker","legendLabel","isPoint","activeClass","legendElements","setOtherItemsState","otherItem","browserEvent","defaultChecked","Legend_Legend","Chart_animate","Chart_animObject","Chart_setAnimation","Chart_defaultOptions","Chart_numberFormat","Chart_registerEventOptions","Chart_charts","Chart_doc","Chart_marginNames","Chart_svg","Chart_win","Chart_seriesTypes","Chart_addEvent","Chart_attr","Chart_createElement","Chart_css","Chart_defined","Chart_diffObjects","Chart_discardElement","Chart_erase","Chart_error","Chart_extend","Chart_find","Chart_fireEvent","Chart_getAlignFactor","Chart_getStyle","Chart_isArray","Chart_isNumber","Chart_isObject","Chart_isString","Chart_merge","Chart_objectEach","Chart_pick","Chart_pInt","Chart_relativeLength","Chart_removeEvent","Chart_splat","Chart_syncTimeout","Chart_uniqueKey","Chart","setZoomOptions","zoomKey","zoomBySingleTouch","showAxes","symbolCounter","firstRender","initSeries","getSeriesOrderByLinks","optionsArray","userOptionsArray","iEnd","plotBox","scrollablePlotBox","ignoreY","legendUserOptions","isHiddenChart","afterRedraw","hasDirtyStacks","hasStackedSeries","redrawLegend","setResponsive","temporaryDisplay","layOutTitles","centerInCategory","updateTotals","getStacks","getMargins","extKey","drawChartBox","itemById","createAxes","getSelectedSeries","subtitleOptions","applyDescription","explicitOptions","updateOptions","isStock","descOptions","topAligned","uncappedScale","requiresDirtyBox","getContainerBox","nonContainers","getChartSize","heightOption","containerBox","enableDefaultHeight","revert","tempStyle","hcOrigStyle","hcOrigDetached","hcOricDetached","setClassName","getContainer","indexAttrName","containerId","containerStyle","oldChartIndex","skipClone","userSelect","exporting","skipAxes","resetMargins","marginBottom","getAxisMargins","setChartSize","oldBox","isPrinting","reflowTimeout","setReflow","runReflow","clipRoundFunc","marginRight","plotBorderWidth","sideName","plotBGImage","chartBackgroundColor","plotBackgroundColor","plotBackgroundImage","chartBorderWidth","mgn","bgAttr","chartBackground","plotBackground","plotBorder","plotShadow","klass","isUpdating","renderSeries","axisLayoutRuns","renderAxes","redoVertical","expectedSpace","redoHorizontal","mockTick","tempWidth","tempHeight","seriesGroupShadow","addCredits","creds","mapCredits","serieOptions","callbacks","warnIfA11yModuleNotLoaded","accessibility","addSeries","addAxis","createAxis","addColorAxis","showLoading","loadingOptions","setLoadingSize","loadingDiv","loadingSpan","loadingShown","showDuration","hideLoading","hideDuration","oneToOne","adders","isResponsiveOptions","itemsForRemoval","updateAllAxes","updateAllSeries","runSetSize","propsRequireUpdateSeries","propsRequireDirtyBox","propsRequireReflow","newOptions","hasId","collectionsWithInit","newWidth","newHeight","setSubtitle","setCaption","showResetZoom","btnOptions","relativeTo","zoomOut","resetSelection","panningOptions","displayButton","isAnyAxisPanning","hasZoomed","wh","toLength","fromLength","fromCenter","pointRangeDirection","minPx","newMin","newMax","seriesExtremes","optionsMin","optionsMax","safeDataMin","safeDataMax","padRange","paddedMin","paddedMax","allowZoomOutside","overscroll","Chart_Chart","ScrollablePlotArea_stop","ScrollablePlotArea_composed","ScrollablePlotArea_addEvent","ScrollablePlotArea_createElement","ScrollablePlotArea_css","ScrollablePlotArea_defined","ScrollablePlotArea_erase","ScrollablePlotArea_merge","ScrollablePlotArea_pushUnique","onChartRender","ScrollablePlotArea","applyFixed","markDirty","afterSetSize","minHeight","recalculateHoriz","hasParallelCoordinates","scrollableOptions","moveFixedElements","WebkitOverflowScrolling","parentDiv","innerContainer","fixedDiv","fixedRenderer","lastHoverPoint","mask","scrollPositionX","scrollPositionY","scrollableWidth","scrollableHeight","maskTop","maskLeft","maskBottom","maskRight","maskPlotRight","maskPlotBottom","redrawTrigger","fixedSelectors","axisClass","classBase","Extensions_ScrollablePlotArea","StackItem_format","StackItem_Series","StackItem_destroyObjectProperties","StackItem_fireEvent","StackItem_getAlignFactor","StackItem_isNumber","StackItem_pick","Stacking_StackItem","negativeValue","stackOption","isNegative","cumulative","hasValidPoints","leftCliff","rightCliff","formatOption","labelrank","xOffset","boxBottom","boxTop","defaultX","stackBox","getStackBox","labelBox","isJustify","adjustStackPosition","justifyDataLabel","stackBoxProps","totalStackValue","yZero","neg","StackingAxis_getDeferredAnimation","StackingAxis_addEvent","StackingAxis_correctFloat","StackingAxis_defined","StackingAxis_destroyObjectProperties","StackingAxis_fireEvent","StackingAxis_isNumber","StackingAxis_objectEach","StackingAxis_pick","chartGetStacks","oldStacks","xAxisOptions","onAxisDestroy","stackTotalGroup","onAxisInit","AxisAdditions","seriesGetStackIndicator","seriesModifyStacks","processedXData","stacker","pointExtremes","seriesPercentStacker","totalFactor","seriesSetGroupedPoints","setStackedPoints","resetStacks","seriesSetStackedPoints","stackingParam","yDataLength","negKey","pointKey","stacksTouched","yNumber","singleStacks","actualSeries","setGroupedPoints","modifyStacks","stackLabelsAnim","animationConfig","StackingAxis","chartProto","percentStacker","Stacking_StackingAxis","LineSeries_defined","LineSeries_merge","LineSeries_isObject","LineSeries","gappedPath","getGraphPath","preventGraphAnimation","xMap","fillGraph","nullsAsZeroes","connectCliffs","gap","connectNulls","pathToPoint","getPointSpline","Area_AreaSeriesDefaults","AreaSeries_LineSeries","AreaSeries_extend","AreaSeries_merge","AreaSeries_objectEach","AreaSeries_pick","AreaSeries","shiftUnit","bottomPoints","graphPoints","seriesIndex","translatedThreshold","addDummyPoints","otherI","stackedValues","nullVal","cliffVal","isCliff","doCurve","getStackPoints","leftNull","rightNull","rectPlotX","topPath","bottomPath","firstBottomPoint","pointMap","yAxisSeries","seriesLength","upOrDown","stackX","visibleSeries","stackPoint","nullName","cliffName","otherStack","cliff","si","SplineSeries_LineSeries","SplineSeries_merge","SplineSeries_pick","SplineSeries","smoothing","denom","nextPoint","leftContX","leftContY","rightContX","rightContY","otherPoint","lastX","nextX","nextY","correction","controlPoints","Spline_SplineSeries","AreaSplineSeries_AreaSeries","areaProto","AreaSplineSeries_extend","AreaSplineSeries_merge","AreaSplineSeries","Column_ColumnSeriesDefaults","groupPadding","pointPadding","minPointLength","brightness","ColumnSeries_animObject","ColumnSeries_color","ColumnSeries_noop","ColumnSeries_clamp","ColumnSeries_crisp","ColumnSeries_defined","ColumnSeries_extend","ColumnSeries_fireEvent","ColumnSeries_isArray","ColumnSeries_isNumber","ColumnSeries_merge","ColumnSeries_pick","ColumnSeries_objectEach","ColumnSeries","yAxisPos","translateProp","translateStart","getColumnMetrics","reverseStacks","stackGroups","grouping","otherYAxis","otherOptions","columnIndex","categoryWidth","pointOffsetWidth","pointWidth","maxPointWidth","columnMetrics","paddedWidth","crispCol","adjustForMissingColumns","indexInCategory","totalInCategory","pointValues","yStackMap","baseIndex","seriesIndexes","yStack","dense","seriesPointWidth","seriesXOffset","seriesBarW","barY","barH","barX","p2o","pointAttrToOptions","strokeOption","strokeWidthOption","animationLimit","hasGraphic","allowShadow","_hasTracking","trackerGroups","Column_ColumnSeries","DataLabel_getDeferredAnimation","DataLabel_format","DataLabel_defined","DataLabel_extend","DataLabel_fireEvent","DataLabel_getAlignFactor","DataLabel_isArray","DataLabel_isString","DataLabel_merge","DataLabel_objectEach","DataLabel_pick","DataLabel_pInt","DataLabel_splat","DataLabel","mergedDataLabelOptions","alignDataLabel","justify","forceDL","unrotatedbBox","setDataLabelStartPos","initDataLabelsGroup","initDataLabels","contrastColor","seriesDlOptions","mergeArrays","dlOptions","labelEnabled","dataLabelOnHidden","dataLabelOnNull","op","applyFilter","labelText","labelBgColor","horizontalAxis","horizontalAxisShift","verticalAxis","verticalAxisShift","justified","two","labelCenter","Series_DataLabel","ColumnDataLabel_composed","ColumnDataLabel_Series","ColumnDataLabel_merge","ColumnDataLabel_pick","ColumnDataLabel_pushUnique","ColumnDataLabel","xLen","yLen","dlBox","below","overshoot","ColumnSeriesClass","Column_ColumnDataLabel","BarSeries_extend","BarSeries_merge","BarSeries","Scatter_ScatterSeriesDefaults","jitter","ScatterSeries_ColumnSeries","ScatterSeries_LineSeries","ScatterSeries_addEvent","ScatterSeries_extend","ScatterSeries_merge","ScatterSeries","applyJitter","plotProp","translatedJitter","rand","unrandom","CenteredUtilities_deg2rad","CenteredUtilities_fireEvent","CenteredUtilities_isNumber","CenteredUtilities_pick","CenteredUtilities_relativeLength","CenteredUtilities","getCenter","slicingRoom","slicedOffset","centerOption","smallestSize","thickness","handleSlicingRoom","angular","getStartAndEndRadians","startAngle","endAngle","Series_CenteredUtilities","PiePoint_setAnimation","PiePoint_addEvent","PiePoint_defined","PiePoint_extend","PiePoint_isNumber","PiePoint_pick","PiePoint_relativeLength","PiePoint","getConnectorPath","labelPosition","dataLabelPosition","connectorShape","shapeFunc","connectorShapes","connectorPosition","getTranslate","sliced","slicedTranslation","half","toggleSlice","fixedOffset","breakAt","touchingSliceAt","lineSegment","softConnector","straight","crookedLine","diameter","leftAligned","crookX","crookDistance","tan","Pie_PiePoint","Pie_PieSeriesDefaults","connectorPadding","ignoreHiddenPoint","PieSeries_noop","PieSeries_clamp","PieSeries_extend","PieSeries_fireEvent","PieSeries_merge","PieSeries_pick","PieSeries","startAngleRad","startR","drawEmpty","endAngleRad","centerX","centerY","delayedRendering","getX","radii","asin","groupTranslation","animateTo","sortByAngle","radians","circ","radiusX","radiusY","PieDataLabel_composed","PieDataLabel_noop","PieDataLabel_distribute","PieDataLabel_Series","PieDataLabel_arrayMax","PieDataLabel_clamp","PieDataLabel_defined","PieDataLabel_pick","PieDataLabel_pushUnique","PieDataLabel_relativeLength","PieDataLabel_ColumnDataLabel","dataLabelPositioners","radialDistributionY","distributeBox","radialDistributionX","naturalY","seriesCenter","alignToPlotEdges","dataLabelWidth","alignToConnectors","maxDataLabelWidth","getDataLabelPosition","halfPI","cosAngle","sinAngle","finalConnectorOffset","natural","halves","maxLabelDistance","shortened","dataLabelOptions","halfIdx","distributionLength","topOffset","posAttribs","sideOverflow","verifyDataLabelOverflow","placeDataLabels","connectorColor","connectorWidth","minSize","newSize","PieSeriesClass","pieProto","PieDataLabel","GeometryUtilities","getCenterOfPoints","getDistanceBetweenPoints","getAngleBetweenPoints","atan2","pointInPolygon","Geometry_GeometryUtilities","OverlappingDataLabels_addEvent","OverlappingDataLabels_fireEvent","OverlappingDataLabels_objectEach","OverlappingDataLabels_pick","chartHideOverlappingLabels","isIntersectRect","box1","box2","isPolygonOverlap","box1Poly","box2Poly","getAbsoluteBox","label1","label2","isLabelAffected","oldOpacity","absoluteBox","toHide","overlappingLabel","hideOrShow","isOld","OverlappingDataLabels_onChartRender","collector","hideOverlappingLabels","Extensions_OverlappingDataLabels","BorderRadius_defaultOptions","BorderRadius_noop","BorderRadius_addEvent","BorderRadius_extend","BorderRadius_isObject","BorderRadius_merge","BorderRadius_relativeLength","defaultBorderRadiusOptions","where","oldArc","oldRoundedRect","applyBorderRadius","fromLineToArc","bigR","relativeR","angleOfBorderRadius","angleOffset","distanceBigCenterToStartArc","BorderRadius_arc","sinHalfAlpha","innerBorderRadius","seriesOnAfterColumnTranslate","is3d","seriesDefault","brBoxY","brBoxHeight","stackEnd","seriesBROptions","pieSeriesOnAfterTranslate","BorderRadius_roundedRect","brOffsetTop","brOffsetBtm","rTop","rBtm","cutTop","cutBtm","applyPythagoras","altitude","Extensions_BorderRadius","SVGElementClass","pie","Responsive_diffObjects","Responsive_extend","Responsive_find","Responsive_merge","Responsive_pick","Responsive_uniqueKey","Responsive","matchResponsiveRule","rule","_id","responsive","currentResponsive","undoOptions","ruleIds","rules","mergedOptions","ruleId","currentRuleIds","updatingResponsive","Core_Responsive","DataTableCore","OverlappingDataLabels","StackItem","Templating","Tick","Time","highcharts_src","amd1","__WEBPACK_EXTERNAL_MODULE__944__","__WEBPACK_EXTERNAL_MODULE__512__","__WEBPACK_EXTERNAL_MODULE__820__","__WEBPACK_EXTERNAL_MODULE__448__","__WEBPACK_EXTERNAL_MODULE__620__","__WEBPACK_EXTERNAL_MODULE__984__","__WEBPACK_EXTERNAL_MODULE__260__","__WEBPACK_EXTERNAL_MODULE__960__","__WEBPACK_EXTERNAL_MODULE__28__","__WEBPACK_EXTERNAL_MODULE__184__","__webpack_modules__","__webpack_module_cache__","moduleId","cachedModule","__esModule","highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_","highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default","highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_","highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default","highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_","highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default","PaneComposition_pick","chartGetHoverPane","hoverPane","isInsidePane","insideSlice","onChartAfterIsInsiderPlot","normalizedStartAngleRad","normalizedEndAngleRad","onPointerAfterGetHoverData","onPointerBeforeGetHoverData","getHoverPane","Pane_PaneComposition","Pane_PaneDefaults","outerRadius","Pane","updateCenter","backgroundOption","renderBackground","backgroundOptions","Pane_Pane","AreaPoint","AreaRangePoint_defined","AreaRangePoint_isNumber","AreaRange_AreaRangePoint","prevState","isPolar","plotHigh","plotLow","lowerStateMarkerGraphic","upperStateMarkerGraphic","plotHighX","plotLowX","modifyMarkerSettings","restoreMarkerSettings","isTopInside","AreaRangeSeries_areaProto","columnProto","AreaRangeSeries_addEvent","AreaRangeSeries_defined","AreaRangeSeries_extend","AreaRangeSeries_isNumber","AreaRangeSeries_pick","AreaRangeSeries_merge","AreaRangeSeries","toYData","highToXY","postTranslate","highPoints","highAreaPoints","connectEnds","pointShim","highAreaPoint","polarPlotY","lowerPath","higherPath","higherAreaPath","linePath","originalDataLabels","upperDataLabelOptions","lowerDataLabelOptions","xHigh","yHigh","xLow","yLow","_plotY","dataLabelUpper","originalMarkerSettings","lowMarker","pointLength","origProps","posHigh","deferTranslatePolar","AreaRange_AreaRangeSeries","spline","splineProto","AreaSplineRangeSeries_merge","AreaSplineRangeSeries_extend","AreaSplineRangeSeries","BoxPlot_BoxPlotSeriesDefaults","whiskerLength","medianWidth","whiskerWidth","highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_","highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_default","BoxPlotSeries_noop","BoxPlotSeries_extend","BoxPlotSeries_merge","BoxPlotSeries_pick","BoxPlotSeries_relativeLength","BoxPlotSeries","getWhiskerPair","stemX","upperWhiskerLength","lowerWhiskerLength","whiskers","getWhisker","yPos","halfLen","crispedYPos","highPlot","lowPlot","doQuartiles","q1Plot","q3Plot","medianPlot","stemAttr","whiskersAttr","medianAttr","pointWhiskerLength","stem","boxPath","medianShape","medianPath","stemColor","stemWidth","stemDashStyle","whiskerColor","whiskerDashStyle","boxDashStyle","medianColor","medianDashStyle","boxStrokeWidth","q1","q3","BoxPlot_BoxPlotSeries","Bubble_BubbleLegendDefaults","connectorClassName","connectorDistance","maxSize","ranges","sizeBy","sizeByAbsoluteValue","zThreshold","highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_","highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default","highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_","highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default","BubbleLegendItem_noop","BubbleLegendItem_isNumber","BubbleLegendItem_merge","BubbleLegendItem_pick","Bubble_BubbleLegendItem","addToLegend","connectorSpace","bubbleLegend","autoRanges","maxLabel","getMaxLabelSize","movementX","bubbleAttribs","connectorAttribs","labelAttribs","getRangeRadius","bubbleSeries","zMax","zMin","getRadius","connectors","bubbleItems","renderRange","mainRange","elementCenter","absoluteRadius","labelsAlign","crispMovement","connectorLength","formatLabel","labelSize","getRanges","rangesOptions","zData","minZ","maxZ","ignoreSeries","displayNegative","predictBubbleSizes","legendOptions","pxSizes","getPxExtremes","minPxSize","maxPxSize","plotSize","calculatedSize","updateRanges","bubbleLegendOptions","correctSizes","bubbleSeriesSize","bubbleLegendSize","BubbleLegendComposition_addEvent","chartDrawChartBox","getVisibleBubbleSeriesIndex","bubbleSizes","retranslateItems","getLinesHeights","lastLine","legendItem2","onLegendAfterGetAllItems","bubbleSeriesIndex","onLegendItemClick","orgTranslateX","orgTranslateY","actualLine","Bubble_BubbleLegendComposition","LegendClass","highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_","highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default","scatter","ScatterPoint","BubblePoint_extend","BubblePoint","computedSize","Bubble_BubblePoint","BubbleSeries_color","BubbleSeries_composed","BubbleSeries_noop","BubbleSeries_columnProto","BubbleSeries_addEvent","BubbleSeries_arrayMax","BubbleSeries_arrayMin","BubbleSeries_extend","BubbleSeries_isNumber","BubbleSeries_merge","BubbleSeries_pick","BubbleSeries_pushUnique","onAxisFoundExtremes","hasActiveSeries","pxMin","pxMax","bubblePadding","onPoint","getRadii","onAxisAfterRender","tickCount","BubbleSeries","zExtremes","bubbleZExtremes","getZExtremes","sizeByArea","zRange","translateBubble","getPxSize","isPercent","p1Dist","p2Dist","Bubble_BubbleSeries","ColumnRangePoint_columnProto","arearange","ColumnRangePoint_AreaRangePoint","ColumnRangePoint_extend","ColumnRangePoint_isNumber","ColumnRangePoint","ColumnRange_ColumnRangePoint","ColumnRangeSeries_noop","ColumnRangeSeries_AreaRangeSeries","ColumnRangeSeries_columnProto","ColumnRangeSeries_addEvent","ColumnRangeSeries_clamp","ColumnRangeSeries_extend","ColumnRangeSeries_isNumber","ColumnRangeSeries_merge","ColumnRangeSeries_pick","ColumnRangeSeries","translate3dPoints","translate3dShapes","afterColumnTranslate","heightDifference","safeBounds","pixelPos","rectPlotY","ColumnPyramid_ColumnPyramidSeriesDefaults","ColumnPyramidSeries_ColumnSeries","ColumnPyramidSeries_clamp","ColumnPyramidSeries_merge","ColumnPyramidSeries_pick","ColumnPyramidSeries","stackHeight","topXwidth","bottomXwidth","invBarPos","x3","x4","topPointY","ErrorBar_ErrorBarSeriesDefaults","ErrorBarSeries_AreaRangeSeries","ErrorBarSeries_addEvent","ErrorBarSeries_merge","ErrorBarSeries_extend","ErrorBarSeries","valKey","Gauge_GaugePoint","GaugeSeries_noop","GaugeSeries_Series","GaugeSeries_ColumnSeries","GaugeSeries_clamp","GaugeSeries_isNumber","GaugeSeries_extend","GaugeSeries_merge","GaugeSeries_pick","GaugeSeries_defined","GaugeSeries","dialOptions","dial","baseLength","rearLength","baseWidth","topWidth","pivot","pivotOptions","DragNodesComposition_composed","DragNodesComposition_addEvent","DragNodesComposition_pushUnique","onChartLoad","mousedownUnbinder","mousemoveUnbinder","mouseupUnbinder","hasDraggableNodes","draggable","onMouseDown","onMouseMove","onMouseUp","Series_DragNodesComposition","normalizedEvent","fixedPosition","inDragMode","diffX","diffY","graphLayoutsLookup","newPlotX","newPlotY","redrawHalo","restartSimulation","enableSimulation","fixedDraggable","GraphLayoutComposition_composed","GraphLayoutComposition_addEvent","GraphLayoutComposition_pushUnique","onChartAfterPrint","updateSimulation","onChartBeforePrint","onChartPredraw","systemsStable","afterRender","layoutStep","temperature","isStable","beforeStep","Series_GraphLayoutComposition","integrations","layouts","highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_","highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default","bubble","PackedBubblePoint_BubblePoint","PackedBubble_PackedBubblePoint","removeElementFromCollection","isParentNode","getSelectedParentNodes","PackedBubbleSeriesDefaults_isNumber","PackedBubble_PackedBubbleSeriesDefaults","useSimulation","parentNodeFormatter","parentNodeTextPath","transition","layoutAlgorithm","initialPositions","initialPositionRadius","parentNodeLimit","seriesInteraction","dragBetweenSeries","parentNodeOptions","gravitationalConstant","maxSpeed","integration","splitSeries","friction","Networkgraph_VerletIntegration","attractive","link","distanceXY","massFactor","getMass","translatedX","diffTemperature","translatedY","fromNode","degree","toNode","attractiveForceFunction","barycenter","xFactor","yFactor","mass","getK","integrate","prevX","prevY","frictionX","dispX","frictionY","dispY","signX","signY","vectorLength","repulsive","repulsiveForceFunction","PackedBubbleIntegration_noop","PackedBubble_PackedBubbleIntegration","repNode","Networkgraph_EulerIntegration","distanceR","getDegree","phi","QuadTreeNode","isEmpty","boxSize","divideBox","halfHeight","getBoxPosition","newQuadTreeNode","updateMassAndCenter","pointMass","Networkgraph_QuadTreeNode","Networkgraph_QuadTree","isRoot","calculateMassAndCenter","visitNodeRecursive","insertNodes","beforeCallback","afterCallback","goFurther","qtNode","ReingoldFruchtermanLayout_clamp","ReingoldFruchtermanLayout_defined","ReingoldFruchtermanLayout_fireEvent","ReingoldFruchtermanLayout_pick","ReingoldFruchtermanLayout","currentStep","initialRendering","links","simulation","euler","verlet","setInitialRendering","attractiveForce","repulsiveForce","approximation","forces","initPositions","setK","resetSimulation","anyLayout","allSeries","createQuadTree","quadTree","forceName","applyLimits","coolDown","startTemperature","prevSystemTemperature","systemTemperature","getSystemTemperature","cancelAnimationFrame","setArea","linkLength","addElementsToCollection","clear","forcedStop","setMaxIterations","setTemperature","setDiffTemperature","setCircularPositions","setRandomPositions","nodesLength","rootNodes","linksTo","visitedNodes","addToNodes","linksFrom","sortedNodes","barycenterForces","getBarycenter","systemMass","barnesHutApproximation","quadNode","getDistXY","goDeeper","theta","repulsiveForces","attractiveForces","applyLimitBox","temperatureStep","vector","getDistR","nodeA","nodeB","xDist","yDist","absX","absY","Networkgraph_ReingoldFruchtermanLayout","PackedBubbleLayout_addEvent","PackedBubbleLayout_pick","chartGetSelectedParentNodes","selectedParentsNodes","onChartBeforeRedraw","allDataPoints","PackedBubbleLayout","packedbubble","calculateParentRadius","tempDiff","upScaledTemperature","neighbours","parentNodeRadius","PackedBubble_PackedBubbleLayout","SimulationSeriesUtilities_merge","SimulationSeriesUtilities","initDataLabelsDefer","deferDataLabels","highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_","highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_default","TextPath_deg2rad","TextPath_addEvent","TextPath_merge","TextPath_defined","TextPath_extend","setTextPath","textPathOptions","startOffset","textAnchor","textWrapper","undo","textPathId","textAttribs","setPolygon","tp","descender","lineCleanerRegex","numOfLines","appendTopAndBottom","charIndex","positionOfChar","getRotationOfChar","cosRot","sinRot","lineIndex","lineLen","lineCharIndex","srcCharIndex","lower","upper","getStartPositionOfChar","charPos","getEndPositionOfChar","drawTextPath","getDataLabelPath","dataLabelPath","Extensions_TextPath","svgElementProto","PackedBubbleSeries_color","PackedBubbleSeries_noop","PackedBubbleSeries_BubbleSeries","PackedBubbleSeries_initDataLabels","PackedBubbleSeries_initDataLabelsDefer","PackedBubbleSeries_addEvent","PackedBubbleSeries_clamp","PackedBubbleSeries_defined","PackedBubbleSeries_extend","PackedBubbleSeries_fireEvent","PackedBubbleSeries_isArray","PackedBubbleSeries_isNumber","PackedBubbleSeries_merge","PackedBubbleSeries_pick","PackedBubbleSeries","parentNodeMass","accumulateAllPoints","addLayout","layoutOptions","layoutType","graphLayoutsStorage","collisionNmb","addSeriesLayout","seriesLayout","parentNodeLayout","createParentNodes","seriesBox","calculateZExtremes","valMin","valMax","checkOverlap","bubble1","bubble2","sumRad","PackedBubblePoint","nodeAdded","parentMarkerOptions","deferLayout","nodeMarker","parentOptions","parentAttribs","parentNodesGroup","getPointRadius","extremes","allDataPointsLength","minRadius","maxRadius","dnPoint","removed","placeBubbles","positionBubble","bubblePos","calculatedBubble","stage","sortedArr","stages","rawPositions","resizeRadius","hasParentMarker","lastBubble","newOrigin","nextBubble","acos","alfa","beta","finalAngle","cosA","sinA","minX","maxX","minY","maxY","POSITIVE_INFINITY","NEGATIVE_INFINITY","spaceRatio","smallerDimension","indexateNodes","PackedBubble_PackedBubbleSeries","Polygon_PolygonSeriesDefaults","PolygonSeries_noop","PolygonSeries_AreaSeries","PolygonSeries_ScatterSeries","PolygonSeries_extend","PolygonSeries_merge","PolygonSeries","Axis_RadialAxisDefaults","circular","radial","gridLineInterpolation","radialGauge","minorTickWidth","RadialAxis_composed","RadialAxis_noop","RadialAxis_addEvent","RadialAxis_correctFloat","RadialAxis_defined","RadialAxis_extend","RadialAxis_fireEvent","RadialAxis_merge","RadialAxis_pick","RadialAxis_pushUnique","RadialAxis_relativeLength","RadialAxis_wrap","RadialAxis","beforeSetTickPositions","autoConnect","isCircular","createLabelCollector","createLabelCollectorHidden","getCrosshairPosition","_lineWidth","angleRad","radiusToPixels","percentRegex","fullRadius","xOnPerimeter","transFrom","transTo","paneInnerR","innerRatio","crossPos","translatedVal","modify","onAxisAfterInit","paneOptions","normalizedStart","normalizedEnd","onAxisAutoLabelAlign","labelCollector","paneIndex","radialAxis","renderHidden","onAxisInitialAxisTranslation","onTickAfterGetLabelPosition","correctAngle","labelYPosCorrection","centerSlot","labelDir","reducedAngle1","reducedAngle2","onTickAfterGetPosition","onGlobalSetOptions","radialDefaultOptions","defaultPolarOptions","wrapTickGetMarkPath","endPoint","TickClass","Axis_RadialAxis","PolarComposition_animObject","PolarComposition_composed","PolarComposition_addEvent","PolarComposition_defined","PolarComposition_isNumber","PolarComposition_merge","PolarComposition_pick","PolarComposition_pushUnique","PolarComposition_relativeLength","PolarComposition_splat","PolarComposition_uniqueKey","PolarComposition_wrap","getConnectors","calculateNeighbours","addedNumber","jointAngle","prevPointInd","nextPointInd","previousPoint","previousX","previousY","dLControlPoint","dRControlPoint","leftContAngle","rightContAngle","prevPointCont","onChartAfterDrawChartBox","onChartAfterInit","onChartCreateAxes","onPointerGetSelectionBox","linearAxis","onPointerGetSelectionMarkerAttrs","paneRadRange","trimPath","innerPath","outerPath","onSeriesAfterInit","PolarAdditions","isRadialSeries","isRadialBar","onSeriesAfterTranslate","kdByAngle","searchPointByAngleOrInverted","toXY","MIN_VALUE","hasClipCircleSetter","clipCircle","searchKDTreePoint","lastTick","firstTick","wrapChartGet","wrapColumnSeriesAlignDataLabel","findAlignments","onAfterColumnTranslate","visibleRange","yMin","yMax","pointX","pointY","thresholdAngleRad","brOption","brValue","wrapLineSeriesGetGraphPath","firstValid","popLastPoint","wrapPointerGetCoordinates","wrapPointerPinch","wrapSeriesAnimate","wrapSplineSeriesGetPointSpline","wrapPointPos","AreaSplineRangeSeriesClass","LineSeriesClass","SplineSeriesClass","pointerProto","lineProto","polarPlotX","PolarComposition","highcharts_StackItem_commonjs_highcharts_StackItem_commonjs2_highcharts_StackItem_root_Highcharts_StackItem_","highcharts_StackItem_commonjs_highcharts_StackItem_commonjs2_highcharts_StackItem_root_Highcharts_StackItem_default","WaterfallAxis_composed","WaterfallAxis_addEvent","WaterfallAxis_objectEach","WaterfallAxis_pushUnique","WaterfallAxis","onAxisAfterBuildStacks","waterfall","changed","alreadyChanged","Composition","waterfallStacks","dummyStackItem","Axis_WaterfallAxis","WaterfallPoint_isNumber","WaterfallPoint","isSum","isIntermediateSum","Waterfall_WaterfallPoint","Waterfall_WaterfallSeriesDefaults","WaterfallSeries_ColumnSeries","WaterfallSeries_LineSeries","WaterfallSeries_addEvent","WaterfallSeries_arrayMax","WaterfallSeries_arrayMin","WaterfallSeries_correctFloat","WaterfallSeries_crisp","WaterfallSeries_extend","WaterfallSeries_isNumber","WaterfallSeries_merge","WaterfallSeries_objectEach","WaterfallSeries_pick","ownProp","WaterfallSeries","processedYData","subSum","upColor","getCrispPath","graphLineWidth","reversedXAxis","reversedYAxis","prevPoint","prevBox","prevStack","isPos","prevStackX","connectorThreshold","minPointLengthOffset","nextLast","seriesThreshold","xLength","actualStackX","statesLen","posTotal","negTotal","xPoint","yVal","interSum","totalYVal","actualSum","prevSum","calculateStackState","firstS","nextS","sInx","sOff","stackState","actualStack","stateIndex","absolutePos","absoluteNeg","stackedYNeg","stackedYPos","halfMinPointLength","hPos","previousIntermediate","tooltipY","crispBottom","Waterfall_WaterfallSeries","areasplinerange","highcharts_more_src","__WEBPACK_EXTERNAL_MODULE__660__","ChartNavigationComposition","highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_","highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default","updates","addUpdate","updateFn","Chart_ChartNavigationComposition","Exporting_ExportingDefaults","allowTableSorting","pdfFont","bold","bolditalic","italic","printMaxWidth","contextButton","menuClassName","titleKey","menuItems","menuItemDefinitions","viewFullscreen","textKey","fullscreen","printChart","print","separator","downloadPNG","exportChart","downloadJPEG","downloadPDF","downloadSVG","exitFullscreen","contextButtonTitle","buttonOptions","symbolSize","symbolX","symbolY","buttonSpacing","symbolFill","symbolStroke","symbolStrokeWidth","menuStyle","menuItemStyle","menuItemHoverStyle","ExportingSymbols","modifiedClasses","menuball","Exporting_ExportingSymbols","onChartBeforeRender","Fullscreen","browserProps","requestFullscreen","fullscreenChange","mozRequestFullScreen","webkitRequestFullScreen","msRequestFullscreen","Document","unbindFullscreenEvent","origWidth","origHeight","origWidthOption","origHeightOption","setButtonText","unbindChange","unbindDestroy","exportDivElements","exportingOptions","exportDivElement","Exporting_Fullscreen","HttpUtilities","octet","handleError","fetchOptions","formData","FormData","filename","fetch","ok","download","Core_HttpUtilities","Exporting_win","Exporting_addEvent","Exporting_discardElement","Exporting_fireEvent","Exporting_objectEach","Exporting","inlineDenylist","inlineToAttributes","inlineAllowlist","unstyledElements","printingChart","addButton","btnCount","exportSVGElements","contextMenu","_titleKey","exportingGroup","buttonOffset","afterPrint","printReverseInfo","origDisplay","resetParams","moveContainers","beforePrint","chartCallback","composition","renderExporting","destroyExport","cacheName","menuPadding","innerMenu","exportContextMenu","listStyle","MozBoxShadow","WebkitBoxShadow","boxShadow","hideMenu","exportEvents","isDataTableVisible","exportMenuWidth","exportMenuHeight","ontouchstart","getSVGForExport","getFilename","getChartHTML","applyStyleSheets","inlineStyles","getSVG","sandbox","cssHeight","sourceWidth","isGantt","sourceHeight","colls","internalKey","chartCopy","collOptions","axisCopy","exportOverride","sanitizeSVG","chartExportingOptions","denylist","allowlist","defaultStyles","dummySVG","iframe","iframeDoc","contentWindow","filteredStyles","parentStyles","denylisted","allowlisted","filterStyles","hyphenate","moveTo","onChartInit","isDirtyExporting","onChartLayOutTitle","space","widthAdjust","matchMedia","addListener","mqlEvent","Exporting_Exporting","exporting_src","__WEBPACK_EXTERNAL_MODULE__156__","domurl","URL","webkitURL","dataURLtoBlob","dataURL","ArrayBuffer","Uint8Array","Blob","binStr","atob","buf","createObjectURL","Extensions_DownloadURL","downloadURL","msSaveOrOpenBlob","isOldEdgeBrowser","highcharts_HttpUtilities_commonjs_highcharts_HttpUtilities_commonjs2_highcharts_HttpUtilities_root_Highcharts_HttpUtilities_","highcharts_HttpUtilities_commonjs_highcharts_HttpUtilities_commonjs2_highcharts_HttpUtilities_root_Highcharts_HttpUtilities_default","Exporting_doc","OfflineExporting_OfflineExportingDefaults","libURL","exportChartLocal","OfflineExporting_defaultOptions","OfflineExporting_downloadURL","OfflineExporting_doc","OfflineExporting_win","OfflineExporting_addEvent","OfflineExporting_extend","OfflineExporting_fireEvent","OfflineExporting_merge","OfflineExporting","fallbackToExportServer","getSVGForLocalExport","downloadSVGLocal","scriptLocation","failCallback","successCallback","chartCopyOptions","checkDone","images","imagesEmbedded","imagesLength","chartCopyContainer","embeddedSuccess","imageURL","imageType","callbackArgs","imageElement","unbindGetSVG","getAttributeNS","imageToDataUrl","taintedCallback","noCanvasSupportCallback","failedLoadCallback","finallyCallback","taintedHandler","loadHandler","canvas","getContext","drawImage","toDataURL","loadEventDeferDelay","errorHandler","crossOrigin","svgToDataUrl","webKit","svgToPdf","pdfDoc","jspdf","jsPDF","removeInvalid","output","CanVGRenderer","dummySVGContainer","svgurl","blob","finallyHandler","objectURLRevoke","loadPdfFonts","addFont","variant","base64","API","addFileToVFS","getFontList","HighchartsFont","setFont","variants","normalBase64","shiftAndLoadVariant","reader","FileReader","onloadend","readAsDataURL","textElements","titleElements","outlineElements","propName","curParent","setStylePropertyFromParents","titleElement","svgNode","pdfData","MSBlobBuilder","getBlob","revokeObjectURL","matchedImageWidth","matchedImageHeight","imageWidth","imageHeight","downloadWithCanVG","canvg","Canvg","fromString","msToBlob","OfflineExporting_OfflineExporting","offline_exporting_src","__WEBPACK_EXTERNAL_MODULE__532__","__WEBPACK_EXTERNAL_MODULE__500__","__WEBPACK_EXTERNAL_MODULE__540__","highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_","highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default","ColorAxisComposition","ColorAxisConstructor","onChartAfterCreateAxes","colorAxes","colorAxisItems","dataClasses","getDataClassLegendSymbols","onLegendAfterColorizeItem","legendColor","onLegendAfterUpdate","colorAttribs","translateColors","onSeriesBindAxes","pointSetVisible","seriesTranslateColors","nullColor","colorKey","toColor","wrapFxFillSetter","wrapFxStrokeSetter","ColorAxisClass","FxClass","fxProto","superCreateAxis","wrapChartCreateAxis","Color_ColorAxisComposition","ColorAxisDefaults","minColor","maxColor","ColorAxisLike_color","ColorAxisLike_merge","ColorAxisLike","initDataClasses","userDataClasses","dataClass","dataClassColor","initStops","normalizedValue","Color_ColorAxisLike","highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_","highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_default","ColorAxis_extend","ColorAxis_merge","ColorAxis_pick","ColorAxis","getSize","defaultLegendLength","sideOffset","isDrilling","setLegendColor","zero","grad","labelPadding","colorValArray","calculatedExtremes","cSeries","minColorValue","maxColorValue","cExtremes","axisPos","axisLen","addedToColorAxis","destroyItems","legendItems","getPointsInDataClass","isDataClass","affectedSeries","hiddenInDataClass","colorAxisHeight","colorAxisWidth","Color_ColorAxis","ColorMapComposition_addEvent","ColorMapComposition_defined","ColorMapComposition","onPointAfterSetState","moveToTopOnHover","pointMembers","seriesMembers","colorProp","Series_ColorMapComposition","HeatmapPoint_defined","HeatmapPoint_extend","HeatmapPoint_pick","HeatmapPoint","getCellAttributes","xPad","colsize","yPad","rowsize","cellAttr","plotPos","widthOrHeight","halfCellSize","Heatmap_HeatmapPoint","HeatmapSeriesDefaults_isNumber","Heatmap_HeatmapSeriesDefaults","interpolation","highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_","highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default","InterpolationUtilities_defined","InterpolationUtilities_pick","Series_InterpolationUtilities","colorFromPoint","clearRect","willReadFrequently","HeatmapSeries_Series","HeatmapSeries_addEvent","HeatmapSeries_extend","HeatmapSeries_fireEvent","HeatmapSeries_isNumber","HeatmapSeries_merge","HeatmapSeries_pick","HeatmapSeries_colorFromPoint","HeatmapSeries_getContext","HeatmapSeries","valueMax","valueMin","isDirtyCanvas","xRev","yRev","pointsLen","xDelta","yDelta","imgMultiple","transformX","transformY","rev","rounding","canvasWidth","canvasHeight","canvasArea","pixelToPointScale","pixelData","Uint8ClampedArray","pointInPixels","putImageData","ImageData","ellipse","widthPlus","heightPlus","seriesPlotOptions","heatmapPlotOptions","heatmap","hasRegularShape","sizeDiff","heatmap_src","__WEBPACK_EXTERNAL_MODULE__632__","MapNavigationDefaults","zoomIn","mapNavigation","mapZoom","mouseWheelSensitivity","MapPointer_defined","MapPointer_extend","MapPointer_pick","MapPointer","totalWheelDeltaTimer","totalWheelDelta","onContainerDblClick","enableDoubleClickZoomTo","zoomTo","onContainerMouseWheel","wheelDelta","deltaY","zoomBy","wrapNormalize","lonLat","pixelsToLonLat","wrapZoomOption","enableTouchZoom","Maps_MapPointer","bottomButton","topButton","Maps_MapSymbols","bottombutton","topbutton","MapNavigation_addEvent","MapNavigation_extend","MapNavigation_merge","MapNavigation_pick","stopEvent","cancelBubble","MapNavigation","MapChartClass","navButtons","mapNav","outerHandler","enableButtons","navButtonsGroup","adjustMapNavBtn","expBtnBBox","navBtnsBBox","aboveExpBtn","belowExpBtn","mapNavVerticalAlign","updateEvents","enableDoubleClickZoom","unbindDblClick","enableMouseWheelZoom","unbindMouseWheel","initialZoom","Maps_MapNavigation","MapChart_isNumber","MapChart_merge","MapChart_pick","MapChart","defaultCreditsOptions","mapText","mapTextFull","howMuch","xProjected","yProjected","projection","inverse","recommendMapView","maps","mapChart","splitPath","Chart_MapChart","Maps_MapUtilities","boundsFromPath","validBounds","MapPoint_boundsFromPath","MapPoint_extend","MapPoint_isNumber","MapPoint_pick","MapPoint","getProjectedPath","projectedPath","geometry","hasCoordinates","mapMap","joinKey","mapKey","mapPoint","getProjectedBounds","propMiddleLon","propMiddleLat","projectedPoint","midX","midY","propMiddleX","propMiddleY","middleX","middleYFraction","middleY","colorInterval","nullInteraction","inset","insetIndex","insets","px1","projectedUnitsToPixels","px2","proj1","pixelsToProjectedUnits","proj2","fitToBounds","Map_MapPoint","MapSeriesDefaults_isNumber","Map_MapSeriesDefaults","affectsMapView","allAreas","Maps_MapViewDefaults","fitToGeometry","parallels","insetOptions","GeoJSONComposition_extend","GeoJSONComposition_merge","GeoJSONComposition_wrap","GeoJSONComposition","chartFromLatLonToPoint","lonLatToProjectedUnits","chartFromPointToLatLon","projectedUnitsToLonLat","chartTransformFromLatLon","latLon","proj4","jsonmarginX","jsonmarginY","jsonres","xoffset","xpan","yoffset","ypan","projected","crs","lon","lat","rotated","chartTransformToLatLon","topo2geo","topology","objectName","objects","arcsArray","arcs","positionArray","jEnd","arcsToCoordinates","arcNo","geometries","geojson","copyright","copyrightShort","copyrightUrl","bbox","wrapChartAddCredit","mapCreditsFull","transformFromLatLon","fromLatLonToPoint","fromPointToLatLon","transformToLatLon","hType","Maps_GeoJSONComposition","clipPolygon","subjectPolygon","boundsPolygon","closed","clipEdge2","currentPoint","clipEdge1","outputList","inputList","intersection","dc","dp","n1","n2","n3","isIntersection","Geometry_PolygonClip","clipLineString","LambertConformalConic_deg2rad","eps10","tany","Projections_LambertConformalConic","lat1","lat2","cosLat1","projectedBounds","rho","atan","A1","A2","A3","A4","EqualEarth_scale","Projections_EqualEarth","paramLat","paramLatSq","paramLatPow6","fy","fpy","dlat","quarterPI","Miller_deg2rad","Miller_scale","Projections_Miller","Orthographic_deg2rad","Orthographic_scale","Projections_Orthographic","antimeridianCutting","lonDeg","cSin","cCos","WebMercator_deg2rad","ProjectionRegistry","EqualEarth","LambertConformalConic","Miller","Orthographic","WebMercator","maxLatitude","sinLat","Projection_clipLineString","Projection_clipPolygon","Projection_deg2rad","floatCorrection","wrapLon","hav","havFromCoords","point1","point2","lon1","deltaLon","Projection","registry","geodesic","inclusive","stepDistance","lon2","cosLat1CosLon1","cosLat2CosLon2","cosLat1SinLon1","cosLat2SinLon2","sinLat1","sinLat2","pointDistance","angDistance","sinAng","jumps","lineString","fraction","lat3","lon3","insertGeodesics","poly","hasGeoProjection","rotator","getRotator","ProjectionDefinition","lineIntersectsBounds","getIntersect","otherDim","crossingVal","deltaLambda","deltaPhi","deltaGamma","cosDeltaPhi","sinDeltaPhi","cosDeltaGamma","sinDeltaGamma","cosLat","rLonLat","cutOnAntimeridian","isPolygon","antimeridian","intersections","polygons","previousLonLat","polarIntersection","lonPlus","lonMinus","polarLatitude","polarSegment","projectingToPlane","preclip","postclip","addToPath","firstValidLonLat","lastValidLonLat","movedTo","pushToPath","someOutside","someInside","Maps_Projection","MapView_composed","MapView_boundsFromPath","MapView_addEvent","MapView_clamp","MapView_fireEvent","MapView_isArray","MapView_isNumber","MapView_merge","MapView_pick","MapView_pushUnique","MapView_relativeLength","worldSize","zoomFromBounds","playingField","scaleToField","recommendedMapViewAfterDrill","drilldown","mapZooming","MapView","compositeBounds","arrayOfBounds","mergeInsets","toObject","ob","insetsObj","allowTransformAnimation","recommendedMapView","MapViewInset","recInsets","optInsets","minZoom","createInsets","getField","setUpEvents","fullField","padArr","setView","padded","getGeoMap","getMapBBox","getScale","allBounds","fitToGeometryCache","xs","ys","getSVGTransform","projectedCenter","flipFactor","lonLatToPixels","mapTransforms","hitZone","coords","geoBounds","insetProjectedPoint","pxPoint","mapDataArray","geoMaps","allGeoBounds","geoMap","useMapGeometry","bottomLeft","topRight","boundsCenterProjected","field","getHitZone","centerPxX","centerPxY","mouseDownCenterProjected","mouseDownKey","mouseDownRotation","onPan","startDistance","endDistance","worldBounds","worldZoom","ratio","newCenter","newProjection","isDirtyProjection","isDirtyInsets","transformGroups","clearBounds","chartCoords","geoBoundsProjectedBox","geoBoundsProjectedPolygon","borderPath","Maps_MapView","MapSeries_extend","MapSeries_fireEvent","MapSeries_isArray","MapSeries_defined","MapSeries_isNumber","MapSeries_isObject","MapSeries_merge","MapSeries_objectEach","MapSeries_pick","MapSeries_splat","MapSeries","doFullTranslate","drawMapDataLabels","animateIn","animateOut","inheritedStrokeWidth","getStrokeWidth","transformGroup","svgTransform","animatePoints","startTranslateX","startTranslateY","startScale","scaleStep","userStep","animator","applyDrilldown","pointStrokeWidth","stateStrokeWidth","seriesStrokeWidth","dataUsed","mapDataObject","mapTitle","ix","dataUsedString","mainSvgTransform","Map_MapSeries","MapLine_MapLineSeriesDefaults","MapLineSeries_extend","MapLineSeries_merge","MapLineSeries","MapPointPoint_ScatterSeries","MapPointPoint_isNumber","MapPointPoint","MapPoint_MapPointPoint","MapPoint_MapPointSeriesDefaults","MapPointSeries_noop","MapPointSeries_MapSeries","MapPointSeries_ScatterSeries","MapPointSeries_extend","MapPointSeries_fireEvent","MapPointSeries_isNumber","MapPointSeries_merge","MapPointSeries","projectPoint","didBounds","plotCoords","mapmarker","isLegendSymbol","BubbleLegendItem_color","BubbleLegendComposition_setOptions","BubbleLegendComposition_composed","BubbleLegendComposition_objectEach","BubbleLegendComposition_pushUnique","BubbleLegendComposition_wrap","BubblePoint_ScatterPoint","BubbleSeries_Series","BubbleSeries_ScatterSeries","BubbleSeries_clamp","mapPointProto","MapBubblePoint_extend","MapBubblePoint","MapBubble_MapBubblePoint","mapProto","mappoint","MapBubbleSeries_mapPointProto","MapBubbleSeries_extend","MapBubbleSeries_merge","MapBubbleSeries","xyFromShape","MapBubble_MapBubbleSeries","HeatmapPoint_ScatterPoint","HeatmapPoint_clamp","HeatmapSeries_ColumnSeries","HeatmapSeries_ScatterSeries","HeatmapSeries_symbols","map_src_G","map_src","Data_ajax","Data_objectEach","hasURLOption","rowsURL","csvURL","columnsURL","rowsToColumns","rowsLength","colsLength","alternative","rawColumns","firstRowAsNames","decimalRegex","liveDataTimeout","dataFound","fetchLiveData","parseCSV","parseTable","parseGoogleSpreadsheet","afterComplete","getColumnDistribution","xColumns","getValueCount","getPointArrayMap","globalType","individualCounts","seriesBuilders","seriesMapping","SeriesBuilder","numberOfValueColumnsNeeded","defaultPointArrayMap","addColumnReader","hasReader","globalPointArrayMap","individual","switchRowsAndColumns","parseTypes","inOptions","startColumn","endColumn","potDelimiters","itemDelimiter","csv","startRow","endRow","rowIt","parseRow","columnStr","rowNumber","noAdd","cl","cn","actualColumn","read","pushType","columnTypes","beforeParse","lineDelimiter","commas","guessed","inStr","guessDelimiter","limit","stable","thing","calculatedFormat","guessedFormat","madeDeduction","deduceDateFormat","rowNo","colNo","pollingEnabled","enablePolling","currentRetries","updateIntervalMs","dataRefreshRate","performFetch","initialFetch","request","poll","liveDataURL","googleSpreadsheetKey","refreshRate","getRange","googleSpreadsheetRange","alphabet","fetchSheet","googleAPIKey","parseColumn","isXColumn","backup","columnType","forceCategory","columnHasName","floatVal","trimVal","trimInsideVal","dateVal","descending","isDatetime","parseDate","alternativeFormat","unsorted","mixed","poppedColumn","getTime","allSeriesBuilders","freeIndexes","typeCol","curCol","numberOfColumns","freeIndexValues","referencedIndexes","getReferencedColumnIndexes","getFreeIndexes","populateColumns","readers","configName","pointIsArray","xAxisUpdateHandler","dataInstance","defaultDataOptions","hasDataDef","enoughColumns","columnIndexes","referencedColumnIndexes","columnReader","Extensions_Data","data_src","DerivedComposition","initialised","baseSeries","eventRemovers","addEvents","setBaseSeries","baseSeriesOptions","setDerivedData","addBaseSeriesEvents","remover","Series_DerivedComposition","Histogram_HistogramSeriesDefaults","binsNumber","binWidth","binsNumberFormulas","sturges","LOG2E","rice","HistogramSeries","binsNumberOption","derivedData","baseData","frequencies","bins","fitToBin","fitToBinLeftClosed","Bellcurve_BellcurveSeriesDefaults","intervals","pointsInInterval","areaspline","BellcurveSeries_correctFloat","BellcurveSeries_isNumber","BellcurveSeries_merge","BellcurveSeries","mean","standardDeviation","average","normalDensity","translation","setMean","setStandardDeviation","histogram_bellcurve_src","__WEBPACK_EXTERNAL_MODULE__608__","simulatedEventTarget","EventTarget","cloneMouseEvent","MouseEvent","initMouseEvent","getFakeMouseEvent","Utils_HTMLUtilities","cloneTouchEvent","touchListToTouchArray","touchArray","TouchEvent","newEvent","fakeEvt","escapeStringForHTML","getHeadingTagNameForElement","getIncreasedHeadingLevel","headingLevel","isHeading","getHeadingRecursive","prevSiblingsHeading","getPreviousSiblingsHeading","parentTagName","removeChildNodes","removeElement","reverseChildNodes","stripHTMLTagsFromString","isForExport","visuallyHideElement","A11yI18nComposition","i18nFormat","getFirstBracketStatement","sourceStr","startBracket","endBracket","statement","begin","bracketRes","constRes","eachStart","pluralStart","indexStart","indexEnd","eachEnd","preEach","postEach","eachArguments","lenArg","pluralEnd","pluralArguments","arrayName","formatExtendedStatement","langFormat","langKey","A11yI18n","ChartUtilities_doc","stripHTMLTags","getSeriesFirstPointElement","firstPointWithGraphic","getSeriesA11yElement","firstPointEl","ChartUtilities","fireEventOnWrappedOrUnwrappedElement","getChartTitle","getAxisDescription","description","getAxisRangeDescription","rangeDescription","numCategories","getCategoryAxisRangeDesc","dateRangeFormat","screenReaderSection","axisRangeDateFormat","rangeFrom","rangeTo","getAxisFromToDescription","rangeUnit","Seconds","Minutes","Hours","Days","rangeValue","getAxisTimeLengthDesc","getPointFromXY","getSeriesFromName","unhideChartElementFromAT","hideSeriesFromAT","seriesEl","scrollAxisToPoint","scrollbar","positionProp","getRelativePointAxisPosition","DOMEvent","Utils_ChartUtilities","DOMElementProvider_doc","DOMElementProvider_removeElement","Utils_DOMElementProvider","destroyCreatedElements","Utils_EventProvider","removeAddedEvents","AccessibilityComponent_fireEventOnWrappedOrUnwrappedElement","AccessibilityComponent_getFakeMouseEvent","Accessibility_AccessibilityComponent","getKeyboardNavigation","onChartUpdate","initBase","proxyProvider","eventProvider","domElementProvider","keyCodes","enter","esc","tab","pageUp","pageDown","home","fakeClickEvent","fakeEvent","destroyBase","KeyboardNavigationHandler_find","Accessibility_KeyboardNavigationHandler","keyCodeMap","validate","terminate","noHandler","handlerCodeSet","codeSet","ContainerComponent_unhideChartElementFromAT","ContainerComponent_getChartTitle","ContainerComponent_doc","ContainerComponent_stripHTMLTags","Components_ContainerComponent","handleSVGTitleElement","setSVGContainerLabel","setGraphicContainerAttrs","setRenderToAttrs","makeCreditsAccessible","titleId","titleContents","chartTitle","svgTitleElement","svgContainerLabel","shouldHaveLandmark","landmarkVerbosity","containerLabel","creditsStr","a11y","keyboardNavigation","tabindexContainer","FocusBorder_addEvent","FocusBorder_pick","FocusBorderComposition","svgElementBorderUpdateTriggers","chartRenderFocusBorder","focusElement","focusBorderOptions","focusBorder","removeFocusBorder","addFocusBorder","chartSetFocusToElement","browserFocusElement","focusin","hideBrowserFocusOutline","renderFocusBorder","svgElementAddFocusBorder","bb","scaleBoth","borderPosX","borderPosY","borderHeight","isLabel","isRotated","posXCorrection","posYCorrection","getTextAnchorCorrection","attrX","attrY","updateParams","focusBorderUpdateHooks","setterKey","origSetter","avgElementAddUpdateFocusBorderHooks","focusBorderDestroyHook","origDestroy","svgElementAddDestroyFocusBorderHook","svgElementRemoveFocusBorder","svgElementRemoveUpdateFocusBorderHooks","setFocusToElement","FocusBorder","Announcer_doc","Announcer_addClass","Announcer_visuallyHideElement","Utils_Announcer","announceRegion","addAnnounceRegion","announce","clearAnnouncementRegionTimer","chartContainer","announcerContainer","createAnnouncerContainer","AnnotationsA11y_escapeStringForHTML","AnnotationsA11y_stripHTMLTagsFromString","getChartAnnotationLabels","annotations","getAnnotationLabelDescription","a11yDesc","pointValueDescriptions","valDesc","valueDescription","getAriaLabel","seriesName","numPoints","langFormatStr","annotationText","annotation","annotationPoint","additionalAnnotationPoints","getAnnotationListItems","Components_AnnotationsA11y","getAnnotationsInfoHTML","getPointAnnotationTexts","pointLabels","InfoRegionsComponent_getAnnotationsInfoHTML","InfoRegionsComponent_getAxisDescription","InfoRegionsComponent_getAxisRangeDescription","InfoRegionsComponent_getChartTitle","InfoRegionsComponent_unhideChartElementFromAT","InfoRegionsComponent_format","InfoRegionsComponent_doc","InfoRegionsComponent_addClass","InfoRegionsComponent_getElement","InfoRegionsComponent_getHeadingTagNameForElement","InfoRegionsComponent_stripHTMLTagsFromString","InfoRegionsComponent_visuallyHideElement","InfoRegionsComponent_attr","InfoRegionsComponent_pick","stripEmptyHTMLTags","Components_InfoRegionsComponent","screenReaderSections","initRegionsDefinitions","onDataTableCreated","wasHidden","dataTableDiv","focusDataTable","viewDataTableButton","updateAllScreenReaderSections","announcer","accessibilityOptions","buildContent","beforeChartFormatter","defaultBeforeChartFormatter","insertIntoDOM","afterInserted","sonifyButtonId","initSonifyButton","dataTableButtonId","initDataTableButton","afterChartFormatter","defaultAfterChartFormatter","updateExitAnchor","linkedDescriptionElement","getLinkedDescriptionElement","setLinkedDescriptionAttrs","regionKey","updateScreenReaderSection","linkedDescOption","linkedDescription","query","queryMatch","region","sectionDiv","hiddenDiv","setScreenReaderSectionAttribs","sectionId","beforeChartFormat","axesDesc","getAxesDescription","shouldHaveSonifyBtn","sonify","sonification","annotationsList","annotationsTitleStr","headingTagName","typeDescription","getTypeDescriptionText","chartSubtitle","getSubtitleText","chartLongdesc","getLongdescText","xAxisDescription","yAxisDescription","playAsSoundButton","getSonifyButtonText","viewTableButton","getCSV","getDataTableButtonText","annotationsTitle","formattedString","afterChartFormat","endOfChartMarker","getEndOfChartMarkerText","getLinkedDescription","captionOptions","captionText","firstType","firstSeries","formatContext","numSeries","getTypeDescForMapChart","getTypeDescForCombinationChart","typeExplanation","buildTypeDescriptionFromSeries","getTypeDescForEmptyChart","getTypeDescription","buttonId","endMarkerId","endMarker","outerHTML","markerText","getTableSummary","tableDiv","sonifyButton","defaultHandler","announceMsg","onPlayAsSoundClick","tableButtonId","tableId","onViewDataTableClick","viewData","shouldDescribeColl","collectionKey","defaultCondition","hasNoMap","hasCartesian","showXAxes","showYAxes","getAxisDescriptionText","numAxes","MenuComponent_attr","MenuComponent_getChartTitle","MenuComponent_unhideChartElementFromAT","MenuComponent_getFakeMouseEvent","getExportMenuButtonElement","MenuComponent","onMenuShown","onMenuHidden","createProxyGroup","setExportButtonExpandedState","addAccessibleContextMenuAttribs","stateStr","exportButtonProxy","innerElement","focusEl","clearGroup","proxyMenuButton","buttonEl","exportingOpts","exportButton","exportingShouldHaveA11y","addProxyElement","addGroup","exportList","onKbdPrevious","onKbdNext","onKbdClick","svgEl","hideExportMenu","keyboardNavigationHandler","a11yOptions","highlightedExportItemIx","highlightExportItem","wrapAround","highlightLastExportItem","curHighlightedItem","exportButtonElement","chartShowExportMenu","chartHideExportMenu","chartHighlightExportItem","listItem","curHighlighted","hasSVGFocusSupport","chartHighlightLastExportItem","showExportMenu","Components_MenuComponent","KeyboardNavigation_doc","KeyboardNavigation_win","KeyboardNavigation_addEvent","KeyboardNavigation_defined","KeyboardNavigation_fireEvent","KeyboardNavigation_getElement","KeyboardNavigation_simulatedEventTarget","KeyboardNavigation","components","currentModuleIx","modules","ep","onKeydown","onFocus","isClickingChart","keyboardOptions","updateContainerTabindex","componentName","navModules","removeExitAnchor","makeElementAnExitAnchor","exitAnchor","createExitAnchor","curModule","newModule","exiting","focusComesFromChart","tabbingInBackwards","getFirstValidModuleIx","keyboardReset","curMod","ev","curNavModule","shouldHaveTabindex","curTabindex","chartTabindex","addExitAnchorEventsToEl","comingInBackwards","chartDismissPopupContent","documentOnKeydown","dismissPopupContent","Accessibility_KeyboardNavigation","highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_root_Highcharts_Legend_","highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_root_Highcharts_Legend_default","LegendComponent_doc","LegendComponent_addEvent","LegendComponent_fireEvent","LegendComponent_pick","LegendComponent_getChartTitle","LegendComponent_stripHTMLTags","LegendComponent_addClass","LegendComponent_removeClass","shouldDoLegendA11y","legendA11yOptions","unsupportedColorAxis","setLegendItemHoverState","hoverActive","LegendComponent","highlightedLegendItemIx","proxyGroup","recreateProxies","updateGroupProxyElementPositions","updateLegendItemProxyVisibility","highlightLegendItem","updateProxyPositionForItem","curPage","a11yProxyElement","hasPages","proxyEl","itemPage","removeProxies","highlightAdjacentLegendPage","newPageIx","refreshPosition","focusedElement","shouldRestoreFocus","addLegendProxyGroup","proxyLegendItems","updateLegendTitle","removeGroup","legendTitle","updateGroupAttrs","groupRole","proxyLegendItem","itemLabel","itemName","proxyPositioningElement","visual","onKbdArrowKey","shouldHaveLegendNavigation","numItems","chartHighlightLegendItem","oldIx","itemToHighlight","itemIx","scrollLegendToItem","legendItemProp","proxyBtn","legendOnAfterColorizeItem","Components_LegendComponent","ChartNavigatorComposition_addEvent","ChartNavigatorComposition_pick","composedMembers","NavigatorConstructor","onChartAfterAddSeries","onChartAfterSetChartSize","scrollbarHeight","scrollButtonSize","navigatorOptions","rangeSelector","extraBottomMargin","getHeight","onChartAfterUpdate","onChartBeforeShowResetZoom","onChartCallback","scrollbarOptions","Navigator_ChartNavigatorComposition","NavigatorClass","NavigatorAxisComposition_isTouchDevice","NavigatorAxisComposition_addEvent","NavigatorAxisComposition_defined","NavigatorAxisComposition_isNumber","NavigatorAxisComposition_pick","navigatorAxis","NavigatorAxisAdditions","onAxisSetExtremes","zoomed","previousZoom","toFixedRange","fixedMin","fixedMax","halfPointRange","NavigatorAxisComposition","Navigator_NavigatorDefaults","maskInside","handles","maskFill","outlineColor","outlineWidth","groupPixelWidth","firstAnchor","lastAnchor","Navigator_NavigatorSymbols","_x","_y","markerPosition","highcharts_RendererRegistry_commonjs_highcharts_RendererRegistry_commonjs2_highcharts_RendererRegistry_root_Highcharts_RendererRegistry_","highcharts_RendererRegistry_commonjs_highcharts_RendererRegistry_commonjs2_highcharts_RendererRegistry_root_Highcharts_RendererRegistry_default","StockUtilities_defined","Utilities_StockUtilities","setFixedRange","fixedRange","NavigatorComposition_setFixedRange","NavigatorComposition_addEvent","onSeriesAfterUpdate","Navigator_NavigatorComposition","ScrollbarAxis_composed","ScrollbarAxis_addEvent","ScrollbarAxis_defined","ScrollbarAxis_pick","ScrollbarAxis_pushUnique","ScrollbarAxis","Scrollbar","axisMin","scrollMin","scrollMax","onAxisAfterGetOffset","scrollbarsOffsets","vertical","unitedMin","unitedMax","shouldUpdateExtremes","DOMType","setRange","axisMargin","offsetsIndex","xPosition","ScrollbarClass","Axis_ScrollbarAxis","Scrollbar_ScrollbarDefaults","barBorderRadius","buttonBorderRadius","buttonsEnabled","liveRedraw","barBackgroundColor","barBorderWidth","barBorderColor","buttonArrowColor","buttonBackgroundColor","buttonBorderColor","buttonBorderWidth","rifleColor","trackBackgroundColor","trackBorderColor","trackBorderRadius","trackBorderWidth","Scrollbar_addEvent","Scrollbar_correctFloat","Scrollbar_defined","Scrollbar_fireEvent","Scrollbar_merge","Scrollbar_pick","swapXY","_events","scrollbarButtons","scrollbarLeft","scrollbarStrokeWidth","scrollbarTop","buttonsOrder","bar","scrollbarGroup","track","mouseDownHandler","mouseMoveHandler","mouseUpHandler","buttonToMinClick","buttonToMaxClick","trackClick","cursorToScrollbarPosition","minWidthDifference","calculatedWidth","drawScrollbarButton","mousePosition","grabbedCenter","scrollPosition","change","rendered","scrollbarRifles","fullWidth","toPX","fromPX","newPos","newRiflesPos","showFull","Scrollbar_Scrollbar","Navigator_defaultOptions","Navigator_isTouchDevice","Navigator_addEvent","Navigator_correctFloat","Navigator_defined","Navigator_destroyObjectProperties","Navigator_extend","Navigator_find","Navigator_fireEvent","Navigator_isNumber","Navigator_merge","Navigator_pick","Navigator_removeEvent","numExt","extreme","Navigator","drawHandle","drawOutline","zoomedMin","zoomedMax","halfOutline","outlineCorrection","navigatorSize","navigatorTop","lineBtm","verticalMin","drawMasks","navigatorHeight","shades","shade","renderElements","mouseCursor","navigatorGroup","hasMask","handlesOptions","addMouseEvents","invertedUpdate","setOpposite","navigatorEnabled","adaptToUpdatedData","updatedDataHandler","getXAxisOffsets","scrollbarXAxis","fake","maxRange","navigatorWidth","currentRange","grabbedLeft","grabbedRight","fixedWidth","getPartsEvents","modifyNavigatorAxisExtremes","navigatorItem","shadesMousedown","navigatorPosition","dragOffset","reversedExtremes","getUnionExtremes","handlesMousedown","baseXAxis","otherHandlePos","fixedExtreme","unionExtremes","triggerOp","removeBaseSeriesEvents","modifyBaseAxisExtremes","scrollbarEnabled","xAxisIndex","yAxisIndex","baseXaxis","breaks","keepOrdinalPadding","updateNavigatorSeries","unbindRedraw","scrollTrackWidth","valueRange","addChartEvents","returnFalseOnNoBaseSeries","baseAxis","navAxis","navAxisOptions","baseAxisOptions","showInNavigator","navSeriesMixin","padXAxis","navSeries","baseOptions","mergedNavSeriesOptions","baseNavigatorOptions","chartNavigatorSeriesOptions","linkedNavSeries","userNavOptions","navigatorSeriesData","hasNavigatorData","userSeriesOptions","getBaseSeriesMin","currentSeriesMin","baseExtremes","baseMin","baseMax","baseDataMin","baseDataMax","stickToMin","stickToMax","convertOverscroll","hasSetExtremes","shouldStickToMax","shouldStickToMin","xDataMin","marginName","Navigator_Navigator","NavigatorComponent_animObject","NavigatorComponent_format","NavigatorComponent_clamp","NavigatorComponent_pick","NavigatorComponent_syncTimeout","NavigatorComponent_getFakeMouseEvent","NavigatorComponent_getAxisRangeDescription","NavigatorComponent_fireEventOnWrappedOrUnwrappedElement","Components_NavigatorComponent","updateHandleValues","verbosity","groupFormatStr","groupLabel","handleFormatStr","handleLabel","getHandleByIx","handleIx","oninput","updateNavigator","getNavigatorHandleNavigation","maxHandleProxy","minHandleProxy","updateNavigatorThrottleTimer","beforeAnnounce","chartPos","minNewX","maxNewX","announceFormatStr","changeAnnouncement","axisRangeDescription","SeriesDescriber_getPointAnnotationTexts","SeriesDescriber_getAxisDescription","SeriesDescriber_getSeriesFirstPointElement","SeriesDescriber_getSeriesA11yElement","SeriesDescriber_unhideChartElementFromAT","SeriesDescriber_format","SeriesDescriber_reverseChildNodes","SeriesDescriber_stripHTMLTags","SeriesDescriber_find","SeriesDescriber_isNumber","SeriesDescriber_pick","SeriesDescriber_defined","addMockPointElement","sourcePointIndex","findFirstPointWithGraphic","firstGraphic","mockElement","mock","makeMockElement","hasMorePointsThanDescriptionThreshold","pointNumberToString","a11yPointOptions","seriesA11yPointOptions","getSeriesAxisDescriptionText","axisCollection","getPointArrayMapValueDescription","suf","propDesc","keyToValStr","getPointValue","a11yPointOpts","seriesA11yPointOpts","fallbackDesc","getPointValueDescription","seriesA11yOptions","pointValueDescriptionFormat","valueDescriptionFormat","showXDescription","xDesc","timeDesc","dateXAxis","tooltipDateFormat","dateFormatter","getPointA11yTimeDescription","pointCategory","canUseId","fallback","getPointXDescription","xDescription","defaultPointDescriptionFormatter","shouldExposeSeriesName","valText","userDescText","seriesNameText","annotationsDesc","getPointAnnotationDescription","pointAnnotationsText","describePointsInSeries","setScreenReaderProps","exposeAsGroupOnly","shouldSetScreenReaderPropsOnPoints","setKeyboardProps","seriesNavOptions","seriesNavigation","pointNavigationEnabledThreshold","shouldSetKeyboardNavPropsOnPoints","shouldDescribeNullPoints","describeNull","pointEl","isSunburst","shouldDescribeNull","shouldAddMockPoint","pointA11yDisabled","pointElement","seriesPointA11yOptions","descriptionFormat","descriptionFormatter","setPointScreenReaderAttribs","defaultSeriesDescriptionFormatter","chartTypes","descOpt","getSeriesDescriptionText","shouldDescribeAxis","seriesNumber","xAxisInfo","yAxisInfo","summaryContext","combinationSuffix","axisDescription","formatStr","seriesDescription","authorDescription","SeriesComponent_SeriesDescriber","describeSeries","chartHas3d","options3d","hasMultipleSeries","describeSingleSeriesOption","describeSingleSeries","exposeAsGroupOnlyOption","shouldDescribeSeriesElement","seriesElement","describeSeriesElement","NewDataAnnouncer_composed","NewDataAnnouncer_addEvent","NewDataAnnouncer_defined","NewDataAnnouncer_pushUnique","NewDataAnnouncer_getChartTitle","NewDataAnnouncer_defaultPointDescriptionFormatter","NewDataAnnouncer_defaultSeriesDescriptionFormatter","chartHasAnnounceEnabled","announceNewData","NewDataAnnouncer","dirty","lastAnnouncementTime","announceType","interruptUser","addEventListeners","onSeriesAdded","announceDirtyData","hasDirty","newSeries","newPoint","candidates","candidate","findPointInDataArray","queueAnnouncement","dirtySeries","annOptions","dTime","minAnnounceInterval","arrayA","arrayB","uniqueSeries","getUniqueSeries","queuedAnnouncement","buildAnnouncementMessage","queuedAnnouncementTimer","announcementFormatter","formatterRes","multiple","seriesDesc","pointDesc","seriesOnAddPoint","newDataAnnouncer","seriesOnUpdatedData","SeriesComponent_NewDataAnnouncer","ProxyElement_doc","ProxyElement_attr","ProxyElement_css","ProxyElement_merge","ProxyElement_fireEventOnWrappedOrUnwrappedElement","ProxyElement_cloneMouseEvent","ProxyElement_cloneTouchEvent","ProxyElement_getFakeMouseEvent","ProxyElement_removeElement","Accessibility_ProxyElement","proxyElementType","wrapperElementType","innerEl","wrapperEl","hideElementVisually","updateTarget","getTargetPosition","fakeEventObject","updateCSSClassName","targetAriaLabel","getTargetAttr","addProxyEventsToElement","stringHasNoTooltip","groupDiv","noTooltipOnGroup","noTooltipOnTarget","evtType","isTouchEvent","clonedEvent","clickTarget","clickTargetElement","posElement","chartDiv","rectEl","ProxyProvider_doc","ProxyProvider_attr","ProxyProvider_css","ProxyProvider_unhideChartElementFromAT","ProxyProvider_removeChildNodes","Accessibility_ProxyProvider","groupOrder","beforeChartProxyPosContainer","createProxyPosContainer","afterChartProxyPosContainer","groupKey","proxyContainerElement","proxyElements","groupElementType","existingGroup","groupElement","proxyContainer","updateGroupOrder","groupKeys","isDOMOrderGroupOrder","seriesIx","beforeKeys","afterKeys","posContainer","updatePosContainerPositions","updateProxyElementPositions","classNamePostfix","getCurrentGroupOrderInDOM","getGroupKeyFromElement","allGroups","getChildrenGroupOrder","childrenOrder","domOrder","groupOrderWithGroups","rendererSVGEl","RangeSelectorComponent_unhideChartElementFromAT","RangeSelectorComponent_getAxisRangeDescription","RangeSelectorComponent_addEvent","RangeSelectorComponent_attr","RangeSelectorComponent","updateSelectorVisibility","setDropdownAttrs","setRangeButtonAttrs","maxInput","minInput","setRangeInputAttrs","dropdown","hideFromAT","hasVisibleDropdown","btn","rangeTitle","rangeSelectorZoom","onButtonNavKbdArrowKey","highlightRangeSelectorButton","highlightedRangeSelectorItemIx","onButtonNavKbdClick","oldRangeSelectorItemState","onAfterBtnClick","announcement","onInputKbdMove","rangeSel","newIx","highlightedInputRangeIx","inputEl","onInputNavInit","buttonIxToHighlight","removeInputKeydownHandler","keydownHandler","minRemover","maxRemover","onInputNavTerminate","hideInput","initDropdownNav","buttonGroup","removeDropdownKeydownHandler","isTab","getRangeSelectorButtonNavigation","lastButtonIx","getRangeSelectorInputNavigation","inputGroup","inputEnabled","shouldRunInputNavigation","chartHighlightRangeSelectorButton","curHighlightedIx","curSelectedIx","rangeSelectorAfterBtnClick","RangeSelectorClass","Components_RangeSelectorComponent","ForcedMarkers_composed","ForcedMarkers_addEvent","ForcedMarkers_merge","ForcedMarkers_pushUnique","ForcedMarkersComposition","forceZeroOpacityMarkerOptions","getPointMarkerOpacity","hasIndividualPointMarkerOptions","seriesOnAfterRender","a11yMarkersForced","hasForcedA11yMarker","seriesOnAfterSetOptions","resetA11yMarkerOptions","seriesOnRender","chartA11yEnabled","seriesA11yEnabled","pointDescriptionEnabledThreshold","isWithinDescriptionThreshold","shouldForceMarkers","resetMarkerOptions","originalOpacity","unforceSeriesMarkerOptions","hadForcedMarker","isStillForcedMarker","unforcePointMarkerOptions","handleForcePointMarkers","seriesOnRenderCanvas","ForcedMarkers","SeriesKeyboardNavigation_seriesTypes","SeriesKeyboardNavigation_doc","SeriesKeyboardNavigation_defined","SeriesKeyboardNavigation_fireEvent","SeriesKeyboardNavigation_getPointFromXY","SeriesKeyboardNavigation_getSeriesFromName","SeriesKeyboardNavigation_scrollAxisToPoint","getPointIndex","isSkipSeries","seriesKbdNavOptions","isSkipPoint","skipNullPoints","getFirstValidPointInSeries","getFirstValidPointInChart","highlightLastValidPointInChart","highlightedPoint","highlightNextValidPoint","highlightFirstValidPointInChart","highlight","SeriesKeyboardNavigation","onSeriesDestroy","updateChartFocusAfterDrilling","lastDrilledDownPoint","onDrillupAll","focusedElClassName","isProxyFocused","getKeyboardNavigationHandler","onKbdSideways","onKbdVertical","highlightAdjacentSeries","onHandlerInit","onHandlerTerminate","attemptHighlightAdjacentPoint","rememberPointFocus","keyboardMoveVertical","kbdNavOptions","directionIsNext","highlightAdjacentPoint","chartHighlightAdjacentPoint","curPoint","curPointIndex","curPoints","chartHighlightAdjacentPointVertical","bestPoint","minDistance","yDistance","chartHighlightAdjacentSeries","adjacentNewPoint","xWeight","yWeight","dPoint","minIx","hasUndefinedPosition","getClosestPoint","pointHighlight","highlightVisually","tooltipElement","tooltipTop","newScrollTop","scrollY","seriesHighlightNextValidPoint","highlightAdjacentPointVertical","SeriesComponent_SeriesKeyboardNavigation","SeriesComponent_hideSeriesFromAT","SeriesComponent_describeSeries","SeriesComponent_SeriesComponent","hideTooltipFromATWhenShown","hideSeriesLabelsFromATWhenShown","ZoomComponent_unhideChartElementFromAT","ZoomComponent_getFakeMouseEvent","ZoomComponent_attr","ZoomComponent_pick","Components_ZoomComponent","focusedMapNavButtonIx","updateProxyOverlays","setMapNavButtonAttrs","labelFormatKey","createZoomProxyButton","drillUpButton","breadcrumbs","lastBreadcrumb","buttonText","getButtonText","buttonProp","getMapZoomNavigation","onMapKbdArrow","_keyCode","onMapKbdTab","onMapKbdClick","chartHasMapZoom","onMapNavInit","isY","stepDirection","startPos","endPos","isBackwards","isMoveOutOfRange","initialButton","simpleButtonNavigation","proxyProp","onClick","_handler","drillUp","HighContrastMode_doc","HighContrastMode_win","whcm","isHighContrastModeActive","isEdge","testDiv","backgroundImage","bi","currentStyle","setHighContrastTheme","highContrastModeActive","hasCustomColors","plotOpts","HighContrastMode","HighContrastTheme","edgeColor","boxplot","candlestick","errorbar","activeAxisLabelStyle","activeDataLabelStyle","inputBoxBorderColor","inputStyle","A11yDefaults","highContrastMode","LangDefaults","defaultChartTitle","chartContainerLabel","svgContainerTitle","graphicContainerLabel","beforeRegionLabel","afterRegionLabel","heading","descriptionSinglePoint","descriptionMultiplePoints","descriptionNoPoints","playAsSoundButtonText","playAsSoundClickAnnouncement","legendLabelNoTitle","mapZoomIn","mapZoomOut","dropdownLabel","minInputLabel","maxInputLabel","clickButtonAnnouncement","viewAsDataTableButtonText","tableSummary","newDataAnnounce","newSeriesAnnounceSingle","newPointAnnounceSingle","newSeriesAnnounceMultiple","newPointAnnounceMultiple","seriesTypeDescriptions","columnrange","funnel","pyramid","emptyChart","mapTypeDescription","unknownMap","combinationChart","defaultSingle","defaultMultiple","splineSingle","splineMultiple","lineSingle","lineMultiple","columnSingle","columnMultiple","barSingle","barMultiple","pieSingle","pieMultiple","scatterSingle","scatterMultiple","boxplotSingle","boxplotMultiple","bubbleSingle","bubbleMultiple","xAxisDescriptionSingular","xAxisDescriptionPlural","yAxisDescriptionSingular","yAxisDescriptionPlural","timeRangeDays","timeRangeHours","timeRangeMinutes","timeRangeSeconds","rangeFromTo","rangeCategories","chartMenuLabel","menuButtonLabel","defaultCombination","lineCombination","splineCombination","columnCombination","barCombination","pieCombination","scatterCombination","boxplotCombination","bubbleCombination","mapCombination","mapline","maplineCombination","mapbubble","mapbubbleCombination","nullPointValue","pointAnnotationsDescription","DeprecatedOptions_pick","traverseSetOption","optionAsArray","deprecateFromOptionsMap","rootOldAsArray","rootNewAsArray","mapToNewOptions","getChildProp","propAsArray","rootOld","rootNew","oldOptionKey","DeprecatedOptions","copyDeprecatedChartOptions","copyDeprecatedAxisOptions","oldToNewSeriesOptions","exposeElementToA11y","pointDescriptionFormatter","skipKeyboardNavigation","optionVal","copyDeprecatedSeriesOptions","pointDateFormat","pointDateFormatter","pointDescriptionThreshold","pointNavigationThreshold","pointValueDecimals","pointValuePrefix","pointValueSuffix","screenReaderSectionFormatter","seriesDescriptionFormatter","onTableAnchorClick","copyDeprecatedTopLevelAccessibilityOptions","copyDeprecatedKeyboardNavigationOptions","screenReaderRegionLabel","rangeSelectorButton","rangeSelectorMaxInput","rangeSelectorMinInput","svgContainerEnd","viewAsDataTable","copyDeprecatedLangOptions","Accessibility_defaultOptions","Accessibility_doc","Accessibility_addEvent","Accessibility_extend","Accessibility_fireEvent","Accessibility_merge","Accessibility_removeElement","Accessibility","zombie","initComponents","infoRegions","chartMenu","customComponents","getComponentOrder","componentsExceptSeries","getChartTypes","kbdNavOrder","chartOnDestroy","chartOnRender","a11yDirty","updateA11yEnabled","chartOnUpdate","chartUpdateA11yEnabled","pointOnUpdate","highContrastTheme","Accessibility_Accessibility","A11yChartUtilities","A11yHTMLUtilities","AccessibilityComponent","KeyboardNavigationHandler","SeriesAccessibilityDescriber","RangeSelector","accessibility_src","patterns","patternTransform","createPatterns","hashFromObject","preSeed","strLen","seedStep","onChartEndResize","defIds","_width","_height","onChartRedraw","usedIds","sanitizedId","patternElements","onPointAfterInit","onRendererComplexColor","patternIndex","forceHashId","pointCalculatePatternDimensions","addPattern","onSeriesRender","calculatePatternDimensions","_inverted","aspectWidth","aspectHeight","rendererAddPattern","animationOptions","idCounter","patternUnits","patternContentUnits","wrapSeriesGetColor","oldColor","onPatternScaleCorrection","pointInfo","otherInfo","otherIndex","Extensions_PatternFill","pattern_fill_src","Breadcrumbs_BreadcrumbsDefaults","mainBreadcrumb","showFullPath","onChartAfterShowResetZoom","breadcrumbsOptions","alignBreadcrumbsGroup","onChartDestroy","onChartGetMargins","level","breadcrumbsHeight","onChartSelection","Breadcrumbs","highchartsDefaultOptions","elementList","updateProperties","setList","setLevel","getLevel","breadcrumb","textFormat","defaultText","drillUpText","returnText","levelOptions","renderFullPathButtons","renderSingleButton","destroySingleButton","resetElementListState","updateListElements","destroyListElements","previousBreadcrumb","renderButton","updateSingleButton","positionOptions","additionalSpace","newPositions","buttonEvents","callDefaultEvent","newLevel","renderSeparator","separatorOptions","currentBreadcrumb","updated","rtlFactor","updateXPosition","adjustToRTL","Breadcrumbs_Breadcrumbs","Drilldown_DrilldownDefaults","DrilldownSeries_addEvent","DrilldownSeries_extend","DrilldownSeries_fireEvent","DrilldownSeries_merge","DrilldownSeries_pick","applyCursorCSS","columnAnimateDrilldown","drilldownLevels","animateFrom","_ddSeriesId","lowerSeriesOptions","oldPos","fadeInGroup","columnAnimateDrillupFrom","columnGroup","columnAnimateDrillupTo","drilldownLevel","pointsWithNodes","mapAnimateDrilldown","mapAnimateDrillupFrom","mapAnimateDrillupTo","unbindDrilldownClick","onPointClick","allowPointDrilldown","drilldownCategory","runDrilldown","onPointUpdate","onSeriesAfterDrawDataLabels","dataLabelsOptions","pointCSS","onSeriesAfterDrawTracker","pieAnimateDrilldown","pointDoDrilldown","pointRunDrilldown","holdRedraw","ddDupes","getDDPoints","addSingleSeriesAsDrilldown","addSeriesAsDrilldown","Drilldown_DrilldownSeries","doDrilldown","MapSeriesClass","animateDrilldown","animateDrillupFrom","animateDrillupTo","Drilldown_animObject","Drilldown_addEvent","Drilldown_defined","Drilldown_extend","Drilldown_fireEvent","Drilldown_merge","Drilldown_objectEach","Drilldown_pick","Drilldown_syncTimeout","ddSeriesId","axisDrilldownCategory","axisGetDDPoints","ddPoints","createBreadcrumbsList","levelNumber","lowerSeries","ChartAdditions","userDrilldown","userComplete","drilldownComplete","ddOptions","oldSeries","_levelNumber","levelSeries","levelSeriesOptions","purgedOptions","seriesPurgedOptions","oldExtremes","levelToRemove","isMultipleDrillUp","drilldownLevelsNumber","addedSeries","removeSeries","seriesI","seriesToRemove","shouldAnimate","zoomingDrill","Drilldown","onBreadcrumbsUp","drillUpsNumber","onChartAfterDrilldown","drilldownOptions","onChartAfterDrillUp","onChartDrillup","onChartDrillupall","drillable","breadcrumbOptions","svgElementFadeIn","tickDrillable","isDrillable","ddPointsX","basicStyles","removeOnDrillableClick","DrilldownChart","addonProto","elementProto","tickProto","Drilldown_Drilldown","drilldown_src","TilemapPoint_extend","TilemapPoint","tileShape","Tilemap_TilemapPoint","Tilemap_TilemapSeriesDefaults","TilemapShapes_pick","tilePaddingFromTileSize","xDiv","yDiv","Tilemap_TilemapShapes","hexagon","getSeriesPadding","tileEdges","y3","seriesPointPadding","yShift","midPointPadding","xMidPadding","xPointPadding","yPointPadding","yRadius","colsizePx","yRadiusPx","xRadiusPx","forceNextRadiusCompute","hasPerPointPadding","TilemapSeries_noop","TilemapSeries_HeatmapSeries","TilemapSeries_ScatterSeries","TilemapSeries_addEvent","TilemapSeries_extend","TilemapSeries_merge","onAxisAfterSetAxisTranslation","recomputingForTilemap","seriesPadding","getSeriesPixelPadding","axisLengthFactor","lengthPadding","TilemapSeries","coord1","coord2","Tilemap_TilemapSeries","tilemap_src","prepareLine","xBasis","xPadding","maxPointsPerLine","beeSwarmData","yPadding","beeSwarm","swarm","calculateYPadding","pointDiameter","parseTimeSeriesXDates","twoDArray","ReportTools"],"sources":["/tmp/build_3b851b84/ui/js/dataset_switcher.js","/tmp/build_3b851b84/ui/vendor/modernizr.custom.min.js","/tmp/build_3b851b84/node_modules/jquery/dist/jquery.js","/tmp/build_3b851b84/node_modules/@popperjs/core/dist/umd/popper.js","/tmp/build_3b851b84/node_modules/datatables.net/js/dataTables.min.js","/tmp/build_3b851b84/node_modules/datatables.net-bs5/js/dataTables.bootstrap5.min.js","/tmp/build_3b851b84/node_modules/datatables.net-select/js/dataTables.select.min.js","/tmp/build_3b851b84/node_modules/datatables.net-select-bs5/js/select.bootstrap5.min.js","/tmp/build_3b851b84/node_modules/datatables.net-fixedcolumns/js/dataTables.fixedColumns.min.js","/tmp/build_3b851b84/node_modules/datatables.net-fixedcolumns-bs5/js/fixedColumns.bootstrap5.min.js","/tmp/build_3b851b84/node_modules/datatables.net-rowgroup/js/dataTables.rowGroup.min.js","/tmp/build_3b851b84/node_modules/datatables.net-rowgroup-bs5/js/rowGroup.bootstrap5.min.js","/tmp/build_3b851b84/node_modules/bootstrap/dist/js/bootstrap.js","/tmp/build_3b851b84/node_modules/highcharts/highcharts.src.js","/tmp/build_3b851b84/node_modules/highcharts/highcharts-more.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/exporting.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/offline-exporting.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/heatmap.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/map.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/data.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/histogram-bellcurve.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/accessibility.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/pattern-fill.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/drilldown.src.js","/tmp/build_3b851b84/node_modules/highcharts/modules/tilemap.src.js","/tmp/build_3b851b84/ui/js/ReportTools.js"],"sourcesContent":["function setDatasetSlug(slug) {\n  document.cookie =\n    window.__DATASET_SLUG_COOKIE + '=' + slug + ' ;path=/'\n}\n\ndocument.addEventListener('DOMContentLoaded', function () {\n  setDatasetSlug(window.__CURRENT_DATASET_SLUG)\n});\n\ndocument.addEventListener('click', function (event) {\n\n\t// If the clicked element doesn't have the right selector, bail\n\tif (!event.target.matches('[data-datasetslug]')) return;\n\n\t// Don't follow the link\n\tevent.preventDefault();\n\n  setDatasetSlug(event.target.getAttribute(\"data-datasetslug\"));\n\n  window.location = '/'\n\n});","/* Modernizr 2.8.3 (Custom Build) | MIT & BSD\n * Build: http://modernizr.com/download/#-touch-cssclasses-teststyles-prefixes\n */\n;window.Modernizr=function(a,b,c){function w(a){j.cssText=a}function x(a,b){return w(m.join(a+\";\")+(b||\"\"))}function y(a,b){return typeof a===b}function z(a,b){return!!~(\"\"+a).indexOf(b)}function A(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:y(f,\"function\")?f.bind(d||b):f}return!1}var d=\"2.8.3\",e={},f=!0,g=b.documentElement,h=\"modernizr\",i=b.createElement(h),j=i.style,k,l={}.toString,m=\" -webkit- -moz- -o- -ms- \".split(\" \"),n={},o={},p={},q=[],r=q.slice,s,t=function(a,c,d,e){var f,i,j,k,l=b.createElement(\"div\"),m=b.body,n=m||b.createElement(\"body\");if(parseInt(d,10))while(d--)j=b.createElement(\"div\"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=[\"&#173;\",'<style id=\"s',h,'\">',a,\"</style>\"].join(\"\"),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background=\"\",n.style.overflow=\"hidden\",k=g.style.overflow,g.style.overflow=\"hidden\",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},u={}.hasOwnProperty,v;!y(u,\"undefined\")&&!y(u.call,\"undefined\")?v=function(a,b){return u.call(a,b)}:v=function(a,b){return b in a&&y(a.constructor.prototype[b],\"undefined\")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!=\"function\")throw new TypeError;var d=r.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(r.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(r.call(arguments)))};return e}),n.touch=function(){var c;return\"ontouchstart\"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:t([\"@media (\",m.join(\"touch-enabled),(\"),h,\")\",\"{#modernizr{top:9px;position:absolute}}\"].join(\"\"),function(a){c=a.offsetTop===9}),c};for(var B in n)v(n,B)&&(s=B.toLowerCase(),e[s]=n[B](),q.push((e[s]?\"\":\"no-\")+s));return e.addTest=function(a,b){if(typeof a==\"object\")for(var d in a)v(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b==\"function\"?b():b,typeof f!=\"undefined\"&&f&&(g.className+=\" \"+(b?\"\":\"no-\")+a),e[a]=b}return e},w(\"\"),i=k=null,e._version=d,e._prefixes=m,e.testStyles=t,g.className=g.className.replace(/(^|\\s)no-js(\\s|$)/,\"$1$2\")+(f?\" js \"+q.join(\" \"):\"\"),e}(this,this.document);","/*!\n * jQuery JavaScript Library v3.7.1\n * https://jquery.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2023-08-28T13:37Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket trac-14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n\t\t// Support: Chrome <=57, Firefox <=52\n\t\t// In some browsers, typeof returns \"function\" for HTML <object> elements\n\t\t// (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n\t\t// We don't want to classify *any* DOM node as a function.\n\t\t// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n\t\t// Plus for old WebKit, typeof returns \"function\" for HTML collections\n\t\t// (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\" &&\n\t\t\ttypeof obj.item !== \"function\";\n\t};\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\nvar document = window.document;\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar version = \"3.7.1\",\n\n\trhtmlSuffix = /HTML$/i,\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teven: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn ( i + 1 ) % 2;\n\t\t} ) );\n\t},\n\n\todd: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn i % 2;\n\t\t} ) );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a provided context; falls back to the global one\n\t// if not specified.\n\tglobalEval: function( code, options, doc ) {\n\t\tDOMEval( code, { nonce: options && options.nonce }, doc );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\n\t// Retrieve the text value of an array of DOM nodes\n\ttext: function( elem ) {\n\t\tvar node,\n\t\t\tret = \"\",\n\t\t\ti = 0,\n\t\t\tnodeType = elem.nodeType;\n\n\t\tif ( !nodeType ) {\n\n\t\t\t// If no nodeType, this is expected to be an array\n\t\t\twhile ( ( node = elem[ i++ ] ) ) {\n\n\t\t\t\t// Do not traverse comment nodes\n\t\t\t\tret += jQuery.text( node );\n\t\t\t}\n\t\t}\n\t\tif ( nodeType === 1 || nodeType === 11 ) {\n\t\t\treturn elem.textContent;\n\t\t}\n\t\tif ( nodeType === 9 ) {\n\t\t\treturn elem.documentElement.textContent;\n\t\t}\n\t\tif ( nodeType === 3 || nodeType === 4 ) {\n\t\t\treturn elem.nodeValue;\n\t\t}\n\n\t\t// Do not include comment or processing instruction nodes\n\n\t\treturn ret;\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\tisXMLDoc: function( elem ) {\n\t\tvar namespace = elem && elem.namespaceURI,\n\t\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t\t// Assume HTML when documentElement doesn't yet exist, such as inside\n\t\t// document fragments.\n\t\treturn !rhtmlSuffix.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn flat( ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\n\n\nfunction nodeName( elem, name ) {\n\n\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n}\nvar pop = arr.pop;\n\n\nvar sort = arr.sort;\n\n\nvar splice = arr.splice;\n\n\nvar whitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\";\n\n\nvar rtrimCSS = new RegExp(\n\t\"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\",\n\t\"g\"\n);\n\n\n\n\n// Note: an element does not contain itself\njQuery.contains = function( a, b ) {\n\tvar bup = b && b.parentNode;\n\n\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE doesn't have `contains` on SVG.\n\t\ta.contains ?\n\t\t\ta.contains( bup ) :\n\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t) );\n};\n\n\n\n\n// CSS string/identifier serialization\n// https://drafts.csswg.org/cssom/#common-serializing-idioms\nvar rcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\x80-\\uFFFF\\w-]/g;\n\nfunction fcssescape( ch, asCodePoint ) {\n\tif ( asCodePoint ) {\n\n\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\tif ( ch === \"\\0\" ) {\n\t\t\treturn \"\\uFFFD\";\n\t\t}\n\n\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\treturn ch.slice( 0, -1 ) + \"\\\\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t}\n\n\t// Other potentially-special ASCII characters get backslash-escaped\n\treturn \"\\\\\" + ch;\n}\n\njQuery.escapeSelector = function( sel ) {\n\treturn ( sel + \"\" ).replace( rcssescape, fcssescape );\n};\n\n\n\n\nvar preferredDoc = document,\n\tpushNative = push;\n\n( function() {\n\nvar i,\n\tExpr,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\tpush = pushNative,\n\n\t// Local document vars\n\tdocument,\n\tdocumentElement,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\tmatches,\n\n\t// Instance-specific data\n\texpando = jQuery.expando,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|\" +\n\t\t\"loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n\tidentifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n\n\t// Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" +\n\t\twhitespace + \"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trleadingCombinator = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" +\n\t\twhitespace + \"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\tID: new RegExp( \"^#(\" + identifier + \")\" ),\n\t\tCLASS: new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\tTAG: new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\tATTR: new RegExp( \"^\" + attributes ),\n\t\tPSEUDO: new RegExp( \"^\" + pseudos ),\n\t\tCHILD: new RegExp(\n\t\t\t\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\tbool: new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\tneedsContext: new RegExp( \"^\" + whitespace +\n\t\t\t\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace +\n\t\t\t\"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// https://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\tif ( nonHex ) {\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\treturn nonHex;\n\t\t}\n\n\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t// Support: IE <=11+\n\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t// surrogate pair\n\t\treturn high < 0 ?\n\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// Used for iframes; see `setDocument`.\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE/Edge.\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && nodeName( elem, \"fieldset\" );\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Support: IE <=9 only\n// Accessing document.activeElement can throw unexpectedly\n// https://bugs.jquery.com/ticket/13393\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t( arr = slice.call( preferredDoc.childNodes ) ),\n\t\tpreferredDoc.childNodes\n\t);\n\n\t// Support: Android <=4.0\n\t// Detect silently failing push.apply\n\t// eslint-disable-next-line no-unused-expressions\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = {\n\t\tapply: function( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t},\n\t\tcall: function( target ) {\n\t\t\tpushNative.apply( target, slice.call( arguments, 1 ) );\n\t\t}\n\t};\n}\n\nfunction find( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\t\tsetDocument( context );\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( ( m = match[ 1 ] ) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( ( elem = context.getElementById( m ) ) ) {\n\n\t\t\t\t\t\t\t// Support: IE 9 only\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE 9 only\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && ( elem = newContext.getElementById( m ) ) &&\n\t\t\t\t\t\t\tfind.contains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[ 2 ] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( ( m = match[ 3 ] ) && context.getElementsByClassName ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( !nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// The technique has to be used as well when a leading combinator is used\n\t\t\t\t// as such selectors are not recognized by querySelectorAll.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 &&\n\t\t\t\t\t( rdescend.test( selector ) || rleadingCombinator.test( selector ) ) ) {\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\n\t\t\t\t\t// We can use :scope instead of the ID hack if the browser\n\t\t\t\t\t// supports it & if we're not changing the context.\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when\n\t\t\t\t\t// strict-comparing two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( newContext != context || !support.scope ) {\n\n\t\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\t\tif ( ( nid = context.getAttribute( \"id\" ) ) ) {\n\t\t\t\t\t\t\tnid = jQuery.escapeSelector( nid );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcontext.setAttribute( \"id\", ( nid = expando ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[ i ] = ( nid ? \"#\" + nid : \":scope\" ) + \" \" +\n\t\t\t\t\t\t\ttoSelector( groups[ i ] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrimCSS, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\n\t\t// Use (key + \" \") to avoid collision with native prototype properties\n\t\t// (see https://github.com/jquery/sizzle/issues/157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn ( cache[ key + \" \" ] = value );\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by jQuery selector module\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement( \"fieldset\" );\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch ( e ) {\n\t\treturn false;\n\t} finally {\n\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn nodeName( elem, \"input\" ) && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn ( nodeName( elem, \"input\" ) || nodeName( elem, \"button\" ) ) &&\n\t\t\telem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11+\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a jQuery selector context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [node] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nfunction setDocument( node ) {\n\tvar subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocumentElement = document.documentElement;\n\tdocumentIsHTML = !jQuery.isXMLDoc( document );\n\n\t// Support: iOS 7 only, IE 9 - 11+\n\t// Older browsers didn't support unprefixed `matches`.\n\tmatches = documentElement.matches ||\n\t\tdocumentElement.webkitMatchesSelector ||\n\t\tdocumentElement.msMatchesSelector;\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors\n\t// (see trac-13936).\n\t// Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,\n\t// all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.\n\tif ( documentElement.msMatchesSelector &&\n\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tpreferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t\tsubWindow.addEventListener( \"unload\", unloadHandler );\n\t}\n\n\t// Support: IE <10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert( function( el ) {\n\t\tdocumentElement.appendChild( el ).id = jQuery.expando;\n\t\treturn !document.getElementsByName ||\n\t\t\t!document.getElementsByName( jQuery.expando ).length;\n\t} );\n\n\t// Support: IE 9 only\n\t// Check to see if it's possible to do matchesSelector\n\t// on a disconnected node.\n\tsupport.disconnectedMatch = assert( function( el ) {\n\t\treturn matches.call( el, \"*\" );\n\t} );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// IE/Edge don't support the :scope pseudo-class.\n\tsupport.scope = assert( function() {\n\t\treturn document.querySelectorAll( \":scope\" );\n\t} );\n\n\t// Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only\n\t// Make sure the `:has()` argument is parsed unforgivingly.\n\t// We include `*` in the test to detect buggy implementations that are\n\t// _selectively_ forgiving (specifically when the list includes at least\n\t// one valid selector).\n\t// Note that we treat complete lack of support for `:has()` as if it were\n\t// spec-compliant support, which is fine because use of `:has()` in such\n\t// environments will fail in the qSA path and fall back to jQuery traversal\n\t// anyway.\n\tsupport.cssHas = assert( function() {\n\t\ttry {\n\t\t\tdocument.querySelector( \":has(*,:jqfake)\" );\n\t\t\treturn false;\n\t\t} catch ( e ) {\n\t\t\treturn true;\n\t\t}\n\t} );\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter.ID = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute( \"id\" ) === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find.ID = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter.ID =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode( \"id\" );\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find.ID = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( ( elem = elems[ i++ ] ) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find.TAG = function( tag, context ) {\n\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t// DocumentFragment nodes don't have gEBTN\n\t\t} else {\n\t\t\treturn context.querySelectorAll( tag );\n\t\t}\n\t};\n\n\t// Class\n\tExpr.find.CLASS = function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\trbuggyQSA = [];\n\n\t// Build QSA regex\n\t// Regex strategy adopted from Diego Perini\n\tassert( function( el ) {\n\n\t\tvar input;\n\n\t\tdocumentElement.appendChild( el ).innerHTML =\n\t\t\t\"<a id='\" + expando + \"' href='' disabled='disabled'></a>\" +\n\t\t\t\"<select id='\" + expando + \"-\\r\\\\' disabled='disabled'>\" +\n\t\t\t\"<option selected=''></option></select>\";\n\n\t\t// Support: iOS <=7 - 8 only\n\t\t// Boolean attributes and \"value\" are not treated correctly in some XML documents\n\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t}\n\n\t\t// Support: iOS <=7 - 8 only\n\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\trbuggyQSA.push( \"~=\" );\n\t\t}\n\n\t\t// Support: iOS 8 only\n\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t}\n\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\trbuggyQSA.push( \":checked\" );\n\t\t}\n\n\t\t// Support: Windows 8 Native Apps\n\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tdocumentElement.appendChild( el ).disabled = true;\n\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t}\n\n\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t// Adding a temporary attribute to the document before the selection works\n\t\t// around the issue.\n\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"name\", \"\" );\n\t\tel.appendChild( input );\n\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t}\n\t} );\n\n\tif ( !support.cssHas ) {\n\n\t\t// Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n\t\t// Our regular `try-catch` mechanism fails to detect natively-unsupported\n\t\t// pseudo-classes inside `:has()` (such as `:has(:contains(\"Foo\"))`)\n\t\t// in browsers that parse the `:has()` argument as a forgiving selector list.\n\t\t// https://drafts.csswg.org/selectors/#relational now requires the argument\n\t\t// to be parsed unforgivingly, but browsers have not yet fully adjusted.\n\t\trbuggyQSA.push( \":has\" );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = function( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tcompare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( a === document || a.ownerDocument == preferredDoc &&\n\t\t\t\tfind.contains( preferredDoc, a ) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( b === document || b.ownerDocument == preferredDoc &&\n\t\t\t\tfind.contains( preferredDoc, b ) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t};\n\n\treturn document;\n}\n\nfind.matches = function( expr, elements ) {\n\treturn find( expr, null, null, elements );\n};\n\nfind.matchesSelector = function( elem, expr ) {\n\tsetDocument( elem );\n\n\tif ( documentIsHTML &&\n\t\t!nonnativeSelectorCache[ expr + \" \" ] &&\n\t\t( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn find( expr, document, null, [ elem ] ).length > 0;\n};\n\nfind.contains = function( context, elem ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( context.ownerDocument || context ) != document ) {\n\t\tsetDocument( context );\n\t}\n\treturn jQuery.contains( context, elem );\n};\n\n\nfind.attr = function( elem, name ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( elem.ownerDocument || elem ) != document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\n\t\t// Don't get fooled by Object.prototype properties (see trac-13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\tif ( val !== undefined ) {\n\t\treturn val;\n\t}\n\n\treturn elem.getAttribute( name );\n};\n\nfind.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\njQuery.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\t//\n\t// Support: Android <=4.0+\n\t// Testing for detecting duplicates is unpredictable so instead assume we can't\n\t// depend on duplicate detection in all browsers without a stable sort.\n\thasDuplicate = !support.sortStable;\n\tsortInput = !support.sortStable && slice.call( results, 0 );\n\tsort.call( results, sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tsplice.call( results, duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\njQuery.fn.uniqueSort = function() {\n\treturn this.pushStack( jQuery.uniqueSort( slice.apply( this ) ) );\n};\n\nExpr = jQuery.expr = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\tATTR: function( match ) {\n\t\t\tmatch[ 1 ] = match[ 1 ].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || \"\" )\n\t\t\t\t.replace( runescape, funescape );\n\n\t\t\tif ( match[ 2 ] === \"~=\" ) {\n\t\t\t\tmatch[ 3 ] = \" \" + match[ 3 ] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\tCHILD: function( match ) {\n\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[ 1 ] = match[ 1 ].toLowerCase();\n\n\t\t\tif ( match[ 1 ].slice( 0, 3 ) === \"nth\" ) {\n\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[ 3 ] ) {\n\t\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[ 4 ] = +( match[ 4 ] ?\n\t\t\t\t\tmatch[ 5 ] + ( match[ 6 ] || 1 ) :\n\t\t\t\t\t2 * ( match[ 3 ] === \"even\" || match[ 3 ] === \"odd\" )\n\t\t\t\t);\n\t\t\t\tmatch[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[ 3 ] ) {\n\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\tPSEUDO: function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[ 6 ] && match[ 2 ];\n\n\t\t\tif ( matchExpr.CHILD.test( match[ 0 ] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[ 3 ] ) {\n\t\t\t\tmatch[ 2 ] = match[ 4 ] || match[ 5 ] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t( excess = tokenize( unquoted, true ) ) &&\n\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t( excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length ) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[ 0 ] = match[ 0 ].slice( 0, excess );\n\t\t\t\tmatch[ 2 ] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\tTAG: function( nodeNameSelector ) {\n\t\t\tvar expectedNodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() {\n\t\t\t\t\treturn true;\n\t\t\t\t} :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn nodeName( elem, expectedNodeName );\n\t\t\t\t};\n\t\t},\n\n\t\tCLASS: function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t( pattern = new RegExp( \"(^|\" + whitespace + \")\" + className +\n\t\t\t\t\t\"(\" + whitespace + \"|$)\" ) ) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test(\n\t\t\t\t\t\ttypeof elem.className === \"string\" && elem.className ||\n\t\t\t\t\t\t\ttypeof elem.getAttribute !== \"undefined\" &&\n\t\t\t\t\t\t\t\telem.getAttribute( \"class\" ) ||\n\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t);\n\t\t\t\t} );\n\t\t},\n\n\t\tATTR: function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = find.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\tif ( operator === \"=\" ) {\n\t\t\t\t\treturn result === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"!=\" ) {\n\t\t\t\t\treturn result !== check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"^=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) === 0;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"*=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"$=\" ) {\n\t\t\t\t\treturn check && result.slice( -check.length ) === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"~=\" ) {\n\t\t\t\t\treturn ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" )\n\t\t\t\t\t\t.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"|=\" ) {\n\t\t\t\t\treturn result === check || result.slice( 0, check.length + 1 ) === check + \"-\";\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t};\n\t\t},\n\n\t\tCHILD: function( type, what, _argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tvar cache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( ( node = node[ dir ] ) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnodeName( node, name ) :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\t\t\t\t\t\t\touterCache = parent[ expando ] || ( parent[ expando ] = {} );\n\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\t\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnodeName( node, name ) :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( node[ expando ] = {} );\n\t\t\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\tPSEUDO: function( pseudo, argument ) {\n\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// https://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tfind.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as jQuery does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction( function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf.call( seed, matched[ i ] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[ i ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t} ) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\n\t\t// Potentially complex pseudos\n\t\tnot: markFunction( function( selector ) {\n\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrimCSS, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction( function( seed, matches, _context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\t\t\t\t\tseed[ i ] = !( matches[ i ] = elem );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} ) :\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tinput[ 0 ] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\n\t\t\t\t\t// Don't keep the element\n\t\t\t\t\t// (see https://github.com/jquery/sizzle/issues/299)\n\t\t\t\t\tinput[ 0 ] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t} ),\n\n\t\thas: markFunction( function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn find( selector, elem ).length > 0;\n\t\t\t};\n\t\t} ),\n\n\t\tcontains: markFunction( function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || jQuery.text( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t} ),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// https://www.w3.org/TR/selectors/#lang-pseudo\n\t\tlang: markFunction( function( lang ) {\n\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test( lang || \"\" ) ) {\n\t\t\t\tfind.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( ( elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute( \"xml:lang\" ) || elem.getAttribute( \"lang\" ) ) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t} ),\n\n\t\t// Miscellaneous\n\t\ttarget: function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\troot: function( elem ) {\n\t\t\treturn elem === documentElement;\n\t\t},\n\n\t\tfocus: function( elem ) {\n\t\t\treturn elem === safeActiveElement() &&\n\t\t\t\tdocument.hasFocus() &&\n\t\t\t\t!!( elem.type || elem.href || ~elem.tabIndex );\n\t\t},\n\n\t\t// Boolean properties\n\t\tenabled: createDisabledPseudo( false ),\n\t\tdisabled: createDisabledPseudo( true ),\n\n\t\tchecked: function( elem ) {\n\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\treturn ( nodeName( elem, \"input\" ) && !!elem.checked ) ||\n\t\t\t\t( nodeName( elem, \"option\" ) && !!elem.selected );\n\t\t},\n\n\t\tselected: function( elem ) {\n\n\t\t\t// Support: IE <=11+\n\t\t\t// Accessing the selectedIndex property\n\t\t\t// forces the browser to treat the default option as\n\t\t\t// selected when in an optgroup.\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\t// eslint-disable-next-line no-unused-expressions\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\tempty: function( elem ) {\n\n\t\t\t// https://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\tparent: function( elem ) {\n\t\t\treturn !Expr.pseudos.empty( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\theader: function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\tinput: function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\tbutton: function( elem ) {\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"button\" ||\n\t\t\t\tnodeName( elem, \"button\" );\n\t\t},\n\n\t\ttext: function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"text\" &&\n\n\t\t\t\t// Support: IE <10 only\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear\n\t\t\t\t// with elem.type === \"text\"\n\t\t\t\t( ( attr = elem.getAttribute( \"type\" ) ) == null ||\n\t\t\t\t\tattr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\tfirst: createPositionalPseudo( function() {\n\t\t\treturn [ 0 ];\n\t\t} ),\n\n\t\tlast: createPositionalPseudo( function( _matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t} ),\n\n\t\teq: createPositionalPseudo( function( _matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t} ),\n\n\t\teven: createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\todd: createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\tlt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i;\n\n\t\t\tif ( argument < 0 ) {\n\t\t\t\ti = argument + length;\n\t\t\t} else if ( argument > length ) {\n\t\t\t\ti = length;\n\t\t\t} else {\n\t\t\t\ti = argument;\n\t\t\t}\n\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\tgt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} )\n\t}\n};\n\nExpr.pseudos.nth = Expr.pseudos.eq;\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\nfunction tokenize( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || ( match = rcomma.exec( soFar ) ) ) {\n\t\t\tif ( match ) {\n\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[ 0 ].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( ( tokens = [] ) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( ( match = rleadingCombinator.exec( soFar ) ) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push( {\n\t\t\t\tvalue: matched,\n\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[ 0 ].replace( rtrimCSS, \" \" )\n\t\t\t} );\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||\n\t\t\t\t( match = preFilters[ type ]( match ) ) ) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push( {\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t} );\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\tif ( parseOnly ) {\n\t\treturn soFar.length;\n\t}\n\n\treturn soFar ?\n\t\tfind.error( selector ) :\n\n\t\t// Cache the tokens\n\t\ttokenCache( selector, groups ).slice( 0 );\n}\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[ i ].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\n\t\t\t\t\t\tif ( skip && nodeName( elem, skip ) ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( ( oldCache = outerCache[ key ] ) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn ( newCache[ 2 ] = oldCache[ 2 ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\touterCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[ i ]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[ 0 ];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tfind( selector, contexts[ i ], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction( function( seed, results, context, xml ) {\n\t\tvar temp, i, elem, matcherOut,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed ||\n\t\t\t\tmultipleContexts( selector || \"*\",\n\t\t\t\t\tcontext.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems;\n\n\t\tif ( matcher ) {\n\n\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter\n\t\t\t// or preexisting results,\n\t\t\tmatcherOut = postFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t[] :\n\n\t\t\t\t// ...otherwise use results directly\n\t\t\t\tresults;\n\n\t\t\t// Find primary matches\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t} else {\n\t\t\tmatcherOut = matcherIn;\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( ( elem = temp[ i ] ) ) {\n\t\t\t\t\tmatcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) ) {\n\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( ( matcherIn[ i ] = elem ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, ( matcherOut = [] ), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) &&\n\t\t\t\t\t\t( temp = postFinder ? indexOf.call( seed, elem ) : preMap[ i ] ) > -1 ) {\n\n\t\t\t\t\t\tseed[ temp ] = !( results[ temp ] = elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t} );\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[ 0 ].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[ \" \" ],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf.call( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tvar ret = ( !leadingRelative && ( xml || context != outermostContext ) ) || (\n\t\t\t\t( checkContext = context ).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\n\t\t\t// Avoid hanging onto element\n\t\t\t// (see https://github.com/jquery/sizzle/issues/299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {\n\t\t\tmatchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[ j ].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 )\n\t\t\t\t\t\t\t.concat( { value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" } )\n\t\t\t\t\t).replace( rtrimCSS, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find.TAG( \"*\", outermost ),\n\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\n\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\toutermostContext = context == document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: iOS <=7 - 9 only\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching\n\t\t\t// elements by id. (see trac-14142)\n\t\t\tfor ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( !context && elem.ownerDocument != document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( ( matcher = elementMatchers[ j++ ] ) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml ) ) {\n\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( ( elem = !matcher && elem ) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( ( matcher = setMatchers[ j++ ] ) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !( unmatched[ i ] || setMatched[ i ] ) ) {\n\t\t\t\t\t\t\t\tsetMatched[ i ] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tjQuery.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\nfunction compile( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[ i ] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector,\n\t\t\tmatcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n}\n\n/**\n * A low-level selection function that works with jQuery's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with jQuery selector compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nfunction select( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( ( selector = compiled.selector || selector ) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[ 0 ] = match[ 0 ].slice( 0 );\n\t\tif ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === \"ID\" &&\n\t\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {\n\n\t\t\tcontext = ( Expr.find.ID(\n\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\tcontext\n\t\t\t) || [] )[ 0 ];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr.needsContext.test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[ i ];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ ( type = token.type ) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( ( find = Expr.find[ type ] ) ) {\n\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( ( seed = find(\n\t\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[ 0 ].type ) &&\n\t\t\t\t\t\ttestContext( context.parentNode ) || context\n\t\t\t\t) ) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n}\n\n// One-time assignments\n\n// Support: Android <=4.0 - 4.1+\n// Sort stability\nsupport.sortStable = expando.split( \"\" ).sort( sortOrder ).join( \"\" ) === expando;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Android <=4.0 - 4.1+\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert( function( el ) {\n\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement( \"fieldset\" ) ) & 1;\n} );\n\njQuery.find = find;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.unique = jQuery.uniqueSort;\n\n// These have always been private, but they used to be documented as part of\n// Sizzle so let's maintain them for now for backwards compatibility purposes.\nfind.compile = compile;\nfind.select = select;\nfind.setDocument = setDocument;\nfind.tokenize = tokenize;\n\nfind.escape = jQuery.escapeSelector;\nfind.getText = jQuery.text;\nfind.isXML = jQuery.isXMLDoc;\nfind.selectors = jQuery.expr;\nfind.support = jQuery.support;\nfind.uniqueSort = jQuery.uniqueSort;\n\n\t/* eslint-enable */\n\n} )();\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521)\n\t// Strict HTML recognition (trac-11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to jQuery#find\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\tif ( elem.contentDocument != null &&\n\n\t\t\t// Support: IE 11+\n\t\t\t// <object> elements with no `data` attribute has an object\n\t\t\t// `contentDocument` with a `null` prototype.\n\t\t\tgetProto( elem.contentDocument ) ) {\n\n\t\t\treturn elem.contentDocument;\n\t\t}\n\n\t\t// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n\t\t// Treat the template element as a regular one in browsers that\n\t\t// don't support it.\n\t\tif ( nodeName( elem, \"template\" ) ) {\n\t\t\telem = elem.content || elem;\n\t\t}\n\n\t\treturn jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( _i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.error );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the error, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getErrorHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getErrorHook();\n\n\t\t\t\t\t\t\t\t// The deprecated alias of the above. While the name suggests\n\t\t\t\t\t\t\t\t// returning the stack, not an error instance, jQuery just passes\n\t\t\t\t\t\t\t\t// it directly to `console.warn` so both will work; an instance\n\t\t\t\t\t\t\t\t// just better cooperates with source maps.\n\t\t\t\t\t\t\t\t} else if ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the primary Deferred\n\t\t\tprimary = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tprimary.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( primary.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn primary.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );\n\t\t}\n\n\t\treturn primary.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\n// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error\n// captured before the async barrier to get the original error cause\n// which may otherwise be hidden.\njQuery.Deferred.exceptionHook = function( error, asyncError ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message,\n\t\t\terror.stack, asyncError );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See trac-6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, _key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\t\tvalue :\n\t\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( _all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (trac-9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see trac-8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (trac-14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar documentElement = document.documentElement;\n\n\n\n\tvar isAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem );\n\t\t},\n\t\tcomposed = { composed: true };\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n\t// Check attachment across shadow DOM boundaries when possible (gh-3504)\n\t// Support: iOS 10.0-10.2 only\n\t// Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n\t// leading to errors. We need to check for `getRootNode`.\n\tif ( documentElement.getRootNode ) {\n\t\tisAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem ) ||\n\t\t\t\telem.getRootNode( composed ) === elem.ownerDocument;\n\t\t};\n\t}\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tisAttached( elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = elem.nodeType &&\n\t\t\t( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (trac-11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (trac-14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n\n\t// Support: IE <=9 only\n\t// IE <=9 replaces <option> tags with their contents when inserted outside of\n\t// the select element.\n\tdiv.innerHTML = \"<option></option>\";\n\tsupport.option = !!div.lastChild;\n} )();\n\n\n// We have to close these tags to support XHTML (trac-13200)\nvar wrapMap = {\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: IE <=9 only\nif ( !support.option ) {\n\twrapMap.optgroup = wrapMap.option = [ 1, \"<select multiple='multiple'>\", \"</select>\" ];\n}\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (trac-15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, attached, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (trac-12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tattached = isAttached( elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( attached ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\nvar rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Only attach events to objects that accept data\n\t\tif ( !acceptData( elem ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = Object.create( null );\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\n\t\t\t// Make a writable jQuery.Event from the native event object\n\t\t\tevent = jQuery.event.fix( nativeEvent ),\n\n\t\t\thandlers = (\n\t\t\t\tdataPriv.get( this, \"events\" ) || Object.create( null )\n\t\t\t)[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// If the event is namespaced, then each handler is only invoked if it is\n\t\t\t\t// specially universal or its namespaces are a superset of the event's.\n\t\t\t\tif ( !event.rnamespace || handleObj.namespace === false ||\n\t\t\t\t\tevent.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (trac-13208)\n\t\t\t\t// Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (trac-13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tclick: {\n\n\t\t\t// Utilize native event to ensure correct state for checkable inputs\n\t\t\tsetup: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Claim the first handler\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\t// dataPriv.set( el, \"click\", ... )\n\t\t\t\t\tleverageNative( el, \"click\", true );\n\t\t\t\t}\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\ttrigger: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Force setup before triggering a click\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\tleverageNative( el, \"click\" );\n\t\t\t\t}\n\n\t\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, suppress native .click() on links\n\t\t\t// Also prevent it if we're currently inside a leveraged native-event stack\n\t\t\t_default: function( event ) {\n\t\t\t\tvar target = event.target;\n\t\t\t\treturn rcheckableType.test( target.type ) &&\n\t\t\t\t\ttarget.click && nodeName( target, \"input\" ) &&\n\t\t\t\t\tdataPriv.get( target, \"click\" ) ||\n\t\t\t\t\tnodeName( target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Ensure the presence of an event listener that handles manually-triggered\n// synthetic events by interrupting progress until reinvoked in response to\n// *native* events that it fires directly, ensuring that state changes have\n// already occurred before other listeners are invoked.\nfunction leverageNative( el, type, isSetup ) {\n\n\t// Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !isSetup ) {\n\t\tif ( dataPriv.get( el, type ) === undefined ) {\n\t\t\tjQuery.event.add( el, type, returnTrue );\n\t\t}\n\t\treturn;\n\t}\n\n\t// Register the controller as a special universal handler for all event namespaces\n\tdataPriv.set( el, type, false );\n\tjQuery.event.add( el, type, {\n\t\tnamespace: false,\n\t\thandler: function( event ) {\n\t\t\tvar result,\n\t\t\t\tsaved = dataPriv.get( this, type );\n\n\t\t\tif ( ( event.isTrigger & 1 ) && this[ type ] ) {\n\n\t\t\t\t// Interrupt processing of the outer synthetic .trigger()ed event\n\t\t\t\tif ( !saved ) {\n\n\t\t\t\t\t// Store arguments for use when handling the inner native event\n\t\t\t\t\t// There will always be at least one argument (an event object), so this array\n\t\t\t\t\t// will not be confused with a leftover capture object.\n\t\t\t\t\tsaved = slice.call( arguments );\n\t\t\t\t\tdataPriv.set( this, type, saved );\n\n\t\t\t\t\t// Trigger the native event and capture its result\n\t\t\t\t\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tdataPriv.set( this, type, false );\n\n\t\t\t\t\tif ( saved !== result ) {\n\n\t\t\t\t\t\t// Cancel the outer synthetic event\n\t\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\t\tevent.preventDefault();\n\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\n\t\t\t\t// If this is an inner synthetic event for an event with a bubbling surrogate\n\t\t\t\t// (focus or blur), assume that the surrogate already propagated from triggering\n\t\t\t\t// the native event and prevent that from happening again here.\n\t\t\t\t// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n\t\t\t\t// bubbling surrogate propagates *after* the non-bubbling base), but that seems\n\t\t\t\t// less bad than duplication.\n\t\t\t\t} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t}\n\n\t\t\t// If this is a native event triggered above, everything is now in order\n\t\t\t// Fire an inner synthetic event with the original arguments\n\t\t\t} else if ( saved ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, jQuery.event.trigger(\n\t\t\t\t\tsaved[ 0 ],\n\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\tthis\n\t\t\t\t) );\n\n\t\t\t\t// Abort handling of the native event by all jQuery handlers while allowing\n\t\t\t\t// native handlers on the same element to run. On target, this is achieved\n\t\t\t\t// by stopping immediate propagation just on the jQuery event. However,\n\t\t\t\t// the native event is re-wrapped by a jQuery one on each level of the\n\t\t\t\t// propagation so the only way to stop it for jQuery is to stop it for\n\t\t\t\t// everyone via native `stopPropagation()`. This is not a problem for\n\t\t\t\t// focus/blur which don't bubble, but it does also stop click on checkboxes\n\t\t\t\t// and radios. We accept this limitation.\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tevent.isImmediatePropagationStopped = returnTrue;\n\t\t\t}\n\t\t}\n\t} );\n}\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (trac-504, trac-13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcode: true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\twhich: true\n}, jQuery.event.addProp );\n\njQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( type, delegateType ) {\n\n\tfunction focusMappedHandler( nativeEvent ) {\n\t\tif ( document.documentMode ) {\n\n\t\t\t// Support: IE 11+\n\t\t\t// Attach a single focusin/focusout handler on the document while someone wants\n\t\t\t// focus/blur. This is because the former are synchronous in IE while the latter\n\t\t\t// are async. In other browsers, all those handlers are invoked synchronously.\n\n\t\t\t// `handle` from private data would already wrap the event, but we need\n\t\t\t// to change the `type` here.\n\t\t\tvar handle = dataPriv.get( this, \"handle\" ),\n\t\t\t\tevent = jQuery.event.fix( nativeEvent );\n\t\t\tevent.type = nativeEvent.type === \"focusin\" ? \"focus\" : \"blur\";\n\t\t\tevent.isSimulated = true;\n\n\t\t\t// First, handle focusin/focusout\n\t\t\thandle( nativeEvent );\n\n\t\t\t// ...then, handle focus/blur\n\t\t\t//\n\t\t\t// focus/blur don't bubble while focusin/focusout do; simulate the former by only\n\t\t\t// invoking the handler at the lower level.\n\t\t\tif ( event.target === event.currentTarget ) {\n\n\t\t\t\t// The setup part calls `leverageNative`, which, in turn, calls\n\t\t\t\t// `jQuery.event.add`, so event handle will already have been set\n\t\t\t\t// by this point.\n\t\t\t\thandle( event );\n\t\t\t}\n\t\t} else {\n\n\t\t\t// For non-IE browsers, attach a single capturing handler on the document\n\t\t\t// while someone wants focusin/focusout.\n\t\t\tjQuery.event.simulate( delegateType, nativeEvent.target,\n\t\t\t\tjQuery.event.fix( nativeEvent ) );\n\t\t}\n\t}\n\n\tjQuery.event.special[ type ] = {\n\n\t\t// Utilize native event if possible so blur/focus sequence is correct\n\t\tsetup: function() {\n\n\t\t\tvar attaches;\n\n\t\t\t// Claim the first handler\n\t\t\t// dataPriv.set( this, \"focus\", ... )\n\t\t\t// dataPriv.set( this, \"blur\", ... )\n\t\t\tleverageNative( this, type, true );\n\n\t\t\tif ( document.documentMode ) {\n\n\t\t\t\t// Support: IE 9 - 11+\n\t\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\t\tattaches = dataPriv.get( this, delegateType );\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t}\n\t\t\t\tdataPriv.set( this, delegateType, ( attaches || 0 ) + 1 );\n\t\t\t} else {\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\t\ttrigger: function() {\n\n\t\t\t// Force setup before trigger\n\t\t\tleverageNative( this, type );\n\n\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\treturn true;\n\t\t},\n\n\t\tteardown: function() {\n\t\t\tvar attaches;\n\n\t\t\tif ( document.documentMode ) {\n\t\t\t\tattaches = dataPriv.get( this, delegateType ) - 1;\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t\tdataPriv.remove( this, delegateType );\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.set( this, delegateType, attaches );\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Return false to indicate standard teardown should be applied\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Suppress native focus or blur if we're currently inside\n\t\t// a leveraged native-event stack\n\t\t_default: function( event ) {\n\t\t\treturn dataPriv.get( event.target, type );\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n\n\t// Support: Firefox <=44\n\t// Firefox doesn't have focus(in | out) events\n\t// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n\t//\n\t// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n\t// focus(in | out) events fire after focus & blur events,\n\t// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n\t// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\n\t//\n\t// Support: IE 9 - 11+\n\t// To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,\n\t// attach a single handler for both events in IE.\n\tjQuery.event.special[ delegateType ] = {\n\t\tsetup: function() {\n\n\t\t\t// Handle: regular nodes (via `this.ownerDocument`), window\n\t\t\t// (via `this.document`) & document (via `this`).\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType );\n\n\t\t\t// Support: IE 9 - 11+\n\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.addEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t}\n\t\t\tdataPriv.set( dataHolder, delegateType, ( attaches || 0 ) + 1 );\n\t\t},\n\t\tteardown: function() {\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType ) - 1;\n\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.removeEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( dataHolder, delegateType );\n\t\t\t} else {\n\t\t\t\tdataPriv.set( dataHolder, delegateType, attaches );\n\t\t\t}\n\t\t}\n\t};\n} );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\n\trcleanScript = /^\\s*<!\\[CDATA\\[|\\]\\]>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.get( src );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdataPriv.remove( dest, \"handle events\" );\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = flat( args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (trac-8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Re-enable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase()  !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl && !node.noModule ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src, {\n\t\t\t\t\t\t\t\t\tnonce: node.nonce || node.getAttribute( \"nonce\" )\n\t\t\t\t\t\t\t\t}, doc );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Unwrap a CDATA section containing script contents. This shouldn't be\n\t\t\t\t\t\t\t// needed as in XML documents they're already not visible when\n\t\t\t\t\t\t\t// inspecting element contents and in HTML documents they have no\n\t\t\t\t\t\t\t// meaning but we're preserving that logic for backwards compatibility.\n\t\t\t\t\t\t\t// This will be removed completely in 4.0. See gh-4904.\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), node, doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && isAttached( node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html;\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = isAttached( elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew jQuery#find here for performance reasons:\n\t\t\t// https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar rcustomProp = /^--/;\n\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar swap = function( elem, options, callback ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.call( elem );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\t// Support: Chrome <=64\n\t\t// Don't get tricked when zoom affects offsetWidth (gh-4029)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableTrDimensionsVal, reliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (trac-8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t},\n\n\t\t// Support: IE 9 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Behavior in IE 9 is more subtle than in newer versions & it passes\n\t\t// some versions of this test; make sure not to make it pass there!\n\t\t//\n\t\t// Support: Firefox 70+\n\t\t// Only Firefox includes border widths\n\t\t// in computed dimensions. (gh-4529)\n\t\treliableTrDimensions: function() {\n\t\t\tvar table, tr, trChild, trStyle;\n\t\t\tif ( reliableTrDimensionsVal == null ) {\n\t\t\t\ttable = document.createElement( \"table\" );\n\t\t\t\ttr = document.createElement( \"tr\" );\n\t\t\t\ttrChild = document.createElement( \"div\" );\n\n\t\t\t\ttable.style.cssText = \"position:absolute;left:-11111px;border-collapse:separate\";\n\t\t\t\ttr.style.cssText = \"box-sizing:content-box;border:1px solid\";\n\n\t\t\t\t// Support: Chrome 86+\n\t\t\t\t// Height set through cssText does not get applied.\n\t\t\t\t// Computed height then comes back as 0.\n\t\t\t\ttr.style.height = \"1px\";\n\t\t\t\ttrChild.style.height = \"9px\";\n\n\t\t\t\t// Support: Android 8 Chrome 86+\n\t\t\t\t// In our bodyBackground.html iframe,\n\t\t\t\t// display for all div elements is set to \"inline\",\n\t\t\t\t// which causes a problem only in Android 8 Chrome 86.\n\t\t\t\t// Ensuring the div is `display: block`\n\t\t\t\t// gets around this issue.\n\t\t\t\ttrChild.style.display = \"block\";\n\n\t\t\t\tdocumentElement\n\t\t\t\t\t.appendChild( table )\n\t\t\t\t\t.appendChild( tr )\n\t\t\t\t\t.appendChild( trChild );\n\n\t\t\t\ttrStyle = window.getComputedStyle( tr );\n\t\t\t\treliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderTopWidth, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;\n\n\t\t\t\tdocumentElement.removeChild( table );\n\t\t\t}\n\t\t\treturn reliableTrDimensionsVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\t\tisCustomProp = rcustomProp.test( name ),\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t//   .css('filter') (IE 9 only, trac-12537)\n\t//   .css('--customProperty) (gh-3144)\n\tif ( computed ) {\n\n\t\t// Support: IE <=9 - 11+\n\t\t// IE only supports `\"float\"` in `getPropertyValue`; in computed styles\n\t\t// it's only available as `\"cssFloat\"`. We no longer modify properties\n\t\t// sent to `.css()` apart from camelCasing, so we need to check both.\n\t\t// Normally, this would create difference in behavior: if\n\t\t// `getPropertyValue` returns an empty string, the value returned\n\t\t// by `.css()` would be `undefined`. This is usually the case for\n\t\t// disconnected elements. However, in IE even disconnected elements\n\t\t// with no styles return `\"none\"` for `getPropertyValue( \"float\" )`\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( isCustomProp && ret ) {\n\n\t\t\t// Support: Firefox 105+, Chrome <=105+\n\t\t\t// Spec requires trimming whitespace for custom properties (gh-4926).\n\t\t\t// Firefox only trims leading whitespace. Chrome just collapses\n\t\t\t// both leading & trailing whitespace to a single space.\n\t\t\t//\n\t\t\t// Fall back to `undefined` if empty string returned.\n\t\t\t// This collapses a missing definition with property defined\n\t\t\t// and set to an empty string but there's no standard API\n\t\t\t// allowing us to differentiate them without a performance penalty\n\t\t\t// and returning `undefined` aligns with older jQuery.\n\t\t\t//\n\t\t\t// rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED\n\t\t\t// as whitespace while CSS does not, but this is not a problem\n\t\t\t// because CSS preprocessing replaces them with U+000A LINE FEED\n\t\t\t// (which *is* CSS whitespace)\n\t\t\t// https://www.w3.org/TR/css-syntax-3/#input-preprocessing\n\t\t\tret = ret.replace( rtrimCSS, \"$1\" ) || undefined;\n\t\t}\n\n\t\tif ( ret === \"\" && !isAttached( elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar cssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style,\n\tvendorProps = {};\n\n// Return a vendor-prefixed property or undefined\nfunction vendorPropName( name ) {\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a potentially-mapped jQuery.cssProps or vendor prefixed property\nfunction finalPropName( name ) {\n\tvar final = jQuery.cssProps[ name ] || vendorProps[ name ];\n\n\tif ( final ) {\n\t\treturn final;\n\t}\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\treturn vendorProps[ name ] = vendorPropName( name ) || name;\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t};\n\nfunction setPositiveNumber( _elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0,\n\t\tmarginDelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\t// Count margin delta separately to only add it after scroll gutter adjustment.\n\t\t// This is needed to make negative margins work with `outerHeight( true )` (gh-3982).\n\t\tif ( box === \"margin\" ) {\n\t\t\tmarginDelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\n\t\t// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n\t\t// Use an explicit zero to avoid NaN (gh-3964)\n\t\t) ) || 0;\n\t}\n\n\treturn delta + marginDelta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\n\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n\t\t// Fake content-box until we know it's needed to know the true value.\n\t\tboxSizingNeeded = !support.boxSizingReliable() || extra,\n\t\tisBorderBox = boxSizingNeeded &&\n\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox,\n\n\t\tval = curCSS( elem, dimension, styles ),\n\t\toffsetProp = \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\n\t// Support: IE 9 - 11 only\n\t// Use offsetWidth/offsetHeight for when box sizing is unreliable.\n\t// In those cases, the computed value can be trusted to be border-box.\n\tif ( ( !support.boxSizingReliable() && isBorderBox ||\n\n\t\t// Support: IE 10 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Interestingly, in some cases IE 9 doesn't suffer from this issue.\n\t\t!support.reliableTrDimensions() && nodeName( elem, \"tr\" ) ||\n\n\t\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t\t// This happens for inline elements with no explicit setting (gh-3571)\n\t\tval === \"auto\" ||\n\n\t\t// Support: Android <=4.1 - 4.3 only\n\t\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) &&\n\n\t\t// Make sure the element is visible & connected\n\t\telem.getClientRects().length ) {\n\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t\t// Where available, offsetWidth/offsetHeight approximate border box dimensions.\n\t\t// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n\t\t// retrieved value as a content box dimension.\n\t\tvalueIsBorderBox = offsetProp in elem;\n\t\tif ( valueIsBorderBox ) {\n\t\t\tval = elem[ offsetProp ];\n\t\t}\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\tanimationIterationCount: true,\n\t\taspectRatio: true,\n\t\tborderImageSlice: true,\n\t\tcolumnCount: true,\n\t\tflexGrow: true,\n\t\tflexShrink: true,\n\t\tfontWeight: true,\n\t\tgridArea: true,\n\t\tgridColumn: true,\n\t\tgridColumnEnd: true,\n\t\tgridColumnStart: true,\n\t\tgridRow: true,\n\t\tgridRowEnd: true,\n\t\tgridRowStart: true,\n\t\tlineHeight: true,\n\t\topacity: true,\n\t\torder: true,\n\t\torphans: true,\n\t\tscale: true,\n\t\twidows: true,\n\t\tzIndex: true,\n\t\tzoom: true,\n\n\t\t// SVG-related\n\t\tfillOpacity: true,\n\t\tfloodOpacity: true,\n\t\tstopOpacity: true,\n\t\tstrokeMiterlimit: true,\n\t\tstrokeOpacity: true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (trac-7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug trac-9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (trac-7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\t// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n\t\t\t// \"px\" to a few hardcoded values.\n\t\t\tif ( type === \"number\" && !isCustomProp ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( _i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t} ) :\n\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\n\t\t\t\t// Only read styles.position if the test has a chance to fail\n\t\t\t\t// to avoid forcing a reflow.\n\t\t\t\tscrollboxSizeBuggy = !support.scrollboxSize() &&\n\t\t\t\t\tstyles.position === \"absolute\",\n\n\t\t\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n\t\t\t\tboxSizingNeeded = scrollboxSizeBuggy || extra,\n\t\t\t\tisBorderBox = boxSizingNeeded &&\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra ?\n\t\t\t\t\tboxModelAdjustment(\n\t\t\t\t\t\telem,\n\t\t\t\t\t\tdimension,\n\t\t\t\t\t\textra,\n\t\t\t\t\t\tisBorderBox,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t) :\n\t\t\t\t\t0;\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && scrollboxSizeBuggy ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 && (\n\t\t\t\tjQuery.cssHooks[ tween.prop ] ||\n\t\t\t\t\ttween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (trac-12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\n\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( _i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( _i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// Use proper attribute retrieval (trac-12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classNames, cur, curValue, className, i, finalValue;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + className + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += className + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\tthis.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classNames, cur, curValue, className, i, finalValue;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + className + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + className + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\tthis.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar classNames, className, i, self,\n\t\t\ttype = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\treturn this.each( function() {\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\tself = jQuery( this );\n\n\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (trac-14686, trac-14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (trac-2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\nvar location = window.location;\n\nvar nonce = { guid: Date.now() };\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, parserErrorElem;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {}\n\n\tparserErrorElem = xml && xml.getElementsByTagName( \"parsererror\" )[ 0 ];\n\tif ( !xml || parserErrorElem ) {\n\t\tjQuery.error( \"Invalid XML: \" + (\n\t\t\tparserErrorElem ?\n\t\t\t\tjQuery.map( parserErrorElem.childNodes, function( el ) {\n\t\t\t\t\treturn el.textContent;\n\t\t\t\t} ).join( \"\\n\" ) :\n\t\t\t\tdata\n\t\t) );\n\t}\n\treturn xml;\n};\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (trac-9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || Object.create( null ) )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (trac-6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\tif ( a == null ) {\n\t\treturn \"\";\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} ).filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} ).map( function( _i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// trac-7653, trac-8125, trac-8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\noriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes trac-9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() + \" \" ] =\n\t\t\t\t\t\t\t\t\t( responseHeaders[ match[ 1 ].toLowerCase() + \" \" ] || [] )\n\t\t\t\t\t\t\t\t\t\t.concat( match[ 2 ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() + \" \" ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match.join( \", \" );\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (trac-10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket trac-12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// trac-9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce.guid++ ) +\n\t\t\t\t\tuncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Use a noop converter for missing script but not if jsonp\n\t\t\tif ( !isSuccess &&\n\t\t\t\tjQuery.inArray( \"script\", s.dataTypes ) > -1 &&\n\t\t\t\tjQuery.inArray( \"json\", s.dataTypes ) < 0 ) {\n\t\t\t\ts.converters[ \"text script\" ] = function() {};\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( _i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\njQuery.ajaxPrefilter( function( s ) {\n\tvar i;\n\tfor ( i in s.headers ) {\n\t\tif ( i.toLowerCase() === \"content-type\" ) {\n\t\t\ts.contentType = s.headers[ i ] || \"\";\n\t\t}\n\t}\n} );\n\n\njQuery._evalUrl = function( url, options, doc ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (trac-11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\n\t\t// Only evaluate the response if it is successful (gh-4126)\n\t\t// dataFilter is not invoked for failure responses, so using it instead\n\t\t// of the default converter is kludgy but it works.\n\t\tconverters: {\n\t\t\t\"text script\": function() {}\n\t\t},\n\t\tdataFilter: function( response ) {\n\t\t\tjQuery.globalEval( response, options, doc );\n\t\t}\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// trac-1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see trac-8605, trac-14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\"  ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// trac-14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain or forced-by-attrs requests\n\tif ( s.crossDomain || s.scriptAttrs ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" )\n\t\t\t\t\t.attr( s.scriptAttrs || {} )\n\t\t\t\t\t.prop( { charset: s.scriptCharset, src: s.url } )\n\t\t\t\t\t.on( \"load error\", callback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce.guid++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t//    documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( _i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( {\n\t\tpadding: \"inner\" + name,\n\t\tcontent: type,\n\t\t\"\": \"outer\" + name\n\t}, function( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( _i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t},\n\n\thover: function( fnOver, fnOut ) {\n\t\treturn this\n\t\t\t.on( \"mouseenter\", fnOver )\n\t\t\t.on( \"mouseleave\", fnOut || fnOver );\n\t}\n} );\n\njQuery.each(\n\t( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( _i, name ) {\n\n\t\t// Handle event binding\n\t\tjQuery.fn[ name ] = function( data, fn ) {\n\t\t\treturn arguments.length > 0 ?\n\t\t\t\tthis.on( name, null, data, fn ) :\n\t\t\t\tthis.trigger( name );\n\t\t};\n\t}\n);\n\n\n\n\n// Support: Android <=4.0 only\n// Make sure we trim BOM and NBSP\n// Require that the \"whitespace run\" starts from a non-whitespace\n// to avoid O(N^2) behavior when the engine would try matching \"\\s+$\" at each space position.\nvar rtrim = /^[\\s\\uFEFF\\xA0]+|([^\\s\\uFEFF\\xA0])[\\s\\uFEFF\\xA0]+$/g;\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\njQuery.trim = function( text ) {\n\treturn text == null ?\n\t\t\"\" :\n\t\t( text + \"\" ).replace( rtrim, \"$1\" );\n};\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (trac-13566)\nif ( typeof noGlobal === \"undefined\" ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n","/**\n * @popperjs/core v2.11.8 - MIT License\n */\n\n(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n  typeof define === 'function' && define.amd ? define(['exports'], factory) :\n  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Popper = {}));\n}(this, (function (exports) { 'use strict';\n\n  function getWindow(node) {\n    if (node == null) {\n      return window;\n    }\n\n    if (node.toString() !== '[object Window]') {\n      var ownerDocument = node.ownerDocument;\n      return ownerDocument ? ownerDocument.defaultView || window : window;\n    }\n\n    return node;\n  }\n\n  function isElement(node) {\n    var OwnElement = getWindow(node).Element;\n    return node instanceof OwnElement || node instanceof Element;\n  }\n\n  function isHTMLElement(node) {\n    var OwnElement = getWindow(node).HTMLElement;\n    return node instanceof OwnElement || node instanceof HTMLElement;\n  }\n\n  function isShadowRoot(node) {\n    // IE 11 has no ShadowRoot\n    if (typeof ShadowRoot === 'undefined') {\n      return false;\n    }\n\n    var OwnElement = getWindow(node).ShadowRoot;\n    return node instanceof OwnElement || node instanceof ShadowRoot;\n  }\n\n  var max = Math.max;\n  var min = Math.min;\n  var round = Math.round;\n\n  function getUAString() {\n    var uaData = navigator.userAgentData;\n\n    if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {\n      return uaData.brands.map(function (item) {\n        return item.brand + \"/\" + item.version;\n      }).join(' ');\n    }\n\n    return navigator.userAgent;\n  }\n\n  function isLayoutViewport() {\n    return !/^((?!chrome|android).)*safari/i.test(getUAString());\n  }\n\n  function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n    if (includeScale === void 0) {\n      includeScale = false;\n    }\n\n    if (isFixedStrategy === void 0) {\n      isFixedStrategy = false;\n    }\n\n    var clientRect = element.getBoundingClientRect();\n    var scaleX = 1;\n    var scaleY = 1;\n\n    if (includeScale && isHTMLElement(element)) {\n      scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n      scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n    }\n\n    var _ref = isElement(element) ? getWindow(element) : window,\n        visualViewport = _ref.visualViewport;\n\n    var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n    var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n    var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n    var width = clientRect.width / scaleX;\n    var height = clientRect.height / scaleY;\n    return {\n      width: width,\n      height: height,\n      top: y,\n      right: x + width,\n      bottom: y + height,\n      left: x,\n      x: x,\n      y: y\n    };\n  }\n\n  function getWindowScroll(node) {\n    var win = getWindow(node);\n    var scrollLeft = win.pageXOffset;\n    var scrollTop = win.pageYOffset;\n    return {\n      scrollLeft: scrollLeft,\n      scrollTop: scrollTop\n    };\n  }\n\n  function getHTMLElementScroll(element) {\n    return {\n      scrollLeft: element.scrollLeft,\n      scrollTop: element.scrollTop\n    };\n  }\n\n  function getNodeScroll(node) {\n    if (node === getWindow(node) || !isHTMLElement(node)) {\n      return getWindowScroll(node);\n    } else {\n      return getHTMLElementScroll(node);\n    }\n  }\n\n  function getNodeName(element) {\n    return element ? (element.nodeName || '').toLowerCase() : null;\n  }\n\n  function getDocumentElement(element) {\n    // $FlowFixMe[incompatible-return]: assume body is always available\n    return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n    element.document) || window.document).documentElement;\n  }\n\n  function getWindowScrollBarX(element) {\n    // If <html> has a CSS width greater than the viewport, then this will be\n    // incorrect for RTL.\n    // Popper 1 is broken in this case and never had a bug report so let's assume\n    // it's not an issue. I don't think anyone ever specifies width on <html>\n    // anyway.\n    // Browsers where the left scrollbar doesn't cause an issue report `0` for\n    // this (e.g. Edge 2019, IE11, Safari)\n    return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n  }\n\n  function getComputedStyle(element) {\n    return getWindow(element).getComputedStyle(element);\n  }\n\n  function isScrollParent(element) {\n    // Firefox wants us to check `-x` and `-y` variations as well\n    var _getComputedStyle = getComputedStyle(element),\n        overflow = _getComputedStyle.overflow,\n        overflowX = _getComputedStyle.overflowX,\n        overflowY = _getComputedStyle.overflowY;\n\n    return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n  }\n\n  function isElementScaled(element) {\n    var rect = element.getBoundingClientRect();\n    var scaleX = round(rect.width) / element.offsetWidth || 1;\n    var scaleY = round(rect.height) / element.offsetHeight || 1;\n    return scaleX !== 1 || scaleY !== 1;\n  } // Returns the composite rect of an element relative to its offsetParent.\n  // Composite means it takes into account transforms as well as layout.\n\n\n  function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n    if (isFixed === void 0) {\n      isFixed = false;\n    }\n\n    var isOffsetParentAnElement = isHTMLElement(offsetParent);\n    var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n    var documentElement = getDocumentElement(offsetParent);\n    var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n    var scroll = {\n      scrollLeft: 0,\n      scrollTop: 0\n    };\n    var offsets = {\n      x: 0,\n      y: 0\n    };\n\n    if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n      if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n      isScrollParent(documentElement)) {\n        scroll = getNodeScroll(offsetParent);\n      }\n\n      if (isHTMLElement(offsetParent)) {\n        offsets = getBoundingClientRect(offsetParent, true);\n        offsets.x += offsetParent.clientLeft;\n        offsets.y += offsetParent.clientTop;\n      } else if (documentElement) {\n        offsets.x = getWindowScrollBarX(documentElement);\n      }\n    }\n\n    return {\n      x: rect.left + scroll.scrollLeft - offsets.x,\n      y: rect.top + scroll.scrollTop - offsets.y,\n      width: rect.width,\n      height: rect.height\n    };\n  }\n\n  // means it doesn't take into account transforms.\n\n  function getLayoutRect(element) {\n    var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n    // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n    var width = element.offsetWidth;\n    var height = element.offsetHeight;\n\n    if (Math.abs(clientRect.width - width) <= 1) {\n      width = clientRect.width;\n    }\n\n    if (Math.abs(clientRect.height - height) <= 1) {\n      height = clientRect.height;\n    }\n\n    return {\n      x: element.offsetLeft,\n      y: element.offsetTop,\n      width: width,\n      height: height\n    };\n  }\n\n  function getParentNode(element) {\n    if (getNodeName(element) === 'html') {\n      return element;\n    }\n\n    return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n      // $FlowFixMe[incompatible-return]\n      // $FlowFixMe[prop-missing]\n      element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n      element.parentNode || ( // DOM Element detected\n      isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n      // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n      getDocumentElement(element) // fallback\n\n    );\n  }\n\n  function getScrollParent(node) {\n    if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n      // $FlowFixMe[incompatible-return]: assume body is always available\n      return node.ownerDocument.body;\n    }\n\n    if (isHTMLElement(node) && isScrollParent(node)) {\n      return node;\n    }\n\n    return getScrollParent(getParentNode(node));\n  }\n\n  /*\n  given a DOM element, return the list of all scroll parents, up the list of ancesors\n  until we get to the top window object. This list is what we attach scroll listeners\n  to, because if any of these parent elements scroll, we'll need to re-calculate the\n  reference element's position.\n  */\n\n  function listScrollParents(element, list) {\n    var _element$ownerDocumen;\n\n    if (list === void 0) {\n      list = [];\n    }\n\n    var scrollParent = getScrollParent(element);\n    var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n    var win = getWindow(scrollParent);\n    var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n    var updatedList = list.concat(target);\n    return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n    updatedList.concat(listScrollParents(getParentNode(target)));\n  }\n\n  function isTableElement(element) {\n    return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n  }\n\n  function getTrueOffsetParent(element) {\n    if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n    getComputedStyle(element).position === 'fixed') {\n      return null;\n    }\n\n    return element.offsetParent;\n  } // `.offsetParent` reports `null` for fixed elements, while absolute elements\n  // return the containing block\n\n\n  function getContainingBlock(element) {\n    var isFirefox = /firefox/i.test(getUAString());\n    var isIE = /Trident/i.test(getUAString());\n\n    if (isIE && isHTMLElement(element)) {\n      // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n      var elementCss = getComputedStyle(element);\n\n      if (elementCss.position === 'fixed') {\n        return null;\n      }\n    }\n\n    var currentNode = getParentNode(element);\n\n    if (isShadowRoot(currentNode)) {\n      currentNode = currentNode.host;\n    }\n\n    while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n      var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n      // create a containing block.\n      // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n      if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n        return currentNode;\n      } else {\n        currentNode = currentNode.parentNode;\n      }\n    }\n\n    return null;\n  } // Gets the closest ancestor positioned element. Handles some edge cases,\n  // such as table ancestors and cross browser bugs.\n\n\n  function getOffsetParent(element) {\n    var window = getWindow(element);\n    var offsetParent = getTrueOffsetParent(element);\n\n    while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n      offsetParent = getTrueOffsetParent(offsetParent);\n    }\n\n    if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n      return window;\n    }\n\n    return offsetParent || getContainingBlock(element) || window;\n  }\n\n  var top = 'top';\n  var bottom = 'bottom';\n  var right = 'right';\n  var left = 'left';\n  var auto = 'auto';\n  var basePlacements = [top, bottom, right, left];\n  var start = 'start';\n  var end = 'end';\n  var clippingParents = 'clippingParents';\n  var viewport = 'viewport';\n  var popper = 'popper';\n  var reference = 'reference';\n  var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n    return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n  }, []);\n  var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n    return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n  }, []); // modifiers that need to read the DOM\n\n  var beforeRead = 'beforeRead';\n  var read = 'read';\n  var afterRead = 'afterRead'; // pure-logic modifiers\n\n  var beforeMain = 'beforeMain';\n  var main = 'main';\n  var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\n  var beforeWrite = 'beforeWrite';\n  var write = 'write';\n  var afterWrite = 'afterWrite';\n  var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];\n\n  function order(modifiers) {\n    var map = new Map();\n    var visited = new Set();\n    var result = [];\n    modifiers.forEach(function (modifier) {\n      map.set(modifier.name, modifier);\n    }); // On visiting object, check for its dependencies and visit them recursively\n\n    function sort(modifier) {\n      visited.add(modifier.name);\n      var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n      requires.forEach(function (dep) {\n        if (!visited.has(dep)) {\n          var depModifier = map.get(dep);\n\n          if (depModifier) {\n            sort(depModifier);\n          }\n        }\n      });\n      result.push(modifier);\n    }\n\n    modifiers.forEach(function (modifier) {\n      if (!visited.has(modifier.name)) {\n        // check for visited object\n        sort(modifier);\n      }\n    });\n    return result;\n  }\n\n  function orderModifiers(modifiers) {\n    // order based on dependencies\n    var orderedModifiers = order(modifiers); // order based on phase\n\n    return modifierPhases.reduce(function (acc, phase) {\n      return acc.concat(orderedModifiers.filter(function (modifier) {\n        return modifier.phase === phase;\n      }));\n    }, []);\n  }\n\n  function debounce(fn) {\n    var pending;\n    return function () {\n      if (!pending) {\n        pending = new Promise(function (resolve) {\n          Promise.resolve().then(function () {\n            pending = undefined;\n            resolve(fn());\n          });\n        });\n      }\n\n      return pending;\n    };\n  }\n\n  function mergeByName(modifiers) {\n    var merged = modifiers.reduce(function (merged, current) {\n      var existing = merged[current.name];\n      merged[current.name] = existing ? Object.assign({}, existing, current, {\n        options: Object.assign({}, existing.options, current.options),\n        data: Object.assign({}, existing.data, current.data)\n      }) : current;\n      return merged;\n    }, {}); // IE11 does not support Object.values\n\n    return Object.keys(merged).map(function (key) {\n      return merged[key];\n    });\n  }\n\n  function getViewportRect(element, strategy) {\n    var win = getWindow(element);\n    var html = getDocumentElement(element);\n    var visualViewport = win.visualViewport;\n    var width = html.clientWidth;\n    var height = html.clientHeight;\n    var x = 0;\n    var y = 0;\n\n    if (visualViewport) {\n      width = visualViewport.width;\n      height = visualViewport.height;\n      var layoutViewport = isLayoutViewport();\n\n      if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n        x = visualViewport.offsetLeft;\n        y = visualViewport.offsetTop;\n      }\n    }\n\n    return {\n      width: width,\n      height: height,\n      x: x + getWindowScrollBarX(element),\n      y: y\n    };\n  }\n\n  // of the `<html>` and `<body>` rect bounds if horizontally scrollable\n\n  function getDocumentRect(element) {\n    var _element$ownerDocumen;\n\n    var html = getDocumentElement(element);\n    var winScroll = getWindowScroll(element);\n    var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n    var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n    var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n    var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n    var y = -winScroll.scrollTop;\n\n    if (getComputedStyle(body || html).direction === 'rtl') {\n      x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n    }\n\n    return {\n      width: width,\n      height: height,\n      x: x,\n      y: y\n    };\n  }\n\n  function contains(parent, child) {\n    var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n    if (parent.contains(child)) {\n      return true;\n    } // then fallback to custom implementation with Shadow DOM support\n    else if (rootNode && isShadowRoot(rootNode)) {\n        var next = child;\n\n        do {\n          if (next && parent.isSameNode(next)) {\n            return true;\n          } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n          next = next.parentNode || next.host;\n        } while (next);\n      } // Give up, the result is false\n\n\n    return false;\n  }\n\n  function rectToClientRect(rect) {\n    return Object.assign({}, rect, {\n      left: rect.x,\n      top: rect.y,\n      right: rect.x + rect.width,\n      bottom: rect.y + rect.height\n    });\n  }\n\n  function getInnerBoundingClientRect(element, strategy) {\n    var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n    rect.top = rect.top + element.clientTop;\n    rect.left = rect.left + element.clientLeft;\n    rect.bottom = rect.top + element.clientHeight;\n    rect.right = rect.left + element.clientWidth;\n    rect.width = element.clientWidth;\n    rect.height = element.clientHeight;\n    rect.x = rect.left;\n    rect.y = rect.top;\n    return rect;\n  }\n\n  function getClientRectFromMixedType(element, clippingParent, strategy) {\n    return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n  } // A \"clipping parent\" is an overflowable container with the characteristic of\n  // clipping (or hiding) overflowing elements with a position different from\n  // `initial`\n\n\n  function getClippingParents(element) {\n    var clippingParents = listScrollParents(getParentNode(element));\n    var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n    var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n    if (!isElement(clipperElement)) {\n      return [];\n    } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n    return clippingParents.filter(function (clippingParent) {\n      return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n    });\n  } // Gets the maximum area that the element is visible in due to any number of\n  // clipping parents\n\n\n  function getClippingRect(element, boundary, rootBoundary, strategy) {\n    var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n    var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n    var firstClippingParent = clippingParents[0];\n    var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n      var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n      accRect.top = max(rect.top, accRect.top);\n      accRect.right = min(rect.right, accRect.right);\n      accRect.bottom = min(rect.bottom, accRect.bottom);\n      accRect.left = max(rect.left, accRect.left);\n      return accRect;\n    }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n    clippingRect.width = clippingRect.right - clippingRect.left;\n    clippingRect.height = clippingRect.bottom - clippingRect.top;\n    clippingRect.x = clippingRect.left;\n    clippingRect.y = clippingRect.top;\n    return clippingRect;\n  }\n\n  function getBasePlacement(placement) {\n    return placement.split('-')[0];\n  }\n\n  function getVariation(placement) {\n    return placement.split('-')[1];\n  }\n\n  function getMainAxisFromPlacement(placement) {\n    return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n  }\n\n  function computeOffsets(_ref) {\n    var reference = _ref.reference,\n        element = _ref.element,\n        placement = _ref.placement;\n    var basePlacement = placement ? getBasePlacement(placement) : null;\n    var variation = placement ? getVariation(placement) : null;\n    var commonX = reference.x + reference.width / 2 - element.width / 2;\n    var commonY = reference.y + reference.height / 2 - element.height / 2;\n    var offsets;\n\n    switch (basePlacement) {\n      case top:\n        offsets = {\n          x: commonX,\n          y: reference.y - element.height\n        };\n        break;\n\n      case bottom:\n        offsets = {\n          x: commonX,\n          y: reference.y + reference.height\n        };\n        break;\n\n      case right:\n        offsets = {\n          x: reference.x + reference.width,\n          y: commonY\n        };\n        break;\n\n      case left:\n        offsets = {\n          x: reference.x - element.width,\n          y: commonY\n        };\n        break;\n\n      default:\n        offsets = {\n          x: reference.x,\n          y: reference.y\n        };\n    }\n\n    var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n    if (mainAxis != null) {\n      var len = mainAxis === 'y' ? 'height' : 'width';\n\n      switch (variation) {\n        case start:\n          offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n          break;\n\n        case end:\n          offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n          break;\n      }\n    }\n\n    return offsets;\n  }\n\n  function getFreshSideObject() {\n    return {\n      top: 0,\n      right: 0,\n      bottom: 0,\n      left: 0\n    };\n  }\n\n  function mergePaddingObject(paddingObject) {\n    return Object.assign({}, getFreshSideObject(), paddingObject);\n  }\n\n  function expandToHashMap(value, keys) {\n    return keys.reduce(function (hashMap, key) {\n      hashMap[key] = value;\n      return hashMap;\n    }, {});\n  }\n\n  function detectOverflow(state, options) {\n    if (options === void 0) {\n      options = {};\n    }\n\n    var _options = options,\n        _options$placement = _options.placement,\n        placement = _options$placement === void 0 ? state.placement : _options$placement,\n        _options$strategy = _options.strategy,\n        strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n        _options$boundary = _options.boundary,\n        boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n        _options$rootBoundary = _options.rootBoundary,\n        rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n        _options$elementConte = _options.elementContext,\n        elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n        _options$altBoundary = _options.altBoundary,\n        altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n        _options$padding = _options.padding,\n        padding = _options$padding === void 0 ? 0 : _options$padding;\n    var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n    var altContext = elementContext === popper ? reference : popper;\n    var popperRect = state.rects.popper;\n    var element = state.elements[altBoundary ? altContext : elementContext];\n    var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n    var referenceClientRect = getBoundingClientRect(state.elements.reference);\n    var popperOffsets = computeOffsets({\n      reference: referenceClientRect,\n      element: popperRect,\n      strategy: 'absolute',\n      placement: placement\n    });\n    var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n    var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n    // 0 or negative = within the clipping rect\n\n    var overflowOffsets = {\n      top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n      bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n      left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n      right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n    };\n    var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n    if (elementContext === popper && offsetData) {\n      var offset = offsetData[placement];\n      Object.keys(overflowOffsets).forEach(function (key) {\n        var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n        var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n        overflowOffsets[key] += offset[axis] * multiply;\n      });\n    }\n\n    return overflowOffsets;\n  }\n\n  var DEFAULT_OPTIONS = {\n    placement: 'bottom',\n    modifiers: [],\n    strategy: 'absolute'\n  };\n\n  function areValidElements() {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    return !args.some(function (element) {\n      return !(element && typeof element.getBoundingClientRect === 'function');\n    });\n  }\n\n  function popperGenerator(generatorOptions) {\n    if (generatorOptions === void 0) {\n      generatorOptions = {};\n    }\n\n    var _generatorOptions = generatorOptions,\n        _generatorOptions$def = _generatorOptions.defaultModifiers,\n        defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n        _generatorOptions$def2 = _generatorOptions.defaultOptions,\n        defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n    return function createPopper(reference, popper, options) {\n      if (options === void 0) {\n        options = defaultOptions;\n      }\n\n      var state = {\n        placement: 'bottom',\n        orderedModifiers: [],\n        options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n        modifiersData: {},\n        elements: {\n          reference: reference,\n          popper: popper\n        },\n        attributes: {},\n        styles: {}\n      };\n      var effectCleanupFns = [];\n      var isDestroyed = false;\n      var instance = {\n        state: state,\n        setOptions: function setOptions(setOptionsAction) {\n          var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n          cleanupModifierEffects();\n          state.options = Object.assign({}, defaultOptions, state.options, options);\n          state.scrollParents = {\n            reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n            popper: listScrollParents(popper)\n          }; // Orders the modifiers based on their dependencies and `phase`\n          // properties\n\n          var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n          state.orderedModifiers = orderedModifiers.filter(function (m) {\n            return m.enabled;\n          });\n          runModifierEffects();\n          return instance.update();\n        },\n        // Sync update – it will always be executed, even if not necessary. This\n        // is useful for low frequency updates where sync behavior simplifies the\n        // logic.\n        // For high frequency updates (e.g. `resize` and `scroll` events), always\n        // prefer the async Popper#update method\n        forceUpdate: function forceUpdate() {\n          if (isDestroyed) {\n            return;\n          }\n\n          var _state$elements = state.elements,\n              reference = _state$elements.reference,\n              popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n          // anymore\n\n          if (!areValidElements(reference, popper)) {\n            return;\n          } // Store the reference and popper rects to be read by modifiers\n\n\n          state.rects = {\n            reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n            popper: getLayoutRect(popper)\n          }; // Modifiers have the ability to reset the current update cycle. The\n          // most common use case for this is the `flip` modifier changing the\n          // placement, which then needs to re-run all the modifiers, because the\n          // logic was previously ran for the previous placement and is therefore\n          // stale/incorrect\n\n          state.reset = false;\n          state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n          // is filled with the initial data specified by the modifier. This means\n          // it doesn't persist and is fresh on each update.\n          // To ensure persistent data, use `${name}#persistent`\n\n          state.orderedModifiers.forEach(function (modifier) {\n            return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n          });\n\n          for (var index = 0; index < state.orderedModifiers.length; index++) {\n            if (state.reset === true) {\n              state.reset = false;\n              index = -1;\n              continue;\n            }\n\n            var _state$orderedModifie = state.orderedModifiers[index],\n                fn = _state$orderedModifie.fn,\n                _state$orderedModifie2 = _state$orderedModifie.options,\n                _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n                name = _state$orderedModifie.name;\n\n            if (typeof fn === 'function') {\n              state = fn({\n                state: state,\n                options: _options,\n                name: name,\n                instance: instance\n              }) || state;\n            }\n          }\n        },\n        // Async and optimistically optimized update – it will not be executed if\n        // not necessary (debounced to run at most once-per-tick)\n        update: debounce(function () {\n          return new Promise(function (resolve) {\n            instance.forceUpdate();\n            resolve(state);\n          });\n        }),\n        destroy: function destroy() {\n          cleanupModifierEffects();\n          isDestroyed = true;\n        }\n      };\n\n      if (!areValidElements(reference, popper)) {\n        return instance;\n      }\n\n      instance.setOptions(options).then(function (state) {\n        if (!isDestroyed && options.onFirstUpdate) {\n          options.onFirstUpdate(state);\n        }\n      }); // Modifiers have the ability to execute arbitrary code before the first\n      // update cycle runs. They will be executed in the same order as the update\n      // cycle. This is useful when a modifier adds some persistent data that\n      // other modifiers need to use, but the modifier is run after the dependent\n      // one.\n\n      function runModifierEffects() {\n        state.orderedModifiers.forEach(function (_ref) {\n          var name = _ref.name,\n              _ref$options = _ref.options,\n              options = _ref$options === void 0 ? {} : _ref$options,\n              effect = _ref.effect;\n\n          if (typeof effect === 'function') {\n            var cleanupFn = effect({\n              state: state,\n              name: name,\n              instance: instance,\n              options: options\n            });\n\n            var noopFn = function noopFn() {};\n\n            effectCleanupFns.push(cleanupFn || noopFn);\n          }\n        });\n      }\n\n      function cleanupModifierEffects() {\n        effectCleanupFns.forEach(function (fn) {\n          return fn();\n        });\n        effectCleanupFns = [];\n      }\n\n      return instance;\n    };\n  }\n\n  var passive = {\n    passive: true\n  };\n\n  function effect$2(_ref) {\n    var state = _ref.state,\n        instance = _ref.instance,\n        options = _ref.options;\n    var _options$scroll = options.scroll,\n        scroll = _options$scroll === void 0 ? true : _options$scroll,\n        _options$resize = options.resize,\n        resize = _options$resize === void 0 ? true : _options$resize;\n    var window = getWindow(state.elements.popper);\n    var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n    if (scroll) {\n      scrollParents.forEach(function (scrollParent) {\n        scrollParent.addEventListener('scroll', instance.update, passive);\n      });\n    }\n\n    if (resize) {\n      window.addEventListener('resize', instance.update, passive);\n    }\n\n    return function () {\n      if (scroll) {\n        scrollParents.forEach(function (scrollParent) {\n          scrollParent.removeEventListener('scroll', instance.update, passive);\n        });\n      }\n\n      if (resize) {\n        window.removeEventListener('resize', instance.update, passive);\n      }\n    };\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var eventListeners = {\n    name: 'eventListeners',\n    enabled: true,\n    phase: 'write',\n    fn: function fn() {},\n    effect: effect$2,\n    data: {}\n  };\n\n  function popperOffsets(_ref) {\n    var state = _ref.state,\n        name = _ref.name;\n    // Offsets are the actual position the popper needs to have to be\n    // properly positioned near its reference element\n    // This is the most basic placement, and will be adjusted by\n    // the modifiers in the next step\n    state.modifiersData[name] = computeOffsets({\n      reference: state.rects.reference,\n      element: state.rects.popper,\n      strategy: 'absolute',\n      placement: state.placement\n    });\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var popperOffsets$1 = {\n    name: 'popperOffsets',\n    enabled: true,\n    phase: 'read',\n    fn: popperOffsets,\n    data: {}\n  };\n\n  var unsetSides = {\n    top: 'auto',\n    right: 'auto',\n    bottom: 'auto',\n    left: 'auto'\n  }; // Round the offsets to the nearest suitable subpixel based on the DPR.\n  // Zooming can change the DPR, but it seems to report a value that will\n  // cleanly divide the values into the appropriate subpixels.\n\n  function roundOffsetsByDPR(_ref, win) {\n    var x = _ref.x,\n        y = _ref.y;\n    var dpr = win.devicePixelRatio || 1;\n    return {\n      x: round(x * dpr) / dpr || 0,\n      y: round(y * dpr) / dpr || 0\n    };\n  }\n\n  function mapToStyles(_ref2) {\n    var _Object$assign2;\n\n    var popper = _ref2.popper,\n        popperRect = _ref2.popperRect,\n        placement = _ref2.placement,\n        variation = _ref2.variation,\n        offsets = _ref2.offsets,\n        position = _ref2.position,\n        gpuAcceleration = _ref2.gpuAcceleration,\n        adaptive = _ref2.adaptive,\n        roundOffsets = _ref2.roundOffsets,\n        isFixed = _ref2.isFixed;\n    var _offsets$x = offsets.x,\n        x = _offsets$x === void 0 ? 0 : _offsets$x,\n        _offsets$y = offsets.y,\n        y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n    var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n      x: x,\n      y: y\n    }) : {\n      x: x,\n      y: y\n    };\n\n    x = _ref3.x;\n    y = _ref3.y;\n    var hasX = offsets.hasOwnProperty('x');\n    var hasY = offsets.hasOwnProperty('y');\n    var sideX = left;\n    var sideY = top;\n    var win = window;\n\n    if (adaptive) {\n      var offsetParent = getOffsetParent(popper);\n      var heightProp = 'clientHeight';\n      var widthProp = 'clientWidth';\n\n      if (offsetParent === getWindow(popper)) {\n        offsetParent = getDocumentElement(popper);\n\n        if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n          heightProp = 'scrollHeight';\n          widthProp = 'scrollWidth';\n        }\n      } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n      offsetParent = offsetParent;\n\n      if (placement === top || (placement === left || placement === right) && variation === end) {\n        sideY = bottom;\n        var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n        offsetParent[heightProp];\n        y -= offsetY - popperRect.height;\n        y *= gpuAcceleration ? 1 : -1;\n      }\n\n      if (placement === left || (placement === top || placement === bottom) && variation === end) {\n        sideX = right;\n        var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n        offsetParent[widthProp];\n        x -= offsetX - popperRect.width;\n        x *= gpuAcceleration ? 1 : -1;\n      }\n    }\n\n    var commonStyles = Object.assign({\n      position: position\n    }, adaptive && unsetSides);\n\n    var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n      x: x,\n      y: y\n    }, getWindow(popper)) : {\n      x: x,\n      y: y\n    };\n\n    x = _ref4.x;\n    y = _ref4.y;\n\n    if (gpuAcceleration) {\n      var _Object$assign;\n\n      return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n    }\n\n    return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n  }\n\n  function computeStyles(_ref5) {\n    var state = _ref5.state,\n        options = _ref5.options;\n    var _options$gpuAccelerat = options.gpuAcceleration,\n        gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n        _options$adaptive = options.adaptive,\n        adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n        _options$roundOffsets = options.roundOffsets,\n        roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n    var commonStyles = {\n      placement: getBasePlacement(state.placement),\n      variation: getVariation(state.placement),\n      popper: state.elements.popper,\n      popperRect: state.rects.popper,\n      gpuAcceleration: gpuAcceleration,\n      isFixed: state.options.strategy === 'fixed'\n    };\n\n    if (state.modifiersData.popperOffsets != null) {\n      state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n        offsets: state.modifiersData.popperOffsets,\n        position: state.options.strategy,\n        adaptive: adaptive,\n        roundOffsets: roundOffsets\n      })));\n    }\n\n    if (state.modifiersData.arrow != null) {\n      state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n        offsets: state.modifiersData.arrow,\n        position: 'absolute',\n        adaptive: false,\n        roundOffsets: roundOffsets\n      })));\n    }\n\n    state.attributes.popper = Object.assign({}, state.attributes.popper, {\n      'data-popper-placement': state.placement\n    });\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var computeStyles$1 = {\n    name: 'computeStyles',\n    enabled: true,\n    phase: 'beforeWrite',\n    fn: computeStyles,\n    data: {}\n  };\n\n  // and applies them to the HTMLElements such as popper and arrow\n\n  function applyStyles(_ref) {\n    var state = _ref.state;\n    Object.keys(state.elements).forEach(function (name) {\n      var style = state.styles[name] || {};\n      var attributes = state.attributes[name] || {};\n      var element = state.elements[name]; // arrow is optional + virtual elements\n\n      if (!isHTMLElement(element) || !getNodeName(element)) {\n        return;\n      } // Flow doesn't support to extend this property, but it's the most\n      // effective way to apply styles to an HTMLElement\n      // $FlowFixMe[cannot-write]\n\n\n      Object.assign(element.style, style);\n      Object.keys(attributes).forEach(function (name) {\n        var value = attributes[name];\n\n        if (value === false) {\n          element.removeAttribute(name);\n        } else {\n          element.setAttribute(name, value === true ? '' : value);\n        }\n      });\n    });\n  }\n\n  function effect$1(_ref2) {\n    var state = _ref2.state;\n    var initialStyles = {\n      popper: {\n        position: state.options.strategy,\n        left: '0',\n        top: '0',\n        margin: '0'\n      },\n      arrow: {\n        position: 'absolute'\n      },\n      reference: {}\n    };\n    Object.assign(state.elements.popper.style, initialStyles.popper);\n    state.styles = initialStyles;\n\n    if (state.elements.arrow) {\n      Object.assign(state.elements.arrow.style, initialStyles.arrow);\n    }\n\n    return function () {\n      Object.keys(state.elements).forEach(function (name) {\n        var element = state.elements[name];\n        var attributes = state.attributes[name] || {};\n        var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n        var style = styleProperties.reduce(function (style, property) {\n          style[property] = '';\n          return style;\n        }, {}); // arrow is optional + virtual elements\n\n        if (!isHTMLElement(element) || !getNodeName(element)) {\n          return;\n        }\n\n        Object.assign(element.style, style);\n        Object.keys(attributes).forEach(function (attribute) {\n          element.removeAttribute(attribute);\n        });\n      });\n    };\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var applyStyles$1 = {\n    name: 'applyStyles',\n    enabled: true,\n    phase: 'write',\n    fn: applyStyles,\n    effect: effect$1,\n    requires: ['computeStyles']\n  };\n\n  function distanceAndSkiddingToXY(placement, rects, offset) {\n    var basePlacement = getBasePlacement(placement);\n    var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n    var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n      placement: placement\n    })) : offset,\n        skidding = _ref[0],\n        distance = _ref[1];\n\n    skidding = skidding || 0;\n    distance = (distance || 0) * invertDistance;\n    return [left, right].indexOf(basePlacement) >= 0 ? {\n      x: distance,\n      y: skidding\n    } : {\n      x: skidding,\n      y: distance\n    };\n  }\n\n  function offset(_ref2) {\n    var state = _ref2.state,\n        options = _ref2.options,\n        name = _ref2.name;\n    var _options$offset = options.offset,\n        offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n    var data = placements.reduce(function (acc, placement) {\n      acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n      return acc;\n    }, {});\n    var _data$state$placement = data[state.placement],\n        x = _data$state$placement.x,\n        y = _data$state$placement.y;\n\n    if (state.modifiersData.popperOffsets != null) {\n      state.modifiersData.popperOffsets.x += x;\n      state.modifiersData.popperOffsets.y += y;\n    }\n\n    state.modifiersData[name] = data;\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var offset$1 = {\n    name: 'offset',\n    enabled: true,\n    phase: 'main',\n    requires: ['popperOffsets'],\n    fn: offset\n  };\n\n  var hash$1 = {\n    left: 'right',\n    right: 'left',\n    bottom: 'top',\n    top: 'bottom'\n  };\n  function getOppositePlacement(placement) {\n    return placement.replace(/left|right|bottom|top/g, function (matched) {\n      return hash$1[matched];\n    });\n  }\n\n  var hash = {\n    start: 'end',\n    end: 'start'\n  };\n  function getOppositeVariationPlacement(placement) {\n    return placement.replace(/start|end/g, function (matched) {\n      return hash[matched];\n    });\n  }\n\n  function computeAutoPlacement(state, options) {\n    if (options === void 0) {\n      options = {};\n    }\n\n    var _options = options,\n        placement = _options.placement,\n        boundary = _options.boundary,\n        rootBoundary = _options.rootBoundary,\n        padding = _options.padding,\n        flipVariations = _options.flipVariations,\n        _options$allowedAutoP = _options.allowedAutoPlacements,\n        allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;\n    var variation = getVariation(placement);\n    var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n      return getVariation(placement) === variation;\n    }) : basePlacements;\n    var allowedPlacements = placements$1.filter(function (placement) {\n      return allowedAutoPlacements.indexOf(placement) >= 0;\n    });\n\n    if (allowedPlacements.length === 0) {\n      allowedPlacements = placements$1;\n    } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n    var overflows = allowedPlacements.reduce(function (acc, placement) {\n      acc[placement] = detectOverflow(state, {\n        placement: placement,\n        boundary: boundary,\n        rootBoundary: rootBoundary,\n        padding: padding\n      })[getBasePlacement(placement)];\n      return acc;\n    }, {});\n    return Object.keys(overflows).sort(function (a, b) {\n      return overflows[a] - overflows[b];\n    });\n  }\n\n  function getExpandedFallbackPlacements(placement) {\n    if (getBasePlacement(placement) === auto) {\n      return [];\n    }\n\n    var oppositePlacement = getOppositePlacement(placement);\n    return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n  }\n\n  function flip(_ref) {\n    var state = _ref.state,\n        options = _ref.options,\n        name = _ref.name;\n\n    if (state.modifiersData[name]._skip) {\n      return;\n    }\n\n    var _options$mainAxis = options.mainAxis,\n        checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n        _options$altAxis = options.altAxis,\n        checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n        specifiedFallbackPlacements = options.fallbackPlacements,\n        padding = options.padding,\n        boundary = options.boundary,\n        rootBoundary = options.rootBoundary,\n        altBoundary = options.altBoundary,\n        _options$flipVariatio = options.flipVariations,\n        flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n        allowedAutoPlacements = options.allowedAutoPlacements;\n    var preferredPlacement = state.options.placement;\n    var basePlacement = getBasePlacement(preferredPlacement);\n    var isBasePlacement = basePlacement === preferredPlacement;\n    var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n    var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n      return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n        placement: placement,\n        boundary: boundary,\n        rootBoundary: rootBoundary,\n        padding: padding,\n        flipVariations: flipVariations,\n        allowedAutoPlacements: allowedAutoPlacements\n      }) : placement);\n    }, []);\n    var referenceRect = state.rects.reference;\n    var popperRect = state.rects.popper;\n    var checksMap = new Map();\n    var makeFallbackChecks = true;\n    var firstFittingPlacement = placements[0];\n\n    for (var i = 0; i < placements.length; i++) {\n      var placement = placements[i];\n\n      var _basePlacement = getBasePlacement(placement);\n\n      var isStartVariation = getVariation(placement) === start;\n      var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n      var len = isVertical ? 'width' : 'height';\n      var overflow = detectOverflow(state, {\n        placement: placement,\n        boundary: boundary,\n        rootBoundary: rootBoundary,\n        altBoundary: altBoundary,\n        padding: padding\n      });\n      var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n      if (referenceRect[len] > popperRect[len]) {\n        mainVariationSide = getOppositePlacement(mainVariationSide);\n      }\n\n      var altVariationSide = getOppositePlacement(mainVariationSide);\n      var checks = [];\n\n      if (checkMainAxis) {\n        checks.push(overflow[_basePlacement] <= 0);\n      }\n\n      if (checkAltAxis) {\n        checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n      }\n\n      if (checks.every(function (check) {\n        return check;\n      })) {\n        firstFittingPlacement = placement;\n        makeFallbackChecks = false;\n        break;\n      }\n\n      checksMap.set(placement, checks);\n    }\n\n    if (makeFallbackChecks) {\n      // `2` may be desired in some cases – research later\n      var numberOfChecks = flipVariations ? 3 : 1;\n\n      var _loop = function _loop(_i) {\n        var fittingPlacement = placements.find(function (placement) {\n          var checks = checksMap.get(placement);\n\n          if (checks) {\n            return checks.slice(0, _i).every(function (check) {\n              return check;\n            });\n          }\n        });\n\n        if (fittingPlacement) {\n          firstFittingPlacement = fittingPlacement;\n          return \"break\";\n        }\n      };\n\n      for (var _i = numberOfChecks; _i > 0; _i--) {\n        var _ret = _loop(_i);\n\n        if (_ret === \"break\") break;\n      }\n    }\n\n    if (state.placement !== firstFittingPlacement) {\n      state.modifiersData[name]._skip = true;\n      state.placement = firstFittingPlacement;\n      state.reset = true;\n    }\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var flip$1 = {\n    name: 'flip',\n    enabled: true,\n    phase: 'main',\n    fn: flip,\n    requiresIfExists: ['offset'],\n    data: {\n      _skip: false\n    }\n  };\n\n  function getAltAxis(axis) {\n    return axis === 'x' ? 'y' : 'x';\n  }\n\n  function within(min$1, value, max$1) {\n    return max(min$1, min(value, max$1));\n  }\n  function withinMaxClamp(min, value, max) {\n    var v = within(min, value, max);\n    return v > max ? max : v;\n  }\n\n  function preventOverflow(_ref) {\n    var state = _ref.state,\n        options = _ref.options,\n        name = _ref.name;\n    var _options$mainAxis = options.mainAxis,\n        checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n        _options$altAxis = options.altAxis,\n        checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n        boundary = options.boundary,\n        rootBoundary = options.rootBoundary,\n        altBoundary = options.altBoundary,\n        padding = options.padding,\n        _options$tether = options.tether,\n        tether = _options$tether === void 0 ? true : _options$tether,\n        _options$tetherOffset = options.tetherOffset,\n        tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n    var overflow = detectOverflow(state, {\n      boundary: boundary,\n      rootBoundary: rootBoundary,\n      padding: padding,\n      altBoundary: altBoundary\n    });\n    var basePlacement = getBasePlacement(state.placement);\n    var variation = getVariation(state.placement);\n    var isBasePlacement = !variation;\n    var mainAxis = getMainAxisFromPlacement(basePlacement);\n    var altAxis = getAltAxis(mainAxis);\n    var popperOffsets = state.modifiersData.popperOffsets;\n    var referenceRect = state.rects.reference;\n    var popperRect = state.rects.popper;\n    var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n      placement: state.placement\n    })) : tetherOffset;\n    var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n      mainAxis: tetherOffsetValue,\n      altAxis: tetherOffsetValue\n    } : Object.assign({\n      mainAxis: 0,\n      altAxis: 0\n    }, tetherOffsetValue);\n    var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n    var data = {\n      x: 0,\n      y: 0\n    };\n\n    if (!popperOffsets) {\n      return;\n    }\n\n    if (checkMainAxis) {\n      var _offsetModifierState$;\n\n      var mainSide = mainAxis === 'y' ? top : left;\n      var altSide = mainAxis === 'y' ? bottom : right;\n      var len = mainAxis === 'y' ? 'height' : 'width';\n      var offset = popperOffsets[mainAxis];\n      var min$1 = offset + overflow[mainSide];\n      var max$1 = offset - overflow[altSide];\n      var additive = tether ? -popperRect[len] / 2 : 0;\n      var minLen = variation === start ? referenceRect[len] : popperRect[len];\n      var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n      // outside the reference bounds\n\n      var arrowElement = state.elements.arrow;\n      var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n        width: 0,\n        height: 0\n      };\n      var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n      var arrowPaddingMin = arrowPaddingObject[mainSide];\n      var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n      // to include its full size in the calculation. If the reference is small\n      // and near the edge of a boundary, the popper can overflow even if the\n      // reference is not overflowing as well (e.g. virtual elements with no\n      // width or height)\n\n      var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n      var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n      var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n      var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n      var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n      var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n      var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n      var tetherMax = offset + maxOffset - offsetModifierValue;\n      var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);\n      popperOffsets[mainAxis] = preventedOffset;\n      data[mainAxis] = preventedOffset - offset;\n    }\n\n    if (checkAltAxis) {\n      var _offsetModifierState$2;\n\n      var _mainSide = mainAxis === 'x' ? top : left;\n\n      var _altSide = mainAxis === 'x' ? bottom : right;\n\n      var _offset = popperOffsets[altAxis];\n\n      var _len = altAxis === 'y' ? 'height' : 'width';\n\n      var _min = _offset + overflow[_mainSide];\n\n      var _max = _offset - overflow[_altSide];\n\n      var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n      var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n      var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n      var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n      var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n      popperOffsets[altAxis] = _preventedOffset;\n      data[altAxis] = _preventedOffset - _offset;\n    }\n\n    state.modifiersData[name] = data;\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var preventOverflow$1 = {\n    name: 'preventOverflow',\n    enabled: true,\n    phase: 'main',\n    fn: preventOverflow,\n    requiresIfExists: ['offset']\n  };\n\n  var toPaddingObject = function toPaddingObject(padding, state) {\n    padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n      placement: state.placement\n    })) : padding;\n    return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n  };\n\n  function arrow(_ref) {\n    var _state$modifiersData$;\n\n    var state = _ref.state,\n        name = _ref.name,\n        options = _ref.options;\n    var arrowElement = state.elements.arrow;\n    var popperOffsets = state.modifiersData.popperOffsets;\n    var basePlacement = getBasePlacement(state.placement);\n    var axis = getMainAxisFromPlacement(basePlacement);\n    var isVertical = [left, right].indexOf(basePlacement) >= 0;\n    var len = isVertical ? 'height' : 'width';\n\n    if (!arrowElement || !popperOffsets) {\n      return;\n    }\n\n    var paddingObject = toPaddingObject(options.padding, state);\n    var arrowRect = getLayoutRect(arrowElement);\n    var minProp = axis === 'y' ? top : left;\n    var maxProp = axis === 'y' ? bottom : right;\n    var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n    var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n    var arrowOffsetParent = getOffsetParent(arrowElement);\n    var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n    var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n    // outside of the popper bounds\n\n    var min = paddingObject[minProp];\n    var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n    var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n    var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n    var axisProp = axis;\n    state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n  }\n\n  function effect(_ref2) {\n    var state = _ref2.state,\n        options = _ref2.options;\n    var _options$element = options.element,\n        arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n    if (arrowElement == null) {\n      return;\n    } // CSS selector\n\n\n    if (typeof arrowElement === 'string') {\n      arrowElement = state.elements.popper.querySelector(arrowElement);\n\n      if (!arrowElement) {\n        return;\n      }\n    }\n\n    if (!contains(state.elements.popper, arrowElement)) {\n      return;\n    }\n\n    state.elements.arrow = arrowElement;\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var arrow$1 = {\n    name: 'arrow',\n    enabled: true,\n    phase: 'main',\n    fn: arrow,\n    effect: effect,\n    requires: ['popperOffsets'],\n    requiresIfExists: ['preventOverflow']\n  };\n\n  function getSideOffsets(overflow, rect, preventedOffsets) {\n    if (preventedOffsets === void 0) {\n      preventedOffsets = {\n        x: 0,\n        y: 0\n      };\n    }\n\n    return {\n      top: overflow.top - rect.height - preventedOffsets.y,\n      right: overflow.right - rect.width + preventedOffsets.x,\n      bottom: overflow.bottom - rect.height + preventedOffsets.y,\n      left: overflow.left - rect.width - preventedOffsets.x\n    };\n  }\n\n  function isAnySideFullyClipped(overflow) {\n    return [top, right, bottom, left].some(function (side) {\n      return overflow[side] >= 0;\n    });\n  }\n\n  function hide(_ref) {\n    var state = _ref.state,\n        name = _ref.name;\n    var referenceRect = state.rects.reference;\n    var popperRect = state.rects.popper;\n    var preventedOffsets = state.modifiersData.preventOverflow;\n    var referenceOverflow = detectOverflow(state, {\n      elementContext: 'reference'\n    });\n    var popperAltOverflow = detectOverflow(state, {\n      altBoundary: true\n    });\n    var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n    var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n    var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n    var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n    state.modifiersData[name] = {\n      referenceClippingOffsets: referenceClippingOffsets,\n      popperEscapeOffsets: popperEscapeOffsets,\n      isReferenceHidden: isReferenceHidden,\n      hasPopperEscaped: hasPopperEscaped\n    };\n    state.attributes.popper = Object.assign({}, state.attributes.popper, {\n      'data-popper-reference-hidden': isReferenceHidden,\n      'data-popper-escaped': hasPopperEscaped\n    });\n  } // eslint-disable-next-line import/no-unused-modules\n\n\n  var hide$1 = {\n    name: 'hide',\n    enabled: true,\n    phase: 'main',\n    requiresIfExists: ['preventOverflow'],\n    fn: hide\n  };\n\n  var defaultModifiers$1 = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1];\n  var createPopper$1 = /*#__PURE__*/popperGenerator({\n    defaultModifiers: defaultModifiers$1\n  }); // eslint-disable-next-line import/no-unused-modules\n\n  var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];\n  var createPopper = /*#__PURE__*/popperGenerator({\n    defaultModifiers: defaultModifiers\n  }); // eslint-disable-next-line import/no-unused-modules\n\n  exports.applyStyles = applyStyles$1;\n  exports.arrow = arrow$1;\n  exports.computeStyles = computeStyles$1;\n  exports.createPopper = createPopper;\n  exports.createPopperLite = createPopper$1;\n  exports.defaultModifiers = defaultModifiers;\n  exports.detectOverflow = detectOverflow;\n  exports.eventListeners = eventListeners;\n  exports.flip = flip$1;\n  exports.hide = hide$1;\n  exports.offset = offset$1;\n  exports.popperGenerator = popperGenerator;\n  exports.popperOffsets = popperOffsets$1;\n  exports.preventOverflow = preventOverflow$1;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=popper.js.map\n","/*! DataTables 2.3.0\n * © SpryMedia Ltd - datatables.net/license\n */\n!function(n){\"use strict\";var r;\"function\"==typeof define&&define.amd?define([\"jquery\"],function(e){return n(e,window,document)}):\"object\"==typeof exports?(r=require(\"jquery\"),\"undefined\"==typeof window?module.exports=function(e,t){return e=e||window,t=t||r(e),n(t,e,e.document)}:module.exports=n(r,window,window.document)):window.DataTable=n(jQuery,window,document)}(function(H,W,S){\"use strict\";function f(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null}function c(e,t,n,r){var a=typeof e,o=\"string\"==a;return\"number\"==a||\"bigint\"==a||!(!r||!_(e))||(t&&o&&(e=E(e,t)),n&&o&&(e=e.replace(P,\"\")),!isNaN(parseFloat(e))&&isFinite(e))}function n(e,t,n,r){var a;return!(!r||!_(e))||(\"string\"!=typeof e||!e.match(/<(input|select)/i))&&(_(a=e)||\"string\"==typeof a)&&!!c(w(e),t,n,r)||null}function v(e,t,n,r){var a=[],o=0,i=t.length;if(void 0!==r)for(;o<i;o++)e[t[o]]&&e[t[o]][n]&&a.push(e[t[o]][n][r]);else for(;o<i;o++)e[t[o]]&&a.push(e[t[o]][n]);return a}function h(e,t){var n,r=[];void 0===t?(t=0,n=e):(n=t,t=e);for(var a=t;a<n;a++)r.push(a);return r}function A(e){for(var t=[],n=0,r=e.length;n<r;n++)e[n]&&t.push(e[n]);return t}var T,X,r,e,V=function(e,P){var E,k,M;return V.factory(e,P)?V:this instanceof V?H(e).DataTable(P):(k=void 0===(P=e),M=(E=this).length,k&&(P={}),this.api=function(){return new X(this)},this.each(function(){var t=1<M?tt({},P,!0):P,e=0,n=this.getAttribute(\"id\"),r=V.defaults,a=H(this);if(\"table\"!=this.nodeName.toLowerCase())z(null,0,\"Non-table node initialisation (\"+this.nodeName+\")\",2);else{t.on&&t.on.options&&lt(a,\"options\",t.on.options),a.trigger(\"options.dt\",t),Q(r),K(r.column),B(r,r,!0),B(r.column,r.column,!0),B(r,H.extend(t,a.data()),!0);var o=V.settings;for(e=0,j=o.length;e<j;e++){var i=o[e];if(i.nTable==this||i.nTHead&&i.nTHead.parentNode==this||i.nTFoot&&i.nTFoot.parentNode==this){var l=(void 0!==t.bRetrieve?t:r).bRetrieve,s=(void 0!==t.bDestroy?t:r).bDestroy;if(k||l)return i.oInstance;if(s){new V.Api(i).destroy();break}return void z(i,0,\"Cannot reinitialise DataTable\",3)}if(i.sTableId==this.id){o.splice(e,1);break}}null!==n&&\"\"!==n||(n=\"DataTables_Table_\"+V.ext._unique++,this.id=n);var u,c=H.extend(!0,{},V.models.oSettings,{sDestroyWidth:a[0].style.width,sInstance:n,sTableId:n,colgroup:H(\"<colgroup>\").prependTo(this),fastData:function(e,t,n){return q(c,e,t,n)}}),n=(c.nTable=this,c.oInit=t,o.push(c),c.api=new X(c),c.oInstance=1===E.length?E:a.dataTable(),Q(t),t.aLengthMenu&&!t.iDisplayLength&&(t.iDisplayLength=Array.isArray(t.aLengthMenu[0])?t.aLengthMenu[0][0]:H.isPlainObject(t.aLengthMenu[0])?t.aLengthMenu[0].value:t.aLengthMenu[0]),t=tt(H.extend(!0,{},r),t),$(c.oFeatures,t,[\"bPaginate\",\"bLengthChange\",\"bFilter\",\"bSort\",\"bSortMulti\",\"bInfo\",\"bProcessing\",\"bAutoWidth\",\"bSortClasses\",\"bServerSide\",\"bDeferRender\"]),$(c,t,[\"ajax\",\"fnFormatNumber\",\"sServerMethod\",\"aaSorting\",\"aaSortingFixed\",\"aLengthMenu\",\"sPaginationType\",\"iStateDuration\",\"bSortCellsTop\",\"iTabIndex\",\"sDom\",\"fnStateLoadCallback\",\"fnStateSaveCallback\",\"renderer\",\"searchDelay\",\"rowId\",\"caption\",\"layout\",\"orderDescReverse\",\"orderIndicators\",\"orderHandler\",\"titleRow\",\"typeDetect\",[\"iCookieDuration\",\"iStateDuration\"],[\"oSearch\",\"oPreviousSearch\"],[\"aoSearchCols\",\"aoPreSearchCols\"],[\"iDisplayLength\",\"_iDisplayLength\"]]),$(c.oScroll,t,[[\"sScrollX\",\"sX\"],[\"sScrollXInner\",\"sXInner\"],[\"sScrollY\",\"sY\"],[\"bScrollCollapse\",\"bCollapse\"]]),$(c.oLanguage,t,\"fnInfoCallback\"),Y(c,\"aoDrawCallback\",t.fnDrawCallback),Y(c,\"aoStateSaveParams\",t.fnStateSaveParams),Y(c,\"aoStateLoadParams\",t.fnStateLoadParams),Y(c,\"aoStateLoaded\",t.fnStateLoaded),Y(c,\"aoRowCallback\",t.fnRowCallback),Y(c,\"aoRowCreatedCallback\",t.fnCreatedRow),Y(c,\"aoHeaderCallback\",t.fnHeaderCallback),Y(c,\"aoFooterCallback\",t.fnFooterCallback),Y(c,\"aoInitComplete\",t.fnInitComplete),Y(c,\"aoPreDrawCallback\",t.fnPreDrawCallback),c.rowIdFn=U(t.rowId),t.on&&Object.keys(t.on).forEach(function(e){lt(a,e,t.on[e])}),c),d=(V.__browser||(f={},V.__browser=f,p=H(\"<div/>\").css({position:\"fixed\",top:0,left:-1*W.pageXOffset,height:1,width:1,overflow:\"hidden\"}).append(H(\"<div/>\").css({position:\"absolute\",top:1,left:1,width:100,overflow:\"scroll\"}).append(H(\"<div/>\").css({width:\"100%\",height:10}))).appendTo(\"body\"),d=p.children(),u=d.children(),f.barWidth=d[0].offsetWidth-d[0].clientWidth,f.bScrollbarLeft=1!==Math.round(u.offset().left),p.remove()),H.extend(n.oBrowser,V.__browser),n.oScroll.iBarWidth=V.__browser.barWidth,c.oClasses),f=(H.extend(d,V.ext.classes,t.oClasses),a.addClass(d.table),c.oFeatures.bPaginate||(t.iDisplayStart=0),void 0===c.iInitDisplayStart&&(c.iInitDisplayStart=t.iDisplayStart,c._iDisplayStart=t.iDisplayStart),t.iDeferLoading),h=(null!==f&&(c.deferLoading=!0,u=Array.isArray(f),c._iRecordsDisplay=u?f[0]:f,c._iRecordsTotal=u?f[1]:f),[]),p=this.getElementsByTagName(\"thead\"),n=Ne(c,p[0]);if(t.aoColumns)h=t.aoColumns;else if(n.length)for(j=n[e=0].length;e<j;e++)h.push(null);for(e=0,j=h.length;e<j;e++)ee(c);var g,m,v,b,y,D,x,S=c,w=t.aoColumnDefs,T=h,_=n,C=function(e,t){te(c,e,t)},I=S.aoColumns;if(T)for(g=0,m=T.length;g<m;g++)T[g]&&T[g].name&&(I[g].sName=T[g].name);if(w)for(g=w.length-1;0<=g;g--){var L=void 0!==(x=w[g]).target?x.target:void 0!==x.targets?x.targets:x.aTargets;for(Array.isArray(L)||(L=[L]),v=0,b=L.length;v<b;v++){var A=L[v];if(\"number\"==typeof A&&0<=A){for(;I.length<=A;)ee(S);C(A,x)}else if(\"number\"==typeof A&&A<0)C(I.length+A,x);else if(\"string\"==typeof A)for(y=0,D=I.length;y<D;y++)\"_all\"===A?C(y,x):-1!==A.indexOf(\":name\")?I[y].sName===A.replace(\":name\",\"\")&&C(y,x):_.forEach(function(e){e[y]&&(e=H(e[y].cell),A.match(/^[a-z][\\w-]*$/i)&&(A=\".\"+A),e.is(A))&&C(y,x)})}}if(T)for(g=0,m=T.length;g<m;g++)C(g,T[g]);var N,n=a.children(\"tbody\").find(\"tr:first-child\").eq(0),F=(n.length&&(N=function(e,t){return null!==e.getAttribute(\"data-\"+t)?t:null},H(n[0]).children(\"th, td\").each(function(e,t){var n,r=c.aoColumns[e];r||z(c,0,\"Incorrect column count\",18),r.mData===e&&(n=N(t,\"sort\")||N(t,\"order\"),t=N(t,\"filter\")||N(t,\"search\"),null===n&&null===t||(r.mData={_:e+\".display\",sort:null!==n?e+\".@data-\"+n:void 0,type:null!==n?e+\".@data-\"+n:void 0,filter:null!==t?e+\".@data-\"+t:void 0},r._isArrayHost=!0,te(c,e)))})),Y(c,\"aoDrawCallback\",Ke),c.oFeatures);if(t.bStateSave&&(F.bStateSave=!0),void 0===t.aaSorting)for(var O=c.aaSorting,e=0,j=O.length;e<j;e++)O[e][1]=c.aoColumns[e].asSorting[0];Qe(c),Y(c,\"aoDrawCallback\",function(){(c.bSorted||\"ssp\"===J(c)||F.bDeferRender)&&Qe(c)});var n=a.children(\"caption\"),n=(c.caption&&(n=0===n.length?H(\"<caption/>\").appendTo(a):n).html(c.caption),n.length&&(n[0]._captionSide=n.css(\"caption-side\"),c.captionNode=n[0]),0===p.length&&(p=H(\"<thead/>\").appendTo(a)),c.nTHead=p[0],a.children(\"tbody\")),n=(0===n.length&&(n=H(\"<tbody/>\").insertAfter(p)),c.nTBody=n[0],a.children(\"tfoot\")),R=(0===n.length&&(n=H(\"<tfoot/>\").appendTo(a)),c.nTFoot=n[0],c.aiDisplay=c.aiDisplayMaster.slice(),c.bInitialised=!0,c.oLanguage);H.extend(!0,R,t.oLanguage),R.sUrl?H.ajax({dataType:\"json\",url:R.sUrl,success:function(e){B(r.oLanguage,e),H.extend(!0,R,e,c.oInit.oLanguage),G(c,null,\"i18n\",[c],!0),He(c)},error:function(){z(c,0,\"i18n file loading error\",21),He(c)}}):(G(c,null,\"i18n\",[c],!0),He(c))}}),E=null,this)},d=(V.ext=T={builder:\"-source-\",buttons:{},ccContent:{},classes:{},errMode:\"alert\",feature:[],features:{},search:[],selector:{cell:[],column:[],row:[]},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{className:{},detect:[],render:{},search:{},order:{}},_unique:0,fnVersionCheck:V.fnVersionCheck,iApiIndex:0,sVersion:V.version},H.extend(T,{afnFiltering:T.search,aTypes:T.type.detect,ofnSearch:T.type.search,oSort:T.type.order,afnSortData:T.order,aoFeatures:T.feature,oStdClasses:T.classes,oPagination:T.pager}),H.extend(V.ext.classes,{container:\"dt-container\",empty:{row:\"dt-empty\"},info:{container:\"dt-info\"},layout:{row:\"dt-layout-row\",cell:\"dt-layout-cell\",tableRow:\"dt-layout-table\",tableCell:\"\",start:\"dt-layout-start\",end:\"dt-layout-end\",full:\"dt-layout-full\"},length:{container:\"dt-length\",select:\"dt-input\"},order:{canAsc:\"dt-orderable-asc\",canDesc:\"dt-orderable-desc\",isAsc:\"dt-ordering-asc\",isDesc:\"dt-ordering-desc\",none:\"dt-orderable-none\",position:\"sorting_\"},processing:{container:\"dt-processing\"},scrolling:{body:\"dt-scroll-body\",container:\"dt-scroll\",footer:{self:\"dt-scroll-foot\",inner:\"dt-scroll-footInner\"},header:{self:\"dt-scroll-head\",inner:\"dt-scroll-headInner\"}},search:{container:\"dt-search\",input:\"dt-input\"},table:\"dataTable\",tbody:{cell:\"\",row:\"\"},thead:{cell:\"\",row:\"\"},tfoot:{cell:\"\",row:\"\"},paging:{active:\"current\",button:\"dt-paging-button\",container:\"dt-paging\",disabled:\"disabled\",nav:\"\"}}),{}),N=/[\\r\\n\\u2028]/g,F=/<([^>]*>)/g,O=Math.pow(2,28),j=/^\\d{2,4}[./-]\\d{1,2}[./-]\\d{1,2}([T ]{1}\\d{1,2}[:.]\\d{2}([.:]\\d{2})?)?$/,R=new RegExp(\"(\\\\\"+[\"/\",\".\",\"*\",\"+\",\"?\",\"|\",\"(\",\")\",\"[\",\"]\",\"{\",\"}\",\"\\\\\",\"$\",\"^\",\"-\"].join(\"|\\\\\")+\")\",\"g\"),P=/['\\u00A0,$£€¥%\\u2009\\u202F\\u20BD\\u20a9\\u20BArfkɃΞ]/gi,_=function(e){return!e||!0===e||\"-\"===e},E=function(e,t){return d[t]||(d[t]=new RegExp(Ee(t),\"g\")),\"string\"==typeof e&&\".\"!==t?e.replace(/\\./g,\"\").replace(d[t],\".\"):e},b=function(e,t,n){var r=[],a=0,o=e.length;if(void 0!==n)for(;a<o;a++)e[a]&&e[a][t]&&r.push(e[a][t][n]);else for(;a<o;a++)e[a]&&r.push(e[a][t]);return r},w=function(e){if(!e||\"string\"!=typeof e)return e;if(e.length>O)throw new Error(\"Exceeded max str len\");var t;for(e=e.replace(F,\"\");(e=(t=e).replace(/<script/i,\"\"))!==t;);return t},u=function(e){return\"string\"==typeof(e=Array.isArray(e)?e.join(\",\"):e)?e.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\"):e},k=function(e,t){var n;return\"string\"!=typeof e?e:(n=e.normalize?e.normalize(\"NFD\"):e).length!==e.length?(!0===t?e+\" \":\"\")+n.replace(/[\\u0300-\\u036f]/g,\"\"):n},C=function(e){if(Array.from&&Set)return Array.from(new Set(e));if(function(e){if(!(e.length<2))for(var t=e.slice().sort(),n=t[0],r=1,a=t.length;r<a;r++){if(t[r]===n)return!1;n=t[r]}return!0}(e))return e.slice();var t,n,r,a=[],o=e.length,i=0;e:for(n=0;n<o;n++){for(t=e[n],r=0;r<i;r++)if(a[r]===t)continue e;a.push(t),i++}return a},M=function(e,t){if(Array.isArray(t))for(var n=0;n<t.length;n++)M(e,t[n]);else e.push(t);return e};function y(t,e){e&&e.split(\" \").forEach(function(e){e&&t.classList.add(e)})}function Z(t){var n,r,a={};H.each(t,function(e){(n=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!==\"a aa ai ao as b fn i m o s \".indexOf(n[1]+\" \")&&(r=e.replace(n[0],n[2].toLowerCase()),a[r]=e,\"o\"===n[1])&&Z(t[e])}),t._hungarianMap=a}function B(t,n,r){var a;t._hungarianMap||Z(t),H.each(n,function(e){void 0===(a=t._hungarianMap[e])||!r&&void 0!==n[a]||(\"o\"===a.charAt(0)?(n[a]||(n[a]={}),H.extend(!0,n[a],n[e]),B(t[a],n[a],r)):n[a]=n[e])})}V.util={diacritics:function(e,t){if(\"function\"!=typeof e)return k(e,t);k=e},debounce:function(n,r){var a;return function(){var e=this,t=arguments;clearTimeout(a),a=setTimeout(function(){n.apply(e,t)},r||250)}},throttle:function(r,e){var a,o,i=void 0!==e?e:200;return function(){var e=this,t=+new Date,n=arguments;a&&t<a+i?(clearTimeout(o),o=setTimeout(function(){a=void 0,r.apply(e,n)},i)):(a=t,r.apply(e,n))}},escapeRegex:function(e){return e.replace(R,\"\\\\$1\")},set:function(r){var f;return H.isPlainObject(r)?V.util.set(r._):null===r?function(){}:\"function\"==typeof r?function(e,t,n){r(e,\"set\",t,n)}:\"string\"!=typeof r||-1===r.indexOf(\".\")&&-1===r.indexOf(\"[\")&&-1===r.indexOf(\"(\")?function(e,t){e[r]=t}:(f=function(e,t,n){for(var r,a,o,i,l=ge(n),n=l[l.length-1],s=0,u=l.length-1;s<u;s++){if(\"__proto__\"===l[s]||\"constructor\"===l[s])throw new Error(\"Cannot set prototype values\");if(r=l[s].match(pe),a=l[s].match(p),r){if(l[s]=l[s].replace(pe,\"\"),e[l[s]]=[],(r=l.slice()).splice(0,s+1),i=r.join(\".\"),Array.isArray(t))for(var c=0,d=t.length;c<d;c++)f(o={},t[c],i),e[l[s]].push(o);else e[l[s]]=t;return}a&&(l[s]=l[s].replace(p,\"\"),e=e[l[s]](t)),null!==e[l[s]]&&void 0!==e[l[s]]||(e[l[s]]={}),e=e[l[s]]}n.match(p)?e[n.replace(p,\"\")](t):e[n.replace(pe,\"\")]=t},function(e,t){return f(e,t,r)})},get:function(a){var o,f;return H.isPlainObject(a)?(o={},H.each(a,function(e,t){t&&(o[e]=V.util.get(t))}),function(e,t,n,r){var a=o[t]||o._;return void 0!==a?a(e,t,n,r):e}):null===a?function(e){return e}:\"function\"==typeof a?function(e,t,n,r){return a(e,t,n,r)}:\"string\"!=typeof a||-1===a.indexOf(\".\")&&-1===a.indexOf(\"[\")&&-1===a.indexOf(\"(\")?function(e){return e[a]}:(f=function(e,t,n){var r,a,o;if(\"\"!==n)for(var i=ge(n),l=0,s=i.length;l<s;l++){if(d=i[l].match(pe),r=i[l].match(p),d){if(i[l]=i[l].replace(pe,\"\"),\"\"!==i[l]&&(e=e[i[l]]),a=[],i.splice(0,l+1),o=i.join(\".\"),Array.isArray(e))for(var u=0,c=e.length;u<c;u++)a.push(f(e[u],t,o));var d=d[0].substring(1,d[0].length-1);e=\"\"===d?a:a.join(d);break}if(r)i[l]=i[l].replace(p,\"\"),e=e[i[l]]();else{if(null===e||null===e[i[l]])return null;if(void 0===e||void 0===e[i[l]])return;e=e[i[l]]}}return e},function(e,t){return f(e,t,a)})},stripHtml:function(e){var t=typeof e;if(\"function\"!=t)return\"string\"==t?w(e):e;w=e},escapeHtml:function(e){var t=typeof e;if(\"function\"!=t)return\"string\"==t||Array.isArray(e)?u(e):e;u=e},unique:C};var a=function(e,t,n){void 0!==e[t]&&(e[n]=e[t])};function Q(e){a(e,\"ordering\",\"bSort\"),a(e,\"orderMulti\",\"bSortMulti\"),a(e,\"orderClasses\",\"bSortClasses\"),a(e,\"orderCellsTop\",\"bSortCellsTop\"),a(e,\"order\",\"aaSorting\"),a(e,\"orderFixed\",\"aaSortingFixed\"),a(e,\"paging\",\"bPaginate\"),a(e,\"pagingType\",\"sPaginationType\"),a(e,\"pageLength\",\"iDisplayLength\"),a(e,\"searching\",\"bFilter\"),\"boolean\"==typeof e.sScrollX&&(e.sScrollX=e.sScrollX?\"100%\":\"\"),\"boolean\"==typeof e.scrollX&&(e.scrollX=e.scrollX?\"100%\":\"\"),\"object\"==typeof e.bSort?(e.orderIndicators=void 0===e.bSort.indicators||e.bSort.indicators,e.orderHandler=void 0===e.bSort.handler||e.bSort.handler,e.bSort=!0):!1===e.bSort&&(e.orderIndicators=!1,e.orderHandler=!1),\"boolean\"==typeof e.bSortCellsTop&&(e.titleRow=e.bSortCellsTop);var t=e.aoSearchCols;if(t)for(var n=0,r=t.length;n<r;n++)t[n]&&B(V.models.oSearch,t[n]);e.serverSide&&!e.searchDelay&&(e.searchDelay=400)}function K(e){a(e,\"orderable\",\"bSortable\"),a(e,\"orderData\",\"aDataSort\"),a(e,\"orderSequence\",\"asSorting\"),a(e,\"orderDataType\",\"sortDataType\");var t=e.aDataSort;\"number\"!=typeof t||Array.isArray(t)||(e.aDataSort=[t])}function ee(e){var t=V.defaults.column,n=e.aoColumns.length,t=H.extend({},V.models.oColumn,t,{aDataSort:t.aDataSort||[n],mData:t.mData||n,idx:n,searchFixed:{},colEl:H(\"<col>\").attr(\"data-dt-column\",n)}),t=(e.aoColumns.push(t),e.aoPreSearchCols);t[n]=H.extend({},V.models.oSearch,t[n])}function te(e,t,n){function r(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@\")}var a=e.aoColumns[t],o=(null!=n&&(K(n),B(V.defaults.column,n,!0),void 0===n.mDataProp||n.mData||(n.mData=n.mDataProp),n.sType&&(a._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),t=a.sClass,H.extend(a,n),$(a,n,\"sWidth\",\"sWidthOrig\"),t!==a.sClass&&(a.sClass=t+\" \"+a.sClass),void 0!==n.iDataSort&&(a.aDataSort=[n.iDataSort]),$(a,n,\"aDataSort\")),a.mData),i=U(o);a.mRender&&Array.isArray(a.mRender)&&(n=(t=a.mRender.slice()).shift(),a.mRender=V.render[n].apply(W,t)),a._render=a.mRender?U(a.mRender):null;a._bAttrSrc=H.isPlainObject(o)&&(r(o.sort)||r(o.type)||r(o.filter)),a._setter=null,a.fnGetData=function(e,t,n){var r=i(e,t,void 0,n);return a._render&&t?a._render(r,t,e,n):r},a.fnSetData=function(e,t,n){return m(o)(e,t,n)},\"number\"==typeof o||a._isArrayHost||(e._rowReadObject=!0),e.oFeatures.bSort||(a.bSortable=!1)}function ne(e){!function(t){if(t.oFeatures.bAutoWidth){var e,n,r=t.nTable,a=t.aoColumns,o=t.oScroll,i=o.sY,l=o.sX,o=o.sXInner,s=ie(t,\"bVisible\"),u=r.getAttribute(\"width\"),c=r.parentNode,d=r.style.width,f=ze(t);if(f===t.containerWidth)return;t.containerWidth=f,d||u||(r.style.width=\"100%\",d=\"100%\"),d&&-1!==d.indexOf(\"%\")&&(u=d),G(t,null,\"column-calc\",{visible:s},!1);var f=H(r.cloneNode()).css(\"visibility\",\"hidden\").removeAttr(\"id\"),h=(f.append(\"<tbody>\"),H(\"<tr/>\").appendTo(f.find(\"tbody\")));for(f.append(H(t.nTHead).clone()).append(H(t.nTFoot).clone()),f.find(\"tfoot th, tfoot td\").css(\"width\",\"\"),f.find(\"thead th, thead td\").each(function(){var e=ce(t,this,!0,!1);e?(this.style.width=e,l&&(this.style.minWidth=e,H(this).append(H(\"<div/>\").css({width:e,margin:0,padding:0,border:0,height:1})))):this.style.width=\"\"}),e=0;e<s.length;e++){p=s[e],n=a[p];var p=function(e,t){var n=e.aoColumns[t];if(!n.maxLenString){for(var r,a=\"\",o=-1,i=0,l=e.aiDisplayMaster.length;i<l;i++){var s=e.aiDisplayMaster[i],s=De(e,s)[t],s=s&&\"object\"==typeof s&&s.nodeType?s.innerHTML:s+\"\";s=s.replace(/id=\".*?\"/g,\"\").replace(/name=\".*?\"/g,\"\"),(r=w(s).replace(/&nbsp;/g,\" \")).length>o&&(a=s,o=r.length)}n.maxLenString=a}return n.maxLenString}(t,p),g=T.type.className[n.sType],m=p+n.sContentPadding,p=-1===p.indexOf(\"<\")?S.createTextNode(m):m;H(\"<td/>\").addClass(g).addClass(n.sClass).append(p).appendTo(h)}H(\"[name]\",f).removeAttr(\"name\");var v,b,d=H(\"<div/>\").css(l||i?{position:\"absolute\",top:0,left:0,height:1,right:0,overflow:\"hidden\"}:{}).append(f).appendTo(c),y=(l&&o?f.width(o):l?(f.css(\"width\",\"auto\"),f.removeAttr(\"width\"),f.outerWidth()<c.clientWidth&&u&&f.outerWidth(c.clientWidth)):i?f.outerWidth(c.clientWidth):u&&f.outerWidth(u),0),D=f.find(\"tbody tr\").eq(0).children();for(e=0;e<s.length;e++){var x=D[e].getBoundingClientRect().width;y+=x,a[s[e]].sWidth=L(x)}r.style.width=L(y),d.remove(),u&&(r.style.width=L(u)),!u&&!l||t._reszEvt||(v=V.util.throttle(function(){var e=ze(t);t.bDestroying||0===e||ne(t)}),W.ResizeObserver?(b=H(t.nTableWrapper).is(\":visible\"),o=H(\"<div>\").css({width:\"100%\",height:0}).addClass(\"dt-autosize\").appendTo(t.nTableWrapper),t.resizeObserver=new ResizeObserver(function(e){b?b=!1:v()}),t.resizeObserver.observe(o[0])):H(W).on(\"resize.DT-\"+t.sInstance,v),t._reszEvt=!0)}}(e);for(var t=e,n=t.aoColumns,r=0;r<n.length;r++){var a=ce(t,[r],!1,!1);n[r].colEl.css(\"width\",a),t.oScroll.sX&&n[r].colEl.css(\"min-width\",a)}var o=e.oScroll;\"\"===o.sY&&\"\"===o.sX||Ue(e),G(e,null,\"column-sizing\",[e])}function re(e,t){e=ie(e,\"bVisible\");return\"number\"==typeof e[t]?e[t]:null}function ae(e,t){e=ie(e,\"bVisible\").indexOf(t);return-1!==e?e:null}function oe(e){var t=e.aoHeader,n=e.aoColumns,r=0;if(t.length)for(var a=0,o=t[0].length;a<o;a++)n[a].bVisible&&\"none\"!==H(t[0][a].cell).css(\"display\")&&r++;return r}function ie(e,n){var r=[];return e.aoColumns.map(function(e,t){e[n]&&r.push(t)}),r}function le(e,t){return!0===t?e._name:t}function se(e){for(var t,n,r,a,o,i,l=e.aoColumns,s=e.aoData,u=V.ext.type.detect,c=0,d=l.length;c<d;c++){if(i=[],!(o=l[c]).sType&&o._sManualType)o.sType=o._sManualType;else if(!o.sType){if(!e.typeDetect)return;for(t=0,n=u.length;t<n;t++){var f=u[t],h=f.oneOf,p=f.allOf||f,g=f.init,m=!1,v=null;if(g&&(v=le(f,g(e,o,c)))){o.sType=v;break}for(r=0,a=s.length;r<a;r++)if(s[r]){if(void 0===i[r]&&(i[r]=q(e,r,c,\"type\")),h&&!m&&(m=le(f,h(i[r],e))),!(v=le(f,p(i[r],e)))&&t!==u.length-3)break;if(\"html\"===v&&!_(i[r]))break}if(h&&m&&v||!h&&v){o.sType=v;break}}o.sType||(o.sType=\"string\")}var b=T.type.className[o.sType],b=(b&&(ue(e.aoHeader,c,b),ue(e.aoFooter,c,b)),T.type.render[o.sType]);if(b&&!o._render){o._render=V.util.get(b),y=w=S=x=D=void 0;for(var y,D=e,x=c,S=D.aoData,w=0;w<S.length;w++)S[w].nTr&&(y=q(D,w,x,\"display\"),S[w].displayData[x]=y,he(S[w].anCells[x],y))}}}function ue(e,t,n){e.forEach(function(e){e[t]&&e[t].unique&&y(e[t].cell,n)})}function ce(e,t,n,r){Array.isArray(t)||(t=de(t));for(var a,o=0,i=e.aoColumns,l=0,s=t.length;l<s;l++){var u=i[t[l]],c=n?u.sWidthOrig:u.sWidth;if(r||!1!==u.bVisible){if(null==c)return null;\"number\"==typeof c?(a=\"px\",o+=c):(u=c.match(/([\\d\\.]+)([^\\d]*)/))&&(o+=+u[1],a=3===u.length?u[2]:\"px\")}}return o+a}function de(e){e=H(e).closest(\"[data-dt-column]\").attr(\"data-dt-column\");return e?e.split(\",\").map(function(e){return+e}):[]}function D(e,t,n,r){for(var a=e.aoData.length,o=H.extend(!0,{},V.models.oRow,{src:n?\"dom\":\"data\",idx:a}),i=(o._aData=t,e.aoData.push(o),e.aoColumns),l=0,s=i.length;l<s;l++)i[l].sType=null;e.aiDisplayMaster.push(a);t=e.rowIdFn(t);return void 0!==t&&(e.aIds[t]=o),!n&&e.oFeatures.bDeferRender||xe(e,a,n,r),a}function fe(n,e){var r;return(e=e instanceof H?e:H(e)).map(function(e,t){return r=ye(n,t),D(n,r.data,t,r.cells)})}function q(e,t,n,r){\"search\"===r?r=\"filter\":\"order\"===r&&(r=\"sort\");var a=e.aoData[t];if(a){var o=e.iDraw,i=e.aoColumns[n],a=a._aData,l=i.sDefaultContent,s=i.fnGetData(a,r,{settings:e,row:t,col:n});if(void 0===(s=\"display\"!==r&&s&&\"object\"==typeof s&&s.nodeName?s.innerHTML:s))return e.iDrawError!=o&&null===l&&(z(e,0,\"Requested unknown parameter \"+(\"function\"==typeof i.mData?\"{function}\":\"'\"+i.mData+\"'\")+\" for row \"+t+\", column \"+n,4),e.iDrawError=o),l;if(s!==a&&null!==s||null===l||void 0===r){if(\"function\"==typeof s)return s.call(a)}else s=l;return null===s&&\"display\"===r?\"\":s=\"filter\"===r&&(t=V.ext.type.search)[i.sType]?t[i.sType](s):s}}function he(e,t){t&&\"object\"==typeof t&&t.nodeName?H(e).empty().append(t):e.innerHTML=t}var pe=/\\[.*?\\]$/,p=/\\(\\)$/;function ge(e){return(e.match(/(\\\\.|[^.])+/g)||[\"\"]).map(function(e){return e.replace(/\\\\\\./g,\".\")})}var U=V.util.get,m=V.util.set;function me(e){return b(e.aoData,\"_aData\")}function ve(e){e.aoData.length=0,e.aiDisplayMaster.length=0,e.aiDisplay.length=0,e.aIds={}}function be(e,t,n,r){var a,o,i=e.aoData[t];if(i._aSortData=null,i._aFilterData=null,i.displayData=null,\"dom\"!==n&&(n&&\"auto\"!==n||\"dom\"!==i.src)){var l=i.anCells,s=De(e,t);if(l)if(void 0!==r)he(l[r],s[r]);else for(a=0,o=l.length;a<o;a++)he(l[a],s[a])}else i._aData=ye(e,i,r,void 0===r?void 0:i._aData).data;var u=e.aoColumns;if(void 0!==r)u[r].sType=null,u[r].maxLenString=null;else{for(a=0,o=u.length;a<o;a++)u[a].sType=null,u[a].maxLenString=null;Se(e,i)}}function ye(e,t,n,r){function a(e,t){var n;\"string\"==typeof e&&-1!==(n=e.indexOf(\"@\"))&&(n=e.substring(n+1),m(e)(r,t.getAttribute(n)))}function o(e){void 0!==n&&n!==d||(l=f[d],s=e.innerHTML.trim(),l&&l._bAttrSrc?(m(l.mData._)(r,s),a(l.mData.sort,e),a(l.mData.type,e),a(l.mData.filter,e)):h?(l._setter||(l._setter=m(l.mData)),l._setter(r,s)):r[d]=s),d++}var i,l,s,u=[],c=t.firstChild,d=0,f=e.aoColumns,h=e._rowReadObject;r=void 0!==r?r:h?{}:[];if(c)for(;c;)\"TD\"!=(i=c.nodeName.toUpperCase())&&\"TH\"!=i||(o(c),u.push(c)),c=c.nextSibling;else for(var p=0,g=(u=t.anCells).length;p<g;p++)o(u[p]);var t=t.firstChild?t:t.nTr;return t&&(t=t.getAttribute(\"id\"))&&m(e.rowId)(r,t),{data:r,cells:u}}function De(e,t){var n=e.aoData[t],r=e.aoColumns;if(!n.displayData){n.displayData=[];for(var a=0,o=r.length;a<o;a++)n.displayData.push(q(e,t,a,\"display\"))}return n.displayData}function xe(e,t,n,r){var a,o,i,l,s,u,c=e.aoData[t],d=c._aData,f=[],h=e.oClasses.tbody.row;if(null===c.nTr){for(a=n||S.createElement(\"tr\"),c.nTr=a,c.anCells=f,y(a,h),a._DT_RowIndex=t,Se(e,c),l=0,s=e.aoColumns.length;l<s;l++){i=e.aoColumns[l],(o=(u=!n||!r[l])?S.createElement(i.sCellType):r[l])||z(e,0,\"Incorrect column count\",18),o._DT_CellIndex={row:t,column:l},f.push(o);var p=De(e,t);!u&&(!i.mRender&&i.mData===l||H.isPlainObject(i.mData)&&i.mData._===l+\".display\")||he(o,p[l]),y(o,i.sClass),i.bVisible&&u?a.appendChild(o):i.bVisible||u||o.parentNode.removeChild(o),i.fnCreatedCell&&i.fnCreatedCell.call(e.oInstance,o,q(e,t,l),d,t,l)}G(e,\"aoRowCreatedCallback\",\"row-created\",[a,d,t,f])}else y(c.nTr,h)}function Se(e,t){var n=t.nTr,r=t._aData;n&&((e=e.rowIdFn(r))&&(n.id=e),r.DT_RowClass&&(e=r.DT_RowClass.split(\" \"),t.__rowc=t.__rowc?C(t.__rowc.concat(e)):e,H(n).removeClass(t.__rowc.join(\" \")).addClass(r.DT_RowClass)),r.DT_RowAttr&&H(n).attr(r.DT_RowAttr),r.DT_RowData)&&H(n).data(r.DT_RowData)}function we(e,t){var n,r,a,o=e.oClasses,i=e.aoColumns,l=\"header\"===t?e.nTHead:e.nTFoot,s=\"header\"===t?\"sTitle\":t;if(l){if((\"header\"===t||b(e.aoColumns,s).join(\"\"))&&1===(a=(a=H(\"tr\",l)).length?a:H(\"<tr/>\").appendTo(l)).length){var u=0;for(H(\"td, th\",a).each(function(){u+=this.colSpan}),n=u,r=i.length;n<r;n++)H(\"<th/>\").html(i[n][s]||\"\").appendTo(a)}var c=Ne(e,l,!0);\"header\"===t?(e.aoHeader=c,H(\"tr\",l).addClass(o.thead.row)):(e.aoFooter=c,H(\"tr\",l).addClass(o.tfoot.row)),H(l).children(\"tr\").children(\"th, td\").each(function(){at(e,t)(e,H(this),o)})}}function Te(e,t,n){var r,a,o,i,l,s=[],u=[],c=e.aoColumns,e=c.length;if(t){for(n=n||h(e).filter(function(e){return c[e].bVisible}),r=0;r<t.length;r++)s[r]=t[r].slice().filter(function(e,t){return n.includes(t)}),u.push([]);for(r=0;r<s.length;r++)for(a=0;a<s[r].length;a++)if(l=i=1,void 0===u[r][a]){for(o=s[r][a].cell;void 0!==s[r+i]&&s[r][a].cell==s[r+i][a].cell;)u[r+i][a]=null,i++;for(;void 0!==s[r][a+l]&&s[r][a].cell==s[r][a+l].cell;){for(var d=0;d<i;d++)u[r+d][a+l]=null;l++}var f=H(\"span.dt-column-title\",o);u[r][a]={cell:o,colspan:l,rowspan:i,title:(f.length?f:H(o)).html()}}return u}}function _e(e,t){for(var n,r,a=Te(e,t),o=0;o<t.length;o++){if(n=t[o].row)for(;r=n.firstChild;)n.removeChild(r);for(var i=0;i<a[o].length;i++){var l=a[o][i];l&&H(l.cell).appendTo(n).attr(\"rowspan\",l.rowspan).attr(\"colspan\",l.colspan)}}}function x(e,t){if(a=\"ssp\"==J(s=e),void 0!==(i=s.iInitDisplayStart)&&-1!==i&&(s._iDisplayStart=!a&&i>=s.fnRecordsDisplay()?0:i,s.iInitDisplayStart=-1),-1!==G(e,\"aoPreDrawCallback\",\"preDraw\",[e]).indexOf(!1))I(e,!1);else{var l,n=[],r=0,a=\"ssp\"==J(e),o=e.aiDisplay,i=e._iDisplayStart,s=e.fnDisplayEnd(),u=e.aoColumns,c=H(e.nTBody);if(e.bDrawing=!0,e.deferLoading)e.deferLoading=!1,e.iDraw++,I(e,!1);else if(a){if(!e.bDestroying&&!t)return 0===e.iDraw&&c.empty().append(Ie(e)),(l=e).iDraw++,I(l,!0),void Fe(l,function(t){function n(e,t){return\"function\"==typeof r[e][t]?\"function\":r[e][t]}var r=t.aoColumns,e=t.oFeatures,a=t.oPreviousSearch,o=t.aoPreSearchCols;return{draw:t.iDraw,columns:r.map(function(t,e){return{data:n(e,\"mData\"),name:t.sName,searchable:t.bSearchable,orderable:t.bSortable,search:{value:o[e].search,regex:o[e].regex,fixed:Object.keys(t.searchFixed).map(function(e){return{name:e,term:t.searchFixed[e].toString()}})}}}),order:Je(t).map(function(e){return{column:e.col,dir:e.dir,name:n(e.col,\"sName\")}}),start:t._iDisplayStart,length:e.bPaginate?t._iDisplayLength:-1,search:{value:a.search,regex:a.regex,fixed:Object.keys(t.searchFixed).map(function(e){return{name:e,term:t.searchFixed[e].toString()}})}}}(l),function(e){var t=l,n=Oe(t,e=e),r=je(t,\"draw\",e),a=je(t,\"recordsTotal\",e),e=je(t,\"recordsFiltered\",e);if(void 0!==r){if(+r<t.iDraw)return;t.iDraw=+r}n=n||[],ve(t),t._iRecordsTotal=parseInt(a,10),t._iRecordsDisplay=parseInt(e,10);for(var o=0,i=n.length;o<i;o++)D(t,n[o]);t.aiDisplay=t.aiDisplayMaster.slice(),se(t),x(t,!0),We(t),I(t,!1)})}else e.iDraw++;if(0!==o.length)for(var d=a?e.aoData.length:s,f=a?0:i;f<d;f++){for(var h=o[f],p=e.aoData[h],g=(null===p.nTr&&xe(e,h),p.nTr),m=0;m<u.length;m++){var v=u[m],b=p.anCells[m];y(b,T.type.className[v.sType]),y(b,e.oClasses.tbody.cell)}G(e,\"aoRowCallback\",null,[g,p._aData,r,f,h]),n.push(g),r++}else n[0]=Ie(e);G(e,\"aoHeaderCallback\",\"header\",[H(e.nTHead).children(\"tr\")[0],me(e),i,s,o]),G(e,\"aoFooterCallback\",\"footer\",[H(e.nTFoot).children(\"tr\")[0],me(e),i,s,o]),c[0].replaceChildren?c[0].replaceChildren.apply(c[0],n):(c.children().detach(),c.append(H(n))),H(e.nTableWrapper).toggleClass(\"dt-empty-footer\",0===H(\"tr\",e.nTFoot).length),G(e,\"aoDrawCallback\",\"draw\",[e],!0),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}}function Ce(e,t,n){var r=e.oFeatures,a=r.bSort,r=r.bFilter;void 0!==n&&!0!==n||(se(e),a&&Ze(e),r?Re(e,e.oPreviousSearch):e.aiDisplay=e.aiDisplayMaster.slice()),!0!==t&&(e._iDisplayStart=0),e._drawHold=t,x(e),e._drawHold=!1}function Ie(e){var t=e.oLanguage,n=t.sZeroRecords,r=J(e);return\"ssp\"!==r&&\"ajax\"!==r||e.json?t.sEmptyTable&&0===e.fnRecordsTotal()&&(n=t.sEmptyTable):n=t.sLoadingRecords,H(\"<tr/>\").append(H(\"<td />\",{colSpan:oe(e),class:e.oClasses.empty.row}).html(n))[0]}function Le(e,t,a){var o=[];H.each(t,function(e,t){var n,r;null!==t&&(n=(e=e.match(/^([a-z]+)([0-9]*)([A-Za-z]*)$/))[2]?+e[2]:0,r=e[3]?e[3].toLowerCase():\"full\",e[1]===a)&&function e(t,n,r){if(Array.isArray(r))for(var a=0;a<r.length;a++)e(t,n,r[a]);else{var o=t[n];H.isPlainObject(r)?r.features?(r.rowId&&(t.id=r.rowId),r.rowClass&&(t.className=r.rowClass),o.id=r.id,o.className=r.className,e(t,n,r.features)):Object.keys(r).map(function(e){o.contents.push({feature:e,opts:r[e]})}):o.contents.push(r)}}(function(e,t,n){for(var r,a=0;a<e.length;a++)if((r=e[a]).rowNum===t&&(\"full\"===n&&r.full||(\"start\"===n||\"end\"===n)&&(r.start||r.end)))return r[n]||(r[n]={contents:[]}),r;return(r={rowNum:t})[n]={contents:[]},e.push(r),r}(o,n,r),r,t)}),o.sort(function(e,t){var n=e.rowNum,r=t.rowNum;return n===r?(e=e.full&&!t.full?-1:1,\"bottom\"===a?-1*e:e):r-n}),\"bottom\"===a&&o.reverse();for(var n=0;n<o.length;n++)delete o[n].rowNum,!function(o,i){function l(e,t){return T.features[e]||z(o,0,\"Unknown feature: \"+e),T.features[e].apply(this,[o,t])}function e(e){if(i[e])for(var t,n=i[e].contents,r=0,a=n.length;r<a;r++)n[r]&&(\"string\"==typeof n[r]?n[r]=l(n[r],null):H.isPlainObject(n[r])?n[r]=l(n[r].feature,n[r].opts):\"function\"==typeof n[r].node?n[r]=n[r].node(o):\"function\"==typeof n[r]&&(t=n[r](o),n[r]=\"function\"==typeof t.node?t.node():t))}e(\"start\"),e(\"end\"),e(\"full\")}(e,o[n]);return o}function Ae(t){var r,e=t.oClasses,n=H(t.nTable),a=H(\"<div/>\").attr({id:t.sTableId+\"_wrapper\",class:e.container}).insertBefore(n);if(t.nTableWrapper=a[0],t.sDom)for(var o,i,l,s,u,c,d=t,e=t.sDom,f=a,h=e.match(/(\".*?\")|('.*?')|./g),p=0;p<h.length;p++)o=null,\"<\"==(i=h[p])?(l=H(\"<div/>\"),\"'\"!=(s=h[p+1])[0]&&'\"'!=s[0]||(s=s.replace(/['\"]/g,\"\"),u=\"\",-1!=s.indexOf(\".\")?(c=s.split(\".\"),u=c[0],c=c[1]):\"#\"==s[0]?u=s:c=s,l.attr(\"id\",u.substring(1)).addClass(c),p++),f.append(l),f=l):\">\"==i?f=f.parent():\"t\"==i?o=qe(d):V.ext.feature.forEach(function(e){i==e.cFeature&&(o=e.fnInit(d))}),o&&f.append(o);else{var n=Le(t,t.layout,\"top\"),e=Le(t,t.layout,\"bottom\"),g=at(t,\"layout\");n.forEach(function(e){g(t,a,e)}),g(t,a,{full:{table:!0,contents:[qe(t)]}}),e.forEach(function(e){g(t,a,e)})}var n=t,e=n.nTable,m=\"\"!==n.oScroll.sX||\"\"!==n.oScroll.sY;n.oFeatures.bProcessing&&(r=H(\"<div/>\",{id:n.sTableId+\"_processing\",class:n.oClasses.processing.container,role:\"status\"}).html(n.oLanguage.sProcessing).append(\"<div><div></div><div></div><div></div><div></div></div>\"),m?r.prependTo(H(\"div.dt-scroll\",n.nTableWrapper)):r.insertBefore(e),H(e).on(\"processing.dt.DT\",function(e,t,n){r.css(\"display\",n?\"block\":\"none\")}))}function Ne(e,t,n){for(var r,a,o,i,l,s,u=e.aoColumns,c=H(t).children(\"tr\"),d=e.titleRow,f=t&&\"thead\"===t.nodeName.toLowerCase(),h=[],p=0,g=c.length;p<g;p++)h.push([]);for(p=0,g=c.length;p<g;p++)for(a=(r=c[p]).firstChild;a;){if(\"TD\"==a.nodeName.toUpperCase()||\"TH\"==a.nodeName.toUpperCase()){var m,v,b,y,D,x=[],S=H(a);for(y=(y=+a.getAttribute(\"colspan\"))&&0!=y&&1!=y?y:1,D=(D=+a.getAttribute(\"rowspan\"))&&0!=D&&1!=D?D:1,l=function(e,t,n){for(var r=e[t];r[n];)n++;return n}(h,p,0),s=1==y,n&&(s&&(te(e,l,S.data()),m=u[l],v=a.getAttribute(\"width\")||null,(b=a.style.width.match(/width:\\s*(\\d+[pxem%]+)/))&&(v=b[1]),m.sWidthOrig=m.sWidth||v,f?(null===m.sTitle||m.autoTitle||(!0===d&&0===p||!1===d&&p===c.length-1||d===p||null===d)&&(a.innerHTML=m.sTitle),!m.sTitle&&s&&(m.sTitle=w(a.innerHTML),m.autoTitle=!0)):m.footer&&(a.innerHTML=m.footer),m.ariaTitle||(m.ariaTitle=S.attr(\"aria-label\")||m.sTitle),m.className)&&S.addClass(m.className),0===H(\"span.dt-column-title\",a).length&&H(\"<span>\").addClass(\"dt-column-title\").append(a.childNodes).appendTo(a),e.orderIndicators&&f&&0!==S.filter(\":not([data-dt-order=disable])\").length&&0!==S.parent(\":not([data-dt-order=disable])\").length&&0===H(\"span.dt-column-order\",a).length&&H(\"<span>\").addClass(\"dt-column-order\").appendTo(a),0===H(\"span.dt-column-\"+(b=f?\"header\":\"footer\"),a).length)&&H(\"<div>\").addClass(\"dt-column-\"+b).append(a.childNodes).appendTo(a),i=0;i<y;i++){for(o=0;o<D;o++)h[p+o][l+i]={cell:a,unique:s},h[p+o].row=r;x.push(l+i)}a.setAttribute(\"data-dt-column\",C(x).join(\",\"))}a=a.nextSibling}return h}function Fe(n,e,r){function t(e){var t=n.jqXHR?n.jqXHR.status:null;if((null===e||\"number\"==typeof t&&204==t)&&Oe(n,e={},[]),(t=e.error||e.sError)&&z(n,0,t),e.d&&\"string\"==typeof e.d)try{e=JSON.parse(e.d)}catch(e){}n.json=e,G(n,null,\"xhr\",[n,e,n.jqXHR],!0),r(e)}var a,o=n.ajax,i=n.oInstance,l=(H.isPlainObject(o)&&o.data&&(l=\"function\"==typeof(a=o.data)?a(e,n):a,e=\"function\"==typeof a&&l?l:H.extend(!0,e,l),delete o.data),{url:\"string\"==typeof o?o:\"\",data:e,success:t,dataType:\"json\",cache:!1,type:n.sServerMethod,error:function(e,t){-1===G(n,null,\"xhr\",[n,null,n.jqXHR],!0).indexOf(!0)&&(\"parsererror\"==t?z(n,0,\"Invalid JSON response\",1):4===e.readyState&&z(n,0,\"Ajax error\",7)),I(n,!1)}});H.isPlainObject(o)&&H.extend(l,o),n.oAjaxData=e,G(n,null,\"preXhr\",[n,e,l],!0),\"json\"===l.submitAs&&\"object\"==typeof e&&(l.data=JSON.stringify(e)),\"function\"==typeof o?n.jqXHR=o.call(i,e,t,n):\"\"===o.url?(i={},V.util.set(o.dataSrc)(i,[]),t(i)):n.jqXHR=H.ajax(l),a&&(o.data=a)}function Oe(e,t,n){var r=\"data\";if(H.isPlainObject(e.ajax)&&void 0!==e.ajax.dataSrc&&(\"string\"==typeof(e=e.ajax.dataSrc)||\"function\"==typeof e?r=e:void 0!==e.data&&(r=e.data)),!n)return\"data\"===r?t.aaData||t[r]:\"\"!==r?U(r)(t):t;m(r)(t,n)}function je(e,t,n){var e=H.isPlainObject(e.ajax)?e.ajax.dataSrc:null;return e&&e[t]?U(e[t])(n):(e=\"\",\"draw\"===t?e=\"sEcho\":\"recordsTotal\"===t?e=\"iTotalRecords\":\"recordsFiltered\"===t&&(e=\"iTotalDisplayRecords\"),void 0!==n[e]?n[e]:n[t])}function Re(n,e){var t=n.aoPreSearchCols;if(\"ssp\"!=J(n)){for(var r,a,o,i,l,s=n,u=s.aoColumns,c=s.aoData,d=0;d<c.length;d++)if(c[d]&&!(l=c[d])._aFilterData){for(o=[],r=0,a=u.length;r<a;r++)u[r].bSearchable?\"string\"!=typeof(i=null===(i=q(s,d,r,\"filter\"))?\"\":i)&&i.toString&&(i=i.toString()):i=\"\",i.indexOf&&-1!==i.indexOf(\"&\")&&(ke.innerHTML=i,i=Me?ke.textContent:ke.innerText),i.replace&&(i=i.replace(/[\\r\\n\\u2028]/g,\"\")),o.push(i);l._aFilterData=o,l._sFilterRow=o.join(\"  \"),0}n.aiDisplay=n.aiDisplayMaster.slice(),Pe(n.aiDisplay,n,e.search,e),H.each(n.searchFixed,function(e,t){Pe(n.aiDisplay,n,t,{})});for(var f=0;f<t.length;f++){var h=t[f];Pe(n.aiDisplay,n,h.search,h,f),H.each(n.aoColumns[f].searchFixed,function(e,t){Pe(n.aiDisplay,n,t,{},f)})}for(var p,g,m=n,v=V.ext.search,b=m.aiDisplay,y=0,D=v.length;y<D;y++){for(var x=[],S=0,w=b.length;S<w;S++)g=b[S],p=m.aoData[g],v[y](m,p._aFilterData,g,p._aData,S)&&x.push(g);b.length=0,it(b,x)}}n.bFiltered=!0,G(n,null,\"search\",[n])}function Pe(e,t,n,r,a){if(\"\"!==n){for(var o=0,i=[],l=\"function\"==typeof n?n:null,s=n instanceof RegExp?n:l?null:function(e,t){var r=[],t=H.extend({},{boundary:!1,caseInsensitive:!0,exact:!1,regex:!1,smart:!0},t);\"string\"!=typeof e&&(e=e.toString());if(e=k(e),t.exact)return new RegExp(\"^\"+Ee(e)+\"$\",t.caseInsensitive?\"i\":\"\");{var n,a,o;e=t.regex?e:Ee(e),t.smart&&(n=(e.match(/!?[\"\\u201C][^\"\\u201D]+[\"\\u201D]|[^ ]+/g)||[\"\"]).map(function(e){var t,n=!1;return\"!\"===e.charAt(0)&&(n=!0,e=e.substring(1)),'\"'===e.charAt(0)?e=(t=e.match(/^\"(.*)\"$/))?t[1]:e:\"“\"===e.charAt(0)&&(e=(t=e.match(/^\\u201C(.*)\\u201D$/))?t[1]:e),n&&(1<e.length&&r.push(\"(?!\"+e+\")\"),e=\"\"),e.replace(/\"/g,\"\")}),a=r.length?r.join(\"\"):\"\",o=t.boundary?\"\\\\b\":\"\",e=\"^(?=.*?\"+o+n.join(\")(?=.*?\"+o)+\")(\"+a+\".)*$\")}return new RegExp(e,t.caseInsensitive?\"i\":\"\")}(n,r),o=0;o<e.length;o++){var u=t.aoData[e[o]],c=void 0===a?u._sFilterRow:u._aFilterData[a];(l&&l(c,u._aData,e[o],a)||s&&s.test(c))&&i.push(e[o])}for(e.length=i.length,o=0;o<i.length;o++)e[o]=i[o]}}var Ee=V.util.escapeRegex,ke=H(\"<div>\")[0],Me=void 0!==ke.textContent;function He(i){var l,t,n,e,s=i.oInit,u=i.deferLoading,c=J(i);i.bInitialised?(we(i,\"header\"),we(i,\"footer\"),n=function(){_e(i,i.aoHeader),_e(i,i.aoFooter);var n=i.iInitDisplayStart;if(s.aaData)for(l=0;l<s.aaData.length;l++)D(i,s.aaData[l]);else!u&&\"dom\"!=c||fe(i,H(i.nTBody).children(\"tr\"));i.aiDisplay=i.aiDisplayMaster.slice(),Ae(i);var e=i,t=e.nTHead,r=t.querySelectorAll(\"tr\"),a=e.titleRow,o=':not([data-dt-order=\"disable\"]):not([data-dt-order=\"icon-only\"])';!0===a?t=r[0]:!1===a?t=r[r.length-1]:null!==a&&(t=r[a]),e.orderHandler&&Ye(e,t,t===e.nTHead?\"tr\"+o+\" th\"+o+\", tr\"+o+\" td\"+o:\"th\"+o+\", td\"+o),g(e,r=[],e.aaSorting),e.aaSorting=r,$e(i),I(i,!0),G(i,null,\"preInit\",[i],!0),Ce(i),\"ssp\"==c&&!u||(\"ajax\"==c?Fe(i,{},function(e){var t=Oe(i,e);for(l=0;l<t.length;l++)D(i,t[l]);i.iInitDisplayStart=n,Ce(i),I(i,!1),We(i)}):(We(i),I(i,!1)))},(t=i).oFeatures.bStateSave?void 0!==(e=t.fnStateLoadCallback.call(t.oInstance,t,function(e){et(t,e,n)}))&&et(t,e,n):n()):setTimeout(function(){He(i)},200)}function We(e){var t;e._bInitComplete||(t=[e,e.json],e._bInitComplete=!0,ne(e),G(e,null,\"plugin-init\",t,!0),G(e,\"aoInitComplete\",\"init\",t,!0))}function Xe(e,t){t=parseInt(t,10);e._iDisplayLength=t,rt(e),G(e,null,\"length\",[e,t])}function Ve(e,t,n){var r=e._iDisplayStart,a=e._iDisplayLength,o=e.fnRecordsDisplay();if(0===o||-1===a)r=0;else if(\"number\"==typeof t)o<(r=t*a)&&(r=0);else if(\"first\"==t)r=0;else if(\"previous\"==t)(r=0<=a?r-a:0)<0&&(r=0);else if(\"next\"==t)r+a<o&&(r+=a);else if(\"last\"==t)r=Math.floor((o-1)/a)*a;else{if(\"ellipsis\"===t)return;z(e,0,\"Unknown paging action: \"+t,5)}o=e._iDisplayStart!==r;e._iDisplayStart=r,G(e,null,o?\"page\":\"page-nc\",[e]),o&&n&&x(e)}function I(e,t){e.bDrawing&&!1===t||G(e,null,\"processing\",[e,t])}function Be(e,t,n){t?(I(e,!0),setTimeout(function(){n(),I(e,!1)},0)):n()}function qe(e){var t,n,r,a,o,i,l,s,u,c,d,f,h,p=H(e.nTable),g=e.oScroll;return\"\"===g.sX&&\"\"===g.sY?e.nTable:(t=g.sX,n=g.sY,r=e.oClasses.scrolling,o=(a=e.captionNode)?a._captionSide:null,u=H(p[0].cloneNode(!1)),i=H(p[0].cloneNode(!1)),c=function(e){return e?L(e):null},(l=p.children(\"tfoot\")).length||(l=null),u=H(s=\"<div/>\",{class:r.container}).append(H(s,{class:r.header.self}).css({overflow:\"hidden\",position:\"relative\",border:0,width:t?c(t):\"100%\"}).append(H(s,{class:r.header.inner}).css({\"box-sizing\":\"content-box\",width:g.sXInner||\"100%\"}).append(u.removeAttr(\"id\").css(\"margin-left\",0).append(\"top\"===o?a:null).append(p.children(\"thead\"))))).append(H(s,{class:r.body}).css({position:\"relative\",overflow:\"auto\",width:c(t)}).append(p)),l&&u.append(H(s,{class:r.footer.self}).css({overflow:\"hidden\",border:0,width:t?c(t):\"100%\"}).append(H(s,{class:r.footer.inner}).append(i.removeAttr(\"id\").css(\"margin-left\",0).append(\"bottom\"===o?a:null).append(p.children(\"tfoot\"))))),c=u.children(),d=c[0],f=c[1],h=l?c[2]:null,H(f).on(\"scroll.DT\",function(){var e=this.scrollLeft;d.scrollLeft=e,l&&(h.scrollLeft=e)}),H(\"th, td\",d).on(\"focus\",function(){var e=d.scrollLeft;f.scrollLeft=e,l&&(f.scrollLeft=e)}),H(f).css(\"max-height\",n),g.bCollapse||H(f).css(\"height\",n),e.nScrollHead=d,e.nScrollBody=f,e.nScrollFoot=h,e.aoDrawCallback.push(Ue),u[0])}function Ue(t){var e=t.oScroll,n=e.iBarWidth,r=H(t.nScrollHead).children(\"div\"),a=r.children(\"table\"),o=t.nScrollBody,i=H(o),l=H(t.nScrollFoot).children(\"div\"),s=l.children(\"table\"),u=H(t.nTHead),c=H(t.nTable),d=t.nTFoot&&H(\"th, td\",t.nTFoot).length?H(t.nTFoot):null,f=t.oBrowser,h=o.scrollHeight>o.clientHeight;if(t.scrollBarVis!==h&&void 0!==t.scrollBarVis)t.scrollBarVis=h,ne(t);else{if(t.scrollBarVis=h,c.children(\"thead, tfoot\").remove(),(h=u.clone().prependTo(c)).find(\"th, td\").removeAttr(\"tabindex\"),h.find(\"[id]\").removeAttr(\"id\"),d&&(D=d.clone().prependTo(c)).find(\"[id]\").removeAttr(\"id\"),t.aiDisplay.length){for(var p=null,g=\"ssp\"!==J(t)?t._iDisplayStart:0,m=g;m<g+t.aiDisplay.length;m++){var v=t.aiDisplay[m],v=t.aoData[v].nTr;if(v){p=v;break}}if(p)for(var b=H(p).children(\"th, td\").map(function(e){return{idx:re(t,e),width:H(this).outerWidth()}}),m=0;m<b.length;m++){var y=t.aoColumns[b[m].idx].colEl[0];y.style.width.replace(\"px\",\"\")!==b[m].width&&(y.style.width=b[m].width+\"px\",e.sX)&&(y.style.minWidth=b[m].width+\"px\")}}a.find(\"colgroup\").remove(),a.append(t.colgroup.clone()),d&&(s.find(\"colgroup\").remove(),s.append(t.colgroup.clone())),H(\"th, td\",h).each(function(){H(this.childNodes).wrapAll('<div class=\"dt-scroll-sizing\">')}),d&&H(\"th, td\",D).each(function(){H(this.childNodes).wrapAll('<div class=\"dt-scroll-sizing\">')});var u=Math.floor(c.height())>o.clientHeight||\"scroll\"==i.css(\"overflow-y\"),h=\"padding\"+(f.bScrollbarLeft?\"Left\":\"Right\"),D=c.outerWidth();a.css(\"width\",L(D)),r.css(\"width\",L(D)).css(h,u?n+\"px\":\"0px\"),d&&(s.css(\"width\",L(D)),l.css(\"width\",L(D)).css(h,u?n+\"px\":\"0px\")),c.children(\"colgroup\").prependTo(c),i.trigger(\"scroll\"),!t.bSorted&&!t.bFiltered||t._drawHold||(o.scrollTop=0)}}function ze(e){return H(e.nTableWrapper).is(\":visible\")?H(e.nTableWrapper).width():0}function L(e){return null===e?\"0px\":\"number\"==typeof e?e<0?\"0px\":e+\"px\":e.match(/\\d$/)?e+\"px\":e}function $e(e){var t=e.aoColumns;for(e.colgroup.empty(),l=0;l<t.length;l++)t[l].bVisible&&e.colgroup.append(t[l].colEl)}function Ye(o,e,t,i,l){nt(e,t,function(e){var t=!1,n=void 0===i?de(e.target):Array.isArray(i)?i:[i];if(n.length){for(var r=0,a=n.length;r<a;r++)if(!1!==function(e,t,n,r){function a(e,t){var n=e._idx;return(n=void 0===n?s.indexOf(e[1]):n)+1<s.length?n+1:t?null:0}var o,i=e.aoColumns[t],l=e.aaSorting,s=i.asSorting;if(!i.bSortable)return!1;\"number\"==typeof l[0]&&(l=e.aaSorting=[l]);(r||n)&&e.oFeatures.bSortMulti?-1!==(i=b(l,\"0\").indexOf(t))?null===(o=null===(o=a(l[i],!0))&&1===l.length?0:o)?l.splice(i,1):(l[i][1]=s[o],l[i]._idx=o):(r?l.push([t,s[0],0]):l.push([t,l[0][1],0]),l[l.length-1]._idx=0):l.length&&l[0][0]==t?(o=a(l[0]),l.length=1,l[0][1]=s[o],l[0]._idx=o):(l.length=0,l.push([t,s[0]]),l[0]._idx=0)}(o,n[r],r,e.shiftKey)&&(t=!0),1===o.aaSorting.length&&\"\"===o.aaSorting[0][1])break;t&&Be(o,!0,function(){Ze(o),Ge(o,o.aiDisplay),Ce(o,!1,!1),l&&l()})}})}function Ge(e,t){if(!(t.length<2)){for(var n=e.aiDisplayMaster,r={},a={},o=0;o<n.length;o++)r[n[o]]=o;for(o=0;o<t.length;o++)a[t[o]]=r[t[o]];t.sort(function(e,t){return a[e]-a[t]})}}function g(n,r,e){function t(e){var t;H.isPlainObject(e)?void 0!==e.idx?r.push([e.idx,e.dir]):e.name&&-1!==(t=b(n.aoColumns,\"sName\").indexOf(e.name))&&r.push([t,e.dir]):r.push(e)}if(H.isPlainObject(e))t(e);else if(e.length&&\"number\"==typeof e[0])t(e);else if(e.length)for(var a=0;a<e.length;a++)t(e[a])}function Je(e){var t,n,r,a,o,i,l,s=[],u=V.ext.type.order,c=e.aoColumns,d=e.aaSortingFixed,f=H.isPlainObject(d),h=[];if(e.oFeatures.bSort)for(Array.isArray(d)&&g(e,h,d),f&&d.pre&&g(e,h,d.pre),g(e,h,e.aaSorting),f&&d.post&&g(e,h,d.post),t=0;t<h.length;t++)if(c[l=h[t][0]])for(n=0,r=(a=c[l].aDataSort).length;n<r;n++)i=c[o=a[n]].sType||\"string\",void 0===h[t]._idx&&(h[t]._idx=c[o].asSorting.indexOf(h[t][1])),h[t][1]&&s.push({src:l,col:o,dir:h[t][1],index:h[t]._idx,type:i,formatter:u[i+\"-pre\"],sorter:u[i+\"-\"+h[t][1]]});return s}function Ze(e,t,n){var r,a,o,i,l,c,d=[],s=V.ext.type.order,f=e.aoData,u=e.aiDisplayMaster;for(se(e),void 0!==t?(l=e.aoColumns[t],c=[{src:t,col:t,dir:n,index:0,type:l.sType,formatter:s[l.sType+\"-pre\"],sorter:s[l.sType+\"-\"+n]}],u=u.slice()):c=Je(e),r=0,a=c.length;r<a;r++){i=c[r],S=x=D=g=p=h=y=b=v=m=void 0;var h,p,g,m=e,v=i.col,b=m.aoColumns[v],y=V.ext.order[b.sSortDataType];y&&(h=y.call(m.oInstance,m,v,ae(m,v)));for(var D=V.ext.type.order[b.sType+\"-pre\"],x=m.aoData,S=0;S<x.length;S++)x[S]&&((p=x[S])._aSortData||(p._aSortData=[]),p._aSortData[v]&&!y||(g=y?h[S]:q(m,S,v,\"sort\"),p._aSortData[v]=D?D(g,m):g))}if(\"ssp\"!=J(e)&&0!==c.length){for(r=0,o=u.length;r<o;r++)d[r]=r;c.length&&\"desc\"===c[0].dir&&e.orderDescReverse&&d.reverse(),u.sort(function(e,t){for(var n,r,a,o,i=c.length,l=f[e]._aSortData,s=f[t]._aSortData,u=0;u<i;u++)if(n=l[(o=c[u]).col],r=s[o.col],o.sorter){if(0!==(a=o.sorter(n,r)))return a}else if(0!==(a=n<r?-1:r<n?1:0))return\"asc\"===o.dir?a:-a;return(n=d[e])<(r=d[t])?-1:r<n?1:0})}else 0===c.length&&u.sort(function(e,t){return e<t?-1:t<e?1:0});return void 0===t&&(e.bSorted=!0,e.sortDetails=c,G(e,null,\"order\",[e,c])),u}function Qe(e){var t,n,r,a=e.aLastSort,o=e.oClasses.order.position,i=Je(e),l=e.oFeatures;if(l.bSort&&l.bSortClasses){for(t=0,n=a.length;t<n;t++)r=a[t].src,H(b(e.aoData,\"anCells\",r)).removeClass(o+(t<2?t+1:3));for(t=0,n=i.length;t<n;t++)r=i[t].src,H(b(e.aoData,\"anCells\",r)).addClass(o+(t<2?t+1:3))}e.aLastSort=i}function Ke(n){var t,e;n._bLoadingState||(g(n,e=[],n.aaSorting),t=n.aoColumns,e={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:e.map(function(e){return t[e[0]]&&t[e[0]].sName?[t[e[0]].sName,e[1]]:e.slice()}),search:H.extend({},n.oPreviousSearch),columns:n.aoColumns.map(function(e,t){return{name:e.sName,visible:e.bVisible,search:H.extend({},n.aoPreSearchCols[t])}})},n.oSavedState=e,G(n,\"aoStateSaveParams\",\"stateSaveParams\",[n,e]),n.oFeatures.bStateSave&&!n.bDestroying&&n.fnStateSaveCallback.call(n.oInstance,n,e))}function et(r,e,t){var n,a,o=r.aoColumns,i=b(r.aoColumns,\"sName\"),l=(r._bLoadingState=!0,r._bInitComplete?new V.Api(r):null);if(e&&e.time){var s=r.iStateDuration;if(0<s&&e.time<+new Date-1e3*s)r._bLoadingState=!1;else if(-1!==G(r,\"aoStateLoadParams\",\"stateLoadParams\",[r,e]).indexOf(!1))r._bLoadingState=!1;else{if(r.oLoadedState=H.extend(!0,{},e),G(r,null,\"stateLoadInit\",[r,e],!0),void 0!==e.length&&(l?l.page.len(e.length):r._iDisplayLength=e.length),void 0!==e.start&&(null===l?(r._iDisplayStart=e.start,r.iInitDisplayStart=e.start):Ve(r,e.start/r._iDisplayLength)),void 0!==e.order&&(r.aaSorting=[],H.each(e.order,function(e,t){var n=[t[0],t[1]];if(\"string\"==typeof t[0]){t=i.indexOf(t[0]);if(t<0)return;n[0]=t}else if(n[0]>=o.length)return;r.aaSorting.push(n)})),void 0!==e.search&&H.extend(r.oPreviousSearch,e.search),e.columns){var u,c=e.columns,d=b(e.columns,\"name\");if(d.join(\"\").length&&d.join(\"\")!==i.join(\"\"))for(c=[],n=0;n<i.length;n++)\"\"!=i[n]&&0<=(u=d.indexOf(i[n]))?c.push(e.columns[u]):c.push({});if(c.length===o.length){for(n=0,a=c.length;n<a;n++){var f=c[n];void 0!==f.visible&&(l?l.column(n).visible(f.visible,!1):o[n].bVisible=f.visible),void 0!==f.search&&H.extend(r.aoPreSearchCols[n],f.search)}l&&l.columns.adjust()}}r._bLoadingState=!1,G(r,\"aoStateLoaded\",\"stateLoaded\",[r,e])}}else r._bLoadingState=!1;t()}function z(e,t,n,r){if(n=\"DataTables warning: \"+(e?\"table id=\"+e.sTableId+\" - \":\"\")+n,r&&(n+=\". For more information about this error, please see https://datatables.net/tn/\"+r),t)W.console&&console.log&&console.log(n);else{t=V.ext,t=t.sErrMode||t.errMode;if(e&&G(e,null,\"dt-error\",[e,r,n],!0),\"alert\"==t)alert(n);else{if(\"throw\"==t)throw new Error(n);\"function\"==typeof t&&t(e,r,n)}}}function $(n,r,e,t){Array.isArray(e)?H.each(e,function(e,t){Array.isArray(t)?$(n,r,t[0],t[1]):$(n,r,t)}):(void 0===t&&(t=e),void 0!==r[e]&&(n[t]=r[e]))}function tt(e,t,n){var r,a;for(a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r=t[a],H.isPlainObject(r)?(H.isPlainObject(e[a])||(e[a]={}),H.extend(!0,e[a],r)):n&&\"data\"!==a&&\"aaData\"!==a&&Array.isArray(r)?e[a]=r.slice():e[a]=r);return e}function nt(e,t,n){H(e).on(\"click.DT\",t,function(e){n(e)}).on(\"keypress.DT\",t,function(e){13===e.which&&(e.preventDefault(),n(e))}).on(\"selectstart.DT\",t,function(){return!1})}function Y(e,t,n){n&&e[t].push(n)}function G(t,e,n,r,a){var o=[];return e&&(o=t[e].slice().reverse().map(function(e){return e.apply(t.oInstance,r)})),null!==n&&(e=H.Event(n+\".dt\"),n=H(t.nTable),e.dt=t.api,n[a?\"trigger\":\"triggerHandler\"](e,r),a&&0===n.parents(\"body\").length&&H(\"body\").trigger(e,r),o.push(e.result)),o}function rt(e){var t=e._iDisplayStart,n=e.fnDisplayEnd(),r=e._iDisplayLength;n<=t&&(t=n-r),t-=t%r,e._iDisplayStart=t=-1===r||t<0?0:t}function at(e,t){var e=e.renderer,n=V.ext.renderer[t];return H.isPlainObject(e)&&e[t]?n[e[t]]||n._:\"string\"==typeof e&&n[e]||n._}function J(e){return e.oFeatures.bServerSide?\"ssp\":e.ajax?\"ajax\":\"dom\"}function ot(e,t,n){var r=e.fnFormatNumber,a=e._iDisplayStart+1,o=e._iDisplayLength,i=e.fnRecordsDisplay(),l=e.fnRecordsTotal(),s=-1===o;return t.replace(/_START_/g,r.call(e,a)).replace(/_END_/g,r.call(e,e.fnDisplayEnd())).replace(/_MAX_/g,r.call(e,l)).replace(/_TOTAL_/g,r.call(e,i)).replace(/_PAGE_/g,r.call(e,s?1:Math.ceil(a/o))).replace(/_PAGES_/g,r.call(e,s?1:Math.ceil(i/o))).replace(/_ENTRIES_/g,e.api.i18n(\"entries\",\"\",n)).replace(/_ENTRIES-MAX_/g,e.api.i18n(\"entries\",\"\",l)).replace(/_ENTRIES-TOTAL_/g,e.api.i18n(\"entries\",\"\",i))}function it(e,t){if(t)if(t.length<1e4)e.push.apply(e,t);else for(l=0;l<t.length;l++)e.push(t[l])}function lt(e,t,n){for(Array.isArray(n)||(n=[n]),l=0;l<n.length;l++)e.on(t+\".dt\",n[l])}var st=[],t=Array.prototype;X=function(e,t){if(!(this instanceof X))return new X(e,t);function n(e){e=e,t=V.settings,r=b(t,\"nTable\");var n,t,r,a=e?e.nTable&&e.oFeatures?[e]:e.nodeName&&\"table\"===e.nodeName.toLowerCase()?-1!==(a=r.indexOf(e))?[t[a]]:null:e&&\"function\"==typeof e.settings?e.settings().toArray():(\"string\"==typeof e?n=H(e).get():e instanceof H&&(n=e.get()),n?t.filter(function(e,t){return n.includes(r[t])}):void 0):[];a&&o.push.apply(o,a)}var r,o=[];if(Array.isArray(e))for(r=0;r<e.length;r++)n(e[r]);else n(e);this.context=1<o.length?C(o):o,it(this,t),this.selector={rows:null,cols:null,opts:null},X.extend(this,this,st)},V.Api=X,H.extend(X.prototype,{any:function(){return 0!==this.count()},context:[],count:function(){return this.flatten().length},each:function(e){for(var t=0,n=this.length;t<n;t++)e.call(this,this[t],t,this);return this},eq:function(e){var t=this.context;return t.length>e?new X(t[e],this[e]):null},filter:function(e){e=t.filter.call(this,e,this);return new X(this.context,e)},flatten:function(){var e=[];return new X(this.context,e.concat.apply(e,this.toArray()))},get:function(e){return this[e]},join:t.join,includes:function(e){return-1!==this.indexOf(e)},indexOf:t.indexOf,iterator:function(e,t,n,r){var a,o,i,l,s,u,c,d,f=[],h=this.context,p=this.selector;for(\"string\"==typeof e&&(r=n,n=t,t=e,e=!1),o=0,i=h.length;o<i;o++){var g=new X(h[o]);if(\"table\"===t)void 0!==(a=n.call(g,h[o],o))&&f.push(a);else if(\"columns\"===t||\"rows\"===t)void 0!==(a=n.call(g,h[o],this[o],o))&&f.push(a);else if(\"every\"===t||\"column\"===t||\"column-rows\"===t||\"row\"===t||\"cell\"===t)for(c=this[o],\"column-rows\"===t&&(u=Dt(h[o],p.opts)),l=0,s=c.length;l<s;l++)d=c[l],void 0!==(a=\"cell\"===t?n.call(g,h[o],d.row,d.column,o,l):n.call(g,h[o],d,o,l,u))&&f.push(a)}return f.length||r?((e=(r=new X(h,e?f.concat.apply([],f):f)).selector).rows=p.rows,e.cols=p.cols,e.opts=p.opts,r):this},lastIndexOf:t.lastIndexOf,length:0,map:function(e){e=t.map.call(this,e,this);return new X(this.context,e)},pluck:function(e){var t=V.util.get(e);return this.map(function(e){return t(e)})},pop:t.pop,push:t.push,reduce:t.reduce,reduceRight:t.reduceRight,reverse:t.reverse,selector:null,shift:t.shift,slice:function(){return new X(this.context,this)},sort:t.sort,splice:t.splice,toArray:function(){return t.slice.call(this)},to$:function(){return H(this)},toJQuery:function(){return H(this)},unique:function(){return new X(this.context,C(this.toArray()))},unshift:t.unshift}),W.__apiStruct=st,X.extend=function(e,t,n){if(n.length&&t&&(t instanceof X||t.__dt_wrapper))for(var r,a=0,o=n.length;a<o;a++)\"__proto__\"!==(r=n[a]).name&&(t[r.name]=\"function\"===r.type?function(t,n,r){return function(){var e=n.apply(t||this,arguments);return X.extend(e,e,r.methodExt),e}}(e,r.val,r):\"object\"===r.type?{}:r.val,t[r.name].__dt_wrapper=!0,X.extend(e,t[r.name],r.propExt))},X.register=r=function(e,t){if(Array.isArray(e))for(var n=0,r=e.length;n<r;n++)X.register(e[n],t);else for(var a=e.split(\".\"),o=st,i=0,l=a.length;i<l;i++){var s,u,c=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n].name===t)return e[n];return null}(o,u=(s=-1!==a[i].indexOf(\"()\"))?a[i].replace(\"()\",\"\"):a[i]);c||o.push(c={name:u,val:{},methodExt:[],propExt:[],type:\"object\"}),i===l-1?(c.val=t,c.type=\"function\"==typeof t?\"function\":H.isPlainObject(t)?\"object\":\"other\"):o=s?c.methodExt:c.propExt}},X.registerPlural=e=function(e,t,n){X.register(e,n),X.register(t,function(){var e=n.apply(this,arguments);return e===this?this:e instanceof X?e.length?Array.isArray(e[0])?new X(e.context,e[0]):e[0]:void 0:e})};function ut(e,t){var n,r;return Array.isArray(e)?(n=[],e.forEach(function(e){e=ut(e,t);it(n,e)}),n.filter(function(e){return e})):\"number\"==typeof e?[t[e]]:(r=t.map(function(e){return e.nTable}),H(r).filter(e).map(function(){var e=r.indexOf(this);return t[e]}).toArray())}function ct(a,o,e){var t,n;e&&(t=new X(a)).one(\"draw\",function(){e(t.ajax.json())}),\"ssp\"==J(a)?Ce(a,o):(I(a,!0),(n=a.jqXHR)&&4!==n.readyState&&n.abort(),Fe(a,{},function(e){ve(a);for(var t=Oe(a,e),n=0,r=t.length;n<r;n++)D(a,t[n]);Ce(a,o),We(a),I(a,!1)}))}function dt(e,t,n,r,a){for(var o,i=[],l=typeof t,s=0,u=(t=t&&\"string\"!=l&&\"function\"!=l&&void 0!==t.length?t:[t]).length;s<u;s++)(o=(o=n(\"string\"==typeof t[s]?t[s].trim():t[s])).filter(function(e){return null!=e}))&&o.length&&(i=i.concat(o));var c=T.selector[e];if(c.length)for(s=0,u=c.length;s<u;s++)i=c[s](r,a,i);return C(i)}function ft(e){return(e=e||{}).filter&&void 0===e.search&&(e.search=e.filter),H.extend({columnOrder:\"implied\",search:\"none\",order:\"current\",page:\"all\"},e)}function ht(e){var t=new X(e.context[0]);return e.length&&t.push(e[0]),t.selector=e.selector,t.length&&1<t[0].length&&t[0].splice(1),t}r(\"tables()\",function(e){return null!=e?new X(ut(e,this.context)):this}),r(\"table()\",function(e){var e=this.tables(e),t=e.context;return t.length?new X(t[0]):e}),[[\"nodes\",\"node\",\"nTable\"],[\"body\",\"body\",\"nTBody\"],[\"header\",\"header\",\"nTHead\"],[\"footer\",\"footer\",\"nTFoot\"]].forEach(function(t){e(\"tables().\"+t[0]+\"()\",\"table().\"+t[1]+\"()\",function(){return this.iterator(\"table\",function(e){return e[t[2]]},1)})}),[[\"header\",\"aoHeader\"],[\"footer\",\"aoFooter\"]].forEach(function(t){r(\"table().\"+t[0]+\".structure()\",function(e){var n=this.columns(e).indexes().flatten().toArray(),e=this.context[0],e=Te(e,e[t[1]],n),r=n.slice().sort(function(e,t){return e-t});return e.map(function(t){return n.map(function(e){return t[r.indexOf(e)]})})})}),e(\"tables().containers()\",\"table().container()\",function(){return this.iterator(\"table\",function(e){return e.nTableWrapper},1)}),r(\"tables().every()\",function(n){var r=this;return this.iterator(\"table\",function(e,t){n.call(r.table(t),t)})}),r(\"caption()\",function(a,o){var e,t=this.context;return void 0===a?(e=t[0].captionNode)&&t.length?e.innerHTML:null:this.iterator(\"table\",function(e){var t=H(e.nTable),n=H(e.captionNode),r=H(e.nTableWrapper);n.length||(n=H(\"<caption/>\").html(a),e.captionNode=n[0],o)||(t.prepend(n),o=n.css(\"caption-side\")),n.html(a),o&&(n.css(\"caption-side\",o),n[0]._captionSide=o),(r.find(\"div.dataTables_scroll\").length?(e=\"top\"===o?\"Head\":\"Foot\",r.find(\"div.dataTables_scroll\"+e+\" table\")):t).prepend(n)},1)}),r(\"caption.node()\",function(){var e=this.context;return e.length?e[0].captionNode:null}),r(\"draw()\",function(t){return this.iterator(\"table\",function(e){\"page\"===t?x(e):Ce(e,!1===(t=\"string\"==typeof t?\"full-hold\"!==t:t))})}),r(\"page()\",function(t){return void 0===t?this.page.info().page:this.iterator(\"table\",function(e){Ve(e,t)})}),r(\"page.info()\",function(){var e,t,n,r,a;if(0!==this.context.length)return t=(e=this.context[0])._iDisplayStart,n=e.oFeatures.bPaginate?e._iDisplayLength:-1,r=e.fnRecordsDisplay(),{page:(a=-1===n)?0:Math.floor(t/n),pages:a?1:Math.ceil(r/n),start:t,end:e.fnDisplayEnd(),length:n,recordsTotal:e.fnRecordsTotal(),recordsDisplay:r,serverSide:\"ssp\"===J(e)}}),r(\"page.len()\",function(t){return void 0===t?0!==this.context.length?this.context[0]._iDisplayLength:void 0:this.iterator(\"table\",function(e){Xe(e,t)})}),r(\"ajax.json()\",function(){var e=this.context;if(0<e.length)return e[0].json}),r(\"ajax.params()\",function(){var e=this.context;if(0<e.length)return e[0].oAjaxData}),r(\"ajax.reload()\",function(t,n){return this.iterator(\"table\",function(e){ct(e,!1===n,t)})}),r(\"ajax.url()\",function(t){var e=this.context;return void 0===t?0===e.length?void 0:(e=e[0],H.isPlainObject(e.ajax)?e.ajax.url:e.ajax):this.iterator(\"table\",function(e){H.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t})}),r(\"ajax.url().load()\",function(t,n){return this.iterator(\"table\",function(e){ct(e,!1===n,t)})});function pt(o,i,e,t){function l(e,t){var n;if(Array.isArray(e)||e instanceof H)for(var r=0,a=e.length;r<a;r++)l(e[r],t);else e.nodeName&&\"tr\"===e.nodeName.toLowerCase()?(e.setAttribute(\"data-dt-row\",i.idx),s.push(e)):(n=H(\"<tr><td></td></tr>\").attr(\"data-dt-row\",i.idx).addClass(t),H(\"td\",n).addClass(t).html(e)[0].colSpan=oe(o),s.push(n[0]))}var s=[];l(e,t),i._details&&i._details.detach(),i._details=H(s),i._detailsShow&&i._details.insertAfter(i.nTr)}function gt(e,t){var n=e.context;if(n.length&&e.length){var r=n[0].aoData[e[0]];if(r._details){(r._detailsShow=t)?(r._details.insertAfter(r.nTr),H(r.nTr).addClass(\"dt-hasChild\")):(r._details.detach(),H(r.nTr).removeClass(\"dt-hasChild\")),G(n[0],null,\"childRow\",[t,e.row(e[0])]);var i=n[0],a=new X(i),r=\".dt.DT_details\",t=\"draw\"+r,e=\"column-sizing\"+r,r=\"destroy\"+r,l=i.aoData;if(a.off(t+\" \"+e+\" \"+r),b(l,\"_details\").length>0){a.on(t,function(e,t){if(i!==t)return;a.rows({page:\"current\"}).eq(0).each(function(e){var t=l[e];if(t._detailsShow)t._details.insertAfter(t.nTr)})});a.on(e,function(e,t){if(i!==t)return;var n,r=oe(t);for(var a=0,o=l.length;a<o;a++){n=l[a];if(n&&n._details)n._details.each(function(){var e=H(this).children(\"td\");if(e.length==1)e.attr(\"colspan\",r)})}});a.on(r,function(e,t){if(i!==t)return;for(var n=0,r=l.length;n<r;n++)if(l[n]&&l[n]._details)wt(a,n)})}St(n)}}}function mt(e,t,n,r,a,o){for(var i=[],l=0,s=a.length;l<s;l++)i.push(q(e,a[l],t,o));return i}function vt(e,t,n){var r=e.aoHeader,e=e.titleRow,a=null;if(void 0!==n)a=n;else if(!0===e)a=0;else if(!1===e)a=r.length-1;else if(null!==e)a=e;else{for(var o=0;o<r.length;o++)r[o][t].unique&&H(\"span.dt-column-title\",r[o][t].cell).text()&&(a=o);null===a&&(a=0)}return r[a][t].cell}var bt,yt,Dt=function(e,t){var n,r=[],a=e.aiDisplay,o=e.aiDisplayMaster,i=t.search,l=t.order,t=t.page;if(\"ssp\"==J(e))return\"removed\"===i?[]:h(0,o.length);if(\"current\"==t)for(u=e._iDisplayStart,c=e.fnDisplayEnd();u<c;u++)r.push(a[u]);else if(\"current\"==l||\"applied\"==l){if(\"none\"==i)r=o.slice();else if(\"applied\"==i)r=a.slice();else if(\"removed\"==i){for(var s={},u=0,c=a.length;u<c;u++)s[a[u]]=null;o.forEach(function(e){Object.prototype.hasOwnProperty.call(s,e)||r.push(e)})}}else if(\"index\"==l||\"original\"==l)for(u=0,c=e.aoData.length;u<c;u++)e.aoData[u]&&(\"none\"==i||-1===(n=a.indexOf(u))&&\"removed\"==i||0<=n&&\"applied\"==i)&&r.push(u);else if(\"number\"==typeof l){var d=Ze(e,l,\"asc\");if(\"none\"===i)r=d;else for(u=0;u<d.length;u++)(-1===(n=a.indexOf(d[u]))&&\"removed\"==i||0<=n&&\"applied\"==i)&&r.push(d[u])}return r},xt=(r(\"rows()\",function(n,r){void 0===n?n=\"\":H.isPlainObject(n)&&(r=n,n=\"\"),r=ft(r);var e=this.iterator(\"table\",function(e){return t=dt(\"row\",t=n,function(n){var e=f(n),r=a.aoData;if(null!==e&&!o)return[e];if(i=i||Dt(a,o),null!==e&&-1!==i.indexOf(e))return[e];if(null==n||\"\"===n)return i;if(\"function\"==typeof n)return i.map(function(e){var t=r[e];return n(e,t._aData,t.nTr)?e:null});if(n.nodeName)return e=n._DT_RowIndex,t=n._DT_CellIndex,void 0!==e?r[e]&&r[e].nTr===n?[e]:[]:t?r[t.row]&&r[t.row].nTr===n.parentNode?[t.row]:[]:(e=H(n).closest(\"*[data-dt-row]\")).length?[e.data(\"dt-row\")]:[];if(\"string\"==typeof n&&\"#\"===n.charAt(0)){var t=a.aIds[n.replace(/^#/,\"\")];if(void 0!==t)return[t.idx]}e=A(v(a.aoData,i,\"nTr\"));return H(e).filter(n).map(function(){return this._DT_RowIndex}).toArray()},a=e,o=r),\"current\"!==o.order&&\"applied\"!==o.order||Ge(a,t),t;var a,t,o,i},1);return e.selector.rows=n,e.selector.opts=r,e}),r(\"rows().nodes()\",function(){return this.iterator(\"row\",function(e,t){return e.aoData[t].nTr||void 0},1)}),r(\"rows().data()\",function(){return this.iterator(!0,\"rows\",function(e,t){return v(e.aoData,t,\"_aData\")},1)}),e(\"rows().cache()\",\"row().cache()\",function(n){return this.iterator(\"row\",function(e,t){e=e.aoData[t];return\"search\"===n?e._aFilterData:e._aSortData},1)}),e(\"rows().invalidate()\",\"row().invalidate()\",function(n){return this.iterator(\"row\",function(e,t){be(e,t,n)})}),e(\"rows().indexes()\",\"row().index()\",function(){return this.iterator(\"row\",function(e,t){return t},1)}),e(\"rows().ids()\",\"row().id()\",function(e){for(var t=[],n=this.context,r=0,a=n.length;r<a;r++)for(var o=0,i=this[r].length;o<i;o++){var l=n[r].rowIdFn(n[r].aoData[this[r][o]]._aData);t.push((!0===e?\"#\":\"\")+l)}return new X(n,t)}),e(\"rows().remove()\",\"row().remove()\",function(){return this.iterator(\"row\",function(e,t){var n=e.aoData,r=n[t],a=e.aiDisplayMaster.indexOf(t),a=(-1!==a&&e.aiDisplayMaster.splice(a,1),0<e._iRecordsDisplay&&e._iRecordsDisplay--,rt(e),e.rowIdFn(r._aData));void 0!==a&&delete e.aIds[a],n[t]=null}),this}),r(\"rows.add()\",function(o){var e=this.iterator(\"table\",function(e){for(var t,n=[],r=0,a=o.length;r<a;r++)(t=o[r]).nodeName&&\"TR\"===t.nodeName.toUpperCase()?n.push(fe(e,t)[0]):n.push(D(e,t));return n},1),t=this.rows(-1);return t.pop(),it(t,e),t}),r(\"row()\",function(e,t){return ht(this.rows(e,t))}),r(\"row().data()\",function(e){var t,n=this.context;return void 0===e?n.length&&this.length&&this[0].length?n[0].aoData[this[0]]._aData:void 0:((t=n[0].aoData[this[0]])._aData=e,Array.isArray(e)&&t.nTr&&t.nTr.id&&m(n[0].rowId)(e,t.nTr.id),be(n[0],this[0],\"data\"),this)}),r(\"row().node()\",function(){var e=this.context;if(e.length&&this.length&&this[0].length){e=e[0].aoData[this[0]];if(e&&e.nTr)return e.nTr}return null}),r(\"row.add()\",function(t){t instanceof H&&t.length&&(t=t[0]);var e=this.iterator(\"table\",function(e){return t.nodeName&&\"TR\"===t.nodeName.toUpperCase()?fe(e,t)[0]:D(e,t)});return this.row(e[0])}),H(S).on(\"plugin-init.dt\",function(e,t){var r=new X(t);r.on(\"stateSaveParams.DT\",function(e,t,n){for(var r=t.rowIdFn,a=t.aiDisplayMaster,o=[],i=0;i<a.length;i++){var l=a[i],l=t.aoData[l];l._detailsShow&&o.push(\"#\"+r(l._aData))}n.childRows=o}),r.on(\"stateLoaded.DT\",function(e,t,n){xt(r,n)}),xt(r,r.state.loaded())}),function(e,t){t&&t.childRows&&e.rows(t.childRows.map(function(e){return e.replace(/([^:\\\\]*(?:\\\\.[^:\\\\]*)*):/g,\"$1\\\\:\")})).every(function(){G(e.settings()[0],null,\"requestChild\",[this])})}),St=V.util.throttle(function(e){Ke(e[0])},500),wt=function(e,t){var n=e.context;n.length&&(t=n[0].aoData[void 0!==t?t:e[0]])&&t._details&&(t._details.remove(),t._detailsShow=void 0,t._details=void 0,H(t.nTr).removeClass(\"dt-hasChild\"),St(n))},Tt=\"row().child\",_t=Tt+\"()\",Ct=(r(_t,function(e,t){var n=this.context;return void 0===e?n.length&&this.length&&n[0].aoData[this[0]]?n[0].aoData[this[0]]._details:void 0:(!0===e?this.child.show():!1===e?wt(this):n.length&&this.length&&pt(n[0],n[0].aoData[this[0]],e,t),this)}),r([Tt+\".show()\",_t+\".show()\"],function(){return gt(this,!0),this}),r([Tt+\".hide()\",_t+\".hide()\"],function(){return gt(this,!1),this}),r([Tt+\".remove()\",_t+\".remove()\"],function(){return wt(this),this}),r(Tt+\".isShown()\",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]]&&e[0].aoData[this[0]]._detailsShow||!1}),/^([^:]+)?:(name|title|visIdx|visible)$/);r(\"columns()\",function(n,r){void 0===n?n=\"\":H.isPlainObject(n)&&(r=n,n=\"\"),r=ft(r);var e=this.iterator(\"table\",function(e){return t=n,l=r,c=(i=e).aoColumns,d=function(e){for(var t=[],n=0;n<e.length;n++)for(var r=0;r<e[n].length;r++){var a=e[n][r].cell;t.includes(a)||t.push(a)}return t}(i.aoHeader),t=dt(\"column\",t,function(n){var r,e=f(n);if(\"\"===n)return h(c.length);if(null!==e)return[0<=e?e:c.length+e];if(\"function\"==typeof n)return r=Dt(i,l),c.map(function(e,t){return n(t,mt(i,t,0,0,r),vt(i,t))?t:null});var t,a,o=\"string\"==typeof n?n.match(Ct):\"\";if(o)switch(o[2]){case\"visIdx\":case\"visible\":return o[1]&&o[1].match(/^\\d+$/)?(t=parseInt(o[1],10))<0?[(a=c.map(function(e,t){return e.bVisible?t:null}))[a.length+t]]:[re(i,t)]:c.map(function(e,t){return e.bVisible&&(!o[1]||0<H(d[t]).filter(o[1]).length)?t:null});case\"name\":return(s=s||b(c,\"sName\")).map(function(e,t){return e===o[1]?t:null});case\"title\":return(u=u||b(c,\"sTitle\")).map(function(e,t){return e===o[1]?t:null});default:return[]}return n.nodeName&&n._DT_CellIndex?[n._DT_CellIndex.column]:(e=H(d).filter(n).map(function(){return de(this)}).toArray().sort(function(e,t){return e-t})).length||!n.nodeName?e:(e=H(n).closest(\"*[data-dt-column]\")).length?[e.data(\"dt-column\")]:[]},i,l),l.columnOrder&&\"index\"===l.columnOrder?t.sort(function(e,t){return e-t}):t;var i,t,l,s,u,c,d},1);return e.selector.cols=n,e.selector.opts=r,e}),e(\"columns().header()\",\"column().header()\",function(n){return this.iterator(\"column\",function(e,t){return vt(e,t,n)},1)}),e(\"columns().footer()\",\"column().footer()\",function(n){return this.iterator(\"column\",function(e,t){return e.aoFooter.length?e.aoFooter[void 0!==n?n:0][t].cell:null},1)}),e(\"columns().data()\",\"column().data()\",function(){return this.iterator(\"column-rows\",mt,1)}),e(\"columns().render()\",\"column().render()\",function(o){return this.iterator(\"column-rows\",function(e,t,n,r,a){return mt(e,t,0,0,a,o)},1)}),e(\"columns().dataSrc()\",\"column().dataSrc()\",function(){return this.iterator(\"column\",function(e,t){return e.aoColumns[t].mData},1)}),e(\"columns().cache()\",\"column().cache()\",function(o){return this.iterator(\"column-rows\",function(e,t,n,r,a){return v(e.aoData,a,\"search\"===o?\"_aFilterData\":\"_aSortData\",t)},1)}),e(\"columns().init()\",\"column().init()\",function(){return this.iterator(\"column\",function(e,t){return e.aoColumns[t]},1)}),e(\"columns().names()\",\"column().name()\",function(){return this.iterator(\"column\",function(e,t){return e.aoColumns[t].sName},1)}),e(\"columns().nodes()\",\"column().nodes()\",function(){return this.iterator(\"column-rows\",function(e,t,n,r,a){return v(e.aoData,a,\"anCells\",t)},1)}),e(\"columns().titles()\",\"column().title()\",function(n,r){return this.iterator(\"column\",function(e,t){\"number\"==typeof n&&(r=n,n=void 0);t=H(\"span.dt-column-title\",this.column(t).header(r));return void 0!==n?(t.html(n),this):t.html()},1)}),e(\"columns().types()\",\"column().type()\",function(){return this.iterator(\"column\",function(e,t){t=e.aoColumns[t].sType;return t||se(e),t},1)}),e(\"columns().visible()\",\"column().visible()\",function(n,r){var t=this,a=[],e=this.iterator(\"column\",function(e,t){if(void 0===n)return e.aoColumns[t].bVisible;!function(e,t,n){var r,a,o=e.aoColumns,i=o[t],l=e.aoData;if(void 0===n)return i.bVisible;if(i.bVisible===n)return!1;if(n)for(var s=b(o,\"bVisible\").indexOf(!0,t+1),u=0,c=l.length;u<c;u++)l[u]&&(a=l[u].nTr,r=l[u].anCells,a)&&a.insertBefore(r[t],r[s]||null);else H(b(e.aoData,\"anCells\",t)).detach();return i.bVisible=n,$e(e),!0}(e,t,n)||a.push(t)});return void 0!==n&&this.iterator(\"table\",function(e){_e(e,e.aoHeader),_e(e,e.aoFooter),e.aiDisplay.length||H(e.nTBody).find(\"td[colspan]\").attr(\"colspan\",oe(e)),Ke(e),t.iterator(\"column\",function(e,t){a.includes(t)&&G(e,null,\"column-visibility\",[e,t,n,r])}),a.length&&(void 0===r||r)&&t.columns.adjust()}),e}),e(\"columns().widths()\",\"column().width()\",function(){var e=this.columns(\":visible\").count(),e=H(\"<tr>\").html(\"<td>\"+Array(e).join(\"</td><td>\")+\"</td>\"),n=(H(this.table().body()).append(e),e.children().map(function(){return H(this).outerWidth()}));return e.remove(),this.iterator(\"column\",function(e,t){e=ae(e,t);return null!==e?n[e]:0},1)}),e(\"columns().indexes()\",\"column().index()\",function(n){return this.iterator(\"column\",function(e,t){return\"visible\"===n?ae(e,t):t},1)}),r(\"columns.adjust()\",function(){return this.iterator(\"table\",function(e){e.containerWidth=-1,ne(e)},1)}),r(\"column.index()\",function(e,t){var n;if(0!==this.context.length)return n=this.context[0],\"fromVisible\"===e||\"toData\"===e?re(n,t):\"fromData\"===e||\"toVisible\"===e?ae(n,t):void 0}),r(\"column()\",function(e,t){return ht(this.columns(e,t))});function It(e,t){H(e).find(\"span.dt-column-order\").remove(),H(e).find(\"span.dt-column-title\").each(function(){var e=H(this).html();H(this).parent().parent().append(e),H(this).remove()}),H(e).find(\"div.dt-column-\"+t).remove(),H(\"th, td\",e).removeAttr(\"data-dt-column\")}r(\"cells()\",function(g,e,m){var r,a,o,i,l,s,t;return H.isPlainObject(g)&&(void 0===g.row?(m=g,g=null):(m=e,e=null)),H.isPlainObject(e)&&(m=e,e=null),null==e?this.iterator(\"table\",function(e){return r=e,e=g,t=ft(m),d=r.aoData,f=Dt(r,t),n=A(v(d,f,\"anCells\")),h=H(M([],n)),p=r.aoColumns.length,dt(\"cell\",e,function(e){var t,n=\"function\"==typeof e;if(null==e||n){for(o=[],i=0,l=f.length;i<l;i++)for(a=f[i],s=0;s<p;s++)u={row:a,column:s},(!n||(c=d[a],e(u,q(r,a,s),c.anCells?c.anCells[s]:null)))&&o.push(u);return o}return H.isPlainObject(e)?void 0!==e.column&&void 0!==e.row&&-1!==f.indexOf(e.row)?[e]:[]:(t=h.filter(e).map(function(e,t){return{row:t._DT_CellIndex.row,column:t._DT_CellIndex.column}}).toArray()).length||!e.nodeName?t:(c=H(e).closest(\"*[data-dt-row]\")).length?[{row:c.data(\"dt-row\"),column:c.data(\"dt-column\")}]:[]},r,t);var r,t,a,o,i,l,s,u,c,d,f,n,h,p}):(t=m?{page:m.page,order:m.order,search:m.search}:{},r=this.columns(e,t),a=this.rows(g,t),t=this.iterator(\"table\",function(e,t){var n=[];for(o=0,i=a[t].length;o<i;o++)for(l=0,s=r[t].length;l<s;l++)n.push({row:a[t][o],column:r[t][l]});return n},1),t=m&&m.selected?this.cells(t,m):t,H.extend(t.selector,{cols:e,rows:g,opts:m}),t)}),e(\"cells().nodes()\",\"cell().node()\",function(){return this.iterator(\"cell\",function(e,t,n){e=e.aoData[t];return e&&e.anCells?e.anCells[n]:void 0},1)}),r(\"cells().data()\",function(){return this.iterator(\"cell\",function(e,t,n){return q(e,t,n)},1)}),e(\"cells().cache()\",\"cell().cache()\",function(r){return r=\"search\"===r?\"_aFilterData\":\"_aSortData\",this.iterator(\"cell\",function(e,t,n){return e.aoData[t][r][n]},1)}),e(\"cells().render()\",\"cell().render()\",function(r){return this.iterator(\"cell\",function(e,t,n){return q(e,t,n,r)},1)}),e(\"cells().indexes()\",\"cell().index()\",function(){return this.iterator(\"cell\",function(e,t,n){return{row:t,column:n,columnVisible:ae(e,n)}},1)}),e(\"cells().invalidate()\",\"cell().invalidate()\",function(r){return this.iterator(\"cell\",function(e,t,n){be(e,t,r,n)})}),r(\"cell()\",function(e,t,n){return ht(this.cells(e,t,n))}),r(\"cell().data()\",function(e){var t,n,r,a,o,i=this.context,l=this[0];return void 0===e?i.length&&l.length?q(i[0],l[0].row,l[0].column):void 0:(t=i[0],n=l[0].row,r=l[0].column,a=t.aoColumns[r],o=t.aoData[n]._aData,a.fnSetData(o,e,{settings:t,row:n,col:r}),be(i[0],l[0].row,\"data\",l[0].column),this)}),r(\"order()\",function(n,e){var t=this.context,r=Array.prototype.slice.call(arguments);return void 0===n?0!==t.length?t[0].aaSorting:void 0:(\"number\"==typeof n?n=[[n,e]]:1<r.length&&(n=r),this.iterator(\"table\",function(e){var t=[];g(e,t,n),e.aaSorting=t}))}),r(\"order.listener()\",function(t,n,r){return this.iterator(\"table\",function(e){Ye(e,t,{},n,r)})}),r(\"order.fixed()\",function(t){var e;return t?this.iterator(\"table\",function(e){e.aaSortingFixed=H.extend(!0,{},t)}):(e=(e=this.context).length?e[0].aaSortingFixed:void 0,Array.isArray(e)?{pre:e}:e)}),r([\"columns().order()\",\"column().order()\"],function(n){var r=this;return n?this.iterator(\"table\",function(e,t){e.aaSorting=r[t].map(function(e){return[e,n]})}):this.iterator(\"column\",function(e,t){for(var n=Je(e),r=0,a=n.length;r<a;r++)if(n[r].col===t)return n[r].dir;return null},1)}),e(\"columns().orderable()\",\"column().orderable()\",function(n){return this.iterator(\"column\",function(e,t){e=e.aoColumns[t];return n?e.asSorting:e.bSortable},1)}),r(\"processing()\",function(t){return this.iterator(\"table\",function(e){I(e,t)})}),r(\"search()\",function(t,n,r,a){var e=this.context;return void 0===t?0!==e.length?e[0].oPreviousSearch.search:void 0:this.iterator(\"table\",function(e){e.oFeatures.bFilter&&Re(e,\"object\"==typeof n?H.extend(e.oPreviousSearch,n,{search:t}):H.extend(e.oPreviousSearch,{search:t,regex:null!==n&&n,smart:null===r||r,caseInsensitive:null===a||a}))})}),r(\"search.fixed()\",function(t,n){var e=this.iterator(!0,\"table\",function(e){e=e.searchFixed;return t?void 0===n?e[t]:(null===n?delete e[t]:e[t]=n,this):Object.keys(e)});return void 0!==t&&void 0===n?e[0]:e}),e(\"columns().search()\",\"column().search()\",function(r,a,o,i){return this.iterator(\"column\",function(e,t){var n=e.aoPreSearchCols;if(void 0===r)return n[t].search;e.oFeatures.bFilter&&(\"object\"==typeof a?H.extend(n[t],a,{search:r}):H.extend(n[t],{search:r,regex:null!==a&&a,smart:null===o||o,caseInsensitive:null===i||i}),Re(e,e.oPreviousSearch))})}),r([\"columns().search.fixed()\",\"column().search.fixed()\"],function(n,r){var e=this.iterator(!0,\"column\",function(e,t){e=e.aoColumns[t].searchFixed;return n?void 0===r?e[n]||null:(null===r?delete e[n]:e[n]=r,this):Object.keys(e)});return void 0!==n&&void 0===r?e[0]:e}),r(\"state()\",function(e,t){var n;return e?(n=H.extend(!0,{},e),this.iterator(\"table\",function(e){!1!==t&&(n.time=+new Date+100),et(e,n,function(){})})):this.context.length?this.context[0].oSavedState:null}),r(\"state.clear()\",function(){return this.iterator(\"table\",function(e){e.fnStateSaveCallback.call(e.oInstance,e,{})})}),r(\"state.loaded()\",function(){return this.context.length?this.context[0].oLoadedState:null}),r(\"state.save()\",function(){return this.iterator(\"table\",function(e){Ke(e)})}),V.use=function(e,t){var n=\"string\"==typeof e?t:e,t=\"string\"==typeof t?t:e;if(void 0===n&&\"string\"==typeof t)switch(t){case\"lib\":case\"jq\":return H;case\"win\":return W;case\"datetime\":return V.DateTime;case\"luxon\":return o;case\"moment\":return i;case\"bootstrap\":return bt||W.bootstrap;case\"foundation\":return yt||W.Foundation;default:return null}\"lib\"===t||\"jq\"===t||n&&n.fn&&n.fn.jquery?H=n:\"win\"===t||n&&n.document?S=(W=n).document:\"datetime\"===t||n&&\"DateTime\"===n.type?V.DateTime=n:\"luxon\"===t||n&&n.FixedOffsetZone?o=n:\"moment\"===t||n&&n.isMoment?i=n:\"bootstrap\"===t||n&&n.Modal&&\"modal\"===n.Modal.NAME?bt=n:(\"foundation\"===t||n&&n.Reveal)&&(yt=n)},V.factory=function(e,t){var n=!1;return e&&e.document&&(S=(W=e).document),t&&t.fn&&t.fn.jquery&&(H=t,n=!0),n},V.versionCheck=function(e,t){for(var n,r,a=(t||V.version).split(\".\"),o=e.split(\".\"),i=0,l=o.length;i<l;i++)if((n=parseInt(a[i],10)||0)!==(r=parseInt(o[i],10)||0))return r<n;return!0},V.isDataTable=function(e){var a=H(e).get(0),o=!1;return e instanceof V.Api||(H.each(V.settings,function(e,t){var n=t.nScrollHead?H(\"table\",t.nScrollHead)[0]:null,r=t.nScrollFoot?H(\"table\",t.nScrollFoot)[0]:null;t.nTable!==a&&n!==a&&r!==a||(o=!0)}),o)},V.tables=function(t){var e=!1,n=(H.isPlainObject(t)&&(e=t.api,t=t.visible),V.settings.filter(function(e){return!(t&&!H(e.nTable).is(\":visible\"))}).map(function(e){return e.nTable}));return e?new X(n):n},V.camelToHungarian=B,r(\"$()\",function(e,t){t=this.rows(t).nodes(),t=H(t);return H([].concat(t.filter(e).toArray(),t.find(e).toArray()))}),H.each([\"on\",\"one\",\"off\"],function(e,n){r(n+\"()\",function(){var e=Array.prototype.slice.call(arguments),t=(e[0]=e[0].split(/\\s/).map(function(e){return e.match(/\\.dt\\b/)?e:e+\".dt\"}).join(\" \"),H(this.tables().nodes()));return t[n].apply(t,e),this})}),r(\"clear()\",function(){return this.iterator(\"table\",function(e){ve(e)})}),r(\"error()\",function(t){return this.iterator(\"table\",function(e){z(e,0,t)})}),r(\"settings()\",function(){return new X(this.context,this.context)}),r(\"init()\",function(){var e=this.context;return e.length?e[0].oInit:null}),r(\"data()\",function(){return this.iterator(\"table\",function(e){return b(e.aoData,\"_aData\")}).flatten()}),r(\"trigger()\",function(t,n,r){return this.iterator(\"table\",function(e){return G(e,null,t,n,r)}).flatten()}),r(\"ready()\",function(t){var e=this.context;return t?this.tables().every(function(){var e=this;this.context[0]._bInitComplete?t.call(e):this.on(\"init.dt.DT\",function(){t.call(e)})}):e.length?e[0]._bInitComplete||!1:null}),r(\"destroy()\",function(c){return c=c||!1,this.iterator(\"table\",function(e){var t=e.oClasses,n=e.nTable,r=e.nTBody,a=e.nTHead,o=e.nTFoot,i=H(n),r=H(r),l=H(e.nTableWrapper),s=e.aoData.map(function(e){return e?e.nTr:null}),u=t.order,o=(e.bDestroying=!0,G(e,\"aoDestroyCallback\",\"destroy\",[e],!0),c||new X(e).columns().visible(!0),e.resizeObserver&&e.resizeObserver.disconnect(),l.off(\".DT\").find(\":not(tbody *)\").off(\".DT\"),H(W).off(\".DT-\"+e.sInstance),n!=a.parentNode&&(i.children(\"thead\").detach(),i.append(a)),o&&n!=o.parentNode&&(i.children(\"tfoot\").detach(),i.append(o)),It(a,\"header\"),It(o,\"footer\"),e.colgroup.remove(),e.aaSorting=[],e.aaSortingFixed=[],Qe(e),H(i).find(\"th, td\").removeClass(H.map(V.ext.type.className,function(e){return e}).join(\" \")),H(\"th, td\",a).removeClass(u.none+\" \"+u.canAsc+\" \"+u.canDesc+\" \"+u.isAsc+\" \"+u.isDesc).css(\"width\",\"\").removeAttr(\"aria-sort\"),r.children().detach(),r.append(s),e.nTableWrapper.parentNode),a=e.nTableWrapper.nextSibling,u=c?\"remove\":\"detach\",r=(i[u](),l[u](),!c&&o&&(o.insertBefore(n,a),i.css(\"width\",e.sDestroyWidth).removeClass(t.table)),V.settings.indexOf(e));-1!==r&&V.settings.splice(r,1)})}),H.each([\"column\",\"row\",\"cell\"],function(e,s){r(s+\"s().every()\",function(r){var a,o=this.selector.opts,i=this,l=0;return this.iterator(\"every\",function(e,t,n){a=i[s](t,o),\"cell\"===s?r.call(a,a[0][0].row,a[0][0].column,n,l):r.call(a,t,n,l),l++})})}),r(\"i18n()\",function(e,t,n){var r=this.context[0],e=U(e)(r.oLanguage);return\"string\"==typeof(e=H.isPlainObject(e=void 0===e?t:e)?void 0!==n&&void 0!==e[n]?e[n]:e._:e)?e.replace(\"%d\",n):e}),V.version=\"2.3.0\",V.settings=[],V.models={},V.models.oSearch={caseInsensitive:!0,search:\"\",regex:!1,smart:!0,return:!1},V.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,src:null,idx:-1,displayData:null},V.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:\"std\",sSortingClass:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null,maxLenString:null,searchFixed:null},V.defaults={aaData:null,aaSorting:[[0,\"asc\"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],bAutoWidth:!0,bDeferRender:!0,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:null,titleRow:null,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnStateLoadCallback:function(e){try{return JSON.parse((-1===e.iStateDuration?sessionStorage:localStorage).getItem(\"DataTables_\"+e.sInstance+\"_\"+location.pathname))}catch(e){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(-1===e.iStateDuration?sessionStorage:localStorage).setItem(\"DataTables_\"+e.sInstance+\"_\"+location.pathname,JSON.stringify(t))}catch(e){}},fnStateSaveParams:null,iStateDuration:7200,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{orderable:\": Activate to sort\",orderableReverse:\": Activate to invert sorting\",orderableRemove:\": Activate to remove sorting\",paginate:{first:\"First\",last:\"Last\",next:\"Next\",previous:\"Previous\",number:\"\"}},oPaginate:{sFirst:\"«\",sLast:\"»\",sNext:\"›\",sPrevious:\"‹\"},entries:{_:\"entries\",1:\"entry\"},lengthLabels:{\"-1\":\"All\"},sEmptyTable:\"No data available in table\",sInfo:\"Showing _START_ to _END_ of _TOTAL_ _ENTRIES-TOTAL_\",sInfoEmpty:\"Showing 0 to 0 of 0 _ENTRIES-TOTAL_\",sInfoFiltered:\"(filtered from _MAX_ total _ENTRIES-MAX_)\",sInfoPostFix:\"\",sDecimal:\"\",sThousands:\",\",sLengthMenu:\"_MENU_ _ENTRIES_ per page\",sLoadingRecords:\"Loading...\",sProcessing:\"\",sSearch:\"Search:\",sSearchPlaceholder:\"\",sUrl:\"\",sZeroRecords:\"No matching records found\"},orderDescReverse:!0,oSearch:H.extend({},V.models.oSearch),layout:{topStart:\"pageLength\",topEnd:\"search\",bottomStart:\"info\",bottomEnd:\"paging\"},sDom:null,searchDelay:null,sPaginationType:\"\",sScrollX:\"\",sScrollXInner:\"\",sScrollY:\"\",sServerMethod:\"GET\",renderer:null,rowId:\"DT_RowId\",caption:null,iDeferLoading:null,on:null},Z(V.defaults),V.defaults.column={aDataSort:null,iDataSort:-1,ariaTitle:\"\",asSorting:[\"asc\",\"desc\",\"\"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:\"td\",sClass:\"\",sContentPadding:\"\",sDefaultContent:null,sName:\"\",sSortDataType:\"std\",sTitle:null,sType:null,sWidth:null},Z(V.defaults.column),V.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:!0,bLengthChange:!0,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollbarLeft:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},searchFixed:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:\"\",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:\"two_button\",pagingControls:0,iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,bAjaxDataGet:!0,jqXHR:null,json:void 0,oAjaxData:void 0,sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return\"ssp\"==J(this)?+this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return\"ssp\"==J(this)?+this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var e=this._iDisplayLength,t=this._iDisplayStart,n=t+e,r=this.aiDisplay.length,a=this.oFeatures,o=a.bPaginate;return a.bServerSide?!1===o||-1===e?t+r:Math.min(t+e,this._iRecordsDisplay):!o||r<n||-1===e?r:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null,caption:\"\",captionNode:null,colgroup:null,deferLoading:null,typeDetect:!0,resizeObserver:null,containerWidth:-1,orderDescReverse:null,orderIndicators:!0,orderHandler:!0,titleRow:null};function Lt(t,n){return function(e){return _(e)||\"string\"!=typeof e||(e=e.replace(N,\" \"),t&&(e=w(e)),n&&(e=k(e,!1))),e}}_t=V.ext.pager;H.extend(_t,{simple:function(){return[\"previous\",\"next\"]},full:function(){return[\"first\",\"previous\",\"next\",\"last\"]},numbers:function(){return[\"numbers\"]},simple_numbers:function(){return[\"previous\",\"numbers\",\"next\"]},full_numbers:function(){return[\"first\",\"previous\",\"numbers\",\"next\",\"last\"]},first_last:function(){return[\"first\",\"last\"]},first_last_numbers:function(){return[\"first\",\"numbers\",\"last\"]},_numbers:Bt,numbers_length:7}),H.extend(!0,V.ext.renderer,{pagingButton:{_:function(e,t,n,r,a){var e=e.oClasses.paging,o=[e.button];return r&&o.push(e.active),a&&o.push(e.disabled),{display:r=\"ellipsis\"===t?H('<span class=\"ellipsis\"></span>').html(n)[0]:H(\"<button>\",{class:o.join(\" \"),role:\"link\",type:\"button\"}).html(n),clicker:r}}},pagingContainer:{_:function(e,t){return t}}});function At(e,t,n,r,a){return i?e[t](a):o?e[n](a):r?e[r](a):e}var o,i,Nt=!1;function Ft(e,t,n){var r;if(W.luxon&&!o&&(o=W.luxon),i=W.moment&&!i?W.moment:i){if(!(r=i.utc(e,t,n,!0)).isValid())return null}else if(o){if(!(r=t&&\"string\"==typeof e?o.DateTime.fromFormat(e,t):o.DateTime.fromISO(e)).isValid)return null;r=r.setLocale(n)}else t?(Nt||alert(\"DataTables warning: Formatted date without Moment.js or Luxon - https://datatables.net/tn/17\"),Nt=!0):r=new Date(e);return r}function Ot(s){return function(r,a,o,i){0===arguments.length?(o=\"en\",r=a=null):1===arguments.length?(o=\"en\",a=r,r=null):2===arguments.length&&(o=a,a=r,r=null);var l=\"datetime\"+(a?\"-\"+a:\"\");return V.ext.type.order[l+\"-pre\"]||V.type(l,{detect:function(e){return e===l&&l},order:{pre:function(e){return e.valueOf()}},className:\"dt-right\"}),function(e,t){var n;return null==e&&(e=\"--now\"===i?(n=new Date,new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds()))):\"\"),\"type\"===t?l:\"\"===e?\"sort\"!==t?\"\":Ft(\"0000-01-01 00:00:00\",null,o):!(null===a||r!==a||\"sort\"===t||\"type\"===t||e instanceof Date)||null===(n=Ft(e,r,o))?e:\"sort\"===t?n:(e=null===a?At(n,\"toDate\",\"toJSDate\",\"\")[s]():At(n,\"format\",\"toFormat\",\"toISOString\",a),\"display\"===t?u(e):e)}}}var jt=\",\",Rt=\".\";if(void 0!==W.Intl)try{for(var Pt=(new Intl.NumberFormat).formatToParts(100000.1),l=0;l<Pt.length;l++)\"group\"===Pt[l].type?jt=Pt[l].value:\"decimal\"===Pt[l].type&&(Rt=Pt[l].value)}catch(e){}V.datetime=function(n,r){var a=\"datetime-\"+n;r=r||\"en\",V.ext.type.order[a]||V.type(a,{detect:function(e){var t=Ft(e,n,r);return!(\"\"!==e&&!t)&&a},order:{pre:function(e){return Ft(e,n,r)||0}},className:\"dt-right\"})},V.render={date:Ot(\"toLocaleDateString\"),datetime:Ot(\"toLocaleString\"),time:Ot(\"toLocaleTimeString\"),number:function(a,o,i,l,s){return null==a&&(a=jt),null==o&&(o=Rt),{display:function(e){if(\"number\"!=typeof e&&\"string\"!=typeof e)return e;if(\"\"===e||null===e)return e;var t=e<0?\"-\":\"\",n=parseFloat(e),r=Math.abs(n);if(1e11<=r||r<1e-4&&0!==r)return(r=n.toExponential(i).split(/e\\+?/))[0]+\" x 10<sup>\"+r[1]+\"</sup>\";if(isNaN(n))return u(e);n=n.toFixed(i),e=Math.abs(n);r=parseInt(e,10),n=i?o+(e-r).toFixed(i).substring(2):\"\";return(t=0===r&&0===parseFloat(n)?\"\":t)+(l||\"\")+r.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g,a)+n+(s||\"\")}}},text:function(){return{display:u,filter:u}}};function Et(e,t){return e=null!=e?e.toString().toLowerCase():\"\",t=null!=t?t.toString().toLowerCase():\"\",e.localeCompare(t,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})}function kt(e,t){return e=w(e),t=w(t),Et(e,t)}var s=V.ext.type,Mt=(V.type=function(n,e,t){if(!e)return{className:s.className[n],detect:s.detect.find(function(e){return e._name===n}),order:{pre:s.order[n+\"-pre\"],asc:s.order[n+\"-asc\"],desc:s.order[n+\"-desc\"]},render:s.render[n],search:s.search[n]};function r(e,t){s[e][n]=t}function a(e){Object.defineProperty(e,\"_name\",{value:n});var t=s.detect.findIndex(function(e){return e._name===n});-1===t?s.detect.unshift(e):s.detect.splice(t,1,e)}function o(e){s.order[n+\"-pre\"]=e.pre,s.order[n+\"-asc\"]=e.asc,s.order[n+\"-desc\"]=e.desc}void 0===t&&(t=e,e=null),\"className\"===e?r(\"className\",t):\"detect\"===e?a(t):\"order\"===e?o(t):\"render\"===e?r(\"render\",t):\"search\"===e?r(\"search\",t):e||(t.className&&r(\"className\",t.className),void 0!==t.detect&&a(t.detect),t.order&&o(t.order),void 0!==t.render&&r(\"render\",t.render),void 0!==t.search&&r(\"search\",t.search))},V.types=function(){return s.detect.map(function(e){return e._name})},V.type(\"string\",{detect:function(){return\"string\"},order:{pre:function(e){return _(e)&&\"boolean\"!=typeof e?\"\":\"string\"==typeof e?e.toLowerCase():e.toString?e.toString():\"\"}},search:Lt(!1,!0)}),V.type(\"string-utf8\",{detect:{allOf:function(e){return!0},oneOf:function(e){return!_(e)&&navigator.languages&&\"string\"==typeof e&&e.match(/[^\\x00-\\x7F]/)}},order:{asc:Et,desc:function(e,t){return-1*Et(e,t)}},search:Lt(!1,!0)}),V.type(\"html\",{detect:{allOf:function(e){return _(e)||\"string\"==typeof e&&-1!==e.indexOf(\"<\")},oneOf:function(e){return!_(e)&&\"string\"==typeof e&&-1!==e.indexOf(\"<\")}},order:{pre:function(e){return _(e)?\"\":e.replace?w(e).trim().toLowerCase():e+\"\"}},search:Lt(!0,!0)}),V.type(\"html-utf8\",{detect:{allOf:function(e){return _(e)||\"string\"==typeof e&&-1!==e.indexOf(\"<\")},oneOf:function(e){return navigator.languages&&!_(e)&&\"string\"==typeof e&&-1!==e.indexOf(\"<\")&&\"string\"==typeof e&&e.match(/[^\\x00-\\x7F]/)}},order:{asc:kt,desc:function(e,t){return-1*kt(e,t)}},search:Lt(!0,!0)}),V.type(\"date\",{className:\"dt-type-date\",detect:{allOf:function(e){var t;return!e||e instanceof Date||j.test(e)?null!==(t=Date.parse(e))&&!isNaN(t)||_(e):null},oneOf:function(e){return e instanceof Date||\"string\"==typeof e&&j.test(e)}},order:{pre:function(e){e=Date.parse(e);return isNaN(e)?-1/0:e}}}),V.type(\"html-num-fmt\",{className:\"dt-type-numeric\",detect:{allOf:function(e,t){t=t.oLanguage.sDecimal;return n(e,t,!0,!1)},oneOf:function(e,t){t=t.oLanguage.sDecimal;return n(e,t,!0,!1)}},order:{pre:function(e,t){t=t.oLanguage.sDecimal;return Mt(e,t,F,P)}},search:Lt(!0,!0)}),V.type(\"html-num\",{className:\"dt-type-numeric\",detect:{allOf:function(e,t){t=t.oLanguage.sDecimal;return n(e,t,!1,!0)},oneOf:function(e,t){t=t.oLanguage.sDecimal;return n(e,t,!1,!1)}},order:{pre:function(e,t){t=t.oLanguage.sDecimal;return Mt(e,t,F)}},search:Lt(!0,!0)}),V.type(\"num-fmt\",{className:\"dt-type-numeric\",detect:{allOf:function(e,t){t=t.oLanguage.sDecimal;return c(e,t,!0,!0)},oneOf:function(e,t){t=t.oLanguage.sDecimal;return c(e,t,!0,!1)}},order:{pre:function(e,t){t=t.oLanguage.sDecimal;return Mt(e,t,P)}}}),V.type(\"num\",{className:\"dt-type-numeric\",detect:{allOf:function(e,t){t=t.oLanguage.sDecimal;return c(e,t,!1,!0)},oneOf:function(e,t){t=t.oLanguage.sDecimal;return c(e,t,!1,!1)}},order:{pre:function(e,t){t=t.oLanguage.sDecimal;return Mt(e,t)}}}),function(e,t,n,r){var a;return 0===e||e&&\"-\"!==e?\"number\"==(a=typeof e)||\"bigint\"==a?e:+(e=(e=t?E(e,t):e).replace&&(n&&(e=e.replace(n,\"\")),r)?e.replace(r,\"\"):e):-1/0});function Ht(e,t,n){n&&(e[t]=n)}H.extend(!0,V.ext.renderer,{footer:{_:function(e,t,n){t.addClass(n.tfoot.cell)}},header:{_:function(g,m,v){m.addClass(v.thead.cell),g.oFeatures.bSort||m.addClass(v.order.none);var e=g.titleRow,t=m.closest(\"thead\").find(\"tr\"),n=m.parent().index();\"disable\"===m.attr(\"data-dt-order\")||\"disable\"===m.parent().attr(\"data-dt-order\")||!0===e&&0!==n||!1===e&&n!==t.length-1||\"number\"==typeof e&&n!==e||H(g.nTable).on(\"order.dt.DT column-visibility.dt.DT\",function(e,t,n){if(g===t){var r=t.sortDetails;if(r){var a=b(r,\"col\");if(\"column-visibility\"!==e.type||a.includes(n)){for(var e=v.order,n=t.api.columns(m),o=g.aoColumns[n.flatten()[0]],i=n.orderable().includes(!0),l=\"\",s=n.indexes(),u=n.orderable(!0).flatten(),c=g.iTabIndex,d=t.orderHandler&&i,f=(m.removeClass(e.isAsc+\" \"+e.isDesc).toggleClass(e.none,!i).toggleClass(e.canAsc,d&&u.includes(\"asc\")).toggleClass(e.canDesc,d&&u.includes(\"desc\")),!0),h=0;h<s.length;h++)a.includes(s[h])||(f=!1);f&&(d=n.order(),m.addClass(d.includes(\"asc\")?e.isAsc:\"\"+d.includes(\"desc\")?e.isDesc:\"\"));var p=-1;for(h=0;h<a.length;h++)if(g.aoColumns[a[h]].bVisible){p=a[h];break}s[0]==p?(u=r[0],n=o.asSorting,m.attr(\"aria-sort\",\"asc\"===u.dir?\"ascending\":\"descending\"),l=n[u.index+1]?\"Reverse\":\"Remove\"):m.removeAttr(\"aria-sort\"),i&&((d=m.find(\".dt-column-order\")).attr(\"role\",\"button\").attr(\"aria-label\",i?o.ariaTitle+t.api.i18n(\"oAria.orderable\"+l):o.ariaTitle),-1!==c)&&d.attr(\"tabindex\",c)}}}})}},layout:{_:function(e,t,n){var r=e.oClasses.layout,a=H(\"<div/>\").attr(\"id\",n.id||null).addClass(n.className||r.row).appendTo(t);V.ext.renderer.layout._forLayoutRow(n,function(e,t){var n;\"id\"!==e&&\"className\"!==e&&(n=\"\",t.table&&(a.addClass(r.tableRow),n+=r.tableCell+\" \"),n+=\"start\"===e?r.start:\"end\"===e?r.end:r.full,H(\"<div/>\").attr({id:t.id||null,class:t.className||r.cell+\" \"+n}).append(t.contents).appendTo(a))})},_forLayoutRow:function(t,n){function r(e){switch(e){case\"\":return 0;case\"start\":return 1;case\"end\":return 2;default:return 3}}Object.keys(t).sort(function(e,t){return r(e)-r(t)}).forEach(function(e){n(e,t[e])})}}}),V.feature={},V.feature.register=function(e,t,n){V.ext.features[e]=t,n&&T.feature.push({cFeature:n,fnInit:t})},V.feature.register(\"div\",function(e,t){var n=H(\"<div>\")[0];return t&&(Ht(n,\"className\",t.className),Ht(n,\"id\",t.id),Ht(n,\"innerHTML\",t.html),Ht(n,\"textContent\",t.text)),n}),V.feature.register(\"info\",function(e,s){var t,n,u;return e.oFeatures.bInfo?(t=e.oLanguage,n=e.sTableId,u=H(\"<div/>\",{class:e.oClasses.info.container}),s=H.extend({callback:t.fnInfoCallback,empty:t.sInfoEmpty,postfix:t.sInfoPostFix,search:t.sInfoFiltered,text:t.sInfo},s),e.aoDrawCallback.push(function(e){var t=s,n=u,r=e._iDisplayStart+1,a=e.fnDisplayEnd(),o=e.fnRecordsTotal(),i=e.fnRecordsDisplay(),l=i?t.text:t.empty;i!==o&&(l+=\" \"+t.search),l+=t.postfix,l=ot(e,l),t.callback&&(l=t.callback.call(e.oInstance,e,r,a,o,i,l)),n.html(l),G(e,null,\"info\",[e,n[0],l])}),e._infoEl||(u.attr({\"aria-live\":\"polite\",id:n+\"_info\",role:\"status\"}),H(e.nTable).attr(\"aria-describedby\",n+\"_info\"),e._infoEl=u),u):null},\"i\");var Wt=0;function Xt(e){var t=[];return e.numbers&&t.push(\"numbers\"),e.previousNext&&(t.unshift(\"previous\"),t.push(\"next\")),e.firstLast&&(t.unshift(\"first\"),t.push(\"last\")),t}function Vt(e,t,n,r){var a=e.oLanguage.oPaginate,o={display:\"\",active:!1,disabled:!1};switch(t){case\"ellipsis\":o.display=\"&#x2026;\";break;case\"first\":o.display=a.sFirst,0===n&&(o.disabled=!0);break;case\"previous\":o.display=a.sPrevious,0===n&&(o.disabled=!0);break;case\"next\":o.display=a.sNext,0!==r&&n!==r-1||(o.disabled=!0);break;case\"last\":o.display=a.sLast,0!==r&&n!==r-1||(o.disabled=!0);break;default:\"number\"==typeof t&&(o.display=e.fnFormatNumber(t+1),n===t)&&(o.active=!0)}return o}function Bt(e,t,n,r){var a=[],o=Math.floor(n/2),i=r?2:1,l=r?1:0;return t<=n?a=h(0,t):1===n?a=[e]:3===n?e<=1?a=[0,1,\"ellipsis\"]:t-2<=e?(a=h(t-2,t)).unshift(\"ellipsis\"):a=[\"ellipsis\",e,\"ellipsis\"]:e<=o?((a=h(0,n-i)).push(\"ellipsis\"),r&&a.push(t-1)):t-1-o<=e?((a=h(t-(n-i),t)).unshift(\"ellipsis\"),r&&a.unshift(0)):((a=h(e-o+i,e+o-l)).push(\"ellipsis\"),a.unshift(\"ellipsis\"),r&&(a.push(t-1),a.unshift(0))),a}V.feature.register(\"search\",function(n,r){var e,t,a,o,i,l,s,u,c,d;return n.oFeatures.bFilter?(e=n.oClasses.search,t=n.sTableId,c=n.oLanguage,a=n.oPreviousSearch,o='<input type=\"search\" class=\"'+e.input+'\"/>',-1===(r=H.extend({placeholder:c.sSearchPlaceholder,processing:!1,text:c.sSearch},r)).text.indexOf(\"_INPUT_\")&&(r.text+=\"_INPUT_\"),r.text=ot(n,r.text),c=r.text.match(/_INPUT_$/),s=r.text.match(/^_INPUT_/),i=r.text.replace(/_INPUT_/,\"\"),l=\"<label>\"+r.text+\"</label>\",s?l=\"_INPUT_<label>\"+i+\"</label>\":c&&(l=\"<label>\"+i+\"</label>_INPUT_\"),(s=H(\"<div>\").addClass(e.container).append(l.replace(/_INPUT_/,o))).find(\"label\").attr(\"for\",\"dt-search-\"+Wt),s.find(\"input\").attr(\"id\",\"dt-search-\"+Wt),Wt++,u=function(e){var t=this.value;a.return&&\"Enter\"!==e.key||t!=a.search&&Be(n,r.processing,function(){a.search=t,Re(n,a),n._iDisplayStart=0,x(n)})},c=null!==n.searchDelay?n.searchDelay:0,d=H(\"input\",s).val(a.search).attr(\"placeholder\",r.placeholder).on(\"keyup.DT search.DT input.DT paste.DT cut.DT\",c?V.util.debounce(u,c):u).on(\"mouseup.DT\",function(e){setTimeout(function(){u.call(d[0],e)},10)}).on(\"keypress.DT\",function(e){if(13==e.keyCode)return!1}).attr(\"aria-controls\",t),H(n.nTable).on(\"search.dt.DT\",function(e,t){n===t&&d[0]!==S.activeElement&&d.val(\"function\"!=typeof a.search?a.search:\"\")}),s):null},\"f\"),V.feature.register(\"paging\",function(e,t){if(!e.oFeatures.bPaginate)return null;t=H.extend({buttons:V.ext.pager.numbers_length,type:e.sPaginationType,boundaryNumbers:!0,firstLast:!0,previousNext:!0,numbers:!0},t);function n(){!function e(t,n,r){if(!t._bInitComplete)return;var a=r.type?V.ext.pager[r.type]:Xt,o=t.oLanguage.oAria.paginate||{},i=t._iDisplayStart,l=t._iDisplayLength,s=t.fnRecordsDisplay(),u=-1===l,c=u?0:Math.ceil(i/l),d=u?1:Math.ceil(s/l),f=[],h=[],i=a(r).map(function(e){return\"numbers\"===e?Bt(c,d,r.buttons,r.boundaryNumbers):e});f=f.concat.apply(f,i);for(var p=0;p<f.length;p++){var g=f[p],m=Vt(t,g,c,d),v=at(t,\"pagingButton\")(t,g,m.display,m.active,m.disabled),b=\"string\"==typeof g?o[g]:o.number?o.number+(g+1):null;H(v.clicker).attr({\"aria-controls\":t.sTableId,\"aria-disabled\":m.disabled?\"true\":null,\"aria-current\":m.active?\"page\":null,\"aria-label\":b,\"data-dt-idx\":g,tabIndex:m.disabled?-1:t.iTabIndex&&\"span\"!==v.clicker[0].nodeName.toLowerCase()?t.iTabIndex:null}),\"number\"!=typeof g&&H(v.clicker).addClass(g),nt(v.clicker,{action:g},function(e){e.preventDefault(),Ve(t,e.data.action,!0)}),h.push(v.display)}u=at(t,\"pagingContainer\")(t,h);s=n.find(S.activeElement).data(\"dt-idx\");n.empty().append(u);void 0!==s&&n.find(\"[data-dt-idx=\"+s+\"]\").trigger(\"focus\");h.length&&(l=H(h[0]).outerHeight(),1<r.buttons)&&0<l&&H(n).height()>=2*l-10&&e(t,n,H.extend({},r,{buttons:r.buttons-2}))}(e,r.children(),t)}var r=H(\"<div/>\").addClass(e.oClasses.paging.container+(t.type?\" paging_\"+t.type:\"\")).append(H(\"<nav>\").attr(\"aria-label\",\"pagination\").addClass(e.oClasses.paging.nav));return e.aoDrawCallback.push(n),H(e.nTable).on(\"column-sizing.dt.DT\",n),r},\"p\");var qt=0;return V.feature.register(\"pageLength\",function(r,e){var t=r.oFeatures;if(!t.bPaginate||!t.bLengthChange)return null;e=H.extend({menu:r.aLengthMenu,text:r.oLanguage.sLengthMenu},e);var t=r.oClasses.length,n=r.sTableId,a=e.menu,o=[],i=[];if(Array.isArray(a[0]))o=a[0],i=a[1];else for(p=0;p<a.length;p++)H.isPlainObject(a[p])?(o.push(a[p].value),i.push(a[p].label)):(o.push(a[p]),i.push(a[p]));for(var l=e.text.match(/_MENU_$/),s=e.text.match(/^_MENU_/),u=e.text.replace(/_MENU_/,\"\"),e=\"<label>\"+e.text+\"</label>\",s=(s?e=\"_MENU_<label>\"+u+\"</label>\":l&&(e=\"<label>\"+u+\"</label>_MENU_\"),\"tmp-\"+ +new Date),c=H(\"<div/>\").addClass(t.container).append(e.replace(\"_MENU_\",'<span id=\"'+s+'\"></span>')),d=[],f=(Array.prototype.slice.call(c.find(\"label\")[0].childNodes).forEach(function(e){e.nodeType===Node.TEXT_NODE&&d.push({el:e,text:e.textContent})}),function(t){d.forEach(function(e){e.el.textContent=ot(r,e.text,t)})}),h=H(\"<select/>\",{\"aria-controls\":n,class:t.select}),p=0;p<o.length;p++){var g=r.api.i18n(\"lengthLabels.\"+o[p],null);null===g&&(g=\"number\"==typeof i[p]?r.fnFormatNumber(i[p]):i[p]),h[0][p]=new Option(g,o[p])}return c.find(\"label\").attr(\"for\",\"dt-length-\"+qt),h.attr(\"id\",\"dt-length-\"+qt),qt++,c.find(\"#\"+s).replaceWith(h),H(\"select\",c).val(r._iDisplayLength).on(\"change.DT\",function(){Xe(r,H(this).val()),x(r)}),H(r.nTable).on(\"length.dt.DT\",function(e,t,n){r===t&&(H(\"select\",c).val(n),f(n))}),f(r._iDisplayLength),c},\"l\"),((H.fn.dataTable=V).$=H).fn.dataTableSettings=V.settings,H.fn.dataTableExt=V.ext,H.fn.DataTable=function(e){return H(this).dataTable(e).api()},H.each(V,function(e,t){H.fn.DataTable[e]=t}),V});","/*! DataTables Bootstrap 5 integration\n * © SpryMedia Ltd - datatables.net/license\n */\n!function(n){var o,r;\"function\"==typeof define&&define.amd?define([\"jquery\",\"datatables.net\"],function(t){return n(t,window,document)}):\"object\"==typeof exports?(o=require(\"jquery\"),r=function(t,e){e.fn.dataTable||require(\"datatables.net\")(t,e)},\"undefined\"==typeof window?module.exports=function(t,e){return t=t||window,e=e||o(t),r(t,e),n(e,0,t.document)}:(r(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(d,t,e){\"use strict\";var n=d.fn.dataTable;return d.extend(!0,n.defaults,{renderer:\"bootstrap\"}),d.extend(!0,n.ext.classes,{container:\"dt-container dt-bootstrap5\",search:{input:\"form-control form-control-sm\"},length:{select:\"form-select form-select-sm\"},processing:{container:\"dt-processing card\"},layout:{row:\"row mt-2 justify-content-between\",cell:\"d-md-flex justify-content-between align-items-center\",tableCell:\"col-12\",start:\"dt-layout-start col-md-auto me-auto\",end:\"dt-layout-end col-md-auto ms-auto\",full:\"dt-layout-full col-md\"}}),n.ext.renderer.pagingButton.bootstrap=function(t,e,n,o,r){var a=[\"dt-paging-button\",\"page-item\"],o=(o&&a.push(\"active\"),r&&a.push(\"disabled\"),d(\"<li>\").addClass(a.join(\" \")));return{display:o,clicker:d(\"<button>\",{class:\"page-link\",role:\"link\",type:\"button\"}).html(n).appendTo(o)}},n.ext.renderer.pagingContainer.bootstrap=function(t,e){return d(\"<ul/>\").addClass(\"pagination\").append(e)},n});","/*! Select for DataTables 3.0.0\n * © SpryMedia Ltd - datatables.net/license/mit\n */\n!function(s){var l,c;\"function\"==typeof define&&define.amd?define([\"jquery\",\"datatables.net\"],function(e){return s(e,window,document)}):\"object\"==typeof exports?(l=require(\"jquery\"),c=function(e,t){t.fn.dataTable||require(\"datatables.net\")(e,t)},\"undefined\"==typeof window?module.exports=function(e,t){return e=e||window,t=t||l(e),c(e,t),s(t,e,e.document)}:(c(window,l),module.exports=s(l,window,window.document))):s(jQuery,window,document)}(function(m,i,a){\"use strict\";var v=m.fn.dataTable;function r(n,e,t){function s(t,s){s<t&&(e=s,s=t,t=e);var e,l=!1;return n.columns(\":visible\").indexes().filter(function(e){return e===t&&(l=!0),e===s?!(l=!1):l})}function l(t,s){var e,l=n.rows({search:\"applied\"}).indexes(),c=(l.indexOf(t)>l.indexOf(s)&&(e=s,s=t,t=e),!1);return l.filter(function(e){return e===t&&(c=!0),e===s?!(c=!1):c})}var c,t=n.cells({selected:!0}).any()||t?(c=s(t.column,e.column),l(t.row,e.row)):(c=s(0,e.column),l(0,e.row)),t=n.cells(t,c).flatten();n.cells(e,{selected:!0}).any()?n.cells(t).deselect():n.cells(t).select()}function w(e){var t=v.select.classes.checkbox;return e?t.replace(/ /g,\".\"):t}function n(e){var t=e.settings()[0]._select.selector;m(e.table().container()).off(\"mousedown.dtSelect\",t).off(\"mouseup.dtSelect\",t).off(\"click.dtSelect\",t),m(\"body\").off(\"click.dtSelect\"+b(e.table().node()))}function c(o){var a,t=m(o.table().container()),s=o.settings()[0],l=s._select.selector;t.on(\"mousedown.dtSelect\",l,function(e){(e.shiftKey||e.metaKey||e.ctrlKey)&&t.css(\"-moz-user-select\",\"none\").one(\"selectstart.dtSelect\",l,function(){return!1}),i.getSelection&&(a=i.getSelection())}).on(\"mouseup.dtSelect\",l,function(){t.css(\"-moz-user-select\",\"\")}).on(\"click.dtSelect\",l,function(e){var t,s=o.select.items();if(a){var l=i.getSelection();if((!l.anchorNode||m(l.anchorNode).closest(\"table\")[0]===o.table().node())&&l!==a)return}var c,l=o.settings()[0],n=o.table().container();m(e.target).closest(\"div.dt-container\")[0]==n&&(n=o.cell(m(e.target).closest(\"td, th\"))).any()&&(c=m.Event(\"user-select.dt\"),u(o,c,[s,n,e]),c.isDefaultPrevented()||(c=n.index(),\"row\"===s?(t=c.row,p(e,o,l,\"row\",t)):\"column\"===s?(t=n.index().column,p(e,o,l,\"column\",t)):\"cell\"===s&&(t=n.index(),p(e,o,l,\"cell\",t)),l._select_lastCell=c))}),m(\"body\").on(\"click.dtSelect\"+b(o.table().node()),function(e){var t;!s._select.blurable||m(e.target).parents().filter(o.table().container()).length||0===m(e.target).parents(\"html\").length||m(e.target).parents(\"div.DTE\").length||(t=m.Event(\"select-blur.dt\"),u(o,t,[e.target,e]),t.isDefaultPrevented())||_(s,!0)})}function u(e,t,s,l){l&&!e.flatten().length||(\"string\"==typeof t&&(t+=\".dt\"),s.unshift(e),m(e.table().node()).trigger(t,s))}function g(e){return e.mRender&&\"selectCheckbox\"===e.mRender._name}function l(l,e){var t,s,c,n,o;\"api\"!==l.select.style()&&!1!==l.select.info()&&(o=(n=(c=l.settings()[0])._select_set.length)||l.rows({selected:!0}).count(),t=l.columns({selected:!0}).count(),s=l.cells({selected:!0}).count(),\"subtractive\"===c._select_mode&&(o=l.page.info().recordsDisplay-n),c=function(e,t,s){e.append(m('<span class=\"select-item\"/>').append(l.i18n(\"select.\"+t+\"s\",{_:\"%d \"+t+\"s selected\",0:\"\",1:\"1 \"+t+\" selected\"},s)))},n=m(e),c(e=m('<span class=\"select-info\"/>'),\"row\",o),c(e,\"column\",t),c(e,\"cell\",s),(o=n.children(\"span.select-info\")).length&&o.remove(),\"\"!==e.text())&&n.append(e)}function d(e){var t=e.page.info();t.page<t.pages-1&&e.one(\"draw\",function(){e.row(\":first-child\").node().focus()}).page(\"next\").draw(!1)}function f(e){0<e.page.info().page&&e.one(\"draw\",function(){e.row(\":last-child\").node().focus()}).page(\"previous\").draw(!1)}function o(o){var c,a=new v.Api(o);o._select_init=!0,o._select_mode=\"additive\",o._select_set=[],o.aoRowCreatedCallback.push(function(e,t,s){var l,c,n=o.aoData[s],s=a.row(s).id();for((n._select_selected||\"additive\"===o._select_mode&&o._select_set.includes(s)||\"subtractive\"===o._select_mode&&!o._select_set.includes(s))&&(n._select_selected=!0,m(e).addClass(o._select.className).find(\"input.\"+w(!0)).prop(\"checked\",!0)),l=0,c=o.aoColumns.length;l<c;l++)(o.aoColumns[l]._select_selected||n._selected_cells&&n._selected_cells[l])&&m(n.anCells[l]).addClass(o._select.className)}),(c=a).on(\"select\",function(e,t,s,l){\"row\"===s&&(\"additive\"===(s=c.settings()[0])._select_mode?y:x)(c,s._select_set,l)}),c.on(\"deselect\",function(e,t,s,l){\"row\"===s&&(\"additive\"===(s=c.settings()[0])._select_mode?x:y)(c,s._select_set,l)}),a.on(\"info.dt\",function(e,t,s){t._select.infoEls.includes(s)||t._select.infoEls.push(s),l(a,s)}),a.on(\"select.dtSelect.dt deselect.dtSelect.dt\",function(){o._select.infoEls.forEach(function(e){l(a,e)}),a.state.save()}),a.on(\"destroy.dtSelect\",function(){m(a.rows({selected:!0}).nodes()).removeClass(a.settings()[0]._select.className),m(\"input.\"+w(!0),a.table().header()).remove(),n(a),a.off(\".dtSelect\"),m(\"body\").off(\".dtSelect\"+b(a.table().node()))})}function h(e,t,s,l){var c,n=e[t+\"s\"]({search:\"applied\"}).indexes(),l=n.indexOf(l),o=n.indexOf(s);e[t+\"s\"]({selected:!0}).any()||-1!==l?(o<l&&(c=o,o=l,l=c),n.splice(o+1,n.length),n.splice(0,l)):n.splice(n.indexOf(s)+1,n.length),e[t](s,{selected:!0}).any()?(n.splice(n.indexOf(s),1),e[t+\"s\"](n).deselect()):e[t+\"s\"](n).select()}function _(e,t){!t&&\"single\"!==e._select.style||((t=new v.Api(e)).rows({selected:!0}).deselect(),t.columns({selected:!0}).deselect(),t.cells({selected:!0}).deselect())}function p(e,t,s,l,c){var n=t.select.style(),o=t.select.toggleable(),a=t[l](c,{selected:!0}).any();a&&!o||(\"os\"===n?e.ctrlKey||e.metaKey?t[l](c).select(!a):e.shiftKey?\"cell\"===l?r(t,c,s._select_lastCell||null):h(t,l,c,s._select_lastCell?s._select_lastCell[l]:null):(o=t[l+\"s\"]({selected:!0}),a&&1===o.flatten().length?t[l](c).deselect():(o.deselect(),t[l](c).select())):\"multi+shift\"==n&&e.shiftKey?\"cell\"===l?r(t,c,s._select_lastCell||null):h(t,l,c,s._select_lastCell?s._select_lastCell[l]:null):t[l](c).select(!a))}function b(e){return e.id.replace(/[^a-zA-Z0-9\\-\\_]/g,\"-\")}function y(e,t,s){for(var l=0;l<s.length;l++){var c=e.row(s[l]).id();c&&\"undefined\"!==c&&!t.includes(c)&&t.push(c)}}function x(e,t,s){for(var l=0;l<s.length;l++){var c=e.row(s[l]).id(),c=t.indexOf(c);-1!==c&&t.splice(c,1)}}v.select={},v.select.classes={checkbox:\"dt-select-checkbox\"},v.select.version=\"3.0.0\",v.select.init=function(o){var e,t,s,l,c,n,a,i,r,u,d,f,h,_,p=o.settings()[0];if(!v.versionCheck(\"2\"))throw\"Warning: Select requires DataTables 2 or newer\";!p._select&&(e=o.state.loaded(),t=function(e,t,s){if(null!==s&&void 0!==s.select){if(o.rows({selected:!0}).any()&&o.rows().deselect(),void 0!==s.select.rows&&o.rows(s.select.rows).select(),o.columns({selected:!0}).any()&&o.columns().deselect(),void 0!==s.select.columns&&o.columns(s.select.columns).select(),o.cells({selected:!0}).any()&&o.cells().deselect(),void 0!==s.select.cells)for(var l=0;l<s.select.cells.length;l++)o.cell(s.select.cells[l].row,s.select.cells[l].column).select();o.state.save()}},o.on(\"stateSaveParams\",function(e,t,s){s.select={},s.select.rows=o.rows({selected:!0}).ids(!0).toArray(),s.select.columns=o.columns({selected:!0})[0],s.select.cells=o.cells({selected:!0})[0].map(function(e){return{row:o.row(e.row).id(!0),column:e.column}})}).on(\"stateLoadParams\",t).one(\"init\",function(){t(0,0,e)}),l=p.oInit.select,s=v.defaults.select,s=void 0===l?s:l,l=\"row\",a=!(n=!(c=\"api\")),u=\"td, th\",d=\"selected\",_=h=!(f=r=!(i=null)),p._select={infoEls:[]},!0===s?(c=\"os\",h=!0):\"string\"==typeof s?(c=s,h=!0):m.isPlainObject(s)&&(void 0!==s.blurable&&(n=s.blurable),void 0!==s.toggleable&&(a=s.toggleable),void 0!==s.info&&(r=s.info),void 0!==s.items&&(l=s.items),h=(c=void 0!==s.style?s.style:\"os\",!0),void 0!==s.selector&&(u=s.selector),void 0!==s.className&&(d=s.className),void 0!==s.headerCheckbox&&(f=s.headerCheckbox),void 0!==s.selectable&&(i=s.selectable),void 0!==s.keys)&&(_=s.keys),o.select.selector(u),o.select.items(l),o.select.style(c),o.select.blurable(n),o.select.toggleable(a),o.select.info(r),o.select.keys(_),o.select.selectable(i),p._select.className=d,!h&&m(o.table().node()).hasClass(\"selectable\")&&o.select.style(\"os\"),f||\"select-page\"===f||\"select-all\"===f)&&o.ready(function(){var c,n,s;n=f,s=(c=o).settings()[0].aoColumns,c.columns().iterator(\"column\",function(e,t){var l;g(s[t])&&(t=c.column(t).header(),m(\"input\",t).length||(l=m(\"<input>\").attr({class:w(!0),type:\"checkbox\",\"aria-label\":c.i18n(\"select.aria.headerCheckbox\")||\"Select all rows\"}).appendTo(t).on(\"change\",function(){this.checked?(\"select-page\"==n?c.rows({page:\"current\"}):c.rows({search:\"applied\"})).select():(\"select-page\"==n?c.rows({page:\"current\",selected:!0}):c.rows({selected:!0})).deselect()}).on(\"click\",function(e){e.stopPropagation()}),c.on(\"draw select deselect\",function(e,t,s){\"row\"!==s&&s||((s=function(e,t){var s=e.settings()[0],l=s._select.selectable,c=0,n=(\"select-page\"==t?e.rows({page:\"current\",selected:!0}):e.rows({selected:!0})).count(),o=(\"select-page\"==t?e.rows({page:\"current\",selected:!0}):e.rows({search:\"applied\",selected:!0})).count();if(l)for(var a=(\"select-page\"==t?e.rows({page:\"current\"}):e.rows({search:\"applied\"})).indexes(),i=0;i<a.length;i++){var r=s.aoData[a[i]];l(r._aData,r.nTr,a[i])&&c++}else c=(\"select-page\"==t?e.rows({page:\"current\"}):e.rows({search:\"applied\"})).count();return{available:c,count:n,search:o}}(c,n)).search&&s.search<=s.count&&s.search===s.available?l.prop(\"checked\",!0).prop(\"indeterminate\",!1):0===s.search&&0===s.count?l.prop(\"checked\",!1).prop(\"indeterminate\",!1):l.prop(\"checked\",!1).prop(\"indeterminate\",!0))})))})})},m.each([{type:\"row\",prop:\"aoData\"},{type:\"column\",prop:\"aoColumns\"}],function(e,i){v.ext.selector[i.type].push(function(e,t,s){var l,c=t.selected,n=[];if(!0!==c&&!1!==c)return s;for(var o=0,a=s.length;o<a;o++)(l=e[i.prop][s[o]])&&(!0===c&&!0===l._select_selected||!1===c&&!l._select_selected)&&n.push(s[o]);return n})}),v.ext.selector.cell.push(function(e,t,s){var l,c=t.selected,n=[];if(void 0===c)return s;for(var o=0,a=s.length;o<a;o++)(l=e.aoData[s[o].row])&&(!0===c&&l._selected_cells&&!0===l._selected_cells[s[o].column]||!1===c&&(!l._selected_cells||!l._selected_cells[s[o].column]))&&n.push(s[o]);return n});var e=v.Api.register,t=v.Api.registerPlural;function s(t,s){return function(e){return e.i18n(\"buttons.\"+t,s)}}function C(e){e=e._eventNamespace;return\"draw.dt.DT\"+e+\" select.dt.DT\"+e+\" deselect.dt.DT\"+e}e(\"select()\",function(){return this.iterator(\"table\",function(e){v.select.init(new v.Api(e))})}),e(\"select.blurable()\",function(t){return void 0===t?this.context[0]._select.blurable:this.iterator(\"table\",function(e){e._select.blurable=t})}),e(\"select.toggleable()\",function(t){return void 0===t?this.context[0]._select.toggleable:this.iterator(\"table\",function(e){e._select.toggleable=t})}),e(\"select.info()\",function(t){return void 0===t?this.context[0]._select.info:this.iterator(\"table\",function(e){e._select.info=t})}),e(\"select.items()\",function(t){return void 0===t?this.context[0]._select.items:this.iterator(\"table\",function(e){e._select.items=t,u(new v.Api(e),\"selectItems\",[t])})}),e(\"select.keys()\",function(s){return void 0===s?this.context[0]._select.keys:this.iterator(\"table\",function(e){var o,t;e._select||v.select.init(new v.Api(e)),e._select.keys=s,o=new v.Api(e),t=(e=o.settings()[0])._select.keys,e=\"dts-keys-\"+e.sTableId,t?(m(o.rows({page:\"current\"}).nodes()).attr(\"tabindex\",0),o.on(\"draw.\"+e,function(){m(o.rows({page:\"current\"}).nodes()).attr(\"tabindex\",0)}),m(a).on(\"keydown.\"+e,function(e){var t,s,l,c=e.keyCode,n=a.activeElement;[9,13,32,38,40].includes(c)&&(l=!0,-1!==(s=(t=o.rows({page:\"current\"}).nodes().toArray()).indexOf(n)))&&(9===c?!1===e.shift&&s===t.length-1?d(o):!0===e.shift&&0===s?f(o):l=!1:13===c||32===c?(n=o.row(n)).selected()?n.deselect():n.select():38===c?0<s?t[s-1].focus():f(o):s<t.length-1?t[s+1].focus():d(o),l)&&(e.stopPropagation(),e.preventDefault())})):(m(o.rows().nodes()).removeAttr(\"tabindex\"),o.off(\"draw.\"+e),m(a).off(\"keydown.\"+e))})}),e(\"select.style()\",function(s){return void 0===s?this.context[0]._select.style:this.iterator(\"table\",function(e){e._select||v.select.init(new v.Api(e)),e._select_init||o(e),e._select.style=s;var t=new v.Api(e);\"api\"!==s?t.ready(function(){n(t),c(t)}):n(t),u(new v.Api(e),\"selectStyle\",[s])})}),e(\"select.selector()\",function(l){return void 0===l?this.context[0]._select.selector:this.iterator(\"table\",function(e){var t=new v.Api(e),s=e._select.style;n(t),e._select.selector=l,s&&\"api\"!==s?t.ready(function(){n(t),c(t)}):n(t)})}),e(\"select.selectable()\",function(e){var t=this.context[0];return e?(t._select.selectable=e,this):t._select.selectable}),e(\"select.last()\",function(e){var t=this.context[0];return e?(t._select_lastCell=e,this):t._select_lastCell}),e(\"select.cumulative()\",function(l){var e;return l?this.iterator(\"table\",function(e){var t,s;e._select_mode!==l&&(t=new v.Api(e),\"subtractive\"===l?(s=t.rows({selected:!1}).ids().toArray(),e._select_mode=l,e._select_set.length=0,e._select_set.push.apply(e._select_set,s)):(s=t.rows({selected:!0}).ids().toArray(),e._select_mode=l,e._select_set.length=0,e._select_set.push.apply(e._select_set,s)))}).draw(!1):(e=this.context[0])&&e._select_set?{mode:e._select_mode,rows:e._select_set}:null}),t(\"rows().select()\",\"row().select()\",function(e){var o=this,a=[];return!1===e?this.deselect():(this.iterator(\"row\",function(e,t){_(e);var s=e.aoData[t],l=e.aoColumns;if(e._select.selectable&&!1===e._select.selectable(s._aData,s.nTr,t))return;m(s.nTr).addClass(e._select.className),s._select_selected=!0,a.push(t);for(var c=0;c<l.length;c++){var n=l[c];null===n.sType&&o.columns().types(),g(n)&&((n=s.anCells)&&n[c]&&m(\"input.\"+w(!0),n[c]).prop(\"checked\",!0),null!==s._aSortData)&&(s._aSortData[c]=null)}}),this.iterator(\"table\",function(e){u(o,\"select\",[\"row\",a],!0)}),this)}),e(\"row().selected()\",function(){var e=this.context[0];return!!(e&&this.length&&e.aoData[this[0]]&&e.aoData[this[0]]._select_selected)}),e(\"row().focus()\",function(){var e=this.context[0];e&&this.length&&e.aoData[this[0]]&&e.aoData[this[0]].nTr&&e.aoData[this[0]].nTr.focus()}),e(\"row().blur()\",function(){var e=this.context[0];e&&this.length&&e.aoData[this[0]]&&e.aoData[this[0]].nTr&&e.aoData[this[0]].nTr.blur()}),t(\"columns().select()\",\"column().select()\",function(e){var s=this;return!1===e?this.deselect():(this.iterator(\"column\",function(e,t){_(e),e.aoColumns[t]._select_selected=!0;t=new v.Api(e).column(t);m(t.header()).addClass(e._select.className),m(t.footer()).addClass(e._select.className),t.nodes().to$().addClass(e._select.className)}),this.iterator(\"table\",function(e,t){u(s,\"select\",[\"column\",s[t]],!0)}),this)}),e(\"column().selected()\",function(){var e=this.context[0];return!!(e&&this.length&&e.aoColumns[this[0]]&&e.aoColumns[this[0]]._select_selected)}),t(\"cells().select()\",\"cell().select()\",function(e){var s=this;return!1===e?this.deselect():(this.iterator(\"cell\",function(e,t,s){_(e);t=e.aoData[t];void 0===t._selected_cells&&(t._selected_cells=[]),t._selected_cells[s]=!0,t.anCells&&m(t.anCells[s]).addClass(e._select.className)}),this.iterator(\"table\",function(e,t){u(s,\"select\",[\"cell\",s.cells(s[t]).indexes().toArray()],!0)}),this)}),e(\"cell().selected()\",function(){var e=this.context[0];if(e&&this.length){e=e.aoData[this[0][0].row];if(e&&e._selected_cells&&e._selected_cells[this[0][0].column])return!0}return!1}),t(\"rows().deselect()\",\"row().deselect()\",function(){var o=this;return this.iterator(\"row\",function(e,t){var s=e.aoData[t],l=e.aoColumns;m(s.nTr).removeClass(e._select.className),s._select_selected=!1,e._select_lastCell=null;for(var c=0;c<l.length;c++){var n=l[c];null===n.sType&&o.columns().types(),g(n)&&((n=s.anCells)&&n[c]&&m(\"input.\"+w(!0),s.anCells[c]).prop(\"checked\",!1),null!==s._aSortData)&&(s._aSortData[c]=null)}}),this.iterator(\"table\",function(e,t){u(o,\"deselect\",[\"row\",o[t]],!0)}),this}),t(\"columns().deselect()\",\"column().deselect()\",function(){var s=this;return this.iterator(\"column\",function(l,e){l.aoColumns[e]._select_selected=!1;var t=new v.Api(l),s=t.column(e);m(s.header()).removeClass(l._select.className),m(s.footer()).removeClass(l._select.className),t.cells(null,e).indexes().each(function(e){var t=l.aoData[e.row],s=t._selected_cells;!t.anCells||s&&s[e.column]||m(t.anCells[e.column]).removeClass(l._select.className)})}),this.iterator(\"table\",function(e,t){u(s,\"deselect\",[\"column\",s[t]],!0)}),this}),t(\"cells().deselect()\",\"cell().deselect()\",function(){var s=this;return this.iterator(\"cell\",function(e,t,s){t=e.aoData[t];void 0!==t._selected_cells&&(t._selected_cells[s]=!1),t.anCells&&!e.aoColumns[s]._select_selected&&m(t.anCells[s]).removeClass(e._select.className)}),this.iterator(\"table\",function(e,t){u(s,\"deselect\",[\"cell\",s[t]],!0)}),this});var k=0;return m.extend(v.ext.buttons,{selected:{text:s(\"selected\",\"Selected\"),className:\"buttons-selected\",limitTo:[\"rows\",\"columns\",\"cells\"],init:function(s,e,l){var c=this;l._eventNamespace=\".select\"+k++,s.on(C(l),function(){var e,t;c.enable((e=s,!(-1===(t=l).limitTo.indexOf(\"rows\")||!e.rows({selected:!0}).any())||!(-1===t.limitTo.indexOf(\"columns\")||!e.columns({selected:!0}).any())||!(-1===t.limitTo.indexOf(\"cells\")||!e.cells({selected:!0}).any())))}),this.disable()},destroy:function(e,t,s){e.off(s._eventNamespace)}},selectedSingle:{text:s(\"selectedSingle\",\"Selected single\"),className:\"buttons-selected-single\",init:function(t,e,s){var l=this;s._eventNamespace=\".select\"+k++,t.on(C(s),function(){var e=t.rows({selected:!0}).flatten().length+t.columns({selected:!0}).flatten().length+t.cells({selected:!0}).flatten().length;l.enable(1===e)}),this.disable()},destroy:function(e,t,s){e.off(s._eventNamespace)}},selectAll:{text:s(\"selectAll\",\"Select all\"),className:\"buttons-select-all\",action:function(e,t,s,l){var c=this.select.items(),n=l.selectorModifier;(n?(\"function\"==typeof n&&(n=n.call(t,e,t,s,l)),this[c+\"s\"](n)):this[c+\"s\"]()).select()}},selectNone:{text:s(\"selectNone\",\"Deselect all\"),className:\"buttons-select-none\",action:function(){_(this.settings()[0],!0)},init:function(t,e,s){var l=this;s._eventNamespace=\".select\"+k++,t.on(C(s),function(){var e=t.rows({selected:!0}).flatten().length+t.columns({selected:!0}).flatten().length+t.cells({selected:!0}).flatten().length;l.enable(0<e)}),this.disable()},destroy:function(e,t,s){e.off(s._eventNamespace)}},showSelected:{text:s(\"showSelected\",\"Show only selected\"),className:\"buttons-show-selected\",action:function(e,t){var l;t.search.fixed(\"dt-select\")?(t.search.fixed(\"dt-select\",null),this.active(!1)):(l=t.settings()[0].aoData,t.search.fixed(\"dt-select\",function(e,t,s){return l[s]._select_selected}),this.active(!0)),t.draw()}}}),m.each([\"Row\",\"Column\",\"Cell\"],function(e,t){var c=t.toLowerCase();v.ext.buttons[\"select\"+t+\"s\"]={text:s(\"select\"+t+\"s\",\"Select \"+c+\"s\"),className:\"buttons-select-\"+c+\"s\",action:function(){this.select.items(c)},init:function(e){var l=this;this.active(e.select.items()===c),e.on(\"selectItems.dt.DT\",function(e,t,s){l.active(s===c)})}}}),v.type(\"select-checkbox\",{className:\"dt-select\",detect:v.versionCheck(\"2.1\")?{oneOf:function(){return!1},allOf:function(){return!1},init:function(e,t,s){return g(t)}}:function(e){return\"select-checkbox\"===e&&e},order:{pre:function(e){return\"X\"===e?-1:0}}}),m.extend(!0,v.defaults.oLanguage,{select:{aria:{rowCheckbox:\"Select row\"}}}),v.render.select=function(e,t){function s(e,t,s,l){var c=l.settings.aoData[l.row],n=c._select_selected,o=l.settings.oLanguage.select.aria.rowCheckbox,a=l.settings._select.selectable;return\"display\"!==t?\"type\"===t?\"select-checkbox\":\"filter\"!==t&&n?\"X\":\"\":a&&!1===a(s,c.nTr,l.row)?\"\":m(\"<input>\").attr({\"aria-label\":o,class:w(),name:r?r(s):null,type:\"checkbox\",value:i?i(s):null,checked:n}).on(\"input\",function(e){e.preventDefault(),this.checked=m(this).closest(\"tr\").hasClass(\"selected\")})[0]}var i=e?v.util.get(e):null,r=t?v.util.get(t):null;return s._name=\"selectCheckbox\",s},v.ext.order[\"select-checkbox\"]=function(t,e){return this.api().column(e,{order:\"index\"}).nodes().map(function(e){return\"row\"===t._select.items?m(e).parent().hasClass(t._select.className).toString():\"cell\"===t._select.items&&m(e).hasClass(t._select.className).toString()})},m.fn.DataTable.select=v.select,m(a).on(\"i18n.dt.dtSelect preInit.dt.dtSelect\",function(e,t){\"dt\"===e.namespace&&v.select.init(new v.Api(t))}),v});","/*! Bootstrap 5 styling wrapper for Select\n * © SpryMedia Ltd - datatables.net/license\n */\n!function(n){var o,d;\"function\"==typeof define&&define.amd?define([\"jquery\",\"datatables.net-bs5\",\"datatables.net-select\"],function(e){return n(e,window,document)}):\"object\"==typeof exports?(o=require(\"jquery\"),d=function(e,t){t.fn.dataTable||require(\"datatables.net-bs5\")(e,t),t.fn.dataTable.select||require(\"datatables.net-select\")(e,t)},\"undefined\"==typeof window?module.exports=function(e,t){return e=e||window,t=t||o(e),d(e,t),n(t,0,e.document)}:(d(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(e,t,n){\"use strict\";e=e.fn.dataTable;return e.select.classes.checkbox=\"form-check-input\",e});","/*! FixedColumns 5.0.4\n * © SpryMedia Ltd - datatables.net/license\n */\n!function(s){var i,o;\"function\"==typeof define&&define.amd?define([\"jquery\",\"datatables.net\"],function(t){return s(t,window,document)}):\"object\"==typeof exports?(i=require(\"jquery\"),o=function(t,e){e.fn.dataTable||require(\"datatables.net\")(t,e)},\"undefined\"==typeof window?module.exports=function(t,e){return t=t||window,e=e||i(t),o(t,e),s(e,0,t.document)}:(o(window,i),module.exports=s(i,window,window.document))):s(jQuery,window,document)}(function(o,t,e){\"use strict\";var h,l,s,i,n=o.fn.dataTable;function d(t,e){var s,i=this;if(l&&l.versionCheck&&l.versionCheck(\"2\"))return t=new l.Api(t),this.classes=h.extend(!0,{},d.classes),this.c=h.extend(!0,{},d.defaults,e),this.s={dt:t,rtl:\"rtl\"===h(t.table().node()).css(\"direction\")},e&&void 0!==e.leftColumns&&(e.left=e.leftColumns),e&&void 0!==e.left&&(this.c[this.s.rtl?\"end\":\"start\"]=e.left),e&&void 0!==e.rightColumns&&(e.right=e.rightColumns),e&&void 0!==e.right&&(this.c[this.s.rtl?\"start\":\"end\"]=e.right),this.dom={bottomBlocker:h(\"<div>\").addClass(this.classes.bottomBlocker),topBlocker:h(\"<div>\").addClass(this.classes.topBlocker),scroller:h(\"div.dt-scroll-body\",this.s.dt.table().container())},this.s.dt.settings()[0]._bInitComplete?(this._addStyles(),this._setKeyTableListener()):t.one(\"init.dt.dtfc\",function(){i._addStyles(),i._setKeyTableListener()}),t.on(\"column-sizing.dt.dtfc column-reorder.dt.dtfc draw.dt.dtfc\",function(){return i._addStyles()}),s=l.util.debounce(function(){i._addStyles()},50),t.on(\"column-visibility.dt.dtfc\",function(){s()}),this.dom.scroller.on(\"scroll.dtfc\",function(){return i._scroll()}),this._scroll(),t.settings()[0]._fixedColumns=this,t.on(\"destroy\",function(){return i._destroy()}),this;throw new Error(\"FixedColumns requires DataTables 2 or newer\")}function r(t,e){void 0===e&&(e=null);t=new n.Api(t),e=e||t.init().fixedColumns||n.defaults.fixedColumns;new s(t,e)}return d.prototype.end=function(t){return void 0!==t?(0<=t&&t<=this.s.dt.columns().count()&&(this.c.end=t,this._addStyles()),this):this.c.end},d.prototype.left=function(t){return this.s.rtl?this.end(t):this.start(t)},d.prototype.right=function(t){return this.s.rtl?this.start(t):this.end(t)},d.prototype.start=function(t){return void 0!==t?(0<=t&&t<=this.s.dt.columns().count()&&(this.c.start=t,this._addStyles()),this):this.c.start},d.prototype._addStyles=function(){var s=this.s.dt,i=this,o=this.s.dt.columns(\":visible\").count(),l=s.table().header.structure(\":visible\"),n=s.table().footer.structure(\":visible\"),d=s.columns(\":visible\").widths().toArray(),t=h(s.table().node()).closest(\"div.dt-scroll\"),e=h(s.table().node()).closest(\"div.dt-scroll-body\")[0],r=this.s.rtl,c=this.c.start,a=this.c.end,f=r?a:c,r=r?c:a,u=s.settings()[0].oBrowser.barWidth;if(0===t.length)return this;e.offsetWidth===e.clientWidth&&(u=0),s.columns().every(function(t){var e,t=s.column.index(\"toVisible\",t);null!==t&&(t<c?(e=i._sum(d,t),i._fixColumn(t,e,\"start\",l,n,u)):o-a<=t?(e=i._sum(d,o-t-1,!0),i._fixColumn(t,e,\"end\",l,n,u)):i._fixColumn(t,0,\"none\",l,n,u))}),h(s.table().node()).toggleClass(i.classes.tableFixedStart,0<c).toggleClass(i.classes.tableFixedEnd,0<a).toggleClass(i.classes.tableFixedLeft,0<f).toggleClass(i.classes.tableFixedRight,0<r);e=s.table().header(),f=s.table().footer(),r=h(e).outerHeight(),e=h(f).outerHeight();this.dom.topBlocker.appendTo(t).css(\"top\",0).css(this.s.rtl?\"left\":\"right\",0).css(\"height\",r).css(\"width\",u+1).css(\"display\",u?\"block\":\"none\"),f&&this.dom.bottomBlocker.appendTo(t).css(\"bottom\",0).css(this.s.rtl?\"left\":\"right\",0).css(\"height\",e).css(\"width\",u+1).css(\"display\",u?\"block\":\"none\")},d.prototype._destroy=function(){this.s.dt.off(\".dtfc\"),this.dom.scroller.off(\".dtfc\"),h(this.s.dt.table().node()).removeClass(this.classes.tableScrollingEnd+\" \"+this.classes.tableScrollingLeft+\" \"+this.classes.tableScrollingStart+\" \"+this.classes.tableScrollingRight),this.dom.bottomBlocker.remove(),this.dom.topBlocker.remove()},d.prototype._fixColumn=function(e,o,l,t,s,n){function i(t,e){var s,i;\"none\"===l?t.css(\"position\",\"\").css(\"left\",\"\").css(\"right\",\"\").removeClass(d.classes.fixedEnd+\" \"+d.classes.fixedLeft+\" \"+d.classes.fixedRight+\" \"+d.classes.fixedStart):(s=\"start\"===l?\"left\":\"right\",d.s.rtl&&(s=\"start\"===l?\"right\":\"left\"),i=o,\"end\"!==l||\"header\"!==e&&\"footer\"!==e||(i+=n),t.css(\"position\",\"sticky\").css(s,i).addClass(\"start\"===l?d.classes.fixedStart:d.classes.fixedEnd).addClass(\"left\"===s?d.classes.fixedLeft:d.classes.fixedRight))}var d=this,r=this.s.dt;t.forEach(function(t){t[e]&&i(h(t[e].cell),\"header\")}),i(r.column(e+\":visible\",{page:\"current\"}).nodes().to$(),\"body\"),s&&s.forEach(function(t){t[e]&&i(h(t[e].cell),\"footer\")})},d.prototype._scroll=function(){var t,e,s,i,o=this.dom.scroller[0];o&&(t=h(this.s.dt.table().node()).add(this.s.dt.table().header().parentNode).add(this.s.dt.table().footer().parentNode).add(\"div.dt-scroll-headInner table\",this.s.dt.table().container()).add(\"div.dt-scroll-footInner table\",this.s.dt.table().container()),e=o.scrollLeft,s=!this.s.rtl,i=0!==e,o=o.scrollWidth>o.clientWidth+Math.abs(e)+1,t.toggleClass(this.classes.tableScrollingStart,i),t.toggleClass(this.classes.tableScrollingEnd,o),t.toggleClass(this.classes.tableScrollingLeft,i&&s||o&&!s),t.toggleClass(this.classes.tableScrollingRight,o&&s||i&&!s))},d.prototype._setKeyTableListener=function(){var c=this;this.s.dt.on(\"key-focus.dt.dtfc\",function(t,e,s){var i,o,l,n=h(s.node()).offset(),d=c.dom.scroller[0],r=h(h(c.s.dt.table().node()).closest(\"div.dt-scroll-body\"));0<c.c.start&&(l=(o=h(c.s.dt.column(c.c.start-1).header())).offset(),o=o.outerWidth(),h(s.node()).hasClass(c.classes.fixedLeft)?r.scrollLeft(0):n.left<l.left+o&&(i=r.scrollLeft(),r.scrollLeft(i-(l.left+o-n.left)))),0<c.c.end&&(l=c.s.dt.columns().data().toArray().length,o=h(s.node()).outerWidth(),l=h(c.s.dt.column(l-c.c.end).header()).offset(),h(s.node()).hasClass(c.classes.fixedRight)?r.scrollLeft(d.scrollWidth-d.clientWidth):n.left+o>l.left&&(i=r.scrollLeft(),r.scrollLeft(i-(l.left-(n.left+o)))))})},d.prototype._sum=function(t,e,s){return(t=(s=void 0===s?!1:s)?t.slice().reverse():t).slice(0,e).reduce(function(t,e){return t+e},0)},d.version=\"5.0.4\",d.classes={bottomBlocker:\"dtfc-bottom-blocker\",fixedEnd:\"dtfc-fixed-end\",fixedLeft:\"dtfc-fixed-left\",fixedRight:\"dtfc-fixed-right\",fixedStart:\"dtfc-fixed-start\",tableFixedEnd:\"dtfc-has-end\",tableFixedLeft:\"dtfc-has-left\",tableFixedRight:\"dtfc-has-right\",tableFixedStart:\"dtfc-has-start\",tableScrollingEnd:\"dtfc-scrolling-end\",tableScrollingLeft:\"dtfc-scrolling-left\",tableScrollingRight:\"dtfc-scrolling-right\",tableScrollingStart:\"dtfc-scrolling-start\",topBlocker:\"dtfc-top-blocker\"},d.defaults={i18n:{button:\"FixedColumns\"},start:1,end:0},s=d,l=(h=o).fn.dataTable,o.fn.dataTable.FixedColumns=s,o.fn.DataTable.FixedColumns=s,(i=n.Api.register)(\"fixedColumns()\",function(){return this}),i(\"fixedColumns().start()\",function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.start(t),this):e._fixedColumns.start()}),i(\"fixedColumns().end()\",function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.end(t),this):e._fixedColumns.end()}),i(\"fixedColumns().left()\",function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.left(t),this):e._fixedColumns.left()}),i(\"fixedColumns().right()\",function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.right(t),this):e._fixedColumns.right()}),n.ext.buttons.fixedColumns={action:function(t,e,s,i){o(s).attr(\"active\")?(o(s).removeAttr(\"active\").removeClass(\"active\"),e.fixedColumns().start(0),e.fixedColumns().end(0)):(o(s).attr(\"active\",\"true\").addClass(\"active\"),e.fixedColumns().start(i.config.start),e.fixedColumns().end(i.config.end))},config:{start:1,end:0},init:function(t,e,s){void 0===t.settings()[0]._fixedColumns&&r(t.settings(),s),o(e).attr(\"active\",\"true\").addClass(\"active\"),t.button(e).text(s.text||t.i18n(\"buttons.fixedColumns\",t.settings()[0]._fixedColumns.c.i18n.button))},text:null},o(e).on(\"plugin-init.dt\",function(t,e){\"dt\"!==t.namespace||!e.oInit.fixedColumns&&!n.defaults.fixedColumns||e._fixedColumns||r(e,null)}),n});","/*! Bootstrap 5 integration for DataTables' FixedColumns\n * © SpryMedia Ltd - datatables.net/license\n */\n!function(t){var d,o;\"function\"==typeof define&&define.amd?define([\"jquery\",\"datatables.net-bs5\",\"datatables.net-fixedcolumns\"],function(e){return t(e,window,document)}):\"object\"==typeof exports?(d=require(\"jquery\"),o=function(e,n){n.fn.dataTable||require(\"datatables.net-bs5\")(e,n),n.fn.dataTable.FixedColumns||require(\"datatables.net-fixedcolumns\")(e,n)},\"undefined\"==typeof window?module.exports=function(e,n){return e=e||window,n=n||d(e),o(e,n),t(n,0,e.document)}:(o(window,d),module.exports=t(d,window,window.document))):t(jQuery,window,document)}(function(e,n,t){\"use strict\";return e.fn.dataTable});","/*! RowGroup 1.5.1\n * © SpryMedia Ltd - datatables.net/license\n */\n!function(e){var n,o;\"function\"==typeof define&&define.amd?define([\"jquery\",\"datatables.net\"],function(t){return e(t,window,document)}):\"object\"==typeof exports?(n=require(\"jquery\"),o=function(t,r){r.fn.dataTable||require(\"datatables.net\")(t,r)},\"undefined\"==typeof window?module.exports=function(t,r){return t=t||window,r=r||n(t),o(t,r),e(r,0,t.document)}:(o(window,n),module.exports=e(n,window,window.document))):e(jQuery,window,document)}(function(i,t,r){\"use strict\";function a(t,r){if(!l.versionCheck||!l.versionCheck(\"1.11\"))throw\"RowGroup requires DataTables 1.11 or newer\";if(this.c=i.extend(!0,{},l.defaults.rowGroup,a.defaults,r),this.s={dt:new l.Api(t)},this.dom={},r=this.s.dt.settings()[0],t=r.rowGroup)return t;(r.rowGroup=this)._constructor()}var l=i.fn.dataTable;return i.extend(a.prototype,{dataSrc:function(t){var r;return void 0===t?this.c.dataSrc:(r=this.s.dt,this.c.dataSrc=t,i(r.table().node()).triggerHandler(\"rowgroup-datasrc.dt\",[r,t]),this)},disable:function(){return this.c.enable=!1,this},enable:function(t){return!1===t?this.disable():(this.c.enable=!0,this)},enabled:function(){return this.c.enable},_constructor:function(){var e=this,t=this.s.dt,n=t.settings()[0];t.on(\"draw.dtrg\",function(t,r){e.c.enable&&n===r&&e._draw()}),t.on(\"column-visibility.dt.dtrg responsive-resize.dt.dtrg\",function(){e._adjustColspan()}),t.on(\"destroy\",function(){t.off(\".dtrg\")})},_adjustColspan:function(){i(\"tr.\"+this.c.className,this.s.dt.table().body()).find(\"th:visible, td:visible\").attr(\"colspan\",this._colspan())},_colspan:function(){return this.s.dt.columns().visible().reduce(function(t,r){return t+r},0)},_draw:function(){var t=this.s.dt,t=this._group(0,t.rows({page:\"current\"}).indexes());this._groupDisplay(0,t)},_group:function(t,r){for(var e,n=Array.isArray(this.c.dataSrc)?this.c.dataSrc:[this.c.dataSrc],o=l.util.get(n[t]),i=this.s.dt,a=[],s=0,d=r.length;s<d;s++){var u,c=r[s];null==(u=o(i.row(c).data(),t))&&(u=this.c.emptyDataGroup),void 0!==e&&u===e||(a.push({dataPoint:u,rows:[]}),e=u),a[a.length-1].rows.push(c)}if(void 0!==n[t+1])for(s=0,d=a.length;s<d;s++)a[s].children=this._group(t+1,a[s].rows);return a},_groupDisplay:function(t,r){for(var e,n=this.s.dt,o=0,i=r.length;o<i;o++){var a,s=r[o],d=s.dataPoint,u=s.rows;this.c.startRender&&(e=this.c.startRender.call(this,n.rows(u),d,t),a=this._rowWrap(e,this.c.startClassName,t))&&a.insertBefore(n.row(u[0]).node()),this.c.endRender&&(e=this.c.endRender.call(this,n.rows(u),d,t),a=this._rowWrap(e,this.c.endClassName,t))&&a.insertAfter(n.row(u[u.length-1]).node()),s.children&&this._groupDisplay(t+1,s.children)}},_rowWrap:function(t,r,e){return null==(t=null!==t&&\"\"!==t?t:this.c.emptyDataGroup)?null:(\"object\"==typeof t&&t.nodeName&&\"tr\"===t.nodeName.toLowerCase()?i(t):t instanceof i&&t.length&&\"tr\"===t[0].nodeName.toLowerCase()?t:i(\"<tr/>\").append(i(\"<th/>\").attr(\"colspan\",this._colspan()).attr(\"scope\",\"row\").append(t))).addClass(this.c.className).addClass(r).addClass(\"dtrg-level-\"+e)}}),a.defaults={className:\"dtrg-group\",dataSrc:0,emptyDataGroup:\"No group\",enable:!0,endClassName:\"dtrg-end\",endRender:null,startClassName:\"dtrg-start\",startRender:function(t,r){return r}},a.version=\"1.5.1\",i.fn.dataTable.RowGroup=a,i.fn.DataTable.RowGroup=a,l.Api.register(\"rowGroup()\",function(){return this}),l.Api.register(\"rowGroup().disable()\",function(){return this.iterator(\"table\",function(t){t.rowGroup&&t.rowGroup.enable(!1)})}),l.Api.register(\"rowGroup().enable()\",function(r){return this.iterator(\"table\",function(t){t.rowGroup&&t.rowGroup.enable(void 0===r||r)})}),l.Api.register(\"rowGroup().enabled()\",function(){var t=this.context;return!(!t.length||!t[0].rowGroup)&&t[0].rowGroup.enabled()}),l.Api.register(\"rowGroup().dataSrc()\",function(r){return void 0===r?this.context[0].rowGroup.dataSrc():this.iterator(\"table\",function(t){t.rowGroup&&t.rowGroup.dataSrc(r)})}),i(r).on(\"preInit.dt.dtrg\",function(t,r,e){var n,o;\"dt\"===t.namespace&&(t=r.oInit.rowGroup,n=l.defaults.rowGroup,t||n)&&(o=i.extend({},n,t),!1!==t)&&new a(r,o)}),l});","/*! Bootstrap 5 styling wrapper for RowGroup\n * © SpryMedia Ltd - datatables.net/license\n */\n!function(t){var o,d;\"function\"==typeof define&&define.amd?define([\"jquery\",\"datatables.net-bs5\",\"datatables.net-rowgroup\"],function(e){return t(e,window,document)}):\"object\"==typeof exports?(o=require(\"jquery\"),d=function(e,n){n.fn.dataTable||require(\"datatables.net-bs5\")(e,n),n.fn.dataTable.RowGroup||require(\"datatables.net-rowgroup\")(e,n)},\"undefined\"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),d(e,n),t(n,0,e.document)}:(d(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t){\"use strict\";return e.fn.dataTable});","/*!\n  * Bootstrap v5.3.0 (https://getbootstrap.com/)\n  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n  */\n(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@popperjs/core')) :\n  typeof define === 'function' && define.amd ? define(['@popperjs/core'], factory) :\n  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.bootstrap = factory(global.Popper));\n})(this, (function (Popper) { 'use strict';\n\n  function _interopNamespaceDefault(e) {\n    const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });\n    if (e) {\n      for (const k in e) {\n        if (k !== 'default') {\n          const d = Object.getOwnPropertyDescriptor(e, k);\n          Object.defineProperty(n, k, d.get ? d : {\n            enumerable: true,\n            get: () => e[k]\n          });\n        }\n      }\n    }\n    n.default = e;\n    return Object.freeze(n);\n  }\n\n  const Popper__namespace = /*#__PURE__*/_interopNamespaceDefault(Popper);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap dom/data.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n  /**\n   * Constants\n   */\n\n  const elementMap = new Map();\n  const Data = {\n    set(element, key, instance) {\n      if (!elementMap.has(element)) {\n        elementMap.set(element, new Map());\n      }\n      const instanceMap = elementMap.get(element);\n\n      // make it clear we only want one instance per element\n      // can be removed later when multiple key/instances are fine to be used\n      if (!instanceMap.has(key) && instanceMap.size !== 0) {\n        // eslint-disable-next-line no-console\n        console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`);\n        return;\n      }\n      instanceMap.set(key, instance);\n    },\n    get(element, key) {\n      if (elementMap.has(element)) {\n        return elementMap.get(element).get(key) || null;\n      }\n      return null;\n    },\n    remove(element, key) {\n      if (!elementMap.has(element)) {\n        return;\n      }\n      const instanceMap = elementMap.get(element);\n      instanceMap.delete(key);\n\n      // free up element references if there are no instances left for an element\n      if (instanceMap.size === 0) {\n        elementMap.delete(element);\n      }\n    }\n  };\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/index.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n  const MAX_UID = 1000000;\n  const MILLISECONDS_MULTIPLIER = 1000;\n  const TRANSITION_END = 'transitionend';\n\n  /**\n   * Properly escape IDs selectors to handle weird IDs\n   * @param {string} selector\n   * @returns {string}\n   */\n  const parseSelector = selector => {\n    if (selector && window.CSS && window.CSS.escape) {\n      // document.querySelector needs escaping to handle IDs (html5+) containing for instance /\n      selector = selector.replace(/#([^\\s\"#']+)/g, (match, id) => `#${CSS.escape(id)}`);\n    }\n    return selector;\n  };\n\n  // Shout-out Angus Croll (https://goo.gl/pxwQGp)\n  const toType = object => {\n    if (object === null || object === undefined) {\n      return `${object}`;\n    }\n    return Object.prototype.toString.call(object).match(/\\s([a-z]+)/i)[1].toLowerCase();\n  };\n\n  /**\n   * Public Util API\n   */\n\n  const getUID = prefix => {\n    do {\n      prefix += Math.floor(Math.random() * MAX_UID);\n    } while (document.getElementById(prefix));\n    return prefix;\n  };\n  const getTransitionDurationFromElement = element => {\n    if (!element) {\n      return 0;\n    }\n\n    // Get transition-duration of the element\n    let {\n      transitionDuration,\n      transitionDelay\n    } = window.getComputedStyle(element);\n    const floatTransitionDuration = Number.parseFloat(transitionDuration);\n    const floatTransitionDelay = Number.parseFloat(transitionDelay);\n\n    // Return 0 if element or transition duration is not found\n    if (!floatTransitionDuration && !floatTransitionDelay) {\n      return 0;\n    }\n\n    // If multiple durations are defined, take the first\n    transitionDuration = transitionDuration.split(',')[0];\n    transitionDelay = transitionDelay.split(',')[0];\n    return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER;\n  };\n  const triggerTransitionEnd = element => {\n    element.dispatchEvent(new Event(TRANSITION_END));\n  };\n  const isElement = object => {\n    if (!object || typeof object !== 'object') {\n      return false;\n    }\n    if (typeof object.jquery !== 'undefined') {\n      object = object[0];\n    }\n    return typeof object.nodeType !== 'undefined';\n  };\n  const getElement = object => {\n    // it's a jQuery object or a node element\n    if (isElement(object)) {\n      return object.jquery ? object[0] : object;\n    }\n    if (typeof object === 'string' && object.length > 0) {\n      return document.querySelector(parseSelector(object));\n    }\n    return null;\n  };\n  const isVisible = element => {\n    if (!isElement(element) || element.getClientRects().length === 0) {\n      return false;\n    }\n    const elementIsVisible = getComputedStyle(element).getPropertyValue('visibility') === 'visible';\n    // Handle `details` element as its content may falsie appear visible when it is closed\n    const closedDetails = element.closest('details:not([open])');\n    if (!closedDetails) {\n      return elementIsVisible;\n    }\n    if (closedDetails !== element) {\n      const summary = element.closest('summary');\n      if (summary && summary.parentNode !== closedDetails) {\n        return false;\n      }\n      if (summary === null) {\n        return false;\n      }\n    }\n    return elementIsVisible;\n  };\n  const isDisabled = element => {\n    if (!element || element.nodeType !== Node.ELEMENT_NODE) {\n      return true;\n    }\n    if (element.classList.contains('disabled')) {\n      return true;\n    }\n    if (typeof element.disabled !== 'undefined') {\n      return element.disabled;\n    }\n    return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false';\n  };\n  const findShadowRoot = element => {\n    if (!document.documentElement.attachShadow) {\n      return null;\n    }\n\n    // Can find the shadow root otherwise it'll return the document\n    if (typeof element.getRootNode === 'function') {\n      const root = element.getRootNode();\n      return root instanceof ShadowRoot ? root : null;\n    }\n    if (element instanceof ShadowRoot) {\n      return element;\n    }\n\n    // when we don't find a shadow root\n    if (!element.parentNode) {\n      return null;\n    }\n    return findShadowRoot(element.parentNode);\n  };\n  const noop = () => {};\n\n  /**\n   * Trick to restart an element's animation\n   *\n   * @param {HTMLElement} element\n   * @return void\n   *\n   * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation\n   */\n  const reflow = element => {\n    element.offsetHeight; // eslint-disable-line no-unused-expressions\n  };\n\n  const getjQuery = () => {\n    if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {\n      return window.jQuery;\n    }\n    return null;\n  };\n  const DOMContentLoadedCallbacks = [];\n  const onDOMContentLoaded = callback => {\n    if (document.readyState === 'loading') {\n      // add listener on the first call when the document is in loading state\n      if (!DOMContentLoadedCallbacks.length) {\n        document.addEventListener('DOMContentLoaded', () => {\n          for (const callback of DOMContentLoadedCallbacks) {\n            callback();\n          }\n        });\n      }\n      DOMContentLoadedCallbacks.push(callback);\n    } else {\n      callback();\n    }\n  };\n  const isRTL = () => document.documentElement.dir === 'rtl';\n  const defineJQueryPlugin = plugin => {\n    onDOMContentLoaded(() => {\n      const $ = getjQuery();\n      /* istanbul ignore if */\n      if ($) {\n        const name = plugin.NAME;\n        const JQUERY_NO_CONFLICT = $.fn[name];\n        $.fn[name] = plugin.jQueryInterface;\n        $.fn[name].Constructor = plugin;\n        $.fn[name].noConflict = () => {\n          $.fn[name] = JQUERY_NO_CONFLICT;\n          return plugin.jQueryInterface;\n        };\n      }\n    });\n  };\n  const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {\n    return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;\n  };\n  const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {\n    if (!waitForTransition) {\n      execute(callback);\n      return;\n    }\n    const durationPadding = 5;\n    const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding;\n    let called = false;\n    const handler = ({\n      target\n    }) => {\n      if (target !== transitionElement) {\n        return;\n      }\n      called = true;\n      transitionElement.removeEventListener(TRANSITION_END, handler);\n      execute(callback);\n    };\n    transitionElement.addEventListener(TRANSITION_END, handler);\n    setTimeout(() => {\n      if (!called) {\n        triggerTransitionEnd(transitionElement);\n      }\n    }, emulatedDuration);\n  };\n\n  /**\n   * Return the previous/next element of a list.\n   *\n   * @param {array} list    The list of elements\n   * @param activeElement   The active element\n   * @param shouldGetNext   Choose to get next or previous element\n   * @param isCycleAllowed\n   * @return {Element|elem} The proper element\n   */\n  const getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => {\n    const listLength = list.length;\n    let index = list.indexOf(activeElement);\n\n    // if the element does not exist in the list return an element\n    // depending on the direction and if cycle is allowed\n    if (index === -1) {\n      return !shouldGetNext && isCycleAllowed ? list[listLength - 1] : list[0];\n    }\n    index += shouldGetNext ? 1 : -1;\n    if (isCycleAllowed) {\n      index = (index + listLength) % listLength;\n    }\n    return list[Math.max(0, Math.min(index, listLength - 1))];\n  };\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap dom/event-handler.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const namespaceRegex = /[^.]*(?=\\..*)\\.|.*/;\n  const stripNameRegex = /\\..*/;\n  const stripUidRegex = /::\\d+$/;\n  const eventRegistry = {}; // Events storage\n  let uidEvent = 1;\n  const customEvents = {\n    mouseenter: 'mouseover',\n    mouseleave: 'mouseout'\n  };\n  const nativeEvents = 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']);\n\n  /**\n   * Private methods\n   */\n\n  function makeEventUid(element, uid) {\n    return uid && `${uid}::${uidEvent++}` || element.uidEvent || uidEvent++;\n  }\n  function getElementEvents(element) {\n    const uid = makeEventUid(element);\n    element.uidEvent = uid;\n    eventRegistry[uid] = eventRegistry[uid] || {};\n    return eventRegistry[uid];\n  }\n  function bootstrapHandler(element, fn) {\n    return function handler(event) {\n      hydrateObj(event, {\n        delegateTarget: element\n      });\n      if (handler.oneOff) {\n        EventHandler.off(element, event.type, fn);\n      }\n      return fn.apply(element, [event]);\n    };\n  }\n  function bootstrapDelegationHandler(element, selector, fn) {\n    return function handler(event) {\n      const domElements = element.querySelectorAll(selector);\n      for (let {\n        target\n      } = event; target && target !== this; target = target.parentNode) {\n        for (const domElement of domElements) {\n          if (domElement !== target) {\n            continue;\n          }\n          hydrateObj(event, {\n            delegateTarget: target\n          });\n          if (handler.oneOff) {\n            EventHandler.off(element, event.type, selector, fn);\n          }\n          return fn.apply(target, [event]);\n        }\n      }\n    };\n  }\n  function findHandler(events, callable, delegationSelector = null) {\n    return Object.values(events).find(event => event.callable === callable && event.delegationSelector === delegationSelector);\n  }\n  function normalizeParameters(originalTypeEvent, handler, delegationFunction) {\n    const isDelegated = typeof handler === 'string';\n    // TODO: tooltip passes `false` instead of selector, so we need to check\n    const callable = isDelegated ? delegationFunction : handler || delegationFunction;\n    let typeEvent = getTypeEvent(originalTypeEvent);\n    if (!nativeEvents.has(typeEvent)) {\n      typeEvent = originalTypeEvent;\n    }\n    return [isDelegated, callable, typeEvent];\n  }\n  function addHandler(element, originalTypeEvent, handler, delegationFunction, oneOff) {\n    if (typeof originalTypeEvent !== 'string' || !element) {\n      return;\n    }\n    let [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction);\n\n    // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position\n    // this prevents the handler from being dispatched the same way as mouseover or mouseout does\n    if (originalTypeEvent in customEvents) {\n      const wrapFunction = fn => {\n        return function (event) {\n          if (!event.relatedTarget || event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget)) {\n            return fn.call(this, event);\n          }\n        };\n      };\n      callable = wrapFunction(callable);\n    }\n    const events = getElementEvents(element);\n    const handlers = events[typeEvent] || (events[typeEvent] = {});\n    const previousFunction = findHandler(handlers, callable, isDelegated ? handler : null);\n    if (previousFunction) {\n      previousFunction.oneOff = previousFunction.oneOff && oneOff;\n      return;\n    }\n    const uid = makeEventUid(callable, originalTypeEvent.replace(namespaceRegex, ''));\n    const fn = isDelegated ? bootstrapDelegationHandler(element, handler, callable) : bootstrapHandler(element, callable);\n    fn.delegationSelector = isDelegated ? handler : null;\n    fn.callable = callable;\n    fn.oneOff = oneOff;\n    fn.uidEvent = uid;\n    handlers[uid] = fn;\n    element.addEventListener(typeEvent, fn, isDelegated);\n  }\n  function removeHandler(element, events, typeEvent, handler, delegationSelector) {\n    const fn = findHandler(events[typeEvent], handler, delegationSelector);\n    if (!fn) {\n      return;\n    }\n    element.removeEventListener(typeEvent, fn, Boolean(delegationSelector));\n    delete events[typeEvent][fn.uidEvent];\n  }\n  function removeNamespacedHandlers(element, events, typeEvent, namespace) {\n    const storeElementEvent = events[typeEvent] || {};\n    for (const [handlerKey, event] of Object.entries(storeElementEvent)) {\n      if (handlerKey.includes(namespace)) {\n        removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);\n      }\n    }\n  }\n  function getTypeEvent(event) {\n    // allow to get the native events from namespaced events ('click.bs.button' --> 'click')\n    event = event.replace(stripNameRegex, '');\n    return customEvents[event] || event;\n  }\n  const EventHandler = {\n    on(element, event, handler, delegationFunction) {\n      addHandler(element, event, handler, delegationFunction, false);\n    },\n    one(element, event, handler, delegationFunction) {\n      addHandler(element, event, handler, delegationFunction, true);\n    },\n    off(element, originalTypeEvent, handler, delegationFunction) {\n      if (typeof originalTypeEvent !== 'string' || !element) {\n        return;\n      }\n      const [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction);\n      const inNamespace = typeEvent !== originalTypeEvent;\n      const events = getElementEvents(element);\n      const storeElementEvent = events[typeEvent] || {};\n      const isNamespace = originalTypeEvent.startsWith('.');\n      if (typeof callable !== 'undefined') {\n        // Simplest case: handler is passed, remove that listener ONLY.\n        if (!Object.keys(storeElementEvent).length) {\n          return;\n        }\n        removeHandler(element, events, typeEvent, callable, isDelegated ? handler : null);\n        return;\n      }\n      if (isNamespace) {\n        for (const elementEvent of Object.keys(events)) {\n          removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));\n        }\n      }\n      for (const [keyHandlers, event] of Object.entries(storeElementEvent)) {\n        const handlerKey = keyHandlers.replace(stripUidRegex, '');\n        if (!inNamespace || originalTypeEvent.includes(handlerKey)) {\n          removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);\n        }\n      }\n    },\n    trigger(element, event, args) {\n      if (typeof event !== 'string' || !element) {\n        return null;\n      }\n      const $ = getjQuery();\n      const typeEvent = getTypeEvent(event);\n      const inNamespace = event !== typeEvent;\n      let jQueryEvent = null;\n      let bubbles = true;\n      let nativeDispatch = true;\n      let defaultPrevented = false;\n      if (inNamespace && $) {\n        jQueryEvent = $.Event(event, args);\n        $(element).trigger(jQueryEvent);\n        bubbles = !jQueryEvent.isPropagationStopped();\n        nativeDispatch = !jQueryEvent.isImmediatePropagationStopped();\n        defaultPrevented = jQueryEvent.isDefaultPrevented();\n      }\n      const evt = hydrateObj(new Event(event, {\n        bubbles,\n        cancelable: true\n      }), args);\n      if (defaultPrevented) {\n        evt.preventDefault();\n      }\n      if (nativeDispatch) {\n        element.dispatchEvent(evt);\n      }\n      if (evt.defaultPrevented && jQueryEvent) {\n        jQueryEvent.preventDefault();\n      }\n      return evt;\n    }\n  };\n  function hydrateObj(obj, meta = {}) {\n    for (const [key, value] of Object.entries(meta)) {\n      try {\n        obj[key] = value;\n      } catch (_unused) {\n        Object.defineProperty(obj, key, {\n          configurable: true,\n          get() {\n            return value;\n          }\n        });\n      }\n    }\n    return obj;\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap dom/manipulator.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n  function normalizeData(value) {\n    if (value === 'true') {\n      return true;\n    }\n    if (value === 'false') {\n      return false;\n    }\n    if (value === Number(value).toString()) {\n      return Number(value);\n    }\n    if (value === '' || value === 'null') {\n      return null;\n    }\n    if (typeof value !== 'string') {\n      return value;\n    }\n    try {\n      return JSON.parse(decodeURIComponent(value));\n    } catch (_unused) {\n      return value;\n    }\n  }\n  function normalizeDataKey(key) {\n    return key.replace(/[A-Z]/g, chr => `-${chr.toLowerCase()}`);\n  }\n  const Manipulator = {\n    setDataAttribute(element, key, value) {\n      element.setAttribute(`data-bs-${normalizeDataKey(key)}`, value);\n    },\n    removeDataAttribute(element, key) {\n      element.removeAttribute(`data-bs-${normalizeDataKey(key)}`);\n    },\n    getDataAttributes(element) {\n      if (!element) {\n        return {};\n      }\n      const attributes = {};\n      const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'));\n      for (const key of bsKeys) {\n        let pureKey = key.replace(/^bs/, '');\n        pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);\n        attributes[pureKey] = normalizeData(element.dataset[key]);\n      }\n      return attributes;\n    },\n    getDataAttribute(element, key) {\n      return normalizeData(element.getAttribute(`data-bs-${normalizeDataKey(key)}`));\n    }\n  };\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/config.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Class definition\n   */\n\n  class Config {\n    // Getters\n    static get Default() {\n      return {};\n    }\n    static get DefaultType() {\n      return {};\n    }\n    static get NAME() {\n      throw new Error('You have to implement the static method \"NAME\", for each component!');\n    }\n    _getConfig(config) {\n      config = this._mergeConfigObj(config);\n      config = this._configAfterMerge(config);\n      this._typeCheckConfig(config);\n      return config;\n    }\n    _configAfterMerge(config) {\n      return config;\n    }\n    _mergeConfigObj(config, element) {\n      const jsonConfig = isElement(element) ? Manipulator.getDataAttribute(element, 'config') : {}; // try to parse\n\n      return {\n        ...this.constructor.Default,\n        ...(typeof jsonConfig === 'object' ? jsonConfig : {}),\n        ...(isElement(element) ? Manipulator.getDataAttributes(element) : {}),\n        ...(typeof config === 'object' ? config : {})\n      };\n    }\n    _typeCheckConfig(config, configTypes = this.constructor.DefaultType) {\n      for (const [property, expectedTypes] of Object.entries(configTypes)) {\n        const value = config[property];\n        const valueType = isElement(value) ? 'element' : toType(value);\n        if (!new RegExp(expectedTypes).test(valueType)) {\n          throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option \"${property}\" provided type \"${valueType}\" but expected type \"${expectedTypes}\".`);\n        }\n      }\n    }\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap base-component.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const VERSION = '5.3.0';\n\n  /**\n   * Class definition\n   */\n\n  class BaseComponent extends Config {\n    constructor(element, config) {\n      super();\n      element = getElement(element);\n      if (!element) {\n        return;\n      }\n      this._element = element;\n      this._config = this._getConfig(config);\n      Data.set(this._element, this.constructor.DATA_KEY, this);\n    }\n\n    // Public\n    dispose() {\n      Data.remove(this._element, this.constructor.DATA_KEY);\n      EventHandler.off(this._element, this.constructor.EVENT_KEY);\n      for (const propertyName of Object.getOwnPropertyNames(this)) {\n        this[propertyName] = null;\n      }\n    }\n    _queueCallback(callback, element, isAnimated = true) {\n      executeAfterTransition(callback, element, isAnimated);\n    }\n    _getConfig(config) {\n      config = this._mergeConfigObj(config, this._element);\n      config = this._configAfterMerge(config);\n      this._typeCheckConfig(config);\n      return config;\n    }\n\n    // Static\n    static getInstance(element) {\n      return Data.get(getElement(element), this.DATA_KEY);\n    }\n    static getOrCreateInstance(element, config = {}) {\n      return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null);\n    }\n    static get VERSION() {\n      return VERSION;\n    }\n    static get DATA_KEY() {\n      return `bs.${this.NAME}`;\n    }\n    static get EVENT_KEY() {\n      return `.${this.DATA_KEY}`;\n    }\n    static eventName(name) {\n      return `${name}${this.EVENT_KEY}`;\n    }\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap dom/selector-engine.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n  const getSelector = element => {\n    let selector = element.getAttribute('data-bs-target');\n    if (!selector || selector === '#') {\n      let hrefAttribute = element.getAttribute('href');\n\n      // The only valid content that could double as a selector are IDs or classes,\n      // so everything starting with `#` or `.`. If a \"real\" URL is used as the selector,\n      // `document.querySelector` will rightfully complain it is invalid.\n      // See https://github.com/twbs/bootstrap/issues/32273\n      if (!hrefAttribute || !hrefAttribute.includes('#') && !hrefAttribute.startsWith('.')) {\n        return null;\n      }\n\n      // Just in case some CMS puts out a full URL with the anchor appended\n      if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {\n        hrefAttribute = `#${hrefAttribute.split('#')[1]}`;\n      }\n      selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;\n    }\n    return parseSelector(selector);\n  };\n  const SelectorEngine = {\n    find(selector, element = document.documentElement) {\n      return [].concat(...Element.prototype.querySelectorAll.call(element, selector));\n    },\n    findOne(selector, element = document.documentElement) {\n      return Element.prototype.querySelector.call(element, selector);\n    },\n    children(element, selector) {\n      return [].concat(...element.children).filter(child => child.matches(selector));\n    },\n    parents(element, selector) {\n      const parents = [];\n      let ancestor = element.parentNode.closest(selector);\n      while (ancestor) {\n        parents.push(ancestor);\n        ancestor = ancestor.parentNode.closest(selector);\n      }\n      return parents;\n    },\n    prev(element, selector) {\n      let previous = element.previousElementSibling;\n      while (previous) {\n        if (previous.matches(selector)) {\n          return [previous];\n        }\n        previous = previous.previousElementSibling;\n      }\n      return [];\n    },\n    // TODO: this is now unused; remove later along with prev()\n    next(element, selector) {\n      let next = element.nextElementSibling;\n      while (next) {\n        if (next.matches(selector)) {\n          return [next];\n        }\n        next = next.nextElementSibling;\n      }\n      return [];\n    },\n    focusableChildren(element) {\n      const focusables = ['a', 'button', 'input', 'textarea', 'select', 'details', '[tabindex]', '[contenteditable=\"true\"]'].map(selector => `${selector}:not([tabindex^=\"-\"])`).join(',');\n      return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el));\n    },\n    getSelectorFromElement(element) {\n      const selector = getSelector(element);\n      if (selector) {\n        return SelectorEngine.findOne(selector) ? selector : null;\n      }\n      return null;\n    },\n    getElementFromSelector(element) {\n      const selector = getSelector(element);\n      return selector ? SelectorEngine.findOne(selector) : null;\n    },\n    getMultipleElementsFromSelector(element) {\n      const selector = getSelector(element);\n      return selector ? SelectorEngine.find(selector) : [];\n    }\n  };\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/component-functions.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n  const enableDismissTrigger = (component, method = 'hide') => {\n    const clickEvent = `click.dismiss${component.EVENT_KEY}`;\n    const name = component.NAME;\n    EventHandler.on(document, clickEvent, `[data-bs-dismiss=\"${name}\"]`, function (event) {\n      if (['A', 'AREA'].includes(this.tagName)) {\n        event.preventDefault();\n      }\n      if (isDisabled(this)) {\n        return;\n      }\n      const target = SelectorEngine.getElementFromSelector(this) || this.closest(`.${name}`);\n      const instance = component.getOrCreateInstance(target);\n\n      // Method argument is left, for Alert and only, as it doesn't implement the 'hide' method\n      instance[method]();\n    });\n  };\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap alert.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$f = 'alert';\n  const DATA_KEY$a = 'bs.alert';\n  const EVENT_KEY$b = `.${DATA_KEY$a}`;\n  const EVENT_CLOSE = `close${EVENT_KEY$b}`;\n  const EVENT_CLOSED = `closed${EVENT_KEY$b}`;\n  const CLASS_NAME_FADE$5 = 'fade';\n  const CLASS_NAME_SHOW$8 = 'show';\n\n  /**\n   * Class definition\n   */\n\n  class Alert extends BaseComponent {\n    // Getters\n    static get NAME() {\n      return NAME$f;\n    }\n\n    // Public\n    close() {\n      const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE);\n      if (closeEvent.defaultPrevented) {\n        return;\n      }\n      this._element.classList.remove(CLASS_NAME_SHOW$8);\n      const isAnimated = this._element.classList.contains(CLASS_NAME_FADE$5);\n      this._queueCallback(() => this._destroyElement(), this._element, isAnimated);\n    }\n\n    // Private\n    _destroyElement() {\n      this._element.remove();\n      EventHandler.trigger(this._element, EVENT_CLOSED);\n      this.dispose();\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Alert.getOrCreateInstance(this);\n        if (typeof config !== 'string') {\n          return;\n        }\n        if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config](this);\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  enableDismissTrigger(Alert, 'close');\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Alert);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap button.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$e = 'button';\n  const DATA_KEY$9 = 'bs.button';\n  const EVENT_KEY$a = `.${DATA_KEY$9}`;\n  const DATA_API_KEY$6 = '.data-api';\n  const CLASS_NAME_ACTIVE$3 = 'active';\n  const SELECTOR_DATA_TOGGLE$5 = '[data-bs-toggle=\"button\"]';\n  const EVENT_CLICK_DATA_API$6 = `click${EVENT_KEY$a}${DATA_API_KEY$6}`;\n\n  /**\n   * Class definition\n   */\n\n  class Button extends BaseComponent {\n    // Getters\n    static get NAME() {\n      return NAME$e;\n    }\n\n    // Public\n    toggle() {\n      // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method\n      this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE$3));\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Button.getOrCreateInstance(this);\n        if (config === 'toggle') {\n          data[config]();\n        }\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  EventHandler.on(document, EVENT_CLICK_DATA_API$6, SELECTOR_DATA_TOGGLE$5, event => {\n    event.preventDefault();\n    const button = event.target.closest(SELECTOR_DATA_TOGGLE$5);\n    const data = Button.getOrCreateInstance(button);\n    data.toggle();\n  });\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Button);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/swipe.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$d = 'swipe';\n  const EVENT_KEY$9 = '.bs.swipe';\n  const EVENT_TOUCHSTART = `touchstart${EVENT_KEY$9}`;\n  const EVENT_TOUCHMOVE = `touchmove${EVENT_KEY$9}`;\n  const EVENT_TOUCHEND = `touchend${EVENT_KEY$9}`;\n  const EVENT_POINTERDOWN = `pointerdown${EVENT_KEY$9}`;\n  const EVENT_POINTERUP = `pointerup${EVENT_KEY$9}`;\n  const POINTER_TYPE_TOUCH = 'touch';\n  const POINTER_TYPE_PEN = 'pen';\n  const CLASS_NAME_POINTER_EVENT = 'pointer-event';\n  const SWIPE_THRESHOLD = 40;\n  const Default$c = {\n    endCallback: null,\n    leftCallback: null,\n    rightCallback: null\n  };\n  const DefaultType$c = {\n    endCallback: '(function|null)',\n    leftCallback: '(function|null)',\n    rightCallback: '(function|null)'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Swipe extends Config {\n    constructor(element, config) {\n      super();\n      this._element = element;\n      if (!element || !Swipe.isSupported()) {\n        return;\n      }\n      this._config = this._getConfig(config);\n      this._deltaX = 0;\n      this._supportPointerEvents = Boolean(window.PointerEvent);\n      this._initEvents();\n    }\n\n    // Getters\n    static get Default() {\n      return Default$c;\n    }\n    static get DefaultType() {\n      return DefaultType$c;\n    }\n    static get NAME() {\n      return NAME$d;\n    }\n\n    // Public\n    dispose() {\n      EventHandler.off(this._element, EVENT_KEY$9);\n    }\n\n    // Private\n    _start(event) {\n      if (!this._supportPointerEvents) {\n        this._deltaX = event.touches[0].clientX;\n        return;\n      }\n      if (this._eventIsPointerPenTouch(event)) {\n        this._deltaX = event.clientX;\n      }\n    }\n    _end(event) {\n      if (this._eventIsPointerPenTouch(event)) {\n        this._deltaX = event.clientX - this._deltaX;\n      }\n      this._handleSwipe();\n      execute(this._config.endCallback);\n    }\n    _move(event) {\n      this._deltaX = event.touches && event.touches.length > 1 ? 0 : event.touches[0].clientX - this._deltaX;\n    }\n    _handleSwipe() {\n      const absDeltaX = Math.abs(this._deltaX);\n      if (absDeltaX <= SWIPE_THRESHOLD) {\n        return;\n      }\n      const direction = absDeltaX / this._deltaX;\n      this._deltaX = 0;\n      if (!direction) {\n        return;\n      }\n      execute(direction > 0 ? this._config.rightCallback : this._config.leftCallback);\n    }\n    _initEvents() {\n      if (this._supportPointerEvents) {\n        EventHandler.on(this._element, EVENT_POINTERDOWN, event => this._start(event));\n        EventHandler.on(this._element, EVENT_POINTERUP, event => this._end(event));\n        this._element.classList.add(CLASS_NAME_POINTER_EVENT);\n      } else {\n        EventHandler.on(this._element, EVENT_TOUCHSTART, event => this._start(event));\n        EventHandler.on(this._element, EVENT_TOUCHMOVE, event => this._move(event));\n        EventHandler.on(this._element, EVENT_TOUCHEND, event => this._end(event));\n      }\n    }\n    _eventIsPointerPenTouch(event) {\n      return this._supportPointerEvents && (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH);\n    }\n\n    // Static\n    static isSupported() {\n      return 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0;\n    }\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap carousel.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$c = 'carousel';\n  const DATA_KEY$8 = 'bs.carousel';\n  const EVENT_KEY$8 = `.${DATA_KEY$8}`;\n  const DATA_API_KEY$5 = '.data-api';\n  const ARROW_LEFT_KEY$1 = 'ArrowLeft';\n  const ARROW_RIGHT_KEY$1 = 'ArrowRight';\n  const TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch\n\n  const ORDER_NEXT = 'next';\n  const ORDER_PREV = 'prev';\n  const DIRECTION_LEFT = 'left';\n  const DIRECTION_RIGHT = 'right';\n  const EVENT_SLIDE = `slide${EVENT_KEY$8}`;\n  const EVENT_SLID = `slid${EVENT_KEY$8}`;\n  const EVENT_KEYDOWN$1 = `keydown${EVENT_KEY$8}`;\n  const EVENT_MOUSEENTER$1 = `mouseenter${EVENT_KEY$8}`;\n  const EVENT_MOUSELEAVE$1 = `mouseleave${EVENT_KEY$8}`;\n  const EVENT_DRAG_START = `dragstart${EVENT_KEY$8}`;\n  const EVENT_LOAD_DATA_API$3 = `load${EVENT_KEY$8}${DATA_API_KEY$5}`;\n  const EVENT_CLICK_DATA_API$5 = `click${EVENT_KEY$8}${DATA_API_KEY$5}`;\n  const CLASS_NAME_CAROUSEL = 'carousel';\n  const CLASS_NAME_ACTIVE$2 = 'active';\n  const CLASS_NAME_SLIDE = 'slide';\n  const CLASS_NAME_END = 'carousel-item-end';\n  const CLASS_NAME_START = 'carousel-item-start';\n  const CLASS_NAME_NEXT = 'carousel-item-next';\n  const CLASS_NAME_PREV = 'carousel-item-prev';\n  const SELECTOR_ACTIVE = '.active';\n  const SELECTOR_ITEM = '.carousel-item';\n  const SELECTOR_ACTIVE_ITEM = SELECTOR_ACTIVE + SELECTOR_ITEM;\n  const SELECTOR_ITEM_IMG = '.carousel-item img';\n  const SELECTOR_INDICATORS = '.carousel-indicators';\n  const SELECTOR_DATA_SLIDE = '[data-bs-slide], [data-bs-slide-to]';\n  const SELECTOR_DATA_RIDE = '[data-bs-ride=\"carousel\"]';\n  const KEY_TO_DIRECTION = {\n    [ARROW_LEFT_KEY$1]: DIRECTION_RIGHT,\n    [ARROW_RIGHT_KEY$1]: DIRECTION_LEFT\n  };\n  const Default$b = {\n    interval: 5000,\n    keyboard: true,\n    pause: 'hover',\n    ride: false,\n    touch: true,\n    wrap: true\n  };\n  const DefaultType$b = {\n    interval: '(number|boolean)',\n    // TODO:v6 remove boolean support\n    keyboard: 'boolean',\n    pause: '(string|boolean)',\n    ride: '(boolean|string)',\n    touch: 'boolean',\n    wrap: 'boolean'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Carousel extends BaseComponent {\n    constructor(element, config) {\n      super(element, config);\n      this._interval = null;\n      this._activeElement = null;\n      this._isSliding = false;\n      this.touchTimeout = null;\n      this._swipeHelper = null;\n      this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element);\n      this._addEventListeners();\n      if (this._config.ride === CLASS_NAME_CAROUSEL) {\n        this.cycle();\n      }\n    }\n\n    // Getters\n    static get Default() {\n      return Default$b;\n    }\n    static get DefaultType() {\n      return DefaultType$b;\n    }\n    static get NAME() {\n      return NAME$c;\n    }\n\n    // Public\n    next() {\n      this._slide(ORDER_NEXT);\n    }\n    nextWhenVisible() {\n      // FIXME TODO use `document.visibilityState`\n      // Don't call next when the page isn't visible\n      // or the carousel or its parent isn't visible\n      if (!document.hidden && isVisible(this._element)) {\n        this.next();\n      }\n    }\n    prev() {\n      this._slide(ORDER_PREV);\n    }\n    pause() {\n      if (this._isSliding) {\n        triggerTransitionEnd(this._element);\n      }\n      this._clearInterval();\n    }\n    cycle() {\n      this._clearInterval();\n      this._updateInterval();\n      this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval);\n    }\n    _maybeEnableCycle() {\n      if (!this._config.ride) {\n        return;\n      }\n      if (this._isSliding) {\n        EventHandler.one(this._element, EVENT_SLID, () => this.cycle());\n        return;\n      }\n      this.cycle();\n    }\n    to(index) {\n      const items = this._getItems();\n      if (index > items.length - 1 || index < 0) {\n        return;\n      }\n      if (this._isSliding) {\n        EventHandler.one(this._element, EVENT_SLID, () => this.to(index));\n        return;\n      }\n      const activeIndex = this._getItemIndex(this._getActive());\n      if (activeIndex === index) {\n        return;\n      }\n      const order = index > activeIndex ? ORDER_NEXT : ORDER_PREV;\n      this._slide(order, items[index]);\n    }\n    dispose() {\n      if (this._swipeHelper) {\n        this._swipeHelper.dispose();\n      }\n      super.dispose();\n    }\n\n    // Private\n    _configAfterMerge(config) {\n      config.defaultInterval = config.interval;\n      return config;\n    }\n    _addEventListeners() {\n      if (this._config.keyboard) {\n        EventHandler.on(this._element, EVENT_KEYDOWN$1, event => this._keydown(event));\n      }\n      if (this._config.pause === 'hover') {\n        EventHandler.on(this._element, EVENT_MOUSEENTER$1, () => this.pause());\n        EventHandler.on(this._element, EVENT_MOUSELEAVE$1, () => this._maybeEnableCycle());\n      }\n      if (this._config.touch && Swipe.isSupported()) {\n        this._addTouchEventListeners();\n      }\n    }\n    _addTouchEventListeners() {\n      for (const img of SelectorEngine.find(SELECTOR_ITEM_IMG, this._element)) {\n        EventHandler.on(img, EVENT_DRAG_START, event => event.preventDefault());\n      }\n      const endCallBack = () => {\n        if (this._config.pause !== 'hover') {\n          return;\n        }\n\n        // If it's a touch-enabled device, mouseenter/leave are fired as\n        // part of the mouse compatibility events on first tap - the carousel\n        // would stop cycling until user tapped out of it;\n        // here, we listen for touchend, explicitly pause the carousel\n        // (as if it's the second time we tap on it, mouseenter compat event\n        // is NOT fired) and after a timeout (to allow for mouse compatibility\n        // events to fire) we explicitly restart cycling\n\n        this.pause();\n        if (this.touchTimeout) {\n          clearTimeout(this.touchTimeout);\n        }\n        this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), TOUCHEVENT_COMPAT_WAIT + this._config.interval);\n      };\n      const swipeConfig = {\n        leftCallback: () => this._slide(this._directionToOrder(DIRECTION_LEFT)),\n        rightCallback: () => this._slide(this._directionToOrder(DIRECTION_RIGHT)),\n        endCallback: endCallBack\n      };\n      this._swipeHelper = new Swipe(this._element, swipeConfig);\n    }\n    _keydown(event) {\n      if (/input|textarea/i.test(event.target.tagName)) {\n        return;\n      }\n      const direction = KEY_TO_DIRECTION[event.key];\n      if (direction) {\n        event.preventDefault();\n        this._slide(this._directionToOrder(direction));\n      }\n    }\n    _getItemIndex(element) {\n      return this._getItems().indexOf(element);\n    }\n    _setActiveIndicatorElement(index) {\n      if (!this._indicatorsElement) {\n        return;\n      }\n      const activeIndicator = SelectorEngine.findOne(SELECTOR_ACTIVE, this._indicatorsElement);\n      activeIndicator.classList.remove(CLASS_NAME_ACTIVE$2);\n      activeIndicator.removeAttribute('aria-current');\n      const newActiveIndicator = SelectorEngine.findOne(`[data-bs-slide-to=\"${index}\"]`, this._indicatorsElement);\n      if (newActiveIndicator) {\n        newActiveIndicator.classList.add(CLASS_NAME_ACTIVE$2);\n        newActiveIndicator.setAttribute('aria-current', 'true');\n      }\n    }\n    _updateInterval() {\n      const element = this._activeElement || this._getActive();\n      if (!element) {\n        return;\n      }\n      const elementInterval = Number.parseInt(element.getAttribute('data-bs-interval'), 10);\n      this._config.interval = elementInterval || this._config.defaultInterval;\n    }\n    _slide(order, element = null) {\n      if (this._isSliding) {\n        return;\n      }\n      const activeElement = this._getActive();\n      const isNext = order === ORDER_NEXT;\n      const nextElement = element || getNextActiveElement(this._getItems(), activeElement, isNext, this._config.wrap);\n      if (nextElement === activeElement) {\n        return;\n      }\n      const nextElementIndex = this._getItemIndex(nextElement);\n      const triggerEvent = eventName => {\n        return EventHandler.trigger(this._element, eventName, {\n          relatedTarget: nextElement,\n          direction: this._orderToDirection(order),\n          from: this._getItemIndex(activeElement),\n          to: nextElementIndex\n        });\n      };\n      const slideEvent = triggerEvent(EVENT_SLIDE);\n      if (slideEvent.defaultPrevented) {\n        return;\n      }\n      if (!activeElement || !nextElement) {\n        // Some weirdness is happening, so we bail\n        // TODO: change tests that use empty divs to avoid this check\n        return;\n      }\n      const isCycling = Boolean(this._interval);\n      this.pause();\n      this._isSliding = true;\n      this._setActiveIndicatorElement(nextElementIndex);\n      this._activeElement = nextElement;\n      const directionalClassName = isNext ? CLASS_NAME_START : CLASS_NAME_END;\n      const orderClassName = isNext ? CLASS_NAME_NEXT : CLASS_NAME_PREV;\n      nextElement.classList.add(orderClassName);\n      reflow(nextElement);\n      activeElement.classList.add(directionalClassName);\n      nextElement.classList.add(directionalClassName);\n      const completeCallBack = () => {\n        nextElement.classList.remove(directionalClassName, orderClassName);\n        nextElement.classList.add(CLASS_NAME_ACTIVE$2);\n        activeElement.classList.remove(CLASS_NAME_ACTIVE$2, orderClassName, directionalClassName);\n        this._isSliding = false;\n        triggerEvent(EVENT_SLID);\n      };\n      this._queueCallback(completeCallBack, activeElement, this._isAnimated());\n      if (isCycling) {\n        this.cycle();\n      }\n    }\n    _isAnimated() {\n      return this._element.classList.contains(CLASS_NAME_SLIDE);\n    }\n    _getActive() {\n      return SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);\n    }\n    _getItems() {\n      return SelectorEngine.find(SELECTOR_ITEM, this._element);\n    }\n    _clearInterval() {\n      if (this._interval) {\n        clearInterval(this._interval);\n        this._interval = null;\n      }\n    }\n    _directionToOrder(direction) {\n      if (isRTL()) {\n        return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT;\n      }\n      return direction === DIRECTION_LEFT ? ORDER_NEXT : ORDER_PREV;\n    }\n    _orderToDirection(order) {\n      if (isRTL()) {\n        return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT;\n      }\n      return order === ORDER_PREV ? DIRECTION_RIGHT : DIRECTION_LEFT;\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Carousel.getOrCreateInstance(this, config);\n        if (typeof config === 'number') {\n          data.to(config);\n          return;\n        }\n        if (typeof config === 'string') {\n          if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n            throw new TypeError(`No method named \"${config}\"`);\n          }\n          data[config]();\n        }\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  EventHandler.on(document, EVENT_CLICK_DATA_API$5, SELECTOR_DATA_SLIDE, function (event) {\n    const target = SelectorEngine.getElementFromSelector(this);\n    if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {\n      return;\n    }\n    event.preventDefault();\n    const carousel = Carousel.getOrCreateInstance(target);\n    const slideIndex = this.getAttribute('data-bs-slide-to');\n    if (slideIndex) {\n      carousel.to(slideIndex);\n      carousel._maybeEnableCycle();\n      return;\n    }\n    if (Manipulator.getDataAttribute(this, 'slide') === 'next') {\n      carousel.next();\n      carousel._maybeEnableCycle();\n      return;\n    }\n    carousel.prev();\n    carousel._maybeEnableCycle();\n  });\n  EventHandler.on(window, EVENT_LOAD_DATA_API$3, () => {\n    const carousels = SelectorEngine.find(SELECTOR_DATA_RIDE);\n    for (const carousel of carousels) {\n      Carousel.getOrCreateInstance(carousel);\n    }\n  });\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Carousel);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap collapse.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$b = 'collapse';\n  const DATA_KEY$7 = 'bs.collapse';\n  const EVENT_KEY$7 = `.${DATA_KEY$7}`;\n  const DATA_API_KEY$4 = '.data-api';\n  const EVENT_SHOW$6 = `show${EVENT_KEY$7}`;\n  const EVENT_SHOWN$6 = `shown${EVENT_KEY$7}`;\n  const EVENT_HIDE$6 = `hide${EVENT_KEY$7}`;\n  const EVENT_HIDDEN$6 = `hidden${EVENT_KEY$7}`;\n  const EVENT_CLICK_DATA_API$4 = `click${EVENT_KEY$7}${DATA_API_KEY$4}`;\n  const CLASS_NAME_SHOW$7 = 'show';\n  const CLASS_NAME_COLLAPSE = 'collapse';\n  const CLASS_NAME_COLLAPSING = 'collapsing';\n  const CLASS_NAME_COLLAPSED = 'collapsed';\n  const CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`;\n  const CLASS_NAME_HORIZONTAL = 'collapse-horizontal';\n  const WIDTH = 'width';\n  const HEIGHT = 'height';\n  const SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing';\n  const SELECTOR_DATA_TOGGLE$4 = '[data-bs-toggle=\"collapse\"]';\n  const Default$a = {\n    parent: null,\n    toggle: true\n  };\n  const DefaultType$a = {\n    parent: '(null|element)',\n    toggle: 'boolean'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Collapse extends BaseComponent {\n    constructor(element, config) {\n      super(element, config);\n      this._isTransitioning = false;\n      this._triggerArray = [];\n      const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE$4);\n      for (const elem of toggleList) {\n        const selector = SelectorEngine.getSelectorFromElement(elem);\n        const filterElement = SelectorEngine.find(selector).filter(foundElement => foundElement === this._element);\n        if (selector !== null && filterElement.length) {\n          this._triggerArray.push(elem);\n        }\n      }\n      this._initializeChildren();\n      if (!this._config.parent) {\n        this._addAriaAndCollapsedClass(this._triggerArray, this._isShown());\n      }\n      if (this._config.toggle) {\n        this.toggle();\n      }\n    }\n\n    // Getters\n    static get Default() {\n      return Default$a;\n    }\n    static get DefaultType() {\n      return DefaultType$a;\n    }\n    static get NAME() {\n      return NAME$b;\n    }\n\n    // Public\n    toggle() {\n      if (this._isShown()) {\n        this.hide();\n      } else {\n        this.show();\n      }\n    }\n    show() {\n      if (this._isTransitioning || this._isShown()) {\n        return;\n      }\n      let activeChildren = [];\n\n      // find active children\n      if (this._config.parent) {\n        activeChildren = this._getFirstLevelChildren(SELECTOR_ACTIVES).filter(element => element !== this._element).map(element => Collapse.getOrCreateInstance(element, {\n          toggle: false\n        }));\n      }\n      if (activeChildren.length && activeChildren[0]._isTransitioning) {\n        return;\n      }\n      const startEvent = EventHandler.trigger(this._element, EVENT_SHOW$6);\n      if (startEvent.defaultPrevented) {\n        return;\n      }\n      for (const activeInstance of activeChildren) {\n        activeInstance.hide();\n      }\n      const dimension = this._getDimension();\n      this._element.classList.remove(CLASS_NAME_COLLAPSE);\n      this._element.classList.add(CLASS_NAME_COLLAPSING);\n      this._element.style[dimension] = 0;\n      this._addAriaAndCollapsedClass(this._triggerArray, true);\n      this._isTransitioning = true;\n      const complete = () => {\n        this._isTransitioning = false;\n        this._element.classList.remove(CLASS_NAME_COLLAPSING);\n        this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7);\n        this._element.style[dimension] = '';\n        EventHandler.trigger(this._element, EVENT_SHOWN$6);\n      };\n      const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);\n      const scrollSize = `scroll${capitalizedDimension}`;\n      this._queueCallback(complete, this._element, true);\n      this._element.style[dimension] = `${this._element[scrollSize]}px`;\n    }\n    hide() {\n      if (this._isTransitioning || !this._isShown()) {\n        return;\n      }\n      const startEvent = EventHandler.trigger(this._element, EVENT_HIDE$6);\n      if (startEvent.defaultPrevented) {\n        return;\n      }\n      const dimension = this._getDimension();\n      this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`;\n      reflow(this._element);\n      this._element.classList.add(CLASS_NAME_COLLAPSING);\n      this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7);\n      for (const trigger of this._triggerArray) {\n        const element = SelectorEngine.getElementFromSelector(trigger);\n        if (element && !this._isShown(element)) {\n          this._addAriaAndCollapsedClass([trigger], false);\n        }\n      }\n      this._isTransitioning = true;\n      const complete = () => {\n        this._isTransitioning = false;\n        this._element.classList.remove(CLASS_NAME_COLLAPSING);\n        this._element.classList.add(CLASS_NAME_COLLAPSE);\n        EventHandler.trigger(this._element, EVENT_HIDDEN$6);\n      };\n      this._element.style[dimension] = '';\n      this._queueCallback(complete, this._element, true);\n    }\n    _isShown(element = this._element) {\n      return element.classList.contains(CLASS_NAME_SHOW$7);\n    }\n\n    // Private\n    _configAfterMerge(config) {\n      config.toggle = Boolean(config.toggle); // Coerce string values\n      config.parent = getElement(config.parent);\n      return config;\n    }\n    _getDimension() {\n      return this._element.classList.contains(CLASS_NAME_HORIZONTAL) ? WIDTH : HEIGHT;\n    }\n    _initializeChildren() {\n      if (!this._config.parent) {\n        return;\n      }\n      const children = this._getFirstLevelChildren(SELECTOR_DATA_TOGGLE$4);\n      for (const element of children) {\n        const selected = SelectorEngine.getElementFromSelector(element);\n        if (selected) {\n          this._addAriaAndCollapsedClass([element], this._isShown(selected));\n        }\n      }\n    }\n    _getFirstLevelChildren(selector) {\n      const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent);\n      // remove children if greater depth\n      return SelectorEngine.find(selector, this._config.parent).filter(element => !children.includes(element));\n    }\n    _addAriaAndCollapsedClass(triggerArray, isOpen) {\n      if (!triggerArray.length) {\n        return;\n      }\n      for (const element of triggerArray) {\n        element.classList.toggle(CLASS_NAME_COLLAPSED, !isOpen);\n        element.setAttribute('aria-expanded', isOpen);\n      }\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      const _config = {};\n      if (typeof config === 'string' && /show|hide/.test(config)) {\n        _config.toggle = false;\n      }\n      return this.each(function () {\n        const data = Collapse.getOrCreateInstance(this, _config);\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(`No method named \"${config}\"`);\n          }\n          data[config]();\n        }\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  EventHandler.on(document, EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$4, function (event) {\n    // preventDefault only for <a> elements (which change the URL) not inside the collapsible element\n    if (event.target.tagName === 'A' || event.delegateTarget && event.delegateTarget.tagName === 'A') {\n      event.preventDefault();\n    }\n    for (const element of SelectorEngine.getMultipleElementsFromSelector(this)) {\n      Collapse.getOrCreateInstance(element, {\n        toggle: false\n      }).toggle();\n    }\n  });\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Collapse);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap dropdown.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$a = 'dropdown';\n  const DATA_KEY$6 = 'bs.dropdown';\n  const EVENT_KEY$6 = `.${DATA_KEY$6}`;\n  const DATA_API_KEY$3 = '.data-api';\n  const ESCAPE_KEY$2 = 'Escape';\n  const TAB_KEY$1 = 'Tab';\n  const ARROW_UP_KEY$1 = 'ArrowUp';\n  const ARROW_DOWN_KEY$1 = 'ArrowDown';\n  const RIGHT_MOUSE_BUTTON = 2; // MouseEvent.button value for the secondary button, usually the right button\n\n  const EVENT_HIDE$5 = `hide${EVENT_KEY$6}`;\n  const EVENT_HIDDEN$5 = `hidden${EVENT_KEY$6}`;\n  const EVENT_SHOW$5 = `show${EVENT_KEY$6}`;\n  const EVENT_SHOWN$5 = `shown${EVENT_KEY$6}`;\n  const EVENT_CLICK_DATA_API$3 = `click${EVENT_KEY$6}${DATA_API_KEY$3}`;\n  const EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY$6}${DATA_API_KEY$3}`;\n  const EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY$6}${DATA_API_KEY$3}`;\n  const CLASS_NAME_SHOW$6 = 'show';\n  const CLASS_NAME_DROPUP = 'dropup';\n  const CLASS_NAME_DROPEND = 'dropend';\n  const CLASS_NAME_DROPSTART = 'dropstart';\n  const CLASS_NAME_DROPUP_CENTER = 'dropup-center';\n  const CLASS_NAME_DROPDOWN_CENTER = 'dropdown-center';\n  const SELECTOR_DATA_TOGGLE$3 = '[data-bs-toggle=\"dropdown\"]:not(.disabled):not(:disabled)';\n  const SELECTOR_DATA_TOGGLE_SHOWN = `${SELECTOR_DATA_TOGGLE$3}.${CLASS_NAME_SHOW$6}`;\n  const SELECTOR_MENU = '.dropdown-menu';\n  const SELECTOR_NAVBAR = '.navbar';\n  const SELECTOR_NAVBAR_NAV = '.navbar-nav';\n  const SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)';\n  const PLACEMENT_TOP = isRTL() ? 'top-end' : 'top-start';\n  const PLACEMENT_TOPEND = isRTL() ? 'top-start' : 'top-end';\n  const PLACEMENT_BOTTOM = isRTL() ? 'bottom-end' : 'bottom-start';\n  const PLACEMENT_BOTTOMEND = isRTL() ? 'bottom-start' : 'bottom-end';\n  const PLACEMENT_RIGHT = isRTL() ? 'left-start' : 'right-start';\n  const PLACEMENT_LEFT = isRTL() ? 'right-start' : 'left-start';\n  const PLACEMENT_TOPCENTER = 'top';\n  const PLACEMENT_BOTTOMCENTER = 'bottom';\n  const Default$9 = {\n    autoClose: true,\n    boundary: 'clippingParents',\n    display: 'dynamic',\n    offset: [0, 2],\n    popperConfig: null,\n    reference: 'toggle'\n  };\n  const DefaultType$9 = {\n    autoClose: '(boolean|string)',\n    boundary: '(string|element)',\n    display: 'string',\n    offset: '(array|string|function)',\n    popperConfig: '(null|object|function)',\n    reference: '(string|element|object)'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Dropdown extends BaseComponent {\n    constructor(element, config) {\n      super(element, config);\n      this._popper = null;\n      this._parent = this._element.parentNode; // dropdown wrapper\n      // TODO: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/\n      this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent);\n      this._inNavbar = this._detectNavbar();\n    }\n\n    // Getters\n    static get Default() {\n      return Default$9;\n    }\n    static get DefaultType() {\n      return DefaultType$9;\n    }\n    static get NAME() {\n      return NAME$a;\n    }\n\n    // Public\n    toggle() {\n      return this._isShown() ? this.hide() : this.show();\n    }\n    show() {\n      if (isDisabled(this._element) || this._isShown()) {\n        return;\n      }\n      const relatedTarget = {\n        relatedTarget: this._element\n      };\n      const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$5, relatedTarget);\n      if (showEvent.defaultPrevented) {\n        return;\n      }\n      this._createPopper();\n\n      // If this is a touch-enabled device we add extra\n      // empty mouseover listeners to the body's immediate children;\n      // only needed because of broken event delegation on iOS\n      // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n      if ('ontouchstart' in document.documentElement && !this._parent.closest(SELECTOR_NAVBAR_NAV)) {\n        for (const element of [].concat(...document.body.children)) {\n          EventHandler.on(element, 'mouseover', noop);\n        }\n      }\n      this._element.focus();\n      this._element.setAttribute('aria-expanded', true);\n      this._menu.classList.add(CLASS_NAME_SHOW$6);\n      this._element.classList.add(CLASS_NAME_SHOW$6);\n      EventHandler.trigger(this._element, EVENT_SHOWN$5, relatedTarget);\n    }\n    hide() {\n      if (isDisabled(this._element) || !this._isShown()) {\n        return;\n      }\n      const relatedTarget = {\n        relatedTarget: this._element\n      };\n      this._completeHide(relatedTarget);\n    }\n    dispose() {\n      if (this._popper) {\n        this._popper.destroy();\n      }\n      super.dispose();\n    }\n    update() {\n      this._inNavbar = this._detectNavbar();\n      if (this._popper) {\n        this._popper.update();\n      }\n    }\n\n    // Private\n    _completeHide(relatedTarget) {\n      const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$5, relatedTarget);\n      if (hideEvent.defaultPrevented) {\n        return;\n      }\n\n      // If this is a touch-enabled device we remove the extra\n      // empty mouseover listeners we added for iOS support\n      if ('ontouchstart' in document.documentElement) {\n        for (const element of [].concat(...document.body.children)) {\n          EventHandler.off(element, 'mouseover', noop);\n        }\n      }\n      if (this._popper) {\n        this._popper.destroy();\n      }\n      this._menu.classList.remove(CLASS_NAME_SHOW$6);\n      this._element.classList.remove(CLASS_NAME_SHOW$6);\n      this._element.setAttribute('aria-expanded', 'false');\n      Manipulator.removeDataAttribute(this._menu, 'popper');\n      EventHandler.trigger(this._element, EVENT_HIDDEN$5, relatedTarget);\n    }\n    _getConfig(config) {\n      config = super._getConfig(config);\n      if (typeof config.reference === 'object' && !isElement(config.reference) && typeof config.reference.getBoundingClientRect !== 'function') {\n        // Popper virtual elements require a getBoundingClientRect method\n        throw new TypeError(`${NAME$a.toUpperCase()}: Option \"reference\" provided type \"object\" without a required \"getBoundingClientRect\" method.`);\n      }\n      return config;\n    }\n    _createPopper() {\n      if (typeof Popper__namespace === 'undefined') {\n        throw new TypeError('Bootstrap\\'s dropdowns require Popper (https://popper.js.org)');\n      }\n      let referenceElement = this._element;\n      if (this._config.reference === 'parent') {\n        referenceElement = this._parent;\n      } else if (isElement(this._config.reference)) {\n        referenceElement = getElement(this._config.reference);\n      } else if (typeof this._config.reference === 'object') {\n        referenceElement = this._config.reference;\n      }\n      const popperConfig = this._getPopperConfig();\n      this._popper = Popper__namespace.createPopper(referenceElement, this._menu, popperConfig);\n    }\n    _isShown() {\n      return this._menu.classList.contains(CLASS_NAME_SHOW$6);\n    }\n    _getPlacement() {\n      const parentDropdown = this._parent;\n      if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {\n        return PLACEMENT_RIGHT;\n      }\n      if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {\n        return PLACEMENT_LEFT;\n      }\n      if (parentDropdown.classList.contains(CLASS_NAME_DROPUP_CENTER)) {\n        return PLACEMENT_TOPCENTER;\n      }\n      if (parentDropdown.classList.contains(CLASS_NAME_DROPDOWN_CENTER)) {\n        return PLACEMENT_BOTTOMCENTER;\n      }\n\n      // We need to trim the value because custom properties can also include spaces\n      const isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end';\n      if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {\n        return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP;\n      }\n      return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM;\n    }\n    _detectNavbar() {\n      return this._element.closest(SELECTOR_NAVBAR) !== null;\n    }\n    _getOffset() {\n      const {\n        offset\n      } = this._config;\n      if (typeof offset === 'string') {\n        return offset.split(',').map(value => Number.parseInt(value, 10));\n      }\n      if (typeof offset === 'function') {\n        return popperData => offset(popperData, this._element);\n      }\n      return offset;\n    }\n    _getPopperConfig() {\n      const defaultBsPopperConfig = {\n        placement: this._getPlacement(),\n        modifiers: [{\n          name: 'preventOverflow',\n          options: {\n            boundary: this._config.boundary\n          }\n        }, {\n          name: 'offset',\n          options: {\n            offset: this._getOffset()\n          }\n        }]\n      };\n\n      // Disable Popper if we have a static display or Dropdown is in Navbar\n      if (this._inNavbar || this._config.display === 'static') {\n        Manipulator.setDataAttribute(this._menu, 'popper', 'static'); // TODO: v6 remove\n        defaultBsPopperConfig.modifiers = [{\n          name: 'applyStyles',\n          enabled: false\n        }];\n      }\n      return {\n        ...defaultBsPopperConfig,\n        ...execute(this._config.popperConfig, [defaultBsPopperConfig])\n      };\n    }\n    _selectMenuItem({\n      key,\n      target\n    }) {\n      const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(element => isVisible(element));\n      if (!items.length) {\n        return;\n      }\n\n      // if target isn't included in items (e.g. when expanding the dropdown)\n      // allow cycling to get the last item in case key equals ARROW_UP_KEY\n      getNextActiveElement(items, target, key === ARROW_DOWN_KEY$1, !items.includes(target)).focus();\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Dropdown.getOrCreateInstance(this, config);\n        if (typeof config !== 'string') {\n          return;\n        }\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config]();\n      });\n    }\n    static clearMenus(event) {\n      if (event.button === RIGHT_MOUSE_BUTTON || event.type === 'keyup' && event.key !== TAB_KEY$1) {\n        return;\n      }\n      const openToggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE_SHOWN);\n      for (const toggle of openToggles) {\n        const context = Dropdown.getInstance(toggle);\n        if (!context || context._config.autoClose === false) {\n          continue;\n        }\n        const composedPath = event.composedPath();\n        const isMenuTarget = composedPath.includes(context._menu);\n        if (composedPath.includes(context._element) || context._config.autoClose === 'inside' && !isMenuTarget || context._config.autoClose === 'outside' && isMenuTarget) {\n          continue;\n        }\n\n        // Tab navigation through the dropdown menu or events from contained inputs shouldn't close the menu\n        if (context._menu.contains(event.target) && (event.type === 'keyup' && event.key === TAB_KEY$1 || /input|select|option|textarea|form/i.test(event.target.tagName))) {\n          continue;\n        }\n        const relatedTarget = {\n          relatedTarget: context._element\n        };\n        if (event.type === 'click') {\n          relatedTarget.clickEvent = event;\n        }\n        context._completeHide(relatedTarget);\n      }\n    }\n    static dataApiKeydownHandler(event) {\n      // If not an UP | DOWN | ESCAPE key => not a dropdown command\n      // If input/textarea && if key is other than ESCAPE => not a dropdown command\n\n      const isInput = /input|textarea/i.test(event.target.tagName);\n      const isEscapeEvent = event.key === ESCAPE_KEY$2;\n      const isUpOrDownEvent = [ARROW_UP_KEY$1, ARROW_DOWN_KEY$1].includes(event.key);\n      if (!isUpOrDownEvent && !isEscapeEvent) {\n        return;\n      }\n      if (isInput && !isEscapeEvent) {\n        return;\n      }\n      event.preventDefault();\n\n      // TODO: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/\n      const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE$3) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.next(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.findOne(SELECTOR_DATA_TOGGLE$3, event.delegateTarget.parentNode);\n      const instance = Dropdown.getOrCreateInstance(getToggleButton);\n      if (isUpOrDownEvent) {\n        event.stopPropagation();\n        instance.show();\n        instance._selectMenuItem(event);\n        return;\n      }\n      if (instance._isShown()) {\n        // else is escape and we check if it is shown\n        event.stopPropagation();\n        instance.hide();\n        getToggleButton.focus();\n      }\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  EventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$3, Dropdown.dataApiKeydownHandler);\n  EventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler);\n  EventHandler.on(document, EVENT_CLICK_DATA_API$3, Dropdown.clearMenus);\n  EventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus);\n  EventHandler.on(document, EVENT_CLICK_DATA_API$3, SELECTOR_DATA_TOGGLE$3, function (event) {\n    event.preventDefault();\n    Dropdown.getOrCreateInstance(this).toggle();\n  });\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Dropdown);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/backdrop.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$9 = 'backdrop';\n  const CLASS_NAME_FADE$4 = 'fade';\n  const CLASS_NAME_SHOW$5 = 'show';\n  const EVENT_MOUSEDOWN = `mousedown.bs.${NAME$9}`;\n  const Default$8 = {\n    className: 'modal-backdrop',\n    clickCallback: null,\n    isAnimated: false,\n    isVisible: true,\n    // if false, we use the backdrop helper without adding any element to the dom\n    rootElement: 'body' // give the choice to place backdrop under different elements\n  };\n\n  const DefaultType$8 = {\n    className: 'string',\n    clickCallback: '(function|null)',\n    isAnimated: 'boolean',\n    isVisible: 'boolean',\n    rootElement: '(element|string)'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Backdrop extends Config {\n    constructor(config) {\n      super();\n      this._config = this._getConfig(config);\n      this._isAppended = false;\n      this._element = null;\n    }\n\n    // Getters\n    static get Default() {\n      return Default$8;\n    }\n    static get DefaultType() {\n      return DefaultType$8;\n    }\n    static get NAME() {\n      return NAME$9;\n    }\n\n    // Public\n    show(callback) {\n      if (!this._config.isVisible) {\n        execute(callback);\n        return;\n      }\n      this._append();\n      const element = this._getElement();\n      if (this._config.isAnimated) {\n        reflow(element);\n      }\n      element.classList.add(CLASS_NAME_SHOW$5);\n      this._emulateAnimation(() => {\n        execute(callback);\n      });\n    }\n    hide(callback) {\n      if (!this._config.isVisible) {\n        execute(callback);\n        return;\n      }\n      this._getElement().classList.remove(CLASS_NAME_SHOW$5);\n      this._emulateAnimation(() => {\n        this.dispose();\n        execute(callback);\n      });\n    }\n    dispose() {\n      if (!this._isAppended) {\n        return;\n      }\n      EventHandler.off(this._element, EVENT_MOUSEDOWN);\n      this._element.remove();\n      this._isAppended = false;\n    }\n\n    // Private\n    _getElement() {\n      if (!this._element) {\n        const backdrop = document.createElement('div');\n        backdrop.className = this._config.className;\n        if (this._config.isAnimated) {\n          backdrop.classList.add(CLASS_NAME_FADE$4);\n        }\n        this._element = backdrop;\n      }\n      return this._element;\n    }\n    _configAfterMerge(config) {\n      // use getElement() with the default \"body\" to get a fresh Element on each instantiation\n      config.rootElement = getElement(config.rootElement);\n      return config;\n    }\n    _append() {\n      if (this._isAppended) {\n        return;\n      }\n      const element = this._getElement();\n      this._config.rootElement.append(element);\n      EventHandler.on(element, EVENT_MOUSEDOWN, () => {\n        execute(this._config.clickCallback);\n      });\n      this._isAppended = true;\n    }\n    _emulateAnimation(callback) {\n      executeAfterTransition(callback, this._getElement(), this._config.isAnimated);\n    }\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/focustrap.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$8 = 'focustrap';\n  const DATA_KEY$5 = 'bs.focustrap';\n  const EVENT_KEY$5 = `.${DATA_KEY$5}`;\n  const EVENT_FOCUSIN$2 = `focusin${EVENT_KEY$5}`;\n  const EVENT_KEYDOWN_TAB = `keydown.tab${EVENT_KEY$5}`;\n  const TAB_KEY = 'Tab';\n  const TAB_NAV_FORWARD = 'forward';\n  const TAB_NAV_BACKWARD = 'backward';\n  const Default$7 = {\n    autofocus: true,\n    trapElement: null // The element to trap focus inside of\n  };\n\n  const DefaultType$7 = {\n    autofocus: 'boolean',\n    trapElement: 'element'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class FocusTrap extends Config {\n    constructor(config) {\n      super();\n      this._config = this._getConfig(config);\n      this._isActive = false;\n      this._lastTabNavDirection = null;\n    }\n\n    // Getters\n    static get Default() {\n      return Default$7;\n    }\n    static get DefaultType() {\n      return DefaultType$7;\n    }\n    static get NAME() {\n      return NAME$8;\n    }\n\n    // Public\n    activate() {\n      if (this._isActive) {\n        return;\n      }\n      if (this._config.autofocus) {\n        this._config.trapElement.focus();\n      }\n      EventHandler.off(document, EVENT_KEY$5); // guard against infinite focus loop\n      EventHandler.on(document, EVENT_FOCUSIN$2, event => this._handleFocusin(event));\n      EventHandler.on(document, EVENT_KEYDOWN_TAB, event => this._handleKeydown(event));\n      this._isActive = true;\n    }\n    deactivate() {\n      if (!this._isActive) {\n        return;\n      }\n      this._isActive = false;\n      EventHandler.off(document, EVENT_KEY$5);\n    }\n\n    // Private\n    _handleFocusin(event) {\n      const {\n        trapElement\n      } = this._config;\n      if (event.target === document || event.target === trapElement || trapElement.contains(event.target)) {\n        return;\n      }\n      const elements = SelectorEngine.focusableChildren(trapElement);\n      if (elements.length === 0) {\n        trapElement.focus();\n      } else if (this._lastTabNavDirection === TAB_NAV_BACKWARD) {\n        elements[elements.length - 1].focus();\n      } else {\n        elements[0].focus();\n      }\n    }\n    _handleKeydown(event) {\n      if (event.key !== TAB_KEY) {\n        return;\n      }\n      this._lastTabNavDirection = event.shiftKey ? TAB_NAV_BACKWARD : TAB_NAV_FORWARD;\n    }\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/scrollBar.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top';\n  const SELECTOR_STICKY_CONTENT = '.sticky-top';\n  const PROPERTY_PADDING = 'padding-right';\n  const PROPERTY_MARGIN = 'margin-right';\n\n  /**\n   * Class definition\n   */\n\n  class ScrollBarHelper {\n    constructor() {\n      this._element = document.body;\n    }\n\n    // Public\n    getWidth() {\n      // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\n      const documentWidth = document.documentElement.clientWidth;\n      return Math.abs(window.innerWidth - documentWidth);\n    }\n    hide() {\n      const width = this.getWidth();\n      this._disableOverFlow();\n      // give padding to element to balance the hidden scrollbar width\n      this._setElementAttributes(this._element, PROPERTY_PADDING, calculatedValue => calculatedValue + width);\n      // trick: We adjust positive paddingRight and negative marginRight to sticky-top elements to keep showing fullwidth\n      this._setElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING, calculatedValue => calculatedValue + width);\n      this._setElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN, calculatedValue => calculatedValue - width);\n    }\n    reset() {\n      this._resetElementAttributes(this._element, 'overflow');\n      this._resetElementAttributes(this._element, PROPERTY_PADDING);\n      this._resetElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING);\n      this._resetElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN);\n    }\n    isOverflowing() {\n      return this.getWidth() > 0;\n    }\n\n    // Private\n    _disableOverFlow() {\n      this._saveInitialAttribute(this._element, 'overflow');\n      this._element.style.overflow = 'hidden';\n    }\n    _setElementAttributes(selector, styleProperty, callback) {\n      const scrollbarWidth = this.getWidth();\n      const manipulationCallBack = element => {\n        if (element !== this._element && window.innerWidth > element.clientWidth + scrollbarWidth) {\n          return;\n        }\n        this._saveInitialAttribute(element, styleProperty);\n        const calculatedValue = window.getComputedStyle(element).getPropertyValue(styleProperty);\n        element.style.setProperty(styleProperty, `${callback(Number.parseFloat(calculatedValue))}px`);\n      };\n      this._applyManipulationCallback(selector, manipulationCallBack);\n    }\n    _saveInitialAttribute(element, styleProperty) {\n      const actualValue = element.style.getPropertyValue(styleProperty);\n      if (actualValue) {\n        Manipulator.setDataAttribute(element, styleProperty, actualValue);\n      }\n    }\n    _resetElementAttributes(selector, styleProperty) {\n      const manipulationCallBack = element => {\n        const value = Manipulator.getDataAttribute(element, styleProperty);\n        // We only want to remove the property if the value is `null`; the value can also be zero\n        if (value === null) {\n          element.style.removeProperty(styleProperty);\n          return;\n        }\n        Manipulator.removeDataAttribute(element, styleProperty);\n        element.style.setProperty(styleProperty, value);\n      };\n      this._applyManipulationCallback(selector, manipulationCallBack);\n    }\n    _applyManipulationCallback(selector, callBack) {\n      if (isElement(selector)) {\n        callBack(selector);\n        return;\n      }\n      for (const sel of SelectorEngine.find(selector, this._element)) {\n        callBack(sel);\n      }\n    }\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap modal.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$7 = 'modal';\n  const DATA_KEY$4 = 'bs.modal';\n  const EVENT_KEY$4 = `.${DATA_KEY$4}`;\n  const DATA_API_KEY$2 = '.data-api';\n  const ESCAPE_KEY$1 = 'Escape';\n  const EVENT_HIDE$4 = `hide${EVENT_KEY$4}`;\n  const EVENT_HIDE_PREVENTED$1 = `hidePrevented${EVENT_KEY$4}`;\n  const EVENT_HIDDEN$4 = `hidden${EVENT_KEY$4}`;\n  const EVENT_SHOW$4 = `show${EVENT_KEY$4}`;\n  const EVENT_SHOWN$4 = `shown${EVENT_KEY$4}`;\n  const EVENT_RESIZE$1 = `resize${EVENT_KEY$4}`;\n  const EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY$4}`;\n  const EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY$4}`;\n  const EVENT_KEYDOWN_DISMISS$1 = `keydown.dismiss${EVENT_KEY$4}`;\n  const EVENT_CLICK_DATA_API$2 = `click${EVENT_KEY$4}${DATA_API_KEY$2}`;\n  const CLASS_NAME_OPEN = 'modal-open';\n  const CLASS_NAME_FADE$3 = 'fade';\n  const CLASS_NAME_SHOW$4 = 'show';\n  const CLASS_NAME_STATIC = 'modal-static';\n  const OPEN_SELECTOR$1 = '.modal.show';\n  const SELECTOR_DIALOG = '.modal-dialog';\n  const SELECTOR_MODAL_BODY = '.modal-body';\n  const SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle=\"modal\"]';\n  const Default$6 = {\n    backdrop: true,\n    focus: true,\n    keyboard: true\n  };\n  const DefaultType$6 = {\n    backdrop: '(boolean|string)',\n    focus: 'boolean',\n    keyboard: 'boolean'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Modal extends BaseComponent {\n    constructor(element, config) {\n      super(element, config);\n      this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, this._element);\n      this._backdrop = this._initializeBackDrop();\n      this._focustrap = this._initializeFocusTrap();\n      this._isShown = false;\n      this._isTransitioning = false;\n      this._scrollBar = new ScrollBarHelper();\n      this._addEventListeners();\n    }\n\n    // Getters\n    static get Default() {\n      return Default$6;\n    }\n    static get DefaultType() {\n      return DefaultType$6;\n    }\n    static get NAME() {\n      return NAME$7;\n    }\n\n    // Public\n    toggle(relatedTarget) {\n      return this._isShown ? this.hide() : this.show(relatedTarget);\n    }\n    show(relatedTarget) {\n      if (this._isShown || this._isTransitioning) {\n        return;\n      }\n      const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$4, {\n        relatedTarget\n      });\n      if (showEvent.defaultPrevented) {\n        return;\n      }\n      this._isShown = true;\n      this._isTransitioning = true;\n      this._scrollBar.hide();\n      document.body.classList.add(CLASS_NAME_OPEN);\n      this._adjustDialog();\n      this._backdrop.show(() => this._showElement(relatedTarget));\n    }\n    hide() {\n      if (!this._isShown || this._isTransitioning) {\n        return;\n      }\n      const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$4);\n      if (hideEvent.defaultPrevented) {\n        return;\n      }\n      this._isShown = false;\n      this._isTransitioning = true;\n      this._focustrap.deactivate();\n      this._element.classList.remove(CLASS_NAME_SHOW$4);\n      this._queueCallback(() => this._hideModal(), this._element, this._isAnimated());\n    }\n    dispose() {\n      EventHandler.off(window, EVENT_KEY$4);\n      EventHandler.off(this._dialog, EVENT_KEY$4);\n      this._backdrop.dispose();\n      this._focustrap.deactivate();\n      super.dispose();\n    }\n    handleUpdate() {\n      this._adjustDialog();\n    }\n\n    // Private\n    _initializeBackDrop() {\n      return new Backdrop({\n        isVisible: Boolean(this._config.backdrop),\n        // 'static' option will be translated to true, and booleans will keep their value,\n        isAnimated: this._isAnimated()\n      });\n    }\n    _initializeFocusTrap() {\n      return new FocusTrap({\n        trapElement: this._element\n      });\n    }\n    _showElement(relatedTarget) {\n      // try to append dynamic modal\n      if (!document.body.contains(this._element)) {\n        document.body.append(this._element);\n      }\n      this._element.style.display = 'block';\n      this._element.removeAttribute('aria-hidden');\n      this._element.setAttribute('aria-modal', true);\n      this._element.setAttribute('role', 'dialog');\n      this._element.scrollTop = 0;\n      const modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog);\n      if (modalBody) {\n        modalBody.scrollTop = 0;\n      }\n      reflow(this._element);\n      this._element.classList.add(CLASS_NAME_SHOW$4);\n      const transitionComplete = () => {\n        if (this._config.focus) {\n          this._focustrap.activate();\n        }\n        this._isTransitioning = false;\n        EventHandler.trigger(this._element, EVENT_SHOWN$4, {\n          relatedTarget\n        });\n      };\n      this._queueCallback(transitionComplete, this._dialog, this._isAnimated());\n    }\n    _addEventListeners() {\n      EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS$1, event => {\n        if (event.key !== ESCAPE_KEY$1) {\n          return;\n        }\n        if (this._config.keyboard) {\n          this.hide();\n          return;\n        }\n        this._triggerBackdropTransition();\n      });\n      EventHandler.on(window, EVENT_RESIZE$1, () => {\n        if (this._isShown && !this._isTransitioning) {\n          this._adjustDialog();\n        }\n      });\n      EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, event => {\n        // a bad trick to segregate clicks that may start inside dialog but end outside, and avoid listen to scrollbar clicks\n        EventHandler.one(this._element, EVENT_CLICK_DISMISS, event2 => {\n          if (this._element !== event.target || this._element !== event2.target) {\n            return;\n          }\n          if (this._config.backdrop === 'static') {\n            this._triggerBackdropTransition();\n            return;\n          }\n          if (this._config.backdrop) {\n            this.hide();\n          }\n        });\n      });\n    }\n    _hideModal() {\n      this._element.style.display = 'none';\n      this._element.setAttribute('aria-hidden', true);\n      this._element.removeAttribute('aria-modal');\n      this._element.removeAttribute('role');\n      this._isTransitioning = false;\n      this._backdrop.hide(() => {\n        document.body.classList.remove(CLASS_NAME_OPEN);\n        this._resetAdjustments();\n        this._scrollBar.reset();\n        EventHandler.trigger(this._element, EVENT_HIDDEN$4);\n      });\n    }\n    _isAnimated() {\n      return this._element.classList.contains(CLASS_NAME_FADE$3);\n    }\n    _triggerBackdropTransition() {\n      const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED$1);\n      if (hideEvent.defaultPrevented) {\n        return;\n      }\n      const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\n      const initialOverflowY = this._element.style.overflowY;\n      // return if the following background transition hasn't yet completed\n      if (initialOverflowY === 'hidden' || this._element.classList.contains(CLASS_NAME_STATIC)) {\n        return;\n      }\n      if (!isModalOverflowing) {\n        this._element.style.overflowY = 'hidden';\n      }\n      this._element.classList.add(CLASS_NAME_STATIC);\n      this._queueCallback(() => {\n        this._element.classList.remove(CLASS_NAME_STATIC);\n        this._queueCallback(() => {\n          this._element.style.overflowY = initialOverflowY;\n        }, this._dialog);\n      }, this._dialog);\n      this._element.focus();\n    }\n\n    /**\n     * The following methods are used to handle overflowing modals\n     */\n\n    _adjustDialog() {\n      const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\n      const scrollbarWidth = this._scrollBar.getWidth();\n      const isBodyOverflowing = scrollbarWidth > 0;\n      if (isBodyOverflowing && !isModalOverflowing) {\n        const property = isRTL() ? 'paddingLeft' : 'paddingRight';\n        this._element.style[property] = `${scrollbarWidth}px`;\n      }\n      if (!isBodyOverflowing && isModalOverflowing) {\n        const property = isRTL() ? 'paddingRight' : 'paddingLeft';\n        this._element.style[property] = `${scrollbarWidth}px`;\n      }\n    }\n    _resetAdjustments() {\n      this._element.style.paddingLeft = '';\n      this._element.style.paddingRight = '';\n    }\n\n    // Static\n    static jQueryInterface(config, relatedTarget) {\n      return this.each(function () {\n        const data = Modal.getOrCreateInstance(this, config);\n        if (typeof config !== 'string') {\n          return;\n        }\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config](relatedTarget);\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  EventHandler.on(document, EVENT_CLICK_DATA_API$2, SELECTOR_DATA_TOGGLE$2, function (event) {\n    const target = SelectorEngine.getElementFromSelector(this);\n    if (['A', 'AREA'].includes(this.tagName)) {\n      event.preventDefault();\n    }\n    EventHandler.one(target, EVENT_SHOW$4, showEvent => {\n      if (showEvent.defaultPrevented) {\n        // only register focus restorer if modal will actually get shown\n        return;\n      }\n      EventHandler.one(target, EVENT_HIDDEN$4, () => {\n        if (isVisible(this)) {\n          this.focus();\n        }\n      });\n    });\n\n    // avoid conflict when clicking modal toggler while another one is open\n    const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR$1);\n    if (alreadyOpen) {\n      Modal.getInstance(alreadyOpen).hide();\n    }\n    const data = Modal.getOrCreateInstance(target);\n    data.toggle(this);\n  });\n  enableDismissTrigger(Modal);\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Modal);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap offcanvas.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$6 = 'offcanvas';\n  const DATA_KEY$3 = 'bs.offcanvas';\n  const EVENT_KEY$3 = `.${DATA_KEY$3}`;\n  const DATA_API_KEY$1 = '.data-api';\n  const EVENT_LOAD_DATA_API$2 = `load${EVENT_KEY$3}${DATA_API_KEY$1}`;\n  const ESCAPE_KEY = 'Escape';\n  const CLASS_NAME_SHOW$3 = 'show';\n  const CLASS_NAME_SHOWING$1 = 'showing';\n  const CLASS_NAME_HIDING = 'hiding';\n  const CLASS_NAME_BACKDROP = 'offcanvas-backdrop';\n  const OPEN_SELECTOR = '.offcanvas.show';\n  const EVENT_SHOW$3 = `show${EVENT_KEY$3}`;\n  const EVENT_SHOWN$3 = `shown${EVENT_KEY$3}`;\n  const EVENT_HIDE$3 = `hide${EVENT_KEY$3}`;\n  const EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY$3}`;\n  const EVENT_HIDDEN$3 = `hidden${EVENT_KEY$3}`;\n  const EVENT_RESIZE = `resize${EVENT_KEY$3}`;\n  const EVENT_CLICK_DATA_API$1 = `click${EVENT_KEY$3}${DATA_API_KEY$1}`;\n  const EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY$3}`;\n  const SELECTOR_DATA_TOGGLE$1 = '[data-bs-toggle=\"offcanvas\"]';\n  const Default$5 = {\n    backdrop: true,\n    keyboard: true,\n    scroll: false\n  };\n  const DefaultType$5 = {\n    backdrop: '(boolean|string)',\n    keyboard: 'boolean',\n    scroll: 'boolean'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Offcanvas extends BaseComponent {\n    constructor(element, config) {\n      super(element, config);\n      this._isShown = false;\n      this._backdrop = this._initializeBackDrop();\n      this._focustrap = this._initializeFocusTrap();\n      this._addEventListeners();\n    }\n\n    // Getters\n    static get Default() {\n      return Default$5;\n    }\n    static get DefaultType() {\n      return DefaultType$5;\n    }\n    static get NAME() {\n      return NAME$6;\n    }\n\n    // Public\n    toggle(relatedTarget) {\n      return this._isShown ? this.hide() : this.show(relatedTarget);\n    }\n    show(relatedTarget) {\n      if (this._isShown) {\n        return;\n      }\n      const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$3, {\n        relatedTarget\n      });\n      if (showEvent.defaultPrevented) {\n        return;\n      }\n      this._isShown = true;\n      this._backdrop.show();\n      if (!this._config.scroll) {\n        new ScrollBarHelper().hide();\n      }\n      this._element.setAttribute('aria-modal', true);\n      this._element.setAttribute('role', 'dialog');\n      this._element.classList.add(CLASS_NAME_SHOWING$1);\n      const completeCallBack = () => {\n        if (!this._config.scroll || this._config.backdrop) {\n          this._focustrap.activate();\n        }\n        this._element.classList.add(CLASS_NAME_SHOW$3);\n        this._element.classList.remove(CLASS_NAME_SHOWING$1);\n        EventHandler.trigger(this._element, EVENT_SHOWN$3, {\n          relatedTarget\n        });\n      };\n      this._queueCallback(completeCallBack, this._element, true);\n    }\n    hide() {\n      if (!this._isShown) {\n        return;\n      }\n      const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$3);\n      if (hideEvent.defaultPrevented) {\n        return;\n      }\n      this._focustrap.deactivate();\n      this._element.blur();\n      this._isShown = false;\n      this._element.classList.add(CLASS_NAME_HIDING);\n      this._backdrop.hide();\n      const completeCallback = () => {\n        this._element.classList.remove(CLASS_NAME_SHOW$3, CLASS_NAME_HIDING);\n        this._element.removeAttribute('aria-modal');\n        this._element.removeAttribute('role');\n        if (!this._config.scroll) {\n          new ScrollBarHelper().reset();\n        }\n        EventHandler.trigger(this._element, EVENT_HIDDEN$3);\n      };\n      this._queueCallback(completeCallback, this._element, true);\n    }\n    dispose() {\n      this._backdrop.dispose();\n      this._focustrap.deactivate();\n      super.dispose();\n    }\n\n    // Private\n    _initializeBackDrop() {\n      const clickCallback = () => {\n        if (this._config.backdrop === 'static') {\n          EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\n          return;\n        }\n        this.hide();\n      };\n\n      // 'static' option will be translated to true, and booleans will keep their value\n      const isVisible = Boolean(this._config.backdrop);\n      return new Backdrop({\n        className: CLASS_NAME_BACKDROP,\n        isVisible,\n        isAnimated: true,\n        rootElement: this._element.parentNode,\n        clickCallback: isVisible ? clickCallback : null\n      });\n    }\n    _initializeFocusTrap() {\n      return new FocusTrap({\n        trapElement: this._element\n      });\n    }\n    _addEventListeners() {\n      EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => {\n        if (event.key !== ESCAPE_KEY) {\n          return;\n        }\n        if (this._config.keyboard) {\n          this.hide();\n          return;\n        }\n        EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\n      });\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Offcanvas.getOrCreateInstance(this, config);\n        if (typeof config !== 'string') {\n          return;\n        }\n        if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config](this);\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  EventHandler.on(document, EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE$1, function (event) {\n    const target = SelectorEngine.getElementFromSelector(this);\n    if (['A', 'AREA'].includes(this.tagName)) {\n      event.preventDefault();\n    }\n    if (isDisabled(this)) {\n      return;\n    }\n    EventHandler.one(target, EVENT_HIDDEN$3, () => {\n      // focus on trigger when it is closed\n      if (isVisible(this)) {\n        this.focus();\n      }\n    });\n\n    // avoid conflict when clicking a toggler of an offcanvas, while another is open\n    const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR);\n    if (alreadyOpen && alreadyOpen !== target) {\n      Offcanvas.getInstance(alreadyOpen).hide();\n    }\n    const data = Offcanvas.getOrCreateInstance(target);\n    data.toggle(this);\n  });\n  EventHandler.on(window, EVENT_LOAD_DATA_API$2, () => {\n    for (const selector of SelectorEngine.find(OPEN_SELECTOR)) {\n      Offcanvas.getOrCreateInstance(selector).show();\n    }\n  });\n  EventHandler.on(window, EVENT_RESIZE, () => {\n    for (const element of SelectorEngine.find('[aria-modal][class*=show][class*=offcanvas-]')) {\n      if (getComputedStyle(element).position !== 'fixed') {\n        Offcanvas.getOrCreateInstance(element).hide();\n      }\n    }\n  });\n  enableDismissTrigger(Offcanvas);\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Offcanvas);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/sanitizer.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n  // js-docs-start allow-list\n  const ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i;\n  const DefaultAllowlist = {\n    // Global attributes allowed on any supplied element below.\n    '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],\n    a: ['target', 'href', 'title', 'rel'],\n    area: [],\n    b: [],\n    br: [],\n    col: [],\n    code: [],\n    div: [],\n    em: [],\n    hr: [],\n    h1: [],\n    h2: [],\n    h3: [],\n    h4: [],\n    h5: [],\n    h6: [],\n    i: [],\n    img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],\n    li: [],\n    ol: [],\n    p: [],\n    pre: [],\n    s: [],\n    small: [],\n    span: [],\n    sub: [],\n    sup: [],\n    strong: [],\n    u: [],\n    ul: []\n  };\n  // js-docs-end allow-list\n\n  const uriAttributes = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']);\n\n  /**\n   * A pattern that recognizes URLs that are safe wrt. XSS in URL navigation\n   * contexts.\n   *\n   * Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38\n   */\n  // eslint-disable-next-line unicorn/better-regex\n  const SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;\n  const allowedAttribute = (attribute, allowedAttributeList) => {\n    const attributeName = attribute.nodeName.toLowerCase();\n    if (allowedAttributeList.includes(attributeName)) {\n      if (uriAttributes.has(attributeName)) {\n        return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue));\n      }\n      return true;\n    }\n\n    // Check if a regular expression validates the attribute.\n    return allowedAttributeList.filter(attributeRegex => attributeRegex instanceof RegExp).some(regex => regex.test(attributeName));\n  };\n  function sanitizeHtml(unsafeHtml, allowList, sanitizeFunction) {\n    if (!unsafeHtml.length) {\n      return unsafeHtml;\n    }\n    if (sanitizeFunction && typeof sanitizeFunction === 'function') {\n      return sanitizeFunction(unsafeHtml);\n    }\n    const domParser = new window.DOMParser();\n    const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html');\n    const elements = [].concat(...createdDocument.body.querySelectorAll('*'));\n    for (const element of elements) {\n      const elementName = element.nodeName.toLowerCase();\n      if (!Object.keys(allowList).includes(elementName)) {\n        element.remove();\n        continue;\n      }\n      const attributeList = [].concat(...element.attributes);\n      const allowedAttributes = [].concat(allowList['*'] || [], allowList[elementName] || []);\n      for (const attribute of attributeList) {\n        if (!allowedAttribute(attribute, allowedAttributes)) {\n          element.removeAttribute(attribute.nodeName);\n        }\n      }\n    }\n    return createdDocument.body.innerHTML;\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap util/template-factory.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$5 = 'TemplateFactory';\n  const Default$4 = {\n    allowList: DefaultAllowlist,\n    content: {},\n    // { selector : text ,  selector2 : text2 , }\n    extraClass: '',\n    html: false,\n    sanitize: true,\n    sanitizeFn: null,\n    template: '<div></div>'\n  };\n  const DefaultType$4 = {\n    allowList: 'object',\n    content: 'object',\n    extraClass: '(string|function)',\n    html: 'boolean',\n    sanitize: 'boolean',\n    sanitizeFn: '(null|function)',\n    template: 'string'\n  };\n  const DefaultContentType = {\n    entry: '(string|element|function|null)',\n    selector: '(string|element)'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class TemplateFactory extends Config {\n    constructor(config) {\n      super();\n      this._config = this._getConfig(config);\n    }\n\n    // Getters\n    static get Default() {\n      return Default$4;\n    }\n    static get DefaultType() {\n      return DefaultType$4;\n    }\n    static get NAME() {\n      return NAME$5;\n    }\n\n    // Public\n    getContent() {\n      return Object.values(this._config.content).map(config => this._resolvePossibleFunction(config)).filter(Boolean);\n    }\n    hasContent() {\n      return this.getContent().length > 0;\n    }\n    changeContent(content) {\n      this._checkContent(content);\n      this._config.content = {\n        ...this._config.content,\n        ...content\n      };\n      return this;\n    }\n    toHtml() {\n      const templateWrapper = document.createElement('div');\n      templateWrapper.innerHTML = this._maybeSanitize(this._config.template);\n      for (const [selector, text] of Object.entries(this._config.content)) {\n        this._setContent(templateWrapper, text, selector);\n      }\n      const template = templateWrapper.children[0];\n      const extraClass = this._resolvePossibleFunction(this._config.extraClass);\n      if (extraClass) {\n        template.classList.add(...extraClass.split(' '));\n      }\n      return template;\n    }\n\n    // Private\n    _typeCheckConfig(config) {\n      super._typeCheckConfig(config);\n      this._checkContent(config.content);\n    }\n    _checkContent(arg) {\n      for (const [selector, content] of Object.entries(arg)) {\n        super._typeCheckConfig({\n          selector,\n          entry: content\n        }, DefaultContentType);\n      }\n    }\n    _setContent(template, content, selector) {\n      const templateElement = SelectorEngine.findOne(selector, template);\n      if (!templateElement) {\n        return;\n      }\n      content = this._resolvePossibleFunction(content);\n      if (!content) {\n        templateElement.remove();\n        return;\n      }\n      if (isElement(content)) {\n        this._putElementInTemplate(getElement(content), templateElement);\n        return;\n      }\n      if (this._config.html) {\n        templateElement.innerHTML = this._maybeSanitize(content);\n        return;\n      }\n      templateElement.textContent = content;\n    }\n    _maybeSanitize(arg) {\n      return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;\n    }\n    _resolvePossibleFunction(arg) {\n      return execute(arg, [this]);\n    }\n    _putElementInTemplate(element, templateElement) {\n      if (this._config.html) {\n        templateElement.innerHTML = '';\n        templateElement.append(element);\n        return;\n      }\n      templateElement.textContent = element.textContent;\n    }\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap tooltip.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$4 = 'tooltip';\n  const DISALLOWED_ATTRIBUTES = new Set(['sanitize', 'allowList', 'sanitizeFn']);\n  const CLASS_NAME_FADE$2 = 'fade';\n  const CLASS_NAME_MODAL = 'modal';\n  const CLASS_NAME_SHOW$2 = 'show';\n  const SELECTOR_TOOLTIP_INNER = '.tooltip-inner';\n  const SELECTOR_MODAL = `.${CLASS_NAME_MODAL}`;\n  const EVENT_MODAL_HIDE = 'hide.bs.modal';\n  const TRIGGER_HOVER = 'hover';\n  const TRIGGER_FOCUS = 'focus';\n  const TRIGGER_CLICK = 'click';\n  const TRIGGER_MANUAL = 'manual';\n  const EVENT_HIDE$2 = 'hide';\n  const EVENT_HIDDEN$2 = 'hidden';\n  const EVENT_SHOW$2 = 'show';\n  const EVENT_SHOWN$2 = 'shown';\n  const EVENT_INSERTED = 'inserted';\n  const EVENT_CLICK$1 = 'click';\n  const EVENT_FOCUSIN$1 = 'focusin';\n  const EVENT_FOCUSOUT$1 = 'focusout';\n  const EVENT_MOUSEENTER = 'mouseenter';\n  const EVENT_MOUSELEAVE = 'mouseleave';\n  const AttachmentMap = {\n    AUTO: 'auto',\n    TOP: 'top',\n    RIGHT: isRTL() ? 'left' : 'right',\n    BOTTOM: 'bottom',\n    LEFT: isRTL() ? 'right' : 'left'\n  };\n  const Default$3 = {\n    allowList: DefaultAllowlist,\n    animation: true,\n    boundary: 'clippingParents',\n    container: false,\n    customClass: '',\n    delay: 0,\n    fallbackPlacements: ['top', 'right', 'bottom', 'left'],\n    html: false,\n    offset: [0, 6],\n    placement: 'top',\n    popperConfig: null,\n    sanitize: true,\n    sanitizeFn: null,\n    selector: false,\n    template: '<div class=\"tooltip\" role=\"tooltip\">' + '<div class=\"tooltip-arrow\"></div>' + '<div class=\"tooltip-inner\"></div>' + '</div>',\n    title: '',\n    trigger: 'hover focus'\n  };\n  const DefaultType$3 = {\n    allowList: 'object',\n    animation: 'boolean',\n    boundary: '(string|element)',\n    container: '(string|element|boolean)',\n    customClass: '(string|function)',\n    delay: '(number|object)',\n    fallbackPlacements: 'array',\n    html: 'boolean',\n    offset: '(array|string|function)',\n    placement: '(string|function)',\n    popperConfig: '(null|object|function)',\n    sanitize: 'boolean',\n    sanitizeFn: '(null|function)',\n    selector: '(string|boolean)',\n    template: 'string',\n    title: '(string|element|function)',\n    trigger: 'string'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Tooltip extends BaseComponent {\n    constructor(element, config) {\n      if (typeof Popper__namespace === 'undefined') {\n        throw new TypeError('Bootstrap\\'s tooltips require Popper (https://popper.js.org)');\n      }\n      super(element, config);\n\n      // Private\n      this._isEnabled = true;\n      this._timeout = 0;\n      this._isHovered = null;\n      this._activeTrigger = {};\n      this._popper = null;\n      this._templateFactory = null;\n      this._newContent = null;\n\n      // Protected\n      this.tip = null;\n      this._setListeners();\n      if (!this._config.selector) {\n        this._fixTitle();\n      }\n    }\n\n    // Getters\n    static get Default() {\n      return Default$3;\n    }\n    static get DefaultType() {\n      return DefaultType$3;\n    }\n    static get NAME() {\n      return NAME$4;\n    }\n\n    // Public\n    enable() {\n      this._isEnabled = true;\n    }\n    disable() {\n      this._isEnabled = false;\n    }\n    toggleEnabled() {\n      this._isEnabled = !this._isEnabled;\n    }\n    toggle() {\n      if (!this._isEnabled) {\n        return;\n      }\n      this._activeTrigger.click = !this._activeTrigger.click;\n      if (this._isShown()) {\n        this._leave();\n        return;\n      }\n      this._enter();\n    }\n    dispose() {\n      clearTimeout(this._timeout);\n      EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);\n      if (this._element.getAttribute('data-bs-original-title')) {\n        this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));\n      }\n      this._disposePopper();\n      super.dispose();\n    }\n    show() {\n      if (this._element.style.display === 'none') {\n        throw new Error('Please use show on visible elements');\n      }\n      if (!(this._isWithContent() && this._isEnabled)) {\n        return;\n      }\n      const showEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOW$2));\n      const shadowRoot = findShadowRoot(this._element);\n      const isInTheDom = (shadowRoot || this._element.ownerDocument.documentElement).contains(this._element);\n      if (showEvent.defaultPrevented || !isInTheDom) {\n        return;\n      }\n\n      // TODO: v6 remove this or make it optional\n      this._disposePopper();\n      const tip = this._getTipElement();\n      this._element.setAttribute('aria-describedby', tip.getAttribute('id'));\n      const {\n        container\n      } = this._config;\n      if (!this._element.ownerDocument.documentElement.contains(this.tip)) {\n        container.append(tip);\n        EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED));\n      }\n      this._popper = this._createPopper(tip);\n      tip.classList.add(CLASS_NAME_SHOW$2);\n\n      // If this is a touch-enabled device we add extra\n      // empty mouseover listeners to the body's immediate children;\n      // only needed because of broken event delegation on iOS\n      // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n      if ('ontouchstart' in document.documentElement) {\n        for (const element of [].concat(...document.body.children)) {\n          EventHandler.on(element, 'mouseover', noop);\n        }\n      }\n      const complete = () => {\n        EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOWN$2));\n        if (this._isHovered === false) {\n          this._leave();\n        }\n        this._isHovered = false;\n      };\n      this._queueCallback(complete, this.tip, this._isAnimated());\n    }\n    hide() {\n      if (!this._isShown()) {\n        return;\n      }\n      const hideEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDE$2));\n      if (hideEvent.defaultPrevented) {\n        return;\n      }\n      const tip = this._getTipElement();\n      tip.classList.remove(CLASS_NAME_SHOW$2);\n\n      // If this is a touch-enabled device we remove the extra\n      // empty mouseover listeners we added for iOS support\n      if ('ontouchstart' in document.documentElement) {\n        for (const element of [].concat(...document.body.children)) {\n          EventHandler.off(element, 'mouseover', noop);\n        }\n      }\n      this._activeTrigger[TRIGGER_CLICK] = false;\n      this._activeTrigger[TRIGGER_FOCUS] = false;\n      this._activeTrigger[TRIGGER_HOVER] = false;\n      this._isHovered = null; // it is a trick to support manual triggering\n\n      const complete = () => {\n        if (this._isWithActiveTrigger()) {\n          return;\n        }\n        if (!this._isHovered) {\n          this._disposePopper();\n        }\n        this._element.removeAttribute('aria-describedby');\n        EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN$2));\n      };\n      this._queueCallback(complete, this.tip, this._isAnimated());\n    }\n    update() {\n      if (this._popper) {\n        this._popper.update();\n      }\n    }\n\n    // Protected\n    _isWithContent() {\n      return Boolean(this._getTitle());\n    }\n    _getTipElement() {\n      if (!this.tip) {\n        this.tip = this._createTipElement(this._newContent || this._getContentForTemplate());\n      }\n      return this.tip;\n    }\n    _createTipElement(content) {\n      const tip = this._getTemplateFactory(content).toHtml();\n\n      // TODO: remove this check in v6\n      if (!tip) {\n        return null;\n      }\n      tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$2);\n      // TODO: v6 the following can be achieved with CSS only\n      tip.classList.add(`bs-${this.constructor.NAME}-auto`);\n      const tipId = getUID(this.constructor.NAME).toString();\n      tip.setAttribute('id', tipId);\n      if (this._isAnimated()) {\n        tip.classList.add(CLASS_NAME_FADE$2);\n      }\n      return tip;\n    }\n    setContent(content) {\n      this._newContent = content;\n      if (this._isShown()) {\n        this._disposePopper();\n        this.show();\n      }\n    }\n    _getTemplateFactory(content) {\n      if (this._templateFactory) {\n        this._templateFactory.changeContent(content);\n      } else {\n        this._templateFactory = new TemplateFactory({\n          ...this._config,\n          // the `content` var has to be after `this._config`\n          // to override config.content in case of popover\n          content,\n          extraClass: this._resolvePossibleFunction(this._config.customClass)\n        });\n      }\n      return this._templateFactory;\n    }\n    _getContentForTemplate() {\n      return {\n        [SELECTOR_TOOLTIP_INNER]: this._getTitle()\n      };\n    }\n    _getTitle() {\n      return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('data-bs-original-title');\n    }\n\n    // Private\n    _initializeOnDelegatedTarget(event) {\n      return this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig());\n    }\n    _isAnimated() {\n      return this._config.animation || this.tip && this.tip.classList.contains(CLASS_NAME_FADE$2);\n    }\n    _isShown() {\n      return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW$2);\n    }\n    _createPopper(tip) {\n      const placement = execute(this._config.placement, [this, tip, this._element]);\n      const attachment = AttachmentMap[placement.toUpperCase()];\n      return Popper__namespace.createPopper(this._element, tip, this._getPopperConfig(attachment));\n    }\n    _getOffset() {\n      const {\n        offset\n      } = this._config;\n      if (typeof offset === 'string') {\n        return offset.split(',').map(value => Number.parseInt(value, 10));\n      }\n      if (typeof offset === 'function') {\n        return popperData => offset(popperData, this._element);\n      }\n      return offset;\n    }\n    _resolvePossibleFunction(arg) {\n      return execute(arg, [this._element]);\n    }\n    _getPopperConfig(attachment) {\n      const defaultBsPopperConfig = {\n        placement: attachment,\n        modifiers: [{\n          name: 'flip',\n          options: {\n            fallbackPlacements: this._config.fallbackPlacements\n          }\n        }, {\n          name: 'offset',\n          options: {\n            offset: this._getOffset()\n          }\n        }, {\n          name: 'preventOverflow',\n          options: {\n            boundary: this._config.boundary\n          }\n        }, {\n          name: 'arrow',\n          options: {\n            element: `.${this.constructor.NAME}-arrow`\n          }\n        }, {\n          name: 'preSetPlacement',\n          enabled: true,\n          phase: 'beforeMain',\n          fn: data => {\n            // Pre-set Popper's placement attribute in order to read the arrow sizes properly.\n            // Otherwise, Popper mixes up the width and height dimensions since the initial arrow style is for top placement\n            this._getTipElement().setAttribute('data-popper-placement', data.state.placement);\n          }\n        }]\n      };\n      return {\n        ...defaultBsPopperConfig,\n        ...execute(this._config.popperConfig, [defaultBsPopperConfig])\n      };\n    }\n    _setListeners() {\n      const triggers = this._config.trigger.split(' ');\n      for (const trigger of triggers) {\n        if (trigger === 'click') {\n          EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => {\n            const context = this._initializeOnDelegatedTarget(event);\n            context.toggle();\n          });\n        } else if (trigger !== TRIGGER_MANUAL) {\n          const eventIn = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSEENTER) : this.constructor.eventName(EVENT_FOCUSIN$1);\n          const eventOut = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSELEAVE) : this.constructor.eventName(EVENT_FOCUSOUT$1);\n          EventHandler.on(this._element, eventIn, this._config.selector, event => {\n            const context = this._initializeOnDelegatedTarget(event);\n            context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true;\n            context._enter();\n          });\n          EventHandler.on(this._element, eventOut, this._config.selector, event => {\n            const context = this._initializeOnDelegatedTarget(event);\n            context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] = context._element.contains(event.relatedTarget);\n            context._leave();\n          });\n        }\n      }\n      this._hideModalHandler = () => {\n        if (this._element) {\n          this.hide();\n        }\n      };\n      EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);\n    }\n    _fixTitle() {\n      const title = this._element.getAttribute('title');\n      if (!title) {\n        return;\n      }\n      if (!this._element.getAttribute('aria-label') && !this._element.textContent.trim()) {\n        this._element.setAttribute('aria-label', title);\n      }\n      this._element.setAttribute('data-bs-original-title', title); // DO NOT USE IT. Is only for backwards compatibility\n      this._element.removeAttribute('title');\n    }\n    _enter() {\n      if (this._isShown() || this._isHovered) {\n        this._isHovered = true;\n        return;\n      }\n      this._isHovered = true;\n      this._setTimeout(() => {\n        if (this._isHovered) {\n          this.show();\n        }\n      }, this._config.delay.show);\n    }\n    _leave() {\n      if (this._isWithActiveTrigger()) {\n        return;\n      }\n      this._isHovered = false;\n      this._setTimeout(() => {\n        if (!this._isHovered) {\n          this.hide();\n        }\n      }, this._config.delay.hide);\n    }\n    _setTimeout(handler, timeout) {\n      clearTimeout(this._timeout);\n      this._timeout = setTimeout(handler, timeout);\n    }\n    _isWithActiveTrigger() {\n      return Object.values(this._activeTrigger).includes(true);\n    }\n    _getConfig(config) {\n      const dataAttributes = Manipulator.getDataAttributes(this._element);\n      for (const dataAttribute of Object.keys(dataAttributes)) {\n        if (DISALLOWED_ATTRIBUTES.has(dataAttribute)) {\n          delete dataAttributes[dataAttribute];\n        }\n      }\n      config = {\n        ...dataAttributes,\n        ...(typeof config === 'object' && config ? config : {})\n      };\n      config = this._mergeConfigObj(config);\n      config = this._configAfterMerge(config);\n      this._typeCheckConfig(config);\n      return config;\n    }\n    _configAfterMerge(config) {\n      config.container = config.container === false ? document.body : getElement(config.container);\n      if (typeof config.delay === 'number') {\n        config.delay = {\n          show: config.delay,\n          hide: config.delay\n        };\n      }\n      if (typeof config.title === 'number') {\n        config.title = config.title.toString();\n      }\n      if (typeof config.content === 'number') {\n        config.content = config.content.toString();\n      }\n      return config;\n    }\n    _getDelegateConfig() {\n      const config = {};\n      for (const [key, value] of Object.entries(this._config)) {\n        if (this.constructor.Default[key] !== value) {\n          config[key] = value;\n        }\n      }\n      config.selector = false;\n      config.trigger = 'manual';\n\n      // In the future can be replaced with:\n      // const keysWithDifferentValues = Object.entries(this._config).filter(entry => this.constructor.Default[entry[0]] !== this._config[entry[0]])\n      // `Object.fromEntries(keysWithDifferentValues)`\n      return config;\n    }\n    _disposePopper() {\n      if (this._popper) {\n        this._popper.destroy();\n        this._popper = null;\n      }\n      if (this.tip) {\n        this.tip.remove();\n        this.tip = null;\n      }\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Tooltip.getOrCreateInstance(this, config);\n        if (typeof config !== 'string') {\n          return;\n        }\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config]();\n      });\n    }\n  }\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Tooltip);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap popover.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$3 = 'popover';\n  const SELECTOR_TITLE = '.popover-header';\n  const SELECTOR_CONTENT = '.popover-body';\n  const Default$2 = {\n    ...Tooltip.Default,\n    content: '',\n    offset: [0, 8],\n    placement: 'right',\n    template: '<div class=\"popover\" role=\"tooltip\">' + '<div class=\"popover-arrow\"></div>' + '<h3 class=\"popover-header\"></h3>' + '<div class=\"popover-body\"></div>' + '</div>',\n    trigger: 'click'\n  };\n  const DefaultType$2 = {\n    ...Tooltip.DefaultType,\n    content: '(null|string|element|function)'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Popover extends Tooltip {\n    // Getters\n    static get Default() {\n      return Default$2;\n    }\n    static get DefaultType() {\n      return DefaultType$2;\n    }\n    static get NAME() {\n      return NAME$3;\n    }\n\n    // Overrides\n    _isWithContent() {\n      return this._getTitle() || this._getContent();\n    }\n\n    // Private\n    _getContentForTemplate() {\n      return {\n        [SELECTOR_TITLE]: this._getTitle(),\n        [SELECTOR_CONTENT]: this._getContent()\n      };\n    }\n    _getContent() {\n      return this._resolvePossibleFunction(this._config.content);\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Popover.getOrCreateInstance(this, config);\n        if (typeof config !== 'string') {\n          return;\n        }\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config]();\n      });\n    }\n  }\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Popover);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap scrollspy.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$2 = 'scrollspy';\n  const DATA_KEY$2 = 'bs.scrollspy';\n  const EVENT_KEY$2 = `.${DATA_KEY$2}`;\n  const DATA_API_KEY = '.data-api';\n  const EVENT_ACTIVATE = `activate${EVENT_KEY$2}`;\n  const EVENT_CLICK = `click${EVENT_KEY$2}`;\n  const EVENT_LOAD_DATA_API$1 = `load${EVENT_KEY$2}${DATA_API_KEY}`;\n  const CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item';\n  const CLASS_NAME_ACTIVE$1 = 'active';\n  const SELECTOR_DATA_SPY = '[data-bs-spy=\"scroll\"]';\n  const SELECTOR_TARGET_LINKS = '[href]';\n  const SELECTOR_NAV_LIST_GROUP = '.nav, .list-group';\n  const SELECTOR_NAV_LINKS = '.nav-link';\n  const SELECTOR_NAV_ITEMS = '.nav-item';\n  const SELECTOR_LIST_ITEMS = '.list-group-item';\n  const SELECTOR_LINK_ITEMS = `${SELECTOR_NAV_LINKS}, ${SELECTOR_NAV_ITEMS} > ${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`;\n  const SELECTOR_DROPDOWN = '.dropdown';\n  const SELECTOR_DROPDOWN_TOGGLE$1 = '.dropdown-toggle';\n  const Default$1 = {\n    offset: null,\n    // TODO: v6 @deprecated, keep it for backwards compatibility reasons\n    rootMargin: '0px 0px -25%',\n    smoothScroll: false,\n    target: null,\n    threshold: [0.1, 0.5, 1]\n  };\n  const DefaultType$1 = {\n    offset: '(number|null)',\n    // TODO v6 @deprecated, keep it for backwards compatibility reasons\n    rootMargin: 'string',\n    smoothScroll: 'boolean',\n    target: 'element',\n    threshold: 'array'\n  };\n\n  /**\n   * Class definition\n   */\n\n  class ScrollSpy extends BaseComponent {\n    constructor(element, config) {\n      super(element, config);\n\n      // this._element is the observablesContainer and config.target the menu links wrapper\n      this._targetLinks = new Map();\n      this._observableSections = new Map();\n      this._rootElement = getComputedStyle(this._element).overflowY === 'visible' ? null : this._element;\n      this._activeTarget = null;\n      this._observer = null;\n      this._previousScrollData = {\n        visibleEntryTop: 0,\n        parentScrollTop: 0\n      };\n      this.refresh(); // initialize\n    }\n\n    // Getters\n    static get Default() {\n      return Default$1;\n    }\n    static get DefaultType() {\n      return DefaultType$1;\n    }\n    static get NAME() {\n      return NAME$2;\n    }\n\n    // Public\n    refresh() {\n      this._initializeTargetsAndObservables();\n      this._maybeEnableSmoothScroll();\n      if (this._observer) {\n        this._observer.disconnect();\n      } else {\n        this._observer = this._getNewObserver();\n      }\n      for (const section of this._observableSections.values()) {\n        this._observer.observe(section);\n      }\n    }\n    dispose() {\n      this._observer.disconnect();\n      super.dispose();\n    }\n\n    // Private\n    _configAfterMerge(config) {\n      // TODO: on v6 target should be given explicitly & remove the {target: 'ss-target'} case\n      config.target = getElement(config.target) || document.body;\n\n      // TODO: v6 Only for backwards compatibility reasons. Use rootMargin only\n      config.rootMargin = config.offset ? `${config.offset}px 0px -30%` : config.rootMargin;\n      if (typeof config.threshold === 'string') {\n        config.threshold = config.threshold.split(',').map(value => Number.parseFloat(value));\n      }\n      return config;\n    }\n    _maybeEnableSmoothScroll() {\n      if (!this._config.smoothScroll) {\n        return;\n      }\n\n      // unregister any previous listeners\n      EventHandler.off(this._config.target, EVENT_CLICK);\n      EventHandler.on(this._config.target, EVENT_CLICK, SELECTOR_TARGET_LINKS, event => {\n        const observableSection = this._observableSections.get(event.target.hash);\n        if (observableSection) {\n          event.preventDefault();\n          const root = this._rootElement || window;\n          const height = observableSection.offsetTop - this._element.offsetTop;\n          if (root.scrollTo) {\n            root.scrollTo({\n              top: height,\n              behavior: 'smooth'\n            });\n            return;\n          }\n\n          // Chrome 60 doesn't support `scrollTo`\n          root.scrollTop = height;\n        }\n      });\n    }\n    _getNewObserver() {\n      const options = {\n        root: this._rootElement,\n        threshold: this._config.threshold,\n        rootMargin: this._config.rootMargin\n      };\n      return new IntersectionObserver(entries => this._observerCallback(entries), options);\n    }\n\n    // The logic of selection\n    _observerCallback(entries) {\n      const targetElement = entry => this._targetLinks.get(`#${entry.target.id}`);\n      const activate = entry => {\n        this._previousScrollData.visibleEntryTop = entry.target.offsetTop;\n        this._process(targetElement(entry));\n      };\n      const parentScrollTop = (this._rootElement || document.documentElement).scrollTop;\n      const userScrollsDown = parentScrollTop >= this._previousScrollData.parentScrollTop;\n      this._previousScrollData.parentScrollTop = parentScrollTop;\n      for (const entry of entries) {\n        if (!entry.isIntersecting) {\n          this._activeTarget = null;\n          this._clearActiveClass(targetElement(entry));\n          continue;\n        }\n        const entryIsLowerThanPrevious = entry.target.offsetTop >= this._previousScrollData.visibleEntryTop;\n        // if we are scrolling down, pick the bigger offsetTop\n        if (userScrollsDown && entryIsLowerThanPrevious) {\n          activate(entry);\n          // if parent isn't scrolled, let's keep the first visible item, breaking the iteration\n          if (!parentScrollTop) {\n            return;\n          }\n          continue;\n        }\n\n        // if we are scrolling up, pick the smallest offsetTop\n        if (!userScrollsDown && !entryIsLowerThanPrevious) {\n          activate(entry);\n        }\n      }\n    }\n    _initializeTargetsAndObservables() {\n      this._targetLinks = new Map();\n      this._observableSections = new Map();\n      const targetLinks = SelectorEngine.find(SELECTOR_TARGET_LINKS, this._config.target);\n      for (const anchor of targetLinks) {\n        // ensure that the anchor has an id and is not disabled\n        if (!anchor.hash || isDisabled(anchor)) {\n          continue;\n        }\n        const observableSection = SelectorEngine.findOne(decodeURI(anchor.hash), this._element);\n\n        // ensure that the observableSection exists & is visible\n        if (isVisible(observableSection)) {\n          this._targetLinks.set(decodeURI(anchor.hash), anchor);\n          this._observableSections.set(anchor.hash, observableSection);\n        }\n      }\n    }\n    _process(target) {\n      if (this._activeTarget === target) {\n        return;\n      }\n      this._clearActiveClass(this._config.target);\n      this._activeTarget = target;\n      target.classList.add(CLASS_NAME_ACTIVE$1);\n      this._activateParents(target);\n      EventHandler.trigger(this._element, EVENT_ACTIVATE, {\n        relatedTarget: target\n      });\n    }\n    _activateParents(target) {\n      // Activate dropdown parents\n      if (target.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) {\n        SelectorEngine.findOne(SELECTOR_DROPDOWN_TOGGLE$1, target.closest(SELECTOR_DROPDOWN)).classList.add(CLASS_NAME_ACTIVE$1);\n        return;\n      }\n      for (const listGroup of SelectorEngine.parents(target, SELECTOR_NAV_LIST_GROUP)) {\n        // Set triggered links parents as active\n        // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor\n        for (const item of SelectorEngine.prev(listGroup, SELECTOR_LINK_ITEMS)) {\n          item.classList.add(CLASS_NAME_ACTIVE$1);\n        }\n      }\n    }\n    _clearActiveClass(parent) {\n      parent.classList.remove(CLASS_NAME_ACTIVE$1);\n      const activeNodes = SelectorEngine.find(`${SELECTOR_TARGET_LINKS}.${CLASS_NAME_ACTIVE$1}`, parent);\n      for (const node of activeNodes) {\n        node.classList.remove(CLASS_NAME_ACTIVE$1);\n      }\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = ScrollSpy.getOrCreateInstance(this, config);\n        if (typeof config !== 'string') {\n          return;\n        }\n        if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config]();\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  EventHandler.on(window, EVENT_LOAD_DATA_API$1, () => {\n    for (const spy of SelectorEngine.find(SELECTOR_DATA_SPY)) {\n      ScrollSpy.getOrCreateInstance(spy);\n    }\n  });\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(ScrollSpy);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap tab.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME$1 = 'tab';\n  const DATA_KEY$1 = 'bs.tab';\n  const EVENT_KEY$1 = `.${DATA_KEY$1}`;\n  const EVENT_HIDE$1 = `hide${EVENT_KEY$1}`;\n  const EVENT_HIDDEN$1 = `hidden${EVENT_KEY$1}`;\n  const EVENT_SHOW$1 = `show${EVENT_KEY$1}`;\n  const EVENT_SHOWN$1 = `shown${EVENT_KEY$1}`;\n  const EVENT_CLICK_DATA_API = `click${EVENT_KEY$1}`;\n  const EVENT_KEYDOWN = `keydown${EVENT_KEY$1}`;\n  const EVENT_LOAD_DATA_API = `load${EVENT_KEY$1}`;\n  const ARROW_LEFT_KEY = 'ArrowLeft';\n  const ARROW_RIGHT_KEY = 'ArrowRight';\n  const ARROW_UP_KEY = 'ArrowUp';\n  const ARROW_DOWN_KEY = 'ArrowDown';\n  const CLASS_NAME_ACTIVE = 'active';\n  const CLASS_NAME_FADE$1 = 'fade';\n  const CLASS_NAME_SHOW$1 = 'show';\n  const CLASS_DROPDOWN = 'dropdown';\n  const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';\n  const SELECTOR_DROPDOWN_MENU = '.dropdown-menu';\n  const NOT_SELECTOR_DROPDOWN_TOGGLE = ':not(.dropdown-toggle)';\n  const SELECTOR_TAB_PANEL = '.list-group, .nav, [role=\"tablist\"]';\n  const SELECTOR_OUTER = '.nav-item, .list-group-item';\n  const SELECTOR_INNER = `.nav-link${NOT_SELECTOR_DROPDOWN_TOGGLE}, .list-group-item${NOT_SELECTOR_DROPDOWN_TOGGLE}, [role=\"tab\"]${NOT_SELECTOR_DROPDOWN_TOGGLE}`;\n  const SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"tab\"], [data-bs-toggle=\"pill\"], [data-bs-toggle=\"list\"]'; // TODO: could only be `tab` in v6\n  const SELECTOR_INNER_ELEM = `${SELECTOR_INNER}, ${SELECTOR_DATA_TOGGLE}`;\n  const SELECTOR_DATA_TOGGLE_ACTIVE = `.${CLASS_NAME_ACTIVE}[data-bs-toggle=\"tab\"], .${CLASS_NAME_ACTIVE}[data-bs-toggle=\"pill\"], .${CLASS_NAME_ACTIVE}[data-bs-toggle=\"list\"]`;\n\n  /**\n   * Class definition\n   */\n\n  class Tab extends BaseComponent {\n    constructor(element) {\n      super(element);\n      this._parent = this._element.closest(SELECTOR_TAB_PANEL);\n      if (!this._parent) {\n        return;\n        // TODO: should throw exception in v6\n        // throw new TypeError(`${element.outerHTML} has not a valid parent ${SELECTOR_INNER_ELEM}`)\n      }\n\n      // Set up initial aria attributes\n      this._setInitialAttributes(this._parent, this._getChildren());\n      EventHandler.on(this._element, EVENT_KEYDOWN, event => this._keydown(event));\n    }\n\n    // Getters\n    static get NAME() {\n      return NAME$1;\n    }\n\n    // Public\n    show() {\n      // Shows this elem and deactivate the active sibling if exists\n      const innerElem = this._element;\n      if (this._elemIsActive(innerElem)) {\n        return;\n      }\n\n      // Search for active tab on same parent to deactivate it\n      const active = this._getActiveElem();\n      const hideEvent = active ? EventHandler.trigger(active, EVENT_HIDE$1, {\n        relatedTarget: innerElem\n      }) : null;\n      const showEvent = EventHandler.trigger(innerElem, EVENT_SHOW$1, {\n        relatedTarget: active\n      });\n      if (showEvent.defaultPrevented || hideEvent && hideEvent.defaultPrevented) {\n        return;\n      }\n      this._deactivate(active, innerElem);\n      this._activate(innerElem, active);\n    }\n\n    // Private\n    _activate(element, relatedElem) {\n      if (!element) {\n        return;\n      }\n      element.classList.add(CLASS_NAME_ACTIVE);\n      this._activate(SelectorEngine.getElementFromSelector(element)); // Search and activate/show the proper section\n\n      const complete = () => {\n        if (element.getAttribute('role') !== 'tab') {\n          element.classList.add(CLASS_NAME_SHOW$1);\n          return;\n        }\n        element.removeAttribute('tabindex');\n        element.setAttribute('aria-selected', true);\n        this._toggleDropDown(element, true);\n        EventHandler.trigger(element, EVENT_SHOWN$1, {\n          relatedTarget: relatedElem\n        });\n      };\n      this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE$1));\n    }\n    _deactivate(element, relatedElem) {\n      if (!element) {\n        return;\n      }\n      element.classList.remove(CLASS_NAME_ACTIVE);\n      element.blur();\n      this._deactivate(SelectorEngine.getElementFromSelector(element)); // Search and deactivate the shown section too\n\n      const complete = () => {\n        if (element.getAttribute('role') !== 'tab') {\n          element.classList.remove(CLASS_NAME_SHOW$1);\n          return;\n        }\n        element.setAttribute('aria-selected', false);\n        element.setAttribute('tabindex', '-1');\n        this._toggleDropDown(element, false);\n        EventHandler.trigger(element, EVENT_HIDDEN$1, {\n          relatedTarget: relatedElem\n        });\n      };\n      this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE$1));\n    }\n    _keydown(event) {\n      if (![ARROW_LEFT_KEY, ARROW_RIGHT_KEY, ARROW_UP_KEY, ARROW_DOWN_KEY].includes(event.key)) {\n        return;\n      }\n      event.stopPropagation(); // stopPropagation/preventDefault both added to support up/down keys without scrolling the page\n      event.preventDefault();\n      const isNext = [ARROW_RIGHT_KEY, ARROW_DOWN_KEY].includes(event.key);\n      const nextActiveElement = getNextActiveElement(this._getChildren().filter(element => !isDisabled(element)), event.target, isNext, true);\n      if (nextActiveElement) {\n        nextActiveElement.focus({\n          preventScroll: true\n        });\n        Tab.getOrCreateInstance(nextActiveElement).show();\n      }\n    }\n    _getChildren() {\n      // collection of inner elements\n      return SelectorEngine.find(SELECTOR_INNER_ELEM, this._parent);\n    }\n    _getActiveElem() {\n      return this._getChildren().find(child => this._elemIsActive(child)) || null;\n    }\n    _setInitialAttributes(parent, children) {\n      this._setAttributeIfNotExists(parent, 'role', 'tablist');\n      for (const child of children) {\n        this._setInitialAttributesOnChild(child);\n      }\n    }\n    _setInitialAttributesOnChild(child) {\n      child = this._getInnerElement(child);\n      const isActive = this._elemIsActive(child);\n      const outerElem = this._getOuterElement(child);\n      child.setAttribute('aria-selected', isActive);\n      if (outerElem !== child) {\n        this._setAttributeIfNotExists(outerElem, 'role', 'presentation');\n      }\n      if (!isActive) {\n        child.setAttribute('tabindex', '-1');\n      }\n      this._setAttributeIfNotExists(child, 'role', 'tab');\n\n      // set attributes to the related panel too\n      this._setInitialAttributesOnTargetPanel(child);\n    }\n    _setInitialAttributesOnTargetPanel(child) {\n      const target = SelectorEngine.getElementFromSelector(child);\n      if (!target) {\n        return;\n      }\n      this._setAttributeIfNotExists(target, 'role', 'tabpanel');\n      if (child.id) {\n        this._setAttributeIfNotExists(target, 'aria-labelledby', `${child.id}`);\n      }\n    }\n    _toggleDropDown(element, open) {\n      const outerElem = this._getOuterElement(element);\n      if (!outerElem.classList.contains(CLASS_DROPDOWN)) {\n        return;\n      }\n      const toggle = (selector, className) => {\n        const element = SelectorEngine.findOne(selector, outerElem);\n        if (element) {\n          element.classList.toggle(className, open);\n        }\n      };\n      toggle(SELECTOR_DROPDOWN_TOGGLE, CLASS_NAME_ACTIVE);\n      toggle(SELECTOR_DROPDOWN_MENU, CLASS_NAME_SHOW$1);\n      outerElem.setAttribute('aria-expanded', open);\n    }\n    _setAttributeIfNotExists(element, attribute, value) {\n      if (!element.hasAttribute(attribute)) {\n        element.setAttribute(attribute, value);\n      }\n    }\n    _elemIsActive(elem) {\n      return elem.classList.contains(CLASS_NAME_ACTIVE);\n    }\n\n    // Try to get the inner element (usually the .nav-link)\n    _getInnerElement(elem) {\n      return elem.matches(SELECTOR_INNER_ELEM) ? elem : SelectorEngine.findOne(SELECTOR_INNER_ELEM, elem);\n    }\n\n    // Try to get the outer element (usually the .nav-item)\n    _getOuterElement(elem) {\n      return elem.closest(SELECTOR_OUTER) || elem;\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Tab.getOrCreateInstance(this);\n        if (typeof config !== 'string') {\n          return;\n        }\n        if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config]();\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n    if (['A', 'AREA'].includes(this.tagName)) {\n      event.preventDefault();\n    }\n    if (isDisabled(this)) {\n      return;\n    }\n    Tab.getOrCreateInstance(this).show();\n  });\n\n  /**\n   * Initialize on focus\n   */\n  EventHandler.on(window, EVENT_LOAD_DATA_API, () => {\n    for (const element of SelectorEngine.find(SELECTOR_DATA_TOGGLE_ACTIVE)) {\n      Tab.getOrCreateInstance(element);\n    }\n  });\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Tab);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap toast.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n\n  /**\n   * Constants\n   */\n\n  const NAME = 'toast';\n  const DATA_KEY = 'bs.toast';\n  const EVENT_KEY = `.${DATA_KEY}`;\n  const EVENT_MOUSEOVER = `mouseover${EVENT_KEY}`;\n  const EVENT_MOUSEOUT = `mouseout${EVENT_KEY}`;\n  const EVENT_FOCUSIN = `focusin${EVENT_KEY}`;\n  const EVENT_FOCUSOUT = `focusout${EVENT_KEY}`;\n  const EVENT_HIDE = `hide${EVENT_KEY}`;\n  const EVENT_HIDDEN = `hidden${EVENT_KEY}`;\n  const EVENT_SHOW = `show${EVENT_KEY}`;\n  const EVENT_SHOWN = `shown${EVENT_KEY}`;\n  const CLASS_NAME_FADE = 'fade';\n  const CLASS_NAME_HIDE = 'hide'; // @deprecated - kept here only for backwards compatibility\n  const CLASS_NAME_SHOW = 'show';\n  const CLASS_NAME_SHOWING = 'showing';\n  const DefaultType = {\n    animation: 'boolean',\n    autohide: 'boolean',\n    delay: 'number'\n  };\n  const Default = {\n    animation: true,\n    autohide: true,\n    delay: 5000\n  };\n\n  /**\n   * Class definition\n   */\n\n  class Toast extends BaseComponent {\n    constructor(element, config) {\n      super(element, config);\n      this._timeout = null;\n      this._hasMouseInteraction = false;\n      this._hasKeyboardInteraction = false;\n      this._setListeners();\n    }\n\n    // Getters\n    static get Default() {\n      return Default;\n    }\n    static get DefaultType() {\n      return DefaultType;\n    }\n    static get NAME() {\n      return NAME;\n    }\n\n    // Public\n    show() {\n      const showEvent = EventHandler.trigger(this._element, EVENT_SHOW);\n      if (showEvent.defaultPrevented) {\n        return;\n      }\n      this._clearTimeout();\n      if (this._config.animation) {\n        this._element.classList.add(CLASS_NAME_FADE);\n      }\n      const complete = () => {\n        this._element.classList.remove(CLASS_NAME_SHOWING);\n        EventHandler.trigger(this._element, EVENT_SHOWN);\n        this._maybeScheduleHide();\n      };\n      this._element.classList.remove(CLASS_NAME_HIDE); // @deprecated\n      reflow(this._element);\n      this._element.classList.add(CLASS_NAME_SHOW, CLASS_NAME_SHOWING);\n      this._queueCallback(complete, this._element, this._config.animation);\n    }\n    hide() {\n      if (!this.isShown()) {\n        return;\n      }\n      const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE);\n      if (hideEvent.defaultPrevented) {\n        return;\n      }\n      const complete = () => {\n        this._element.classList.add(CLASS_NAME_HIDE); // @deprecated\n        this._element.classList.remove(CLASS_NAME_SHOWING, CLASS_NAME_SHOW);\n        EventHandler.trigger(this._element, EVENT_HIDDEN);\n      };\n      this._element.classList.add(CLASS_NAME_SHOWING);\n      this._queueCallback(complete, this._element, this._config.animation);\n    }\n    dispose() {\n      this._clearTimeout();\n      if (this.isShown()) {\n        this._element.classList.remove(CLASS_NAME_SHOW);\n      }\n      super.dispose();\n    }\n    isShown() {\n      return this._element.classList.contains(CLASS_NAME_SHOW);\n    }\n\n    // Private\n\n    _maybeScheduleHide() {\n      if (!this._config.autohide) {\n        return;\n      }\n      if (this._hasMouseInteraction || this._hasKeyboardInteraction) {\n        return;\n      }\n      this._timeout = setTimeout(() => {\n        this.hide();\n      }, this._config.delay);\n    }\n    _onInteraction(event, isInteracting) {\n      switch (event.type) {\n        case 'mouseover':\n        case 'mouseout':\n          {\n            this._hasMouseInteraction = isInteracting;\n            break;\n          }\n        case 'focusin':\n        case 'focusout':\n          {\n            this._hasKeyboardInteraction = isInteracting;\n            break;\n          }\n      }\n      if (isInteracting) {\n        this._clearTimeout();\n        return;\n      }\n      const nextElement = event.relatedTarget;\n      if (this._element === nextElement || this._element.contains(nextElement)) {\n        return;\n      }\n      this._maybeScheduleHide();\n    }\n    _setListeners() {\n      EventHandler.on(this._element, EVENT_MOUSEOVER, event => this._onInteraction(event, true));\n      EventHandler.on(this._element, EVENT_MOUSEOUT, event => this._onInteraction(event, false));\n      EventHandler.on(this._element, EVENT_FOCUSIN, event => this._onInteraction(event, true));\n      EventHandler.on(this._element, EVENT_FOCUSOUT, event => this._onInteraction(event, false));\n    }\n    _clearTimeout() {\n      clearTimeout(this._timeout);\n      this._timeout = null;\n    }\n\n    // Static\n    static jQueryInterface(config) {\n      return this.each(function () {\n        const data = Toast.getOrCreateInstance(this, config);\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(`No method named \"${config}\"`);\n          }\n          data[config](this);\n        }\n      });\n    }\n  }\n\n  /**\n   * Data API implementation\n   */\n\n  enableDismissTrigger(Toast);\n\n  /**\n   * jQuery\n   */\n\n  defineJQueryPlugin(Toast);\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap index.umd.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n\n  const index_umd = {\n    Alert,\n    Button,\n    Carousel,\n    Collapse,\n    Dropdown,\n    Modal,\n    Offcanvas,\n    Popover,\n    ScrollSpy,\n    Tab,\n    Toast,\n    Tooltip\n  };\n\n  return index_umd;\n\n}));\n//# sourceMappingURL=bootstrap.js.map\n","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/highcharts\n *\n * (c) 2009-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\t(root[\"_Highcharts\"] = factory(),module.exports = root[\"_Highcharts\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/highcharts\", [], factory);\n\telse if(typeof exports === 'object')\n\t\t(root[\"_Highcharts\"] = factory(),exports[\"highcharts\"] = root[\"_Highcharts\"]);\n\telse\n\t\t((root[\"Highcharts\"] && root[\"Highcharts\"].error(16, true)), root[\"Highcharts\"] = factory());\n})(typeof window === 'undefined' ? this : window, () => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \t// The require scope\n/******/ \tvar __webpack_require__ = {};\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ highcharts_src)\n});\n\n;// ./code/es-modules/Core/Globals.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Namespace\n *\n * */\n/**\n * Shared Highcharts properties.\n * @private\n */\nvar Globals;\n(function (Globals) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '12.1.2', Globals.win = (typeof window !== 'undefined' ?\n        window :\n        {}), // eslint-disable-line node/no-unsupported-features/es-builtins\n    Globals.doc = Globals.win.document, Globals.svg = (Globals.doc &&\n        Globals.doc.createElementNS &&\n        !!Globals.doc.createElementNS(Globals.SVG_NS, 'svg').createSVGRect), Globals.pageLang = Globals.doc?.documentElement?.closest('[lang]')?.lang, Globals.userAgent = (Globals.win.navigator && Globals.win.navigator.userAgent) || '', Globals.isChrome = Globals.win.chrome, Globals.isFirefox = Globals.userAgent.indexOf('Firefox') !== -1, Globals.isMS = /(edge|msie|trident)/i.test(Globals.userAgent) && !Globals.win.opera, Globals.isSafari = !Globals.isChrome && Globals.userAgent.indexOf('Safari') !== -1, Globals.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(Globals.userAgent), Globals.isWebKit = Globals.userAgent.indexOf('AppleWebKit') !== -1, Globals.deg2rad = Math.PI * 2 / 360, Globals.marginNames = [\n        'plotTop',\n        'marginRight',\n        'marginBottom',\n        'plotLeft'\n    ], Globals.noop = function () { }, Globals.supportsPassiveEvents = (function () {\n        // Checks whether the browser supports passive events, (#11353).\n        let supportsPassive = false;\n        // Object.defineProperty doesn't work on IE as well as passive\n        // events - instead of using polyfill, we can exclude IE totally.\n        if (!Globals.isMS) {\n            const opts = Object.defineProperty({}, 'passive', {\n                get: function () {\n                    supportsPassive = true;\n                }\n            });\n            if (Globals.win.addEventListener && Globals.win.removeEventListener) {\n                Globals.win.addEventListener('testPassive', Globals.noop, opts);\n                Globals.win.removeEventListener('testPassive', Globals.noop, opts);\n            }\n        }\n        return supportsPassive;\n    }());\n    /**\n     * An array containing the current chart objects in the page. A chart's\n     * position in the array is preserved throughout the page's lifetime. When\n     * a chart is destroyed, the array item becomes `undefined`.\n     *\n     * @name Highcharts.charts\n     * @type {Array<Highcharts.Chart|undefined>}\n     */\n    Globals.charts = [];\n    /**\n     * A shared registry between all bundles to keep track of applied\n     * compositions.\n     * @private\n     */\n    Globals.composed = [];\n    /**\n     * A hook for defining additional date format specifiers. New\n     * specifiers are defined as key-value pairs by using the\n     * specifier as key, and a function which takes the timestamp as\n     * value. This function returns the formatted portion of the\n     * date.\n     *\n     * Using `dateFormats` is also a convenient way to define new keys for\n     * complex locale-aware date formats compatible with the\n     * [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat)\n     * browser API, whenever the built-in formats are not sufficient.\n     *\n     * @sample highcharts/global/dateformats/\n     *         Adding support for week number\n     * @sample highcharts/global/dateformats-object/\n     *         A locale-aware date format using `Intl.DateTimeFormat`\n     *\n     * @name Highcharts.dateFormats\n     * @type {Record<string, Highcharts.TimeFormatCallbackFunction>}\n     */\n    Globals.dateFormats = {};\n    /**\n     * @private\n     * @deprecated\n     * @todo Use only `Core/Series/SeriesRegistry.seriesTypes`\n     */\n    Globals.seriesTypes = {};\n    /**\n     * @private\n     */\n    Globals.symbolSizes = {};\n    /* *\n     *\n     *  Properties\n     *\n     * */\n    // eslint-disable-next-line prefer-const\n    Globals.chartCount = 0;\n})(Globals || (Globals = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Core_Globals = (Globals);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Theme options that should get applied to the chart. In module mode it\n * might not be possible to change this property because of read-only\n * restrictions, instead use {@link Highcharts.setOptions}.\n *\n * @deprecated\n * @name Highcharts.theme\n * @type {Highcharts.Options}\n */\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Utilities.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { charts, doc, win } = Core_Globals;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Provide error messages for debugging, with links to online explanation. This\n * function can be overridden to provide custom error handling.\n *\n * @sample highcharts/chart/highcharts-error/\n *         Custom error handler\n *\n * @function Highcharts.error\n *\n * @param {number|string} code\n *        The error code. See\n *        [errors.xml](https://github.com/highcharts/highcharts/blob/master/errors/errors.xml)\n *        for available codes. If it is a string, the error message is printed\n *        directly in the console.\n *\n * @param {boolean} [stop=false]\n *        Whether to throw an error or just log a warning in the console.\n *\n * @param {Highcharts.Chart} [chart]\n *        Reference to the chart that causes the error. Used in 'debugger'\n *        module to display errors directly on the chart.\n *        Important note: This argument is undefined for errors that lack\n *        access to the Chart instance. In such case, the error will be\n *        displayed on the last created chart.\n *\n * @param {Highcharts.Dictionary<string>} [params]\n *        Additional parameters for the generated message.\n *\n * @return {void}\n */\nfunction error(code, stop, chart, params) {\n    const severity = stop ? 'Highcharts error' : 'Highcharts warning';\n    if (code === 32) {\n        code = `${severity}: Deprecated member`;\n    }\n    const isCode = isNumber(code);\n    let message = isCode ?\n        `${severity} #${code}: www.highcharts.com/errors/${code}/` :\n        code.toString();\n    const defaultHandler = function () {\n        if (stop) {\n            throw new Error(message);\n        }\n        // Else ...\n        if (win.console &&\n            error.messages.indexOf(message) === -1 // Prevent console flooting\n        ) {\n            console.warn(message); // eslint-disable-line no-console\n        }\n    };\n    if (typeof params !== 'undefined') {\n        let additionalMessages = '';\n        if (isCode) {\n            message += '?';\n        }\n        objectEach(params, function (value, key) {\n            additionalMessages += `\\n - ${key}: ${value}`;\n            if (isCode) {\n                message += encodeURI(key) + '=' + encodeURI(value);\n            }\n        });\n        message += additionalMessages;\n    }\n    fireEvent(Core_Globals, 'displayError', { chart, code, message, params }, defaultHandler);\n    error.messages.push(message);\n}\n(function (error) {\n    error.messages = [];\n})(error || (error = {}));\n/**\n * Utility function to deep merge two or more objects and return a third object.\n * If the first argument is true, the contents of the second object is copied\n * into the first object. The merge function can also be used with a single\n * object argument to create a deep copy of an object.\n *\n * @function Highcharts.merge<T>\n *\n * @param {true | T} extendOrSource\n *        Whether to extend the left-side object,\n *        or the first object to merge as a deep copy.\n *\n * @param {...Array<object|undefined>} [sources]\n *        Object(s) to merge into the previous one.\n *\n * @return {T}\n *         The merged object. If the first argument is true, the return is the\n *         same as the second argument.\n */\nfunction merge(extendOrSource, ...sources) {\n    let i, args = [extendOrSource, ...sources], ret = {};\n    const doCopy = function (copy, original) {\n        // An object is replacing a primitive\n        if (typeof copy !== 'object') {\n            copy = {};\n        }\n        objectEach(original, function (value, key) {\n            // Prototype pollution (#14883)\n            if (key === '__proto__' || key === 'constructor') {\n                return;\n            }\n            // Copy the contents of objects, but not arrays or DOM nodes\n            if (isObject(value, true) &&\n                !isClass(value) &&\n                !isDOMElement(value)) {\n                copy[key] = doCopy(copy[key] || {}, value);\n                // Primitives and arrays are copied over directly\n            }\n            else {\n                copy[key] = original[key];\n            }\n        });\n        return copy;\n    };\n    // If first argument is true, copy into the existing object. Used in\n    // setOptions.\n    if (extendOrSource === true) {\n        ret = args[1];\n        args = Array.prototype.slice.call(args, 2);\n    }\n    // For each argument, extend the return\n    const len = args.length;\n    for (i = 0; i < len; i++) {\n        ret = doCopy(ret, args[i]);\n    }\n    return ret;\n}\n/**\n * Constrain a value to within a lower and upper threshold.\n *\n * @private\n * @param {number} value The initial value\n * @param {number} min The lower threshold\n * @param {number} max The upper threshold\n * @return {number} Returns a number value within min and max.\n */\nfunction clamp(value, min, max) {\n    return value > min ? value < max ? value : max : min;\n}\n/**\n * Utility for crisping a line position to the nearest full pixel depening on\n * the line width\n * @param {number} value       The raw pixel position\n * @param {number} lineWidth   The line width\n * @param {boolean} [inverted] Whether the containing group is inverted.\n *                             Crisping round numbers on the y-scale need to go\n *                             to the other side because the coordinate system\n *                             is flipped (scaleY is -1)\n * @return {number}            The pixel position to use for a crisp display\n */\nfunction crisp(value, lineWidth = 0, inverted) {\n    const mod = lineWidth % 2 / 2, inverter = inverted ? -1 : 1;\n    return (Math.round(value * inverter - mod) + mod) * inverter;\n}\n// eslint-disable-next-line valid-jsdoc\n/**\n * Return the deep difference between two objects. It can either return the new\n * properties, or optionally return the old values of new properties.\n * @private\n */\nfunction diffObjects(newer, older, keepOlder, collectionsWithUpdate) {\n    const ret = {};\n    /**\n     * Recurse over a set of options and its current values, and store the\n     * current values in the ret object.\n     */\n    function diff(newer, older, ret, depth) {\n        const keeper = keepOlder ? older : newer;\n        objectEach(newer, function (newerVal, key) {\n            if (!depth &&\n                collectionsWithUpdate &&\n                collectionsWithUpdate.indexOf(key) > -1 &&\n                older[key]) {\n                newerVal = splat(newerVal);\n                ret[key] = [];\n                // Iterate over collections like series, xAxis or yAxis and map\n                // the items by index.\n                for (let i = 0; i < Math.max(newerVal.length, older[key].length); i++) {\n                    // Item exists in current data (#6347)\n                    if (older[key][i]) {\n                        // If the item is missing from the new data, we need to\n                        // save the whole config structure. Like when\n                        // responsively updating from a dual axis layout to a\n                        // single axis and back (#13544).\n                        if (newerVal[i] === void 0) {\n                            ret[key][i] = older[key][i];\n                            // Otherwise, proceed\n                        }\n                        else {\n                            ret[key][i] = {};\n                            diff(newerVal[i], older[key][i], ret[key][i], depth + 1);\n                        }\n                    }\n                }\n            }\n            else if (isObject(newerVal, true) &&\n                !newerVal.nodeType // #10044\n            ) {\n                ret[key] = isArray(newerVal) ? [] : {};\n                diff(newerVal, older[key] || {}, ret[key], depth + 1);\n                // Delete empty nested objects\n                if (Object.keys(ret[key]).length === 0 &&\n                    // Except colorAxis which is a special case where the empty\n                    // object means it is enabled. Which is unfortunate and we\n                    // should try to find a better way.\n                    !(key === 'colorAxis' && depth === 0)) {\n                    delete ret[key];\n                }\n            }\n            else if (newer[key] !== older[key] ||\n                // If the newer key is explicitly undefined, keep it (#10525)\n                (key in newer && !(key in older))) {\n                if (key !== '__proto__' && key !== 'constructor') {\n                    ret[key] = keeper[key];\n                }\n            }\n        });\n    }\n    diff(newer, older, ret, 0);\n    return ret;\n}\n/**\n * Shortcut for parseInt\n *\n * @private\n * @function Highcharts.pInt\n *\n * @param {*} s\n *        any\n *\n * @param {number} [mag]\n *        Magnitude\n *\n * @return {number}\n *         number\n */\nfunction pInt(s, mag) {\n    return parseInt(s, mag || 10);\n}\n/**\n * Utility function to check for string type.\n *\n * @function Highcharts.isString\n *\n * @param {*} s\n *        The item to check.\n *\n * @return {boolean}\n *         True if the argument is a string.\n */\nfunction isString(s) {\n    return typeof s === 'string';\n}\n/**\n * Utility function to check if an item is an array.\n *\n * @function Highcharts.isArray\n *\n * @param {*} obj\n *        The item to check.\n *\n * @return {boolean}\n *         True if the argument is an array.\n */\nfunction isArray(obj) {\n    const str = Object.prototype.toString.call(obj);\n    return str === '[object Array]' || str === '[object Array Iterator]';\n}\n/**\n * Utility function to check if an item is of type object.\n *\n * @function Highcharts.isObject\n *\n * @param {*} obj\n *        The item to check.\n *\n * @param {boolean} [strict=false]\n *        Also checks that the object is not an array.\n *\n * @return {boolean}\n *         True if the argument is an object.\n */\nfunction isObject(obj, strict) {\n    return (!!obj &&\n        typeof obj === 'object' &&\n        (!strict || !isArray(obj))); // eslint-disable-line @typescript-eslint/no-explicit-any\n}\n/**\n * Utility function to check if an Object is a HTML Element.\n *\n * @function Highcharts.isDOMElement\n *\n * @param {*} obj\n *        The item to check.\n *\n * @return {boolean}\n *         True if the argument is a HTML Element.\n */\nfunction isDOMElement(obj) {\n    return isObject(obj) && typeof obj.nodeType === 'number';\n}\n/**\n * Utility function to check if an Object is a class.\n *\n * @function Highcharts.isClass\n *\n * @param {object|undefined} obj\n *        The item to check.\n *\n * @return {boolean}\n *         True if the argument is a class.\n */\nfunction isClass(obj) {\n    const c = obj && obj.constructor;\n    return !!(isObject(obj, true) &&\n        !isDOMElement(obj) &&\n        (c && c.name && c.name !== 'Object'));\n}\n/**\n * Utility function to check if an item is a number and it is finite (not NaN,\n * Infinity or -Infinity).\n *\n * @function Highcharts.isNumber\n *\n * @param {*} n\n *        The item to check.\n *\n * @return {boolean}\n *         True if the item is a finite number\n */\nfunction isNumber(n) {\n    return typeof n === 'number' && !isNaN(n) && n < Infinity && n > -Infinity;\n}\n/**\n * Remove the last occurence of an item from an array.\n *\n * @function Highcharts.erase\n *\n * @param {Array<*>} arr\n *        The array.\n *\n * @param {*} item\n *        The item to remove.\n *\n * @return {void}\n */\nfunction erase(arr, item) {\n    let i = arr.length;\n    while (i--) {\n        if (arr[i] === item) {\n            arr.splice(i, 1);\n            break;\n        }\n    }\n}\n/**\n * Insert a series or an axis in a collection with other items, either the\n * chart series or yAxis series or axis collections, in the correct order\n * according to the index option and whether it is internal. Used internally\n * when adding series and axes.\n *\n * @private\n * @function Highcharts.Chart#insertItem\n * @param  {Highcharts.Series|Highcharts.Axis} item\n *         The item to insert\n * @param  {Array<Highcharts.Series>|Array<Highcharts.Axis>} collection\n *         A collection of items, like `chart.series` or `xAxis.series`.\n * @return {number} The index of the series in the collection.\n */\nfunction insertItem(item, collection) {\n    const indexOption = item.options.index, length = collection.length;\n    let i;\n    for (\n    // Internal item (navigator) should always be pushed to the end\n    i = item.options.isInternal ? length : 0; i < length + 1; i++) {\n        if (\n        // No index option, reached the end of the collection,\n        // equivalent to pushing\n        !collection[i] ||\n            // Handle index option, the element to insert has lower index\n            (isNumber(indexOption) &&\n                indexOption < pick(collection[i].options.index, collection[i]._i)) ||\n            // Insert the new item before other internal items\n            // (navigator)\n            collection[i].options.isInternal) {\n            collection.splice(i, 0, item);\n            break;\n        }\n    }\n    return i;\n}\n/**\n * Adds an item to an array, if it is not present in the array.\n *\n * @function Highcharts.pushUnique\n *\n * @param {Array<unknown>} array\n * The array to add the item to.\n *\n * @param {unknown} item\n * The item to add.\n *\n * @return {boolean}\n * Returns true, if the item was not present and has been added.\n */\nfunction pushUnique(array, item) {\n    return array.indexOf(item) < 0 && !!array.push(item);\n}\n/**\n * Check if an object is null or undefined.\n *\n * @function Highcharts.defined\n *\n * @param {*} obj\n *        The object to check.\n *\n * @return {boolean}\n *         False if the object is null or undefined, otherwise true.\n */\nfunction defined(obj) {\n    return typeof obj !== 'undefined' && obj !== null;\n}\n/**\n * Set or get an attribute or an object of attributes.\n *\n * To use as a setter, pass a key and a value, or let the second argument be a\n * collection of keys and values. When using a collection, passing a value of\n * `null` or `undefined` will remove the attribute.\n *\n * To use as a getter, pass only a string as the second argument.\n *\n * @function Highcharts.attr\n *\n * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} elem\n *        The DOM element to receive the attribute(s).\n *\n * @param {string|Highcharts.HTMLAttributes|Highcharts.SVGAttributes} [keyOrAttribs]\n *        The property or an object of key-value pairs.\n *\n * @param {number|string} [value]\n *        The value if a single property is set.\n *\n * @return {string|null|undefined}\n *         When used as a getter, return the value.\n */\nfunction attr(elem, keyOrAttribs, value) {\n    const isGetter = isString(keyOrAttribs) && !defined(value);\n    let ret;\n    const attrSingle = (value, key) => {\n        // Set the value\n        if (defined(value)) {\n            elem.setAttribute(key, value);\n            // Get the value\n        }\n        else if (isGetter) {\n            ret = elem.getAttribute(key);\n            // IE7 and below cannot get class through getAttribute (#7850)\n            if (!ret && key === 'class') {\n                ret = elem.getAttribute(key + 'Name');\n            }\n            // Remove the value\n        }\n        else {\n            elem.removeAttribute(key);\n        }\n    };\n    // If keyOrAttribs is a string\n    if (isString(keyOrAttribs)) {\n        attrSingle(value, keyOrAttribs);\n        // Else if keyOrAttribs is defined, it is a hash of key/value pairs\n    }\n    else {\n        objectEach(keyOrAttribs, attrSingle);\n    }\n    return ret;\n}\n/**\n * Check if an element is an array, and if not, make it into an array.\n *\n * @function Highcharts.splat\n *\n * @param {*} obj\n *        The object to splat.\n *\n * @return {Array}\n *         The produced or original array.\n */\nfunction splat(obj) {\n    return isArray(obj) ? obj : [obj];\n}\n/**\n * Set a timeout if the delay is given, otherwise perform the function\n * synchronously.\n *\n * @function Highcharts.syncTimeout\n *\n * @param {Function} fn\n *        The function callback.\n *\n * @param {number} delay\n *        Delay in milliseconds.\n *\n * @param {*} [context]\n *        An optional context to send to the function callback.\n *\n * @return {number}\n *         An identifier for the timeout that can later be cleared with\n *         Highcharts.clearTimeout. Returns -1 if there is no timeout.\n */\nfunction syncTimeout(fn, delay, context) {\n    if (delay > 0) {\n        return setTimeout(fn, delay, context);\n    }\n    fn.call(0, context);\n    return -1;\n}\n/**\n * Internal clear timeout. The function checks that the `id` was not removed\n * (e.g. by `chart.destroy()`). For the details see\n * [issue #7901](https://github.com/highcharts/highcharts/issues/7901).\n *\n * @function Highcharts.clearTimeout\n *\n * @param {number|undefined} id\n * Id of a timeout.\n */\nfunction internalClearTimeout(id) {\n    if (defined(id)) {\n        clearTimeout(id);\n    }\n}\n/* eslint-disable valid-jsdoc */\n/**\n * Utility function to extend an object with the members of another.\n *\n * @function Highcharts.extend<T>\n *\n * @param {T|undefined} a\n *        The object to be extended.\n *\n * @param {Partial<T>} b\n *        The object to add to the first one.\n *\n * @return {T}\n *         Object a, the original object.\n */\nfunction extend(a, b) {\n    /* eslint-enable valid-jsdoc */\n    let n;\n    if (!a) {\n        a = {};\n    }\n    for (n in b) { // eslint-disable-line guard-for-in\n        a[n] = b[n];\n    }\n    return a;\n}\n/* eslint-disable valid-jsdoc */\n/**\n * Return the first value that is not null or undefined.\n *\n * @function Highcharts.pick<T>\n *\n * @param {...Array<T|null|undefined>} items\n *        Variable number of arguments to inspect.\n *\n * @return {T}\n *         The value of the first argument that is not null or undefined.\n */\nfunction pick() {\n    const args = arguments;\n    const length = args.length;\n    for (let i = 0; i < length; i++) {\n        const arg = args[i];\n        if (typeof arg !== 'undefined' && arg !== null) {\n            return arg;\n        }\n    }\n}\n/**\n * Set CSS on a given element.\n *\n * @function Highcharts.css\n *\n * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} el\n *        An HTML DOM element.\n *\n * @param {Highcharts.CSSObject} styles\n *        Style object with camel case property names.\n *\n * @return {void}\n */\nfunction css(el, styles) {\n    extend(el.style, styles);\n}\n/**\n * Utility function to create an HTML element with attributes and styles.\n *\n * @function Highcharts.createElement\n *\n * @param {string} tag\n *        The HTML tag.\n *\n * @param {Highcharts.HTMLAttributes} [attribs]\n *        Attributes as an object of key-value pairs.\n *\n * @param {Highcharts.CSSObject} [styles]\n *        Styles as an object of key-value pairs.\n *\n * @param {Highcharts.HTMLDOMElement} [parent]\n *        The parent HTML object.\n *\n * @param {boolean} [nopad=false]\n *        If true, remove all padding, border and margin.\n *\n * @return {Highcharts.HTMLDOMElement}\n *         The created DOM element.\n */\nfunction createElement(tag, attribs, styles, parent, nopad) {\n    const el = doc.createElement(tag);\n    if (attribs) {\n        extend(el, attribs);\n    }\n    if (nopad) {\n        css(el, { padding: '0', border: 'none', margin: '0' });\n    }\n    if (styles) {\n        css(el, styles);\n    }\n    if (parent) {\n        parent.appendChild(el);\n    }\n    return el;\n}\n// eslint-disable-next-line valid-jsdoc\n/**\n * Extend a prototyped class by new members.\n *\n * @deprecated\n * @function Highcharts.extendClass<T>\n *\n * @param {Highcharts.Class<T>} parent\n *        The parent prototype to inherit.\n *\n * @param {Highcharts.Dictionary<*>} members\n *        A collection of prototype members to add or override compared to the\n *        parent prototype.\n *\n * @return {Highcharts.Class<T>}\n *         A new prototype.\n */\nfunction extendClass(parent, members) {\n    const obj = (function () { });\n    obj.prototype = new parent(); // eslint-disable-line new-cap\n    extend(obj.prototype, members);\n    return obj;\n}\n/**\n * Left-pad a string to a given length by adding a character repetitively.\n *\n * @function Highcharts.pad\n *\n * @param {number} number\n *        The input string or number.\n *\n * @param {number} [length]\n *        The desired string length.\n *\n * @param {string} [padder=0]\n *        The character to pad with.\n *\n * @return {string}\n *         The padded string.\n */\nfunction pad(number, length, padder) {\n    return new Array((length || 2) +\n        1 -\n        String(number)\n            .replace('-', '')\n            .length).join(padder || '0') + number;\n}\n/**\n * Return a length based on either the integer value, or a percentage of a base.\n *\n * @function Highcharts.relativeLength\n *\n * @param {Highcharts.RelativeSize} value\n *        A percentage string or a number.\n *\n * @param {number} base\n *        The full length that represents 100%.\n *\n * @param {number} [offset=0]\n *        A pixel offset to apply for percentage values. Used internally in\n *        axis positioning.\n *\n * @return {number}\n *         The computed length.\n */\nfunction relativeLength(value, base, offset) {\n    return (/%$/).test(value) ?\n        (base * parseFloat(value) / 100) + (offset || 0) :\n        parseFloat(value);\n}\n/**\n * Replaces text in a string with a given replacement in a loop to catch nested\n * matches after previous replacements.\n *\n * @function Highcharts.replaceNested\n *\n * @param {string} text\n * Text to search and modify.\n *\n * @param {...Array<(RegExp|string)>} replacements\n * One or multiple tuples with search pattern (`[0]: (string|RegExp)`) and\n * replacement (`[1]: string`) for matching text.\n *\n * @return {string}\n * Text with replacements.\n */\nfunction replaceNested(text, ...replacements) {\n    let previous, replacement;\n    do {\n        previous = text;\n        for (replacement of replacements) {\n            text = text.replace(replacement[0], replacement[1]);\n        }\n    } while (text !== previous);\n    return text;\n}\n/**\n * Wrap a method with extended functionality, preserving the original function.\n *\n * @function Highcharts.wrap\n *\n * @param {*} obj\n *        The context object that the method belongs to. In real cases, this is\n *        often a prototype.\n *\n * @param {string} method\n *        The name of the method to extend.\n *\n * @param {Highcharts.WrapProceedFunction} func\n *        A wrapper function callback. This function is called with the same\n *        arguments as the original function, except that the original function\n *        is unshifted and passed as the first argument.\n */\nfunction wrap(obj, method, func) {\n    const proceed = obj[method];\n    obj[method] = function () {\n        const outerArgs = arguments, scope = this;\n        return func.apply(this, [\n            function () {\n                return proceed.apply(scope, arguments.length ? arguments : outerArgs);\n            }\n        ].concat([].slice.call(arguments)));\n    };\n}\n/**\n * Get the magnitude of a number.\n *\n * @function Highcharts.getMagnitude\n *\n * @param {number} num\n *        The number.\n *\n * @return {number}\n *         The magnitude, where 1-9 are magnitude 1, 10-99 magnitude 2 etc.\n */\nfunction getMagnitude(num) {\n    return Math.pow(10, Math.floor(Math.log(num) / Math.LN10));\n}\n/**\n * Take an interval and normalize it to multiples of round numbers.\n *\n * @deprecated\n * @function Highcharts.normalizeTickInterval\n *\n * @param {number} interval\n *        The raw, un-rounded interval.\n *\n * @param {Array<*>} [multiples]\n *        Allowed multiples.\n *\n * @param {number} [magnitude]\n *        The magnitude of the number.\n *\n * @param {boolean} [allowDecimals]\n *        Whether to allow decimals.\n *\n * @param {boolean} [hasTickAmount]\n *        If it has tickAmount, avoid landing on tick intervals lower than\n *        original.\n *\n * @return {number}\n *         The normalized interval.\n *\n * @todo\n * Move this function to the Axis prototype. It is here only for historical\n * reasons.\n */\nfunction normalizeTickInterval(interval, multiples, magnitude, allowDecimals, hasTickAmount) {\n    let i, retInterval = interval;\n    // Round to a tenfold of 1, 2, 2.5 or 5\n    magnitude = pick(magnitude, getMagnitude(interval));\n    const normalized = interval / magnitude;\n    // Multiples for a linear scale\n    if (!multiples) {\n        multiples = hasTickAmount ?\n            // Finer grained ticks when the tick amount is hard set, including\n            // when alignTicks is true on multiple axes (#4580).\n            [1, 1.2, 1.5, 2, 2.5, 3, 4, 5, 6, 8, 10] :\n            // Else, let ticks fall on rounder numbers\n            [1, 2, 2.5, 5, 10];\n        // The allowDecimals option\n        if (allowDecimals === false) {\n            if (magnitude === 1) {\n                multiples = multiples.filter(function (num) {\n                    return num % 1 === 0;\n                });\n            }\n            else if (magnitude <= 0.1) {\n                multiples = [1 / magnitude];\n            }\n        }\n    }\n    // Normalize the interval to the nearest multiple\n    for (i = 0; i < multiples.length; i++) {\n        retInterval = multiples[i];\n        // Only allow tick amounts smaller than natural\n        if ((hasTickAmount &&\n            retInterval * magnitude >= interval) ||\n            (!hasTickAmount &&\n                (normalized <=\n                    (multiples[i] +\n                        (multiples[i + 1] || multiples[i])) / 2))) {\n            break;\n        }\n    }\n    // Multiply back to the correct magnitude. Correct floats to appropriate\n    // precision (#6085).\n    retInterval = correctFloat(retInterval * magnitude, -Math.round(Math.log(0.001) / Math.LN10));\n    return retInterval;\n}\n/**\n * Sort an object array and keep the order of equal items. The ECMAScript\n * standard does not specify the behaviour when items are equal.\n *\n * @function Highcharts.stableSort\n *\n * @param {Array<*>} arr\n *        The array to sort.\n *\n * @param {Function} sortFunction\n *        The function to sort it with, like with regular Array.prototype.sort.\n */\nfunction stableSort(arr, sortFunction) {\n    // @todo It seems like Chrome since v70 sorts in a stable way internally,\n    // plus all other browsers do it, so over time we may be able to remove this\n    // function\n    const length = arr.length;\n    let sortValue, i;\n    // Add index to each item\n    for (i = 0; i < length; i++) {\n        arr[i].safeI = i; // Stable sort index\n    }\n    arr.sort(function (a, b) {\n        sortValue = sortFunction(a, b);\n        return sortValue === 0 ? a.safeI - b.safeI : sortValue;\n    });\n    // Remove index from items\n    for (i = 0; i < length; i++) {\n        delete arr[i].safeI; // Stable sort index\n    }\n}\n/**\n * Non-recursive method to find the lowest member of an array. `Math.min` raises\n * a maximum call stack size exceeded error in Chrome when trying to apply more\n * than 150.000 points. This method is slightly slower, but safe.\n *\n * @function Highcharts.arrayMin\n *\n * @param {Array<*>} data\n *        An array of numbers.\n *\n * @return {number}\n *         The lowest number.\n */\nfunction arrayMin(data) {\n    let i = data.length, min = data[0];\n    while (i--) {\n        if (data[i] < min) {\n            min = data[i];\n        }\n    }\n    return min;\n}\n/**\n * Non-recursive method to find the lowest member of an array. `Math.max` raises\n * a maximum call stack size exceeded error in Chrome when trying to apply more\n * than 150.000 points. This method is slightly slower, but safe.\n *\n * @function Highcharts.arrayMax\n *\n * @param {Array<*>} data\n *        An array of numbers.\n *\n * @return {number}\n *         The highest number.\n */\nfunction arrayMax(data) {\n    let i = data.length, max = data[0];\n    while (i--) {\n        if (data[i] > max) {\n            max = data[i];\n        }\n    }\n    return max;\n}\n/**\n * Utility method that destroys any SVGElement instances that are properties on\n * the given object. It loops all properties and invokes destroy if there is a\n * destroy method. The property is then delete.\n *\n * @function Highcharts.destroyObjectProperties\n *\n * @param {*} obj\n *        The object to destroy properties on.\n *\n * @param {*} [except]\n *        Exception, do not destroy this property, only delete it.\n */\nfunction destroyObjectProperties(obj, except, destructablesOnly) {\n    objectEach(obj, function (val, n) {\n        // If the object is non-null and destroy is defined\n        if (val !== except && val?.destroy) {\n            // Invoke the destroy\n            val.destroy();\n        }\n        // Delete the property from the object\n        if (val?.destroy || !destructablesOnly) {\n            delete obj[n];\n        }\n    });\n}\n/**\n * Discard a HTML element\n *\n * @function Highcharts.discardElement\n *\n * @param {Highcharts.HTMLDOMElement} element\n *        The HTML node to discard.\n */\nfunction discardElement(element) {\n    if (element && element.parentElement) {\n        element.parentElement.removeChild(element);\n    }\n}\n/**\n * Fix JS round off float errors.\n *\n * @function Highcharts.correctFloat\n *\n * @param {number} num\n *        A float number to fix.\n *\n * @param {number} [prec=14]\n *        The precision.\n *\n * @return {number}\n *         The corrected float number.\n */\nfunction correctFloat(num, prec) {\n    // When the number is higher than 1e14 use the number (#16275)\n    return num > 1e14 ? num : parseFloat(num.toPrecision(prec || 14));\n}\n/**\n * The time unit lookup\n *\n * @ignore\n */\nconst timeUnits = {\n    millisecond: 1,\n    second: 1000,\n    minute: 60000,\n    hour: 3600000,\n    day: 24 * 3600000,\n    week: 7 * 24 * 3600000,\n    month: 28 * 24 * 3600000,\n    year: 364 * 24 * 3600000\n};\n/**\n * Easing definition\n *\n * @private\n * @function Math.easeInOutSine\n *\n * @param {number} pos\n *        Current position, ranging from 0 to 1.\n *\n * @return {number}\n *         Ease result\n */\nMath.easeInOutSine = function (pos) {\n    return -0.5 * (Math.cos(Math.PI * pos) - 1);\n};\n/**\n * Convenience function to get the align factor, used several places for\n * computing positions\n * @private\n */\nconst getAlignFactor = (align = '') => ({\n    center: 0.5,\n    right: 1,\n    middle: 0.5,\n    bottom: 1\n}[align] || 0);\n/**\n * Find the closest distance between two values of a two-dimensional array\n * @private\n * @function Highcharts.getClosestDistance\n *\n * @param {Array<Array<number>>} arrays\n *          An array of arrays of numbers\n *\n * @return {number | undefined}\n *          The closest distance between values\n */\nfunction getClosestDistance(arrays, onError) {\n    const allowNegative = !onError;\n    let closest, loopLength, distance, i;\n    arrays.forEach((xData) => {\n        if (xData.length > 1) {\n            loopLength = xData.length - 1;\n            for (i = loopLength; i > 0; i--) {\n                distance = xData[i] - xData[i - 1];\n                if (distance < 0 && !allowNegative) {\n                    onError?.();\n                    // Only one call\n                    onError = void 0;\n                }\n                else if (distance && (typeof closest === 'undefined' || distance < closest)) {\n                    closest = distance;\n                }\n            }\n        }\n    });\n    return closest;\n}\n/**\n * Returns the value of a property path on a given object.\n *\n * @private\n * @function getNestedProperty\n *\n * @param {string} path\n * Path to the property, for example `custom.myValue`.\n *\n * @param {unknown} obj\n * Instance containing the property on the specific path.\n *\n * @return {unknown}\n * The unknown property value.\n */\nfunction getNestedProperty(path, parent) {\n    const pathElements = path.split('.');\n    while (pathElements.length && defined(parent)) {\n        const pathElement = pathElements.shift();\n        // Filter on the key\n        if (typeof pathElement === 'undefined' ||\n            pathElement === '__proto__') {\n            return; // Undefined\n        }\n        if (pathElement === 'this') {\n            let thisProp;\n            if (isObject(parent)) {\n                thisProp = parent['@this'];\n            }\n            return thisProp ?? parent;\n        }\n        const child = parent[pathElement.replace(/[\\\\'\"]/g, '')];\n        // Filter on the child\n        if (!defined(child) ||\n            typeof child === 'function' ||\n            typeof child.nodeType === 'number' ||\n            child === win) {\n            return; // Undefined\n        }\n        // Else, proceed\n        parent = child;\n    }\n    return parent;\n}\n/**\n * Get the computed CSS value for given element and property, only for numerical\n * properties. For width and height, the dimension of the inner box (excluding\n * padding) is returned. Used for fitting the chart within the container.\n *\n * @function Highcharts.getStyle\n *\n * @param {Highcharts.HTMLDOMElement} el\n * An HTML element.\n *\n * @param {string} prop\n * The property name.\n *\n * @param {boolean} [toInt=true]\n * Parse to integer.\n *\n * @return {number|string|undefined}\n * The style value.\n */\nfunction getStyle(el, prop, toInt) {\n    let style;\n    // For width and height, return the actual inner pixel size (#4913)\n    if (prop === 'width') {\n        let offsetWidth = Math.min(el.offsetWidth, el.scrollWidth);\n        // In flex boxes, we need to use getBoundingClientRect and floor it,\n        // because scrollWidth doesn't support subpixel precision (#6427) ...\n        const boundingClientRectWidth = el.getBoundingClientRect &&\n            el.getBoundingClientRect().width;\n        // ...unless if the containing div or its parents are transform-scaled\n        // down, in which case the boundingClientRect can't be used as it is\n        // also scaled down (#9871, #10498).\n        if (boundingClientRectWidth < offsetWidth &&\n            boundingClientRectWidth >= offsetWidth - 1) {\n            offsetWidth = Math.floor(boundingClientRectWidth);\n        }\n        return Math.max(0, // #8377\n        (offsetWidth -\n            (getStyle(el, 'padding-left', true) || 0) -\n            (getStyle(el, 'padding-right', true) || 0)));\n    }\n    if (prop === 'height') {\n        return Math.max(0, // #8377\n        (Math.min(el.offsetHeight, el.scrollHeight) -\n            (getStyle(el, 'padding-top', true) || 0) -\n            (getStyle(el, 'padding-bottom', true) || 0)));\n    }\n    // Otherwise, get the computed style\n    const css = win.getComputedStyle(el, void 0); // eslint-disable-line no-undefined\n    if (css) {\n        style = css.getPropertyValue(prop);\n        if (pick(toInt, prop !== 'opacity')) {\n            style = pInt(style);\n        }\n    }\n    return style;\n}\n/**\n * Return the value of the first element in the array that satisfies the\n * provided testing function.\n *\n * @function Highcharts.find<T>\n *\n * @param {Array<T>} arr\n *        The array to test.\n *\n * @param {Function} callback\n *        The callback function. The function receives the item as the first\n *        argument. Return `true` if this item satisfies the condition.\n *\n * @return {T|undefined}\n *         The value of the element.\n */\nconst find = Array.prototype.find ?\n    function (arr, callback) {\n        return arr.find(callback);\n    } :\n    // Legacy implementation. PhantomJS, IE <= 11 etc. #7223.\n    function (arr, callback) {\n        let i;\n        const length = arr.length;\n        for (i = 0; i < length; i++) {\n            if (callback(arr[i], i)) { // eslint-disable-line node/callback-return\n                return arr[i];\n            }\n        }\n    };\n/**\n * Get the element's offset position, corrected for `overflow: auto`.\n *\n * @function Highcharts.offset\n *\n * @param {global.Element} el\n *        The DOM element.\n *\n * @return {Highcharts.OffsetObject}\n *         An object containing `left` and `top` properties for the position in\n *         the page.\n */\nfunction offset(el) {\n    const docElem = doc.documentElement, box = (el.parentElement || el.parentNode) ?\n        el.getBoundingClientRect() :\n        { top: 0, left: 0, width: 0, height: 0 };\n    return {\n        top: box.top + (win.pageYOffset || docElem.scrollTop) -\n            (docElem.clientTop || 0),\n        left: box.left + (win.pageXOffset || docElem.scrollLeft) -\n            (docElem.clientLeft || 0),\n        width: box.width,\n        height: box.height\n    };\n}\n/* eslint-disable valid-jsdoc */\n/**\n * Iterate over object key pairs in an object.\n *\n * @function Highcharts.objectEach<T>\n *\n * @param {*} obj\n *        The object to iterate over.\n *\n * @param {Highcharts.ObjectEachCallbackFunction<T>} fn\n *        The iterator callback. It passes three arguments:\n *        * value - The property value.\n *        * key - The property key.\n *        * obj - The object that objectEach is being applied to.\n *\n * @param {T} [ctx]\n *        The context.\n */\nfunction objectEach(obj, fn, ctx) {\n    /* eslint-enable valid-jsdoc */\n    for (const key in obj) {\n        if (Object.hasOwnProperty.call(obj, key)) {\n            fn.call(ctx || obj[key], obj[key], key, obj);\n        }\n    }\n}\n/* eslint-disable valid-jsdoc */\n/**\n * Add an event listener.\n *\n * @function Highcharts.addEvent<T>\n *\n * @param  {Highcharts.Class<T>|T} el\n *         The element or object to add a listener to. It can be a\n *         {@link HTMLDOMElement}, an {@link SVGElement} or any other object.\n *\n * @param  {string} type\n *         The event type.\n *\n * @param  {Highcharts.EventCallbackFunction<T>|Function} fn\n *         The function callback to execute when the event is fired.\n *\n * @param  {Highcharts.EventOptionsObject} [options]\n *         Options for adding the event.\n *\n * @sample highcharts/members/addevent\n *         Use a general `render` event to draw shapes on a chart\n *\n * @return {Function}\n *         A callback function to remove the added event.\n */\nfunction addEvent(el, type, fn, options = {}) {\n    /* eslint-enable valid-jsdoc */\n    // Add hcEvents to either the prototype (in case we're running addEvent on a\n    // class) or the instance. If hasOwnProperty('hcEvents') is false, it is\n    // inherited down the prototype chain, in which case we need to set the\n    // property on this instance (which may itself be a prototype).\n    const owner = typeof el === 'function' && el.prototype || el;\n    if (!Object.hasOwnProperty.call(owner, 'hcEvents')) {\n        owner.hcEvents = {};\n    }\n    const events = owner.hcEvents;\n    // Allow click events added to points, otherwise they will be prevented by\n    // the TouchPointer.pinch function after a pinch zoom operation (#7091).\n    if (Core_Globals.Point && // Without H a dependency loop occurs\n        el instanceof Core_Globals.Point &&\n        el.series &&\n        el.series.chart) {\n        el.series.chart.runTrackerClick = true;\n    }\n    // Handle DOM events\n    // If the browser supports passive events, add it to improve performance\n    // on touch events (#11353).\n    const addEventListener = el.addEventListener;\n    if (addEventListener) {\n        addEventListener.call(el, type, fn, Core_Globals.supportsPassiveEvents ? {\n            passive: options.passive === void 0 ?\n                type.indexOf('touch') !== -1 : options.passive,\n            capture: false\n        } : false);\n    }\n    if (!events[type]) {\n        events[type] = [];\n    }\n    const eventObject = {\n        fn,\n        order: typeof options.order === 'number' ? options.order : Infinity\n    };\n    events[type].push(eventObject);\n    // Order the calls\n    events[type].sort((a, b) => a.order - b.order);\n    // Return a function that can be called to remove this event.\n    return function () {\n        removeEvent(el, type, fn);\n    };\n}\n/* eslint-disable valid-jsdoc */\n/**\n * Remove an event that was added with {@link Highcharts#addEvent}.\n *\n * @function Highcharts.removeEvent<T>\n *\n * @param {Highcharts.Class<T>|T} el\n *        The element to remove events on.\n *\n * @param {string} [type]\n *        The type of events to remove. If undefined, all events are removed\n *        from the element.\n *\n * @param {Highcharts.EventCallbackFunction<T>} [fn]\n *        The specific callback to remove. If undefined, all events that match\n *        the element and optionally the type are removed.\n *\n * @return {void}\n */\nfunction removeEvent(el, type, fn) {\n    /* eslint-enable valid-jsdoc */\n    /**\n     * @private\n     */\n    function removeOneEvent(type, fn) {\n        const removeEventListener = el.removeEventListener;\n        if (removeEventListener) {\n            removeEventListener.call(el, type, fn, false);\n        }\n    }\n    /**\n     * @private\n     */\n    function removeAllEvents(eventCollection) {\n        let types, len;\n        if (!el.nodeName) {\n            return; // Break on non-DOM events\n        }\n        if (type) {\n            types = {};\n            types[type] = true;\n        }\n        else {\n            types = eventCollection;\n        }\n        objectEach(types, function (_val, n) {\n            if (eventCollection[n]) {\n                len = eventCollection[n].length;\n                while (len--) {\n                    removeOneEvent(n, eventCollection[n][len].fn);\n                }\n            }\n        });\n    }\n    const owner = typeof el === 'function' && el.prototype || el;\n    if (Object.hasOwnProperty.call(owner, 'hcEvents')) {\n        const events = owner.hcEvents;\n        if (type) {\n            const typeEvents = (events[type] || []);\n            if (fn) {\n                events[type] = typeEvents.filter(function (obj) {\n                    return fn !== obj.fn;\n                });\n                removeOneEvent(type, fn);\n            }\n            else {\n                removeAllEvents(events);\n                events[type] = [];\n            }\n        }\n        else {\n            removeAllEvents(events);\n            delete owner.hcEvents;\n        }\n    }\n}\n/* eslint-disable valid-jsdoc */\n/**\n * Fire an event that was registered with {@link Highcharts#addEvent}.\n *\n * @function Highcharts.fireEvent<T>\n *\n * @param {T} el\n *        The object to fire the event on. It can be a {@link HTMLDOMElement},\n *        an {@link SVGElement} or any other object.\n *\n * @param {string} type\n *        The type of event.\n *\n * @param {Highcharts.Dictionary<*>|Event} [eventArguments]\n *        Custom event arguments that are passed on as an argument to the event\n *        handler.\n *\n * @param {Highcharts.EventCallbackFunction<T>|Function} [defaultFunction]\n *        The default function to execute if the other listeners haven't\n *        returned false.\n *\n * @return {void}\n */\nfunction fireEvent(el, type, eventArguments, defaultFunction) {\n    /* eslint-enable valid-jsdoc */\n    eventArguments = eventArguments || {};\n    if (doc.createEvent &&\n        (el.dispatchEvent ||\n            (el.fireEvent &&\n                // Enable firing events on Highcharts instance.\n                el !== Core_Globals))) {\n        const e = doc.createEvent('Events');\n        e.initEvent(type, true, true);\n        eventArguments = extend(e, eventArguments);\n        if (el.dispatchEvent) {\n            el.dispatchEvent(eventArguments);\n        }\n        else {\n            el.fireEvent(type, eventArguments);\n        }\n    }\n    else if (el.hcEvents) {\n        if (!eventArguments.target) {\n            // We're running a custom event\n            extend(eventArguments, {\n                // Attach a simple preventDefault function to skip\n                // default handler if called. The built-in\n                // defaultPrevented property is not overwritable (#5112)\n                preventDefault: function () {\n                    eventArguments.defaultPrevented = true;\n                },\n                // Setting target to native events fails with clicking\n                // the zoom-out button in Chrome.\n                target: el,\n                // If the type is not set, we're running a custom event\n                // (#2297). If it is set, we're running a browser event.\n                type: type\n            });\n        }\n        const events = [];\n        let object = el;\n        let multilevel = false;\n        // Recurse up the inheritance chain and collect hcEvents set as own\n        // objects on the prototypes.\n        while (object.hcEvents) {\n            if (Object.hasOwnProperty.call(object, 'hcEvents') &&\n                object.hcEvents[type]) {\n                if (events.length) {\n                    multilevel = true;\n                }\n                events.unshift.apply(events, object.hcEvents[type]);\n            }\n            object = Object.getPrototypeOf(object);\n        }\n        // For performance reasons, only sort the event handlers in case we are\n        // dealing with multiple levels in the prototype chain. Otherwise, the\n        // events are already sorted in the addEvent function.\n        if (multilevel) {\n            // Order the calls\n            events.sort((a, b) => a.order - b.order);\n        }\n        // Call the collected event handlers\n        events.forEach((obj) => {\n            // If the event handler returns false, prevent the default handler\n            // from executing\n            if (obj.fn.call(el, eventArguments) === false) {\n                eventArguments.preventDefault();\n            }\n        });\n    }\n    // Run the default if not prevented\n    if (defaultFunction && !eventArguments.defaultPrevented) {\n        defaultFunction.call(el, eventArguments);\n    }\n}\nlet serialMode;\n/**\n * Get a unique key for using in internal element id's and pointers. The key is\n * composed of a random hash specific to this Highcharts instance, and a\n * counter.\n *\n * @example\n * let id = uniqueKey(); // => 'highcharts-x45f6hp-0'\n *\n * @function Highcharts.uniqueKey\n *\n * @return {string}\n * A unique key.\n */\nconst uniqueKey = (function () {\n    const hash = Math.random().toString(36).substring(2, 9) + '-';\n    let id = 0;\n    return function () {\n        return 'highcharts-' + (serialMode ? '' : hash) + id++;\n    };\n}());\n/**\n * Activates a serial mode for element IDs provided by\n * {@link Highcharts.uniqueKey}. This mode can be used in automated tests, where\n * a simple comparison of two rendered SVG graphics is needed.\n *\n * **Note:** This is only for testing purposes and will break functionality in\n * webpages with multiple charts.\n *\n * @example\n * if (\n *   process &&\n *   process.env.NODE_ENV === 'development'\n * ) {\n *   Highcharts.useSerialIds(true);\n * }\n *\n * @function Highcharts.useSerialIds\n *\n * @param {boolean} [mode]\n * Changes the state of serial mode.\n *\n * @return {boolean|undefined}\n * State of the serial mode.\n */\nfunction useSerialIds(mode) {\n    return (serialMode = pick(mode, serialMode));\n}\nfunction isFunction(obj) {\n    return typeof obj === 'function';\n}\nfunction ucfirst(s) {\n    return ((isString(s) ?\n        s.substring(0, 1).toUpperCase() + s.substring(1) :\n        String(s)));\n}\n/* *\n *\n *  External\n *\n * */\n// Register Highcharts as a plugin in jQuery\nif (win.jQuery) {\n    /**\n     * Highcharts-extended JQuery.\n     *\n     * @external JQuery\n     */\n    /**\n     * Helper function to return the chart of the current JQuery selector\n     * element.\n     *\n     * @function external:JQuery#highcharts\n     *\n     * @return {Highcharts.Chart}\n     *         The chart that is linked to the JQuery selector element.\n     */ /**\n    * Factory function to create a chart in the current JQuery selector\n    * element.\n    *\n    * @function external:JQuery#highcharts\n    *\n    * @param {'Chart'|'Map'|'StockChart'|string} [className]\n    *        Name of the factory class in the Highcharts namespace.\n    *\n    * @param {Highcharts.Options} [options]\n    *        The chart options structure.\n    *\n    * @param {Highcharts.ChartCallbackFunction} [callback]\n    *        Function to run when the chart has loaded and all external\n    *        images are loaded. Defining a\n    *        [chart.events.load](https://api.highcharts.com/highcharts/chart.events.load)\n    *        handler is equivalent.\n    *\n    * @return {JQuery}\n    *         The current JQuery selector.\n    */\n    win.jQuery.fn.highcharts = function () {\n        const args = [].slice.call(arguments);\n        if (this[0]) { // `this[0]` is the renderTo div\n            // Create the chart\n            if (args[0]) {\n                new Core_Globals[ // eslint-disable-line computed-property-spacing, no-new\n                // Constructor defaults to Chart\n                isString(args[0]) ? args.shift() : 'Chart'](this[0], args[0], args[1]);\n                return this;\n            }\n            // When called without parameters or with the return argument,\n            // return an existing chart\n            return charts[attr(this[0], 'data-highcharts-chart')];\n        }\n    };\n}\n/* *\n *\n *  Default Export\n *\n * */\n// TODO use named exports when supported.\nconst Utilities = {\n    addEvent,\n    arrayMax,\n    arrayMin,\n    attr,\n    clamp,\n    clearTimeout: internalClearTimeout,\n    correctFloat,\n    createElement,\n    crisp,\n    css,\n    defined,\n    destroyObjectProperties,\n    diffObjects,\n    discardElement,\n    erase,\n    error,\n    extend,\n    extendClass,\n    find,\n    fireEvent,\n    getAlignFactor,\n    getClosestDistance,\n    getMagnitude,\n    getNestedProperty,\n    getStyle,\n    insertItem,\n    isArray,\n    isClass,\n    isDOMElement,\n    isFunction,\n    isNumber,\n    isObject,\n    isString,\n    merge,\n    normalizeTickInterval,\n    objectEach,\n    offset,\n    pad,\n    pick,\n    pInt,\n    pushUnique,\n    relativeLength,\n    removeEvent,\n    replaceNested,\n    splat,\n    stableSort,\n    syncTimeout,\n    timeUnits,\n    ucfirst,\n    uniqueKey,\n    useSerialIds,\n    wrap\n};\n/* harmony default export */ const Core_Utilities = (Utilities);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * An animation configuration. Animation configurations can also be defined as\n * booleans, where `false` turns off animation and `true` defaults to a duration\n * of 500ms and defer of 0ms.\n *\n * @interface Highcharts.AnimationOptionsObject\n */ /**\n* A callback function to execute when the animation finishes.\n* @name Highcharts.AnimationOptionsObject#complete\n* @type {Function|undefined}\n*/ /**\n* The animation defer in milliseconds.\n* @name Highcharts.AnimationOptionsObject#defer\n* @type {number|undefined}\n*/ /**\n* The animation duration in milliseconds.\n* @name Highcharts.AnimationOptionsObject#duration\n* @type {number|undefined}\n*/ /**\n* The name of an easing function as defined on the `Math` object.\n* @name Highcharts.AnimationOptionsObject#easing\n* @type {string|Function|undefined}\n*/ /**\n* A callback function to execute on each step of each attribute or CSS property\n* that's being animated. The first argument contains information about the\n* animation and progress.\n* @name Highcharts.AnimationOptionsObject#step\n* @type {Function|undefined}\n*/\n/**\n * Creates a frame for the animated SVG element.\n *\n * @callback Highcharts.AnimationStepCallbackFunction\n *\n * @param {Highcharts.SVGElement} this\n *        The SVG element to animate.\n *\n * @return {void}\n */\n/**\n * Interface description for a class.\n *\n * @interface Highcharts.Class<T>\n * @extends Function\n */ /**\n* Class constructor.\n* @function Highcharts.Class<T>#new\n* @param {...Array<*>} args\n*        Constructor arguments.\n* @return {T}\n*         Class instance.\n*/\n/**\n * A style object with camel case property names to define visual appearance of\n * a SVG element or HTML element. The properties can be whatever styles are\n * supported on the given SVG or HTML element.\n *\n * @example\n * {\n *    fontFamily: 'monospace',\n *    fontSize: '1.2em'\n * }\n *\n * @interface Highcharts.CSSObject\n */ /**\n* @name Highcharts.CSSObject#[key:string]\n* @type {boolean|number|string|undefined}\n*/ /**\n* Background style for the element.\n* @name Highcharts.CSSObject#background\n* @type {string|undefined}\n*/ /**\n* Background color of the element.\n* @name Highcharts.CSSObject#backgroundColor\n* @type {Highcharts.ColorString|undefined}\n*/ /**\n* Border style for the element.\n* @name Highcharts.CSSObject#border\n* @type {string|undefined}\n*/ /**\n* Radius of the element border.\n* @name Highcharts.CSSObject#borderRadius\n* @type {number|undefined}\n*/ /**\n* Color used in the element. The 'contrast' option is a Highcharts custom\n* property that results in black or white, depending on the background of the\n* element.\n* @name Highcharts.CSSObject#color\n* @type {'contrast'|Highcharts.ColorString|undefined}\n*/ /**\n* Style of the mouse cursor when resting over the element.\n* @name Highcharts.CSSObject#cursor\n* @type {Highcharts.CursorValue|undefined}\n*/ /**\n* Font family of the element text. Multiple values have to be in decreasing\n* preference order and separated by comma.\n* @name Highcharts.CSSObject#fontFamily\n* @type {string|undefined}\n*/ /**\n* Font size of the element text.\n* @name Highcharts.CSSObject#fontSize\n* @type {string|undefined}\n*/ /**\n* Font weight of the element text.\n* @name Highcharts.CSSObject#fontWeight\n* @type {string|undefined}\n*/ /**\n* Height of the element.\n* @name Highcharts.CSSObject#height\n* @type {number|undefined}\n*/ /**\n* The maximum number of lines. If lines are cropped away, an ellipsis will be\n* added.\n* @name Highcharts.CSSObject#lineClamp\n* @type {number|undefined}\n*/ /**\n* Width of the element border.\n* @name Highcharts.CSSObject#lineWidth\n* @type {number|undefined}\n*/ /**\n* Opacity of the element.\n* @name Highcharts.CSSObject#opacity\n* @type {number|undefined}\n*/ /**\n* Space around the element content.\n* @name Highcharts.CSSObject#padding\n* @type {string|undefined}\n*/ /**\n* Behaviour of the element when the mouse cursor rests over it.\n* @name Highcharts.CSSObject#pointerEvents\n* @type {string|undefined}\n*/ /**\n* Positioning of the element.\n* @name Highcharts.CSSObject#position\n* @type {string|undefined}\n*/ /**\n* Alignment of the element text.\n* @name Highcharts.CSSObject#textAlign\n* @type {string|undefined}\n*/ /**\n* Additional decoration of the element text.\n* @name Highcharts.CSSObject#textDecoration\n* @type {string|undefined}\n*/ /**\n* Outline style of the element text.\n* @name Highcharts.CSSObject#textOutline\n* @type {string|undefined}\n*/ /**\n* Line break style of the element text. Highcharts SVG elements support\n* `ellipsis` when a `width` is set.\n* @name Highcharts.CSSObject#textOverflow\n* @type {string|undefined}\n*/ /**\n* Top spacing of the element relative to the parent element.\n* @name Highcharts.CSSObject#top\n* @type {string|undefined}\n*/ /**\n* Animated transition of selected element properties.\n* @name Highcharts.CSSObject#transition\n* @type {string|undefined}\n*/ /**\n* Line break style of the element text.\n* @name Highcharts.CSSObject#whiteSpace\n* @type {string|undefined}\n*/ /**\n* Width of the element.\n* @name Highcharts.CSSObject#width\n* @type {number|undefined}\n*/\n/**\n * All possible cursor styles.\n *\n * @typedef {'alias'|'all-scroll'|'auto'|'cell'|'col-resize'|'context-menu'|'copy'|'crosshair'|'default'|'e-resize'|'ew-resize'|'grab'|'grabbing'|'help'|'move'|'n-resize'|'ne-resize'|'nesw-resize'|'no-drop'|'none'|'not-allowed'|'ns-resize'|'nw-resize'|'nwse-resize'|'pointer'|'progress'|'row-resize'|'s-resize'|'se-resize'|'sw-resize'|'text'|'vertical-text'|'w-resize'|'wait'|'zoom-in'|'zoom-out'} Highcharts.CursorValue\n */\n/**\n * All possible dash styles.\n *\n * @typedef {'Dash'|'DashDot'|'Dot'|'LongDash'|'LongDashDot'|'LongDashDotDot'|'ShortDash'|'ShortDashDot'|'ShortDashDotDot'|'ShortDot'|'Solid'} Highcharts.DashStyleValue\n */\n/**\n * Generic dictionary in TypeScript notation.\n * Use the native `AnyRecord` instead.\n *\n * @deprecated\n * @interface Highcharts.Dictionary<T>\n */ /**\n* @name Highcharts.Dictionary<T>#[key:string]\n* @type {T}\n*/\n/**\n * The function callback to execute when the event is fired. The `this` context\n * contains the instance, that fired the event.\n *\n * @callback Highcharts.EventCallbackFunction<T>\n *\n * @param {T} this\n *\n * @param {Highcharts.Dictionary<*>|Event} [eventArguments]\n *        Event arguments.\n *\n * @return {boolean|void}\n */\n/**\n * The event options for adding function callback.\n *\n * @interface Highcharts.EventOptionsObject\n */ /**\n* The order the event handler should be called. This opens for having one\n* handler be called before another, independent of in which order they were\n* added.\n* @name Highcharts.EventOptionsObject#order\n* @type {number}\n*/ /**\n* Whether an event should be passive or not.\n* When set to `true`, the function specified by listener will never call\n* `preventDefault()`.\n* @name Highcharts.EventOptionsObject#passive\n* @type boolean\n*/\n/**\n * Formats data as a string. Usually the data is accessible through the `this`\n * keyword.\n *\n * @callback Highcharts.FormatterCallbackFunction<T>\n *\n * @param {T} this\n *        Context to format\n *\n * @return {string}\n *         Formatted text\n */\n/**\n * An object of key-value pairs for HTML attributes.\n *\n * @typedef {Highcharts.Dictionary<boolean|number|string|Function>} Highcharts.HTMLAttributes\n */\n/**\n * An HTML DOM element. The type is a reference to the regular HTMLElement in\n * the global scope.\n *\n * @typedef {global.HTMLElement} Highcharts.HTMLDOMElement\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement\n */\n/**\n * The iterator callback.\n *\n * @callback Highcharts.ObjectEachCallbackFunction<T>\n *\n * @param {T} this\n *        The context.\n *\n * @param {*} value\n *        The property value.\n *\n * @param {string} key\n *        The property key.\n *\n * @param {*} obj\n *        The object that objectEach is being applied to.\n */\n/**\n * An object containing `left` and `top` properties for the position in the\n * page.\n *\n * @interface Highcharts.OffsetObject\n */ /**\n* Left distance to the page border.\n* @name Highcharts.OffsetObject#left\n* @type {number}\n*/ /**\n* Top distance to the page border.\n* @name Highcharts.OffsetObject#top\n* @type {number}\n*/\n/**\n * Describes a range.\n *\n * @interface Highcharts.RangeObject\n */ /**\n* Maximum number of the range.\n* @name Highcharts.RangeObject#max\n* @type {number}\n*/ /**\n* Minimum number of the range.\n* @name Highcharts.RangeObject#min\n* @type {number}\n*/\n/**\n * If a number is given, it defines the pixel length. If a percentage string is\n * given, like for example `'50%'`, the setting defines a length relative to a\n * base size, for example the size of a container.\n *\n * @typedef {number|string} Highcharts.RelativeSize\n */\n/**\n * Proceed function to call original (wrapped) function.\n *\n * @callback Highcharts.WrapProceedFunction\n *\n * @param {*} [arg1]\n *        Optional argument. Without any arguments defaults to first argument of\n *        the wrapping function.\n *\n * @param {*} [arg2]\n *        Optional argument. Without any arguments defaults to second argument\n *        of the wrapping function.\n *\n * @param {*} [arg3]\n *        Optional argument. Without any arguments defaults to third argument of\n *        the wrapping function.\n *\n * @return {*}\n *         Return value of the original function.\n */\n/**\n * The Highcharts object is the placeholder for all other members, and various\n * utility functions. The most important member of the namespace would be the\n * chart constructor.\n *\n * @example\n * let chart = Highcharts.chart('container', { ... });\n *\n * @namespace Highcharts\n */\n''; // Detach doclets above\n\n;// ./code/es-modules/Core/Chart/ChartDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * General options for the chart.\n *\n * @optionparent chart\n */\nconst ChartDefaults = {\n    /**\n     * Default `mapData` for all series, in terms of a GeoJSON or TopoJSON\n     * object. If set to a string, it functions as an index into the\n     * `Highcharts.maps` array.\n     *\n     * For picking out individual shapes and geometries to use for each series\n     * of the map, see [series.mapData](#series.map.mapData).\n     *\n     * @sample    maps/demo/geojson\n     *            Loading GeoJSON data\n     * @sample    maps/chart/topojson\n     *            Loading TopoJSON data\n     *\n     * @type      {string|Array<*>|Highcharts.GeoJSON|Highcharts.TopoJSON}\n     * @since     5.0.0\n     * @product   highmaps\n     * @apioption chart.map\n     */\n    /**\n     * Set lat/lon transformation definitions for the chart. If not defined,\n     * these are extracted from the map data.\n     *\n     * @type      {*}\n     * @since     5.0.0\n     * @product   highmaps\n     * @apioption chart.mapTransforms\n     */\n    /**\n     * When using multiple axes, the ticks of two or more opposite axes\n     * will automatically be aligned by adding ticks to the axis or axes\n     * with the least ticks, as if `tickAmount` were specified.\n     *\n     * This can be prevented by setting `alignTicks` to false. If the grid\n     * lines look messy, it's a good idea to hide them for the secondary\n     * axis by setting `gridLineWidth` to 0.\n     *\n     * If `startOnTick` or `endOnTick` in the axis options are set to false,\n     * then the `alignTicks ` will be disabled for the axis.\n     *\n     * Disabled for logarithmic axes.\n     *\n     * @sample {highcharts} highcharts/chart/alignticks-true/\n     *         True by default\n     * @sample {highcharts} highcharts/chart/alignticks-false/\n     *         False\n     * @sample {highstock} stock/chart/alignticks-true/\n     *         True by default\n     * @sample {highstock} stock/chart/alignticks-false/\n     *         False\n     *\n     * @type      {boolean}\n     * @default   true\n     * @product   highcharts highstock gantt\n     * @apioption chart.alignTicks\n     */\n    /**\n     * When using multiple axes, align the thresholds. When this is true, other\n     * ticks will also be aligned.\n     *\n     * Note that for line series and some other series types, the `threshold`\n     * option is set to `null` by default. This will in turn cause their y-axis\n     * to not have a threshold. In order to avoid that, set the series\n     * `threshold` to 0 or another number.\n     *\n     * If `startOnTick` or `endOnTick` in the axis options are set to false, or\n     * if the axis is logarithmic, the threshold will not be aligned.\n     *\n     * @sample {highcharts} highcharts/chart/alignthresholds/ Set to true\n     *\n     * @since 10.0.0\n     * @product   highcharts highstock gantt\n     * @apioption chart.alignThresholds\n     */\n    alignThresholds: false,\n    /**\n     * Set the overall animation for all chart updating. Animation can be\n     * disabled throughout the chart by setting it to false here. It can\n     * be overridden for each individual API method as a function parameter.\n     * The only animation not affected by this option is the initial series\n     * animation, see [plotOptions.series.animation](\n     * #plotOptions.series.animation).\n     *\n     * The animation can either be set as a boolean or a configuration\n     * object. If `true`, it will use the 'swing' jQuery easing and a\n     * duration of 500 ms. If used as a configuration object, the following\n     * properties are supported:\n     *\n     * - `defer`: The animation delay time in milliseconds.\n     *\n     * - `duration`: The duration of the animation in milliseconds.\n     *\n     * - `easing`: A string reference to an easing function set on the\n     *   `Math` object. See\n     *   [the easing demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-animation-easing/).\n     *\n     * When zooming on a series with less than 100 points, the chart redraw\n     * will be done with animation, but in case of more data points, it is\n     * necessary to set this option to ensure animation on zoom.\n     *\n     * @sample {highcharts} highcharts/chart/animation-none/\n     *         Updating with no animation\n     * @sample {highcharts} highcharts/chart/animation-duration/\n     *         With a longer duration\n     * @sample {highcharts} highcharts/chart/animation-easing/\n     *         With a jQuery UI easing\n     * @sample {highmaps} maps/chart/animation-none/\n     *         Updating with no animation\n     * @sample {highmaps} maps/chart/animation-duration/\n     *         With a longer duration\n     *\n     * @type      {boolean|Partial<Highcharts.AnimationOptionsObject>}\n     * @default   true\n     * @apioption chart.animation\n     */\n    /**\n     * A CSS class name to apply to the charts container `div`, allowing\n     * unique CSS styling for each chart.\n     *\n     * @type      {string}\n     * @apioption chart.className\n     */\n    /**\n     * Event listeners for the chart.\n     *\n     * @apioption chart.events\n     */\n    /**\n     * Fires when a series is added to the chart after load time, using the\n     * `addSeries` method. One parameter, `event`, is passed to the\n     * function, containing common event information. Through\n     * `event.options` you can access the series options that were passed to\n     * the `addSeries` method. Returning false prevents the series from\n     * being added.\n     *\n     * @sample {highcharts} highcharts/chart/events-addseries/\n     *         Alert on add series\n     * @sample {highstock} stock/chart/events-addseries/\n     *         Alert on add series\n     *\n     * @type      {Highcharts.ChartAddSeriesCallbackFunction}\n     * @since     1.2.0\n     * @context   Highcharts.Chart\n     * @apioption chart.events.addSeries\n     */\n    /**\n     * Fires when clicking on the plot background. One parameter, `event`,\n     * is passed to the function, containing common event information.\n     *\n     * Information on the clicked spot can be found through `event.xAxis`\n     * and `event.yAxis`, which are arrays containing the axes of each\n     * dimension and each axis' value at the clicked spot. The primary axes\n     * are `event.xAxis[0]` and `event.yAxis[0]`. Remember the unit of a\n     * datetime axis is milliseconds since 1970-01-01 00:00:00.\n     *\n     * ```js\n     * click: function(e) {\n     *     console.log(\n     *         Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', e.xAxis[0].value),\n     *         e.yAxis[0].value\n     *     )\n     * }\n     * ```\n     *\n     * @sample {highcharts} highcharts/chart/events-click/\n     *         Alert coordinates on click\n     * @sample {highcharts} highcharts/chart/events-container/\n     *         Alternatively, attach event to container\n     * @sample {highstock} stock/chart/events-click/\n     *         Alert coordinates on click\n     * @sample {highstock} highcharts/chart/events-container/\n     *         Alternatively, attach event to container\n     * @sample {highmaps} maps/chart/events-click/\n     *         Record coordinates on click\n     * @sample {highmaps} highcharts/chart/events-container/\n     *         Alternatively, attach event to container\n     *\n     * @type      {Highcharts.ChartClickCallbackFunction}\n     * @since     1.2.0\n     * @context   Highcharts.Chart\n     * @apioption chart.events.click\n     */\n    /**\n     * Fires when the chart is finished loading. Since v4.2.2, it also waits\n     * for images to be loaded, for example from point markers. One\n     * parameter, `event`, is passed to the function, containing common\n     * event information.\n     *\n     * There is also a second parameter to the chart constructor where a\n     * callback function can be passed to be executed on chart.load.\n     *\n     * @sample {highcharts} highcharts/chart/events-load/\n     *         Alert on chart load\n     * @sample {highcharts} highcharts/chart/events-render/\n     *         Load vs Redraw vs Render\n     * @sample {highstock} stock/chart/events-load/\n     *         Alert on chart load\n     * @sample {highmaps} maps/chart/events-load/\n     *         Add series on chart load\n     *\n     * @type      {Highcharts.ChartLoadCallbackFunction}\n     * @context   Highcharts.Chart\n     * @apioption chart.events.load\n     */\n    /**\n     * Fires when the chart is redrawn, either after a call to\n     * `chart.redraw()` or after an axis, series or point is modified with\n     * the `redraw` option set to `true`. One parameter, `event`, is passed\n     * to the function, containing common event information.\n     *\n     * @sample {highcharts} highcharts/chart/events-redraw/\n     *         Alert on chart redraw\n     * @sample {highcharts} highcharts/chart/events-render/\n     *         Load vs Redraw vs Render\n     * @sample {highstock} stock/chart/events-redraw/\n     *         Alert on chart redraw when adding a series or moving the\n     *         zoomed range\n     * @sample {highmaps} maps/chart/events-redraw/\n     *         Set subtitle on chart redraw\n     *\n     * @type      {Highcharts.ChartRedrawCallbackFunction}\n     * @since     1.2.0\n     * @context   Highcharts.Chart\n     * @apioption chart.events.redraw\n     */\n    /**\n     * Fires after initial load of the chart (directly after the `load`\n     * event), and after each redraw (directly after the `redraw` event).\n     *\n     * @sample {highcharts} highcharts/chart/events-render/\n     *         Load vs Redraw vs Render\n     *\n     * @type      {Highcharts.ChartRenderCallbackFunction}\n     * @since     5.0.7\n     * @context   Highcharts.Chart\n     * @apioption chart.events.render\n     */\n    /**\n     * Fires when an area of the chart has been selected. Selection is\n     * enabled by setting the chart's zoomType. One parameter, `event`, is\n     * passed to the function, containing common event information. The\n     * default action for the selection event is to zoom the chart to the\n     * selected area. It can be prevented by calling\n     * `event.preventDefault()` or return false.\n     *\n     * Information on the selected area can be found through `event.xAxis`\n     * and `event.yAxis`, which are arrays containing the axes of each\n     * dimension and each axis' min and max values. The primary axes are\n     * `event.xAxis[0]` and `event.yAxis[0]`. Remember the unit of a\n     * datetime axis is milliseconds since 1970-01-01 00:00:00.\n     *\n     * ```js\n     * selection: function(event) {\n     *     // log the min and max of the primary, datetime x-axis\n     *     console.log(\n     *         Highcharts.dateFormat(\n     *             '%Y-%m-%d %H:%M:%S',\n     *             event.xAxis[0].min\n     *         ),\n     *         Highcharts.dateFormat(\n     *             '%Y-%m-%d %H:%M:%S',\n     *             event.xAxis[0].max\n     *         )\n     *     );\n     *     // log the min and max of the y axis\n     *     console.log(event.yAxis[0].min, event.yAxis[0].max);\n     * }\n     * ```\n     *\n     * @sample {highcharts} highcharts/chart/events-selection/\n     *         Report on selection and reset\n     * @sample {highcharts} highcharts/chart/events-selection-points/\n     *         Select a range of points through a drag selection\n     * @sample {highstock} stock/chart/events-selection/\n     *         Report on selection and reset\n     * @sample {highstock} highcharts/chart/events-selection-points/\n     *         Select a range of points through a drag selection\n     *         (Highcharts)\n     *\n     * @type      {Highcharts.ChartSelectionCallbackFunction}\n     * @apioption chart.events.selection\n     */\n    /**\n     * The margin between the outer edge of the chart and the plot area.\n     * The numbers in the array designate top, right, bottom and left\n     * respectively. Use the options `marginTop`, `marginRight`,\n     * `marginBottom` and `marginLeft` for shorthand setting of one option.\n     *\n     * By default there is no margin. The actual space is dynamically\n     * calculated from the offset of axis labels, axis title, title,\n     * subtitle and legend in addition to the `spacingTop`, `spacingRight`,\n     * `spacingBottom` and `spacingLeft` options.\n     *\n     * @sample {highcharts} highcharts/chart/margins-zero/\n     *         Zero margins\n     * @sample {highstock} stock/chart/margin-zero/\n     *         Zero margins\n     *\n     * @type      {number|Array<number>}\n     * @apioption chart.margin\n     */\n    /**\n     * The margin between the bottom outer edge of the chart and the plot\n     * area. Use this to set a fixed pixel value for the margin as opposed\n     * to the default dynamic margin. See also `spacingBottom`.\n     *\n     * @sample {highcharts} highcharts/chart/marginbottom/\n     *         100px bottom margin\n     * @sample {highstock} stock/chart/marginbottom/\n     *         100px bottom margin\n     * @sample {highmaps} maps/chart/margin/\n     *         100px margins\n     *\n     * @type      {number}\n     * @since     2.0\n     * @apioption chart.marginBottom\n     */\n    /**\n     * The margin between the left outer edge of the chart and the plot\n     * area. Use this to set a fixed pixel value for the margin as opposed\n     * to the default dynamic margin. See also `spacingLeft`.\n     *\n     * @sample {highcharts} highcharts/chart/marginleft/\n     *         150px left margin\n     * @sample {highstock} stock/chart/marginleft/\n     *         150px left margin\n     * @sample {highmaps} maps/chart/margin/\n     *         100px margins\n     *\n     * @type      {number}\n     * @since     2.0\n     * @apioption chart.marginLeft\n     */\n    /**\n     * The margin between the right outer edge of the chart and the plot\n     * area. Use this to set a fixed pixel value for the margin as opposed\n     * to the default dynamic margin. See also `spacingRight`.\n     *\n     * @sample {highcharts} highcharts/chart/marginright/\n     *         100px right margin\n     * @sample {highstock} stock/chart/marginright/\n     *         100px right margin\n     * @sample {highmaps} maps/chart/margin/\n     *         100px margins\n     *\n     * @type      {number}\n     * @since     2.0\n     * @apioption chart.marginRight\n     */\n    /**\n     * The margin between the top outer edge of the chart and the plot area.\n     * Use this to set a fixed pixel value for the margin as opposed to\n     * the default dynamic margin. See also `spacingTop`.\n     *\n     * @sample {highcharts} highcharts/chart/margintop/ 100px top margin\n     * @sample {highstock} stock/chart/margintop/\n     *         100px top margin\n     * @sample {highmaps} maps/chart/margin/\n     *         100px margins\n     *\n     * @type      {number}\n     * @since     2.0\n     * @apioption chart.marginTop\n     */\n    /**\n     * Callback function to override the default function that formats all\n     * the numbers in the chart. Returns a string with the formatted number.\n     *\n     * @sample highcharts/members/highcharts-numberformat\n     *      Arabic digits in Highcharts\n     * @type {Highcharts.NumberFormatterCallbackFunction}\n     * @since 8.0.0\n     * @apioption chart.numberFormatter\n     */\n    /**\n     * When a chart with an x and a y-axis is rendered, we first pre-render the\n     * labels of both in order to measure them. Then, if either of the axis\n     * labels take up so much space that it significantly affects the length of\n     * the other axis, we repeat the process.\n     *\n     * By default we stop at two axis layout runs, but it may be that the second\n     * run also alter the space required by either axis, for example if it\n     * causes the labels to rotate. In this situation, a subsequent redraw of\n     * the chart may cause the tick and label placement to change for apparently\n     * no reason.\n     *\n     * Use the `axisLayoutRuns` option to set the maximum allowed number of\n     * repetitions. But keep in mind that the default value of 2 is set because\n     * every run costs performance time.\n     *\n     * **Note:** Changing that option to higher than the default might decrease\n     * performance significantly, especially with bigger sets of data.\n     *\n     * @type      {number}\n     * @default   2\n     * @since     11.3.0\n     * @apioption chart.axisLayoutRuns\n     */\n    /**\n     * Allows setting a key to switch between zooming and panning. Can be\n     * one of `alt`, `ctrl`, `meta` (the command key on Mac and Windows\n     * key on Windows) or `shift`. The keys are mapped directly to the key\n     * properties of the click event argument (`event.altKey`,\n     * `event.ctrlKey`, `event.metaKey` and `event.shiftKey`).\n     *\n     * @type       {string}\n     * @since      4.0.3\n     * @product    highcharts gantt\n     * @validvalue [\"alt\", \"ctrl\", \"meta\", \"shift\"]\n     * @apioption  chart.panKey\n     */\n    /**\n     * Allow panning in a chart. Best used with [panKey](#chart.panKey)\n     * to combine zooming and panning.\n     *\n     * On touch devices, when the [tooltip.followTouchMove](\n     * #tooltip.followTouchMove) option is `true` (default), panning\n     * requires two fingers. To allow panning with one finger, set\n     * `followTouchMove` to `false`.\n     *\n     * @sample  {highcharts} highcharts/chart/pankey/ Zooming and panning\n     * @sample  {highstock} stock/chart/panning/ Zooming and xy panning\n     */\n    panning: {\n        /**\n         * Enable or disable chart panning.\n         *\n         * @type      {boolean}\n         * @default   {highcharts} false\n         * @default   {highstock|highmaps} true\n         */\n        enabled: false,\n        /**\n         * Decides in what dimensions the user can pan the chart. Can be\n         * one of `x`, `y`, or `xy`.\n         *\n         * During panning, all axes will behave as if\n         * [`startOnTick`](#yAxis.startOnTick) and\n         * [`endOnTick`](#yAxis.endOnTick) were set to `false`. After the\n         * panning action is finished, the axes will adjust to their actual\n         * settings.\n         *\n         * @sample {highcharts} highcharts/chart/panning-type\n         *         Zooming and xy panning\n         *\n         * @declare    Highcharts.OptionsChartPanningTypeValue\n         * @type       {string}\n         * @validvalue [\"x\", \"y\", \"xy\"]\n         * @product    highcharts highstock gantt\n         */\n        type: 'x'\n    },\n    /**\n     * Equivalent to [zoomType](#chart.zoomType), but for multitouch\n     * gestures only. By default, the `pinchType` is the same as the\n     * `zoomType` setting. However, pinching can be enabled separately in\n     * some cases, for example in stock charts where a mouse drag pans the\n     * chart, while pinching is enabled. When [tooltip.followTouchMove](\n     * #tooltip.followTouchMove) is true, pinchType only applies to\n     * two-finger touches.\n     *\n     * @type       {string}\n     * @default    {highcharts} undefined\n     * @default    {highstock} undefined\n     * @since      3.0\n     * @product    highcharts highstock gantt\n     * @deprecated\n     * @validvalue [\"x\", \"y\", \"xy\"]\n     * @apioption  chart.pinchType\n     */\n    /**\n     * Whether to apply styled mode. When in styled mode, no presentational\n     * attributes or CSS are applied to the chart SVG. Instead, CSS rules\n     * are required to style the chart. The default style sheet is\n     * available from `https://code.highcharts.com/css/highcharts.css`.\n     *\n     * [Read more in the docs](https://www.highcharts.com/docs/chart-design-and-style/style-by-css)\n     * on what classes and variables are available.\n     *\n     * @sample highcharts/css/colors\n     *         Color theming with CSS\n     * @sample highcharts/css/prefers-color-scheme\n     *         Dynamic theme based on system settings\n     * @type       {boolean}\n     * @default    false\n     * @since      7.0\n     * @apioption  chart.styledMode\n     */\n    styledMode: false,\n    /**\n     * The corner radius of the outer chart border.\n     *\n     * @sample {highcharts} highcharts/chart/borderradius/\n     *         20px radius\n     * @sample {highstock} stock/chart/border/\n     *         10px radius\n     * @sample {highmaps} maps/chart/border/\n     *         Border options\n     *\n     */\n    borderRadius: 0,\n    /**\n     * In styled mode, this sets how many colors the class names\n     * should rotate between. With ten colors, series (or points) are\n     * given class names like `highcharts-color-0`, `highcharts-color-1`\n     * [...] `highcharts-color-9`. The equivalent in non-styled mode\n     * is to set colors using the [colors](#colors) setting.\n     *\n     * @since      5.0.0\n     */\n    colorCount: 10,\n    /**\n     * By default, (because of memory and performance reasons) the chart does\n     * not copy the data but keeps it as a reference. In some cases, this might\n     * result in mutating the original data source. In order to prevent that,\n     * set that property to false. Please note that changing that might decrease\n     * performance, especially with bigger sets of data.\n     *\n     * @type       {boolean}\n     * @since 10.1.0\n     */\n    allowMutatingData: true,\n    /**\n     * If true, the axes will scale to the remaining visible series once\n     * one series is hidden. If false, hiding and showing a series will\n     * not affect the axes or the other series. For stacks, once one series\n     * within the stack is hidden, the rest of the stack will close in\n     * around it even if the axis is not affected.\n     *\n     * @sample {highcharts} highcharts/chart/ignorehiddenseries-true/\n     *         True by default\n     * @sample {highcharts} highcharts/chart/ignorehiddenseries-false/\n     *         False\n     * @sample {highcharts} highcharts/chart/ignorehiddenseries-true-stacked/\n     *         True with stack\n     * @sample {highstock} stock/chart/ignorehiddenseries-true/\n     *         True by default\n     * @sample {highstock} stock/chart/ignorehiddenseries-false/\n     *         False\n     *\n     * @since   1.2.0\n     * @product highcharts highstock gantt\n     */\n    ignoreHiddenSeries: true,\n    /**\n     * Whether to invert the axes so that the x axis is vertical and y axis\n     * is horizontal. When `true`, the x axis is [reversed](#xAxis.reversed)\n     * by default.\n     *\n     * @productdesc {highcharts}\n     * If a bar series is present in the chart, it will be inverted\n     * automatically. Inverting the chart doesn't have an effect if there\n     * are no cartesian series in the chart.\n     *\n     * @sample {highcharts} highcharts/chart/inverted/\n     *         Inverted line\n     * @sample {highstock} stock/navigator/inverted/\n     *         Inverted stock chart\n     *\n     * @type      {boolean}\n     * @default   false\n     * @product   highcharts highstock gantt\n     * @apioption chart.inverted\n     */\n    /**\n     * The distance between the outer edge of the chart and the content,\n     * like title or legend, or axis title and labels if present. The\n     * numbers in the array designate top, right, bottom and left\n     * respectively. Use the options spacingTop, spacingRight, spacingBottom\n     * and spacingLeft options for shorthand setting of one option.\n     *\n     * @type    {Array<number>}\n     * @see     [chart.margin](#chart.margin)\n     * @default [10, 10, 15, 10]\n     * @since   3.0.6\n     */\n    spacing: [10, 10, 15, 10],\n    /**\n     * The button that appears after a selection zoom, allowing the user\n     * to reset zoom. This option is deprecated in favor of\n     * [zooming](#chart.zooming).\n     *\n     * @since      2.2\n     * @deprecated 10.2.1\n     */\n    resetZoomButton: {\n        /**\n         * What frame the button placement should be related to. Can be\n         * either `plotBox` or `spacingBox`.\n         *\n         * @sample {highcharts} highcharts/chart/resetzoombutton-relativeto/\n         *         Relative to the chart\n         * @sample {highstock} highcharts/chart/resetzoombutton-relativeto/\n         *         Relative to the chart\n         *\n         * @type      {Highcharts.ButtonRelativeToValue}\n         * @apioption chart.resetZoomButton.relativeTo\n         */\n        /**\n         * A collection of attributes for the button. The object takes SVG\n         * attributes like `fill`, `stroke`, `stroke-width` or `r`, the\n         * border radius. The theme also supports `style`, a collection of\n         * CSS properties for the text. Equivalent attributes for the hover\n         * state are given in `theme.states.hover`.\n         *\n         * @sample {highcharts} highcharts/chart/resetzoombutton-theme/\n         *         Theming the button\n         * @sample {highstock} highcharts/chart/resetzoombutton-theme/\n         *         Theming the button\n         *\n         * @type {Highcharts.SVGAttributes}\n         */\n        theme: {\n        /**\n         * The z-index of the button.\n         *\n         * @type {number}\n         * @apioption chart.resetZoomButton.theme.zIndex\n         */\n        },\n        /**\n         * The position of the button.\n         *\n         * @sample {highcharts} highcharts/chart/resetzoombutton-position/\n         *         Above the plot area\n         * @sample {highstock} highcharts/chart/resetzoombutton-position/\n         *         Above the plot area\n         * @sample {highmaps} highcharts/chart/resetzoombutton-position/\n         *         Above the plot area\n         *\n         * @type {Highcharts.AlignObject}\n         */\n        position: {\n        /**\n         * The horizontal alignment of the button.\n         *\n         * @type {number}\n         * @apioption chart.resetZoomButton.position.align\n         */\n        /**\n         * The horizontal offset of the button.\n         *\n         * @type {number}\n         * @apioption chart.resetZoomButton.position.x\n         */\n        /**\n         * The vertical alignment of the button.\n         *\n         * @type      {Highcharts.VerticalAlignValue}\n         * @apioption chart.resetZoomButton.position.verticalAlign\n         */\n        /**\n         * The vertical offset of the button.\n         *\n         * @type {number}\n         * @apioption chart.resetZoomButton.position.y\n         */\n        }\n    },\n    /**\n     * The pixel width of the plot area border.\n     *\n     * @sample {highcharts} highcharts/chart/plotborderwidth/\n     *         1px border\n     * @sample {highstock} stock/chart/plotborder/\n     *         2px border\n     * @sample {highmaps} maps/chart/plotborder/\n     *         Plot border options\n     *\n     * @type      {number}\n     * @default   0\n     * @apioption chart.plotBorderWidth\n     */\n    /**\n     * Whether to apply a drop shadow to the plot area. Requires that\n     * plotBackgroundColor be set. The shadow can be an object configuration\n     * containing `color`, `offsetX`, `offsetY`, `opacity` and `width`.\n     *\n     * @sample {highcharts} highcharts/chart/plotshadow/\n     *         Plot shadow\n     * @sample {highstock} stock/chart/plotshadow/\n     *         Plot shadow\n     * @sample {highmaps} maps/chart/plotborder/\n     *         Plot border options\n     *\n     * @type      {boolean|Highcharts.ShadowOptionsObject}\n     * @default   false\n     * @apioption chart.plotShadow\n     */\n    /**\n     * When true, cartesian charts like line, spline, area and column are\n     * transformed into the polar coordinate system. This produces _polar\n     * charts_, also known as _radar charts_.\n     *\n     * @sample {highcharts} highcharts/demo/polar/\n     *         Polar chart\n     * @sample {highcharts} highcharts/demo/polar-wind-rose/\n     *         Wind rose, stacked polar column chart\n     * @sample {highcharts} highcharts/demo/polar-spider/\n     *         Spider web chart\n     * @sample {highcharts} highcharts/parallel-coordinates/polar/\n     *         Star plot, multivariate data in a polar chart\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     2.3.0\n     * @product   highcharts\n     * @requires  highcharts-more\n     * @apioption chart.polar\n     */\n    /**\n     * Whether to reflow the chart to fit the width of the container div\n     * on resizing the window.\n     *\n     * @sample {highcharts} highcharts/chart/reflow-true/\n     *         True by default\n     * @sample {highcharts} highcharts/chart/reflow-false/\n     *         False\n     * @sample {highstock} stock/chart/reflow-true/\n     *         True by default\n     * @sample {highstock} stock/chart/reflow-false/\n     *         False\n     * @sample {highmaps} maps/chart/reflow-true/\n     *         True by default\n     * @sample {highmaps} maps/chart/reflow-false/\n     *         False\n     *\n     * @since     2.1\n     */\n    reflow: true,\n    /**\n     * The HTML element where the chart will be rendered. If it is a string,\n     * the element by that id is used. The HTML element can also be passed\n     * by direct reference, or as the first argument of the chart\n     * constructor, in which case the option is not needed.\n     *\n     * @sample {highcharts} highcharts/chart/reflow-true/\n     *         String\n     * @sample {highcharts} highcharts/chart/renderto-object/\n     *         Object reference\n     * @sample {highstock} stock/chart/renderto-string/\n     *         String\n     * @sample {highstock} stock/chart/renderto-object/\n     *         Object reference\n     *\n     * @type      {string|Highcharts.HTMLDOMElement}\n     * @apioption chart.renderTo\n     */\n    /**\n     * The background color of the marker square when selecting (zooming\n     * in on) an area of the chart.\n     *\n     * @see In styled mode, the selection marker fill is set with the\n     *      `.highcharts-selection-marker` class.\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default   rgba(51,92,173,0.25)\n     * @since     2.1.7\n     * @apioption chart.selectionMarkerFill\n     */\n    /**\n     * Whether to apply a drop shadow to the global series group. This causes\n     * all the series to have the same shadow. Contrary to the `series.shadow`\n     * option, this prevents items from casting shadows on each other, like for\n     * others series in a stack. The shadow can be an object configuration\n     * containing `color`, `offsetX`, `offsetY`, `opacity` and `width`.\n     *\n     * @sample highcharts/chart/seriesgroupshadow/ Shadow\n     *\n     * @type      {boolean|Highcharts.ShadowOptionsObject}\n     * @default   false\n     * @apioption chart.shadow\n     */\n    /**\n     * Whether to apply a drop shadow to the outer chart area. Requires\n     * that backgroundColor be set. The shadow can be an object\n     * configuration containing `color`, `offsetX`, `offsetY`, `opacity` and\n     * `width`.\n     *\n     * @sample {highcharts} highcharts/chart/shadow/\n     *         Shadow\n     * @sample {highstock} stock/chart/shadow/\n     *         Shadow\n     * @sample {highmaps} maps/chart/border/\n     *         Chart border and shadow\n     *\n     * @type      {boolean|Highcharts.ShadowOptionsObject}\n     * @default   false\n     * @apioption chart.shadow\n     */\n    /**\n     * Whether to show the axes initially. This only applies to empty charts\n     * where series are added dynamically, as axes are automatically added\n     * to cartesian series.\n     *\n     * @sample {highcharts} highcharts/chart/showaxes-false/\n     *         False by default\n     * @sample {highcharts} highcharts/chart/showaxes-true/\n     *         True\n     *\n     * @type      {boolean}\n     * @since     1.2.5\n     * @product   highcharts gantt\n     * @apioption chart.showAxes\n     */\n    /**\n     * The space between the bottom edge of the chart and the content (plot\n     * area, axis title and labels, title, subtitle or legend in top\n     * position).\n     *\n     * @sample {highcharts} highcharts/chart/spacingbottom/\n     *         Spacing bottom set to 100\n     * @sample {highstock} stock/chart/spacingbottom/\n     *         Spacing bottom set to 100\n     * @sample {highmaps} maps/chart/spacing/\n     *         Spacing 100 all around\n     *\n     * @type      {number}\n     * @default   15\n     * @since     2.1\n     * @apioption chart.spacingBottom\n     */\n    /**\n     * The space between the left edge of the chart and the content (plot\n     * area, axis title and labels, title, subtitle or legend in top\n     * position).\n     *\n     * @sample {highcharts} highcharts/chart/spacingleft/\n     *         Spacing left set to 100\n     * @sample {highstock} stock/chart/spacingleft/\n     *         Spacing left set to 100\n     * @sample {highmaps} maps/chart/spacing/\n     *         Spacing 100 all around\n     *\n     * @type      {number}\n     * @default   10\n     * @since     2.1\n     * @apioption chart.spacingLeft\n     */\n    /**\n     * The space between the right edge of the chart and the content (plot\n     * area, axis title and labels, title, subtitle or legend in top\n     * position).\n     *\n     * @sample {highcharts} highcharts/chart/spacingright-100/\n     *         Spacing set to 100\n     * @sample {highcharts} highcharts/chart/spacingright-legend/\n     *         Legend in right position with default spacing\n     * @sample {highstock} stock/chart/spacingright/\n     *         Spacing set to 100\n     * @sample {highmaps} maps/chart/spacing/\n     *         Spacing 100 all around\n     *\n     * @type      {number}\n     * @default   10\n     * @since     2.1\n     * @apioption chart.spacingRight\n     */\n    /**\n     * The space between the top edge of the chart and the content (plot\n     * area, axis title and labels, title, subtitle or legend in top\n     * position).\n     *\n     * @sample {highcharts} highcharts/chart/spacingtop-100/\n     *         A top spacing of 100\n     * @sample {highcharts} highcharts/chart/spacingtop-10/\n     *         Floating chart title makes the plot area align to the default\n     *         spacingTop of 10.\n     * @sample {highstock} stock/chart/spacingtop/\n     *         A top spacing of 100\n     * @sample {highmaps} maps/chart/spacing/\n     *         Spacing 100 all around\n     *\n     * @type      {number}\n     * @default   10\n     * @since     2.1\n     * @apioption chart.spacingTop\n     */\n    /**\n     * Additional CSS styles to apply inline to the container `div` and the root\n     * SVG.\n     *\n     * According to the CSS syntax documentation, it is recommended to quote\n     * font family names that contain white space, digits, or punctuation\n     * characters other than hyphens. In such cases, wrap the fontFamily\n     * name as follows: `fontFamily: '\"Font name\"'`.\n     *\n     * Since v11, the root font size is 1rem by default, and all child element\n     * are given a relative `em` font size by default. This allows implementers\n     * to control all the chart's font sizes by only setting the root level.\n     *\n     * @see    In styled mode, general chart styles can be set with the\n     *         `.highcharts-root` class.\n     * @sample {highcharts} highcharts/chart/style-serif-font/\n     *         Using a serif type font\n     * @sample {highcharts} highcharts/chart/style-special-font/\n     *         Using a font with special character in name\n     * @sample {highcharts} highcharts/members/relative-font-size/\n     *         Relative font sizes\n     * @sample {highcharts} highcharts/css/em/\n     *         Styled mode with relative font sizes\n     * @sample {highstock} stock/chart/style/\n     *         Using a serif type font\n     * @sample {highmaps} maps/chart/style-serif-font/\n     *         Using a serif type font\n     *\n     * @type      {Highcharts.CSSObject}\n     * @default   {\"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif\", \"fontSize\":\"1rem\"}\n     * @apioption chart.style\n     */\n    /**\n     * The default series type for the chart. Can be any of the chart types\n     * listed under [plotOptions](#plotOptions) and [series](#series) or can\n     * be a series provided by an additional module.\n     *\n     * In TypeScript this option has no effect in sense of typing and\n     * instead the `type` option must always be set in the series.\n     *\n     * @sample {highcharts} highcharts/chart/type-bar/\n     *         Bar\n     * @sample {highstock} stock/chart/type/\n     *         Areaspline\n     * @sample {highmaps} maps/chart/type-mapline/\n     *         Mapline\n     *\n     * @type       {string}\n     * @default    {highcharts} line\n     * @default    {highstock} line\n     * @default    {highmaps} map\n     * @since      2.1.0\n     * @apioption  chart.type\n     */\n    type: 'line',\n    /**\n     * Decides in what dimensions the user can zoom by dragging the mouse.\n     * Can be one of `x`, `y` or `xy`.\n     *\n     * @see [panKey](#chart.panKey)\n     *\n     * @sample {highcharts} highcharts/chart/zoomtype-none/\n     *         None by default\n     * @sample {highcharts} highcharts/chart/zoomtype-x/\n     *         X\n     * @sample {highcharts} highcharts/chart/zoomtype-y/\n     *         Y\n     * @sample {highcharts} highcharts/chart/zoomtype-xy/\n     *         Xy\n     * @sample {highcharts} highcharts/chart/zoomtype-polar/\n     *         Zoom on polar chart\n     * @sample {highstock} stock/demo/basic-line/\n     *         None by default\n     * @sample {highstock} stock/chart/zoomtype-x/\n     *         X\n     * @sample {highstock} stock/chart/zoomtype-y/\n     *         Y\n     * @sample {highstock} stock/chart/zoomtype-xy/\n     *         Xy\n     * @sample {highmaps} maps/chart/zoomtype-xy/\n     *         Map with selection zoom\n     *\n     * @type       {string}\n     * @validvalue [\"x\", \"y\", \"xy\"]\n     * @deprecated\n     * @apioption  chart.zoomType\n     */\n    /**\n     * Enables zooming by a single touch, in combination with\n     * [chart.zoomType](#chart.zoomType). When enabled, two-finger pinch\n     * will still work as set up by [chart.pinchType](#chart.pinchType).\n     * However, `zoomBySingleTouch` will interfere with touch-dragging the\n     * chart to read the tooltip. And especially when vertical zooming is\n     * enabled, it will make it hard to scroll vertically on the page.\n     * @since      9.0.0\n     * @sample     highcharts/chart/zoombysingletouch\n     *             Zoom by single touch enabled, with buttons to toggle\n     * @product    highcharts highstock gantt\n     * @deprecated\n     */\n    /**\n     * Chart zooming options.\n     * @since 10.2.1\n     */\n    zooming: {\n        /**\n         * Equivalent to [type](#chart.zooming.type), but for multitouch\n         * gestures only. By default, the `pinchType` is the same as the\n         * `type` setting. However, pinching can be enabled separately in\n         * some cases, for example in stock charts where a mouse drag pans the\n         * chart, while pinching is enabled. When [tooltip.followTouchMove](\n         * #tooltip.followTouchMove) is true, pinchType only applies to\n         * two-finger touches.\n         *\n         * @type       {string}\n         * @default    {highcharts} undefined\n         * @default    {highstock} x\n         * @product    highcharts highstock gantt\n         * @validvalue [\"x\", \"y\", \"xy\"]\n         * @apioption  chart.zooming.pinchType\n         */\n        /**\n         * Decides in what dimensions the user can zoom by dragging the mouse.\n         * Can be one of `x`, `y` or `xy`.\n         *\n         * @declare    Highcharts.OptionsChartZoomingTypeValue\n         * @type       {string}\n         * @default    {highcharts} undefined\n         * @product    highcharts highstock gantt\n         * @validvalue [\"x\", \"y\", \"xy\"]\n         * @apioption  chart.zooming.type\n         */\n        /**\n         * Set a key to hold when dragging to zoom the chart. This is useful to\n         * avoid zooming while moving points. Should be set different than\n         * [chart.panKey](#chart.panKey).\n         *\n         * @type       {string}\n         * @default    {highcharts} undefined\n         * @validvalue [\"alt\", \"ctrl\", \"meta\", \"shift\"]\n         * @requires   modules/draggable-points\n         * @apioption  chart.zooming.key\n         */\n        /**\n         * Enables zooming by a single touch, in combination with\n         * [chart.zooming.type](#chart.zooming.type). When enabled, two-finger\n         * pinch will still work as set up by [chart.zooming.pinchType]\n         * (#chart.zooming.pinchType). However, `singleTouch` will interfere\n         * with touch-dragging the chart to read the tooltip. And especially\n         * when vertical zooming is enabled, it will make it hard to scroll\n         * vertically on the page.\n         *\n         * @sample  highcharts/chart/zoombysingletouch\n         *          Zoom by single touch enabled, with buttons to toggle\n         *\n         * @product highcharts highstock gantt\n         */\n        singleTouch: false,\n        /**\n         * The button that appears after a selection zoom, allowing the user\n         * to reset zoom.\n         */\n        resetButton: {\n            /**\n             * What frame the button placement should be related to. Can be\n             * either `plotBox` or `spacingBox`.\n             *\n             * @sample {highcharts} highcharts/chart/resetzoombutton-relativeto/\n             *         Relative to the chart\n             * @sample {highstock} highcharts/chart/resetzoombutton-relativeto/\n             *         Relative to the chart\n             *\n             * @type      {Highcharts.ButtonRelativeToValue}\n             * @default   plot\n             * @apioption chart.zooming.resetButton.relativeTo\n             */\n            /**\n             * A collection of attributes for the button. The object takes SVG\n             * attributes like `fill`, `stroke`, `stroke-width` or `r`, the\n             * border radius. The theme also supports `style`, a collection of\n             * CSS properties for the text. Equivalent attributes for the hover\n             * state are given in `theme.states.hover`.\n             *\n             * @sample {highcharts} highcharts/chart/resetzoombutton-theme/\n             *         Theming the button\n             * @sample {highstock} highcharts/chart/resetzoombutton-theme/\n             *         Theming the button\n             *\n             * @type  {Highcharts.SVGAttributes}\n             * @since 10.2.1\n             */\n            theme: {\n                /** @internal */\n                zIndex: 6\n            },\n            /**\n             * The position of the button.\n             *\n             * Note: Adjusting position values might cause overlap with chart\n             * elements. Ensure coordinates do not obstruct other components or\n             * data visibility.\n             *\n             * @sample {highcharts} highcharts/chart/resetzoombutton-position/\n             *         Above the plot area\n             * @sample {highstock} highcharts/chart/resetzoombutton-position/\n             *         Above the plot area\n             * @sample {highmaps} highcharts/chart/resetzoombutton-position/\n             *         Above the plot area\n             *\n             * @type  {Highcharts.AlignObject}\n             * @since 10.2.1\n             */\n            position: {\n                /**\n                 * The horizontal alignment of the button.\n                 */\n                align: 'right',\n                /**\n                 * The horizontal offset of the button.\n                 */\n                x: -10,\n                /**\n                 * The vertical alignment of the button.\n                 *\n                 * @type       {Highcharts.VerticalAlignValue}\n                 * @default    top\n                 * @apioption  chart.zooming.resetButton.position.verticalAlign\n                 */\n                /**\n                 * The vertical offset of the button.\n                 */\n                y: 10\n            }\n        }\n    },\n    /**\n     * An explicit width for the chart. By default (when `null`) the width\n     * is calculated from the offset width of the containing element.\n     *\n     * @sample {highcharts} highcharts/chart/width/\n     *         800px wide\n     * @sample {highstock} stock/chart/width/\n     *         800px wide\n     * @sample {highmaps} maps/chart/size/\n     *         Chart with explicit size\n     *\n     * @type {null|number|string}\n     */\n    width: null,\n    /**\n     * An explicit height for the chart. If a _number_, the height is\n     * given in pixels. If given a _percentage string_ (for example\n     * `'56%'`), the height is given as the percentage of the actual chart\n     * width. This allows for preserving the aspect ratio across responsive\n     * sizes.\n     *\n     * By default (when `null`) the height is calculated from the offset\n     * height of the containing element, or 400 pixels if the containing\n     * element's height is 0.\n     *\n     * @sample {highcharts} highcharts/chart/height/\n     *         Forced 200px height\n     * @sample {highstock} stock/chart/height/\n     *         300px height\n     * @sample {highmaps} maps/chart/size/\n     *         Chart with explicit size\n     * @sample highcharts/chart/height-percent/\n     *         Highcharts with percentage height\n     * @sample highcharts/chart/height-inherited/\n     *         Chart with inherited height\n     *\n     * @type {null|number|string}\n     */\n    height: null,\n    /**\n     * The color of the outer chart border.\n     *\n     * @see In styled mode, the stroke is set with the\n     *      `.highcharts-background` class.\n     *\n     * @sample {highcharts} highcharts/chart/bordercolor/\n     *         Brown border\n     * @sample {highstock} stock/chart/border/\n     *         Brown border\n     * @sample {highmaps} maps/chart/border/\n     *         Border options\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    borderColor: \"#334eff\" /* Palette.highlightColor80 */,\n    /**\n     * The pixel width of the outer chart border.\n     *\n     * @see In styled mode, the stroke is set with the\n     *      `.highcharts-background` class.\n     *\n     * @sample {highcharts} highcharts/chart/borderwidth/\n     *         5px border\n     * @sample {highstock} stock/chart/border/\n     *         2px border\n     * @sample {highmaps} maps/chart/border/\n     *         Border options\n     *\n     * @type      {number}\n     * @default   0\n     * @apioption chart.borderWidth\n     */\n    /**\n     * The background color or gradient for the outer chart area.\n     *\n     * @see In styled mode, the background is set with the\n     *      `.highcharts-background` class.\n     *\n     * @sample {highcharts} highcharts/chart/backgroundcolor-color/\n     *         Color\n     * @sample {highcharts} highcharts/chart/backgroundcolor-gradient/\n     *         Gradient\n     * @sample {highstock} stock/chart/backgroundcolor-color/\n     *         Color\n     * @sample {highstock} stock/chart/backgroundcolor-gradient/\n     *         Gradient\n     * @sample {highmaps} maps/chart/backgroundcolor-color/\n     *         Color\n     * @sample {highmaps} maps/chart/backgroundcolor-gradient/\n     *         Gradient\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    backgroundColor: \"#ffffff\" /* Palette.backgroundColor */,\n    /**\n     * The background color or gradient for the plot area.\n     *\n     * @see In styled mode, the plot background is set with the\n     *      `.highcharts-plot-background` class.\n     *\n     * @sample {highcharts} highcharts/chart/plotbackgroundcolor-color/\n     *         Color\n     * @sample {highcharts} highcharts/chart/plotbackgroundcolor-gradient/\n     *         Gradient\n     * @sample {highstock} stock/chart/plotbackgroundcolor-color/\n     *         Color\n     * @sample {highstock} stock/chart/plotbackgroundcolor-gradient/\n     *         Gradient\n     * @sample {highmaps} maps/chart/plotbackgroundcolor-color/\n     *         Color\n     * @sample {highmaps} maps/chart/plotbackgroundcolor-gradient/\n     *         Gradient\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @apioption chart.plotBackgroundColor\n     */\n    /**\n     * The URL for an image to use as the plot background. To set an image\n     * as the background for the entire chart, set a CSS background image\n     * to the container element. Note that for the image to be applied to\n     * exported charts, its URL needs to be accessible by the export server.\n     *\n     * @see In styled mode, a plot background image can be set with the\n     *      `.highcharts-plot-background` class and a [custom pattern](\n     *      https://www.highcharts.com/docs/chart-design-and-style/gradients-shadows-and-patterns).\n     *\n     * @sample {highcharts} highcharts/chart/plotbackgroundimage/\n     *         Skies\n     * @sample {highstock} stock/chart/plotbackgroundimage/\n     *         Skies\n     *\n     * @type      {string}\n     * @apioption chart.plotBackgroundImage\n     */\n    /**\n     * The color of the inner chart or plot area border.\n     *\n     * @see In styled mode, a plot border stroke can be set with the\n     *      `.highcharts-plot-border` class.\n     *\n     * @sample {highcharts} highcharts/chart/plotbordercolor/\n     *         Blue border\n     * @sample {highstock} stock/chart/plotborder/\n     *         Blue border\n     * @sample {highmaps} maps/chart/plotborder/\n     *         Plot border options\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    plotBorderColor: \"#cccccc\" /* Palette.neutralColor20 */\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Chart_ChartDefaults = (ChartDefaults);\n\n;// ./code/es-modules/Core/Color/Palettes.js\n/*\n * Series palettes for Highcharts. Series colors are defined in highcharts.css.\n * **Do not edit this file!** This file is generated using the 'gulp palette' task.\n */\nconst SeriesPalettes = {\n    /**\n     * Colors for data series and points\n     */\n    colors: [\n        '#2caffe',\n        '#544fc5',\n        '#00e272',\n        '#fe6a35',\n        '#6b8abc',\n        '#d568fb',\n        '#2ee0ca',\n        '#fa4b42',\n        '#feb56a',\n        '#91e8e1'\n    ],\n};\n/* harmony default export */ const Palettes = (SeriesPalettes);\n\n;// ./code/es-modules/Core/Time.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { pageLang, win: Time_win } = Core_Globals;\n\nconst { defined: Time_defined, error: Time_error, extend: Time_extend, isNumber: Time_isNumber, isObject: Time_isObject, isString: Time_isString, merge: Time_merge, objectEach: Time_objectEach, pad: Time_pad, splat: Time_splat, timeUnits: Time_timeUnits, ucfirst: Time_ucfirst } = Core_Utilities;\n/* *\n *\n *  Constants\n *\n * */\n// To do: Remove this when we no longer need support for Safari < v14.1\nconst hasOldSafariBug = Core_Globals.isSafari &&\n    Time_win.Intl &&\n    !Time_win.Intl.DateTimeFormat.prototype.formatRange;\nconst isDateTimeFormatOptions = (obj) => obj.main === void 0;\n// We use the Spanish locale for internal weekday handling because it uses\n// unique letters for narrow weekdays\nconst spanishWeekdayIndex = (weekday) => ['D', 'L', 'M', 'X', 'J', 'V', 'S'].indexOf(weekday);\n/* *\n *\n *  Class\n *\n * */\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/**\n * The Time class. Time settings are applied in general for each page using\n * `Highcharts.setOptions`, or individually for each Chart item through the\n * [time](https://api.highcharts.com/highcharts/time) options set.\n *\n * The Time object is available from {@link Highcharts.Chart#time}, which refers\n * to  `Highcharts.time` unless individual time settings are applied for each\n * chart.\n *\n * When configuring time settings for individual chart instances, be aware that\n * using `Highcharts.dateFormat` or `Highcharts.time.dateFormat` within\n * formatter callbacks relies on the global time object, which applies the\n * global language and time zone settings. To ensure charts with local time\n * settings function correctly, use `chart.time.dateFormat? instead. However,\n * the recommended best practice is to use `setOptions` to define global time\n * settings unless specific configurations are needed for each chart.\n *\n * @example\n * // Apply time settings globally\n * Highcharts.setOptions({\n *     time: {\n *         timezone: 'Europe/London'\n *     }\n * });\n *\n * // Apply time settings by instance\n * const chart = Highcharts.chart('container', {\n *     time: {\n *         timezone: 'America/New_York'\n *     },\n *     series: [{\n *         data: [1, 4, 3, 5]\n *     }]\n * });\n *\n * // Use the Time object of a chart instance\n * console.log(\n *        'Current time in New York',\n *        chart.time.dateFormat('%Y-%m-%d %H:%M:%S', Date.now())\n * );\n *\n * // Standalone use\n * const time = new Highcharts.Time({\n *    timezone: 'America/New_York'\n * });\n * const s = time.dateFormat('%Y-%m-%d %H:%M:%S', Date.UTC(2020, 0, 1));\n * console.log(s); // => 2019-12-31 19:00:00\n *\n * @since 6.0.5\n *\n * @class\n * @name Highcharts.Time\n *\n * @param {Highcharts.TimeOptions} [options] Time options as defined in\n * [chart.options.time](/highcharts/time).\n */\nclass Time {\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(options) {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this.options = {\n            timezone: 'UTC'\n        };\n        this.variableTimezone = false;\n        this.Date = Time_win.Date;\n        this.update(options);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Update the Time object with current options. It is called internally on\n     * initializing Highcharts, after running `Highcharts.setOptions` and on\n     * `Chart.update`.\n     *\n     * @private\n     * @function Highcharts.Time#update\n     *\n     * @param {Highcharts.TimeOptions} [options]\n     *\n     */\n    update(options = {}) {\n        this.dTLCache = {};\n        this.options = options = Time_merge(true, this.options, options);\n        const { timezoneOffset, useUTC } = options;\n        // Allow using a different Date class\n        this.Date = options.Date || Time_win.Date || Date;\n        // Assign the time zone. Handle the legacy, deprecated `useUTC` option.\n        let timezone = options.timezone;\n        if (Time_defined(useUTC)) {\n            timezone = useUTC ? 'UTC' : void 0;\n        }\n        // The Etc/GMT time zones do not support offsets with half-hour\n        // resolutions\n        if (timezoneOffset && timezoneOffset % 60 === 0) {\n            timezone = 'Etc/GMT' + ((timezoneOffset > 0 ? '+' : '')) + timezoneOffset / 60;\n        }\n        /*\n         * The time object has options allowing for variable time zones, meaning\n         * the axis ticks or series data needs to consider this.\n         */\n        this.variableTimezone = timezone !== 'UTC' &&\n            timezone?.indexOf('Etc/GMT') !== 0;\n        this.timezone = timezone;\n        // Assign default time formats from locale strings\n        ['months', 'shortMonths', 'weekdays', 'shortWeekdays'].forEach((name) => {\n            const isMonth = /months/i.test(name), isShort = /short/.test(name), options = { timeZone: 'UTC' };\n            options[isMonth ? 'month' : 'weekday'] = isShort ? 'short' : 'long';\n            this[name] = (isMonth ?\n                [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] :\n                [3, 4, 5, 6, 7, 8, 9]).map((position) => this.dateFormat(options, (isMonth ? 31 : 1) * 24 * 36e5 * position));\n        });\n    }\n    /**\n     * Get a date in terms of numbers (year, month, day etc) for further\n     * processing. Takes the current `timezone` setting into account. Inverse of\n     * `makeTime` and the native `Date` constructor and `Date.UTC`.\n     *\n     * The date is returned in array format with the following indices:\n     *\n     * 0: year,\n     * 1: month (zero based),\n     * 2: day,\n     * 3: hours,\n     * 4: minutes,\n     * 5: seconds,\n     * 6: milliseconds,\n     * 7: weekday (Sunday as 0)\n     *\n     * @function Highcharts.Time#toParts\n     *\n     * @param {number|Date} [timestamp]\n     *                 The timestamp in milliseconds since January 1st 1970.\n     *                 A Date object is also accepted.\n     *\n     * @return {Array<number>} The date parts in array format.\n     */\n    toParts(timestamp) {\n        const [weekday, dayOfMonth, month, year, hours, minutes, seconds] = this.dateTimeFormat({\n            weekday: 'narrow',\n            day: 'numeric',\n            month: 'numeric',\n            year: 'numeric',\n            hour: 'numeric',\n            minute: 'numeric',\n            second: 'numeric'\n        }, timestamp, 'es')\n            .split(/(?:, |\\/|:)/g);\n        return [\n            year,\n            +month - 1,\n            dayOfMonth,\n            hours,\n            minutes,\n            seconds,\n            // Milliseconds\n            Math.floor(Number(timestamp) || 0) % 1000,\n            // Weekday index\n            spanishWeekdayIndex(weekday)\n        ].map(Number);\n    }\n    /**\n     * Shorthand to get a cached `Intl.DateTimeFormat` instance.\n     */\n    dateTimeFormat(options, timestamp, locale = this.options.locale || pageLang) {\n        const cacheKey = JSON.stringify(options) + locale;\n        if (Time_isString(options)) {\n            options = this.str2dtf(options);\n        }\n        let dTL = this.dTLCache[cacheKey];\n        if (!dTL) {\n            options.timeZone ?? (options.timeZone = this.timezone);\n            try {\n                dTL = new Intl.DateTimeFormat(locale, options);\n            }\n            catch (e) {\n                if (/Invalid time zone/i.test(e.message)) {\n                    Time_error(34);\n                    options.timeZone = 'UTC';\n                    dTL = new Intl.DateTimeFormat(locale, options);\n                }\n                else {\n                    Time_error(e.message, false);\n                }\n            }\n        }\n        this.dTLCache[cacheKey] = dTL;\n        return dTL?.format(timestamp) || '';\n    }\n    /**\n     * Take a locale-aware string format and return a full DateTimeFormat in\n     * object form.\n     */\n    str2dtf(s, dtf = {}) {\n        const mapping = {\n            L: { fractionalSecondDigits: 3 },\n            S: { second: '2-digit' },\n            M: { minute: 'numeric' },\n            H: { hour: '2-digit' },\n            k: { hour: 'numeric' },\n            E: { weekday: 'narrow' },\n            a: { weekday: 'short' },\n            A: { weekday: 'long' },\n            d: { day: '2-digit' },\n            e: { day: 'numeric' },\n            b: { month: 'short' },\n            B: { month: 'long' },\n            m: { month: '2-digit' },\n            o: { month: 'numeric' },\n            y: { year: '2-digit' },\n            Y: { year: 'numeric' }\n        };\n        Object.keys(mapping).forEach((key) => {\n            if (s.indexOf(key) !== -1) {\n                Time_extend(dtf, mapping[key]);\n            }\n        });\n        return dtf;\n    }\n    /**\n     * Make a time and returns milliseconds. Similar to `Date.UTC`, but takes\n     * the current `timezone` setting into account.\n     *\n     * @function Highcharts.Time#makeTime\n     *\n     * @param {number} year\n     *        The year\n     *\n     * @param {number} month\n     *        The month. Zero-based, so January is 0.\n     *\n     * @param {number} [date=1]\n     *        The day of the month\n     *\n     * @param {number} [hours=0]\n     *        The hour of the day, 0-23.\n     *\n     * @param {number} [minutes=0]\n     *        The minutes\n     *\n     * @param {number} [seconds=0]\n     *        The seconds\n     *\n     * @return {number}\n     *         The time in milliseconds since January 1st 1970.\n     */\n    makeTime(year, month, date = 1, hours = 0, minutes, seconds, milliseconds) {\n        // eslint-disable-next-line new-cap\n        let d = this.Date.UTC(year, month, date, hours, minutes || 0, seconds || 0, milliseconds || 0);\n        if (this.timezone !== 'UTC') {\n            const offset = this.getTimezoneOffset(d);\n            d += offset;\n            // Adjustments close to DST transitions\n            if (\n            // Optimize for speed by limiting the number of calls to\n            // `getTimezoneOffset`. According to\n            // https://en.wikipedia.org/wiki/Daylight_saving_time_by_country,\n            // DST change may only occur in these months.\n            [2, 3, 8, 9, 10, 11].indexOf(month) !== -1 &&\n                // DST transitions occur only in the night-time\n                (hours < 5 || hours > 20)) {\n                const newOffset = this.getTimezoneOffset(d);\n                if (offset !== newOffset) {\n                    d += newOffset - offset;\n                    // A special case for transitioning from summer time to winter\n                    // time. When the clock is set back, the same time is repeated\n                    // twice, i.e. 02:30 am is repeated since the clock is set back\n                    // from 3 am to 2 am. We need to make the same time as local\n                    // Date does.\n                }\n                else if (offset - 36e5 === this.getTimezoneOffset(d - 36e5) &&\n                    !hasOldSafariBug) {\n                    d -= 36e5;\n                }\n            }\n        }\n        return d;\n    }\n    /**\n     * Parse a datetime string. Unless the string contains time zone\n     * information, apply the current `timezone` from options. If the argument\n     * is a number, return it.\n     *\n     * @function Highcharts.Time#parse\n     * @param    {string|number|undefined} s The datetime string to parse\n     * @return   {number|undefined}          Parsed JavaScript timestamp\n     */\n    parse(s) {\n        if (!Time_isString(s)) {\n            return s ?? void 0;\n        }\n        s = s\n            // Firefox fails on YYYY/MM/DD\n            .replace(/\\//g, '-')\n            // Replace some non-standard notations\n            .replace(/(GMT|UTC)/, '');\n        // Extend shorthand hour timezone offset like +02\n        // .replace(/([+-][0-9]{2})$/, '$1:00');\n        // Check if the string has time zone information\n        const hasTimezone = s.indexOf('Z') > -1 ||\n            /([+-][0-9]{2}):?[0-9]{2}$/.test(s), isYYYYMMDD = /^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(s);\n        if (!hasTimezone && !isYYYYMMDD) {\n            s += 'Z';\n        }\n        const ts = Date.parse(s);\n        if (Time_isNumber(ts)) {\n            // Unless the string contains time zone information, convert from\n            // the local time result of `Date.parse` via UTC into the current\n            // timezone of the time object.\n            return ts + ((!hasTimezone || isYYYYMMDD) ?\n                this.getTimezoneOffset(ts) :\n                0);\n        }\n    }\n    /**\n     * Get the time zone offset based on the current timezone information as\n     * set in the global options.\n     *\n     * @function Highcharts.Time#getTimezoneOffset\n     *\n     * @param {number} timestamp\n     *        The JavaScript timestamp to inspect.\n     *\n     * @return {number}\n     *         The timezone offset in minutes compared to UTC.\n     */\n    getTimezoneOffset(timestamp) {\n        if (this.timezone !== 'UTC') {\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            const [date, gmt, hours, colon, minutes = 0] = this.dateTimeFormat({ timeZoneName: 'shortOffset' }, timestamp, 'en')\n                .split(/(GMT|:)/)\n                .map(Number), offset = -(hours + minutes / 60) * 60 * 60000;\n            // Possible future NaNs stop here\n            if (Time_isNumber(offset)) {\n                return offset;\n            }\n        }\n        return 0;\n    }\n    /**\n     * Formats a JavaScript date timestamp (milliseconds since January 1 1970)\n     * into a human readable date string.\n     *\n     * The `format` parameter accepts two types of values:\n     * - An object containing settings that are passed directly on to\n     *   [Intl.DateTimeFormat.prototype.format](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/format).\n     * - A format string containing either individual or locale-aware format\n     *   keys. **Individual keys**, for example `%Y-%m-%d`, are listed below.\n     *   **Locale-aware keys** are grouped by square brackets, for example\n     *   `%[Ymd]`. The order of keys within the square bracket doesn't affect\n     *   the output, which is determined by the locale. See example below.\n     *   Internally, the locale-aware format keys are just a shorthand for the\n     *   full object formats, but are particularly practical in\n     *   [templating](https://www.highcharts.com/docs/chart-concepts/templating)\n     *   where full object definitions are not an option.\n     *\n     * The available string format keys are listed below. Additional formats can\n     * be given in the {@link Highcharts.dateFormats} hook.\n     *\n     * Supported format keys:\n     * | Key  | Description                     | Notes on locale-aware format |\n     * -------|----------------------------------------------|-------|\n     * | `%A` | Long weekday, like 'Monday'                  |       |\n     * | `%a` | Short weekday, like 'Mon'                    |       |\n     * | `%E` | Narrow weekday, single character             |       |\n     * | `%d` | Two digit day of the month, 01 to 31         |       |\n     * | `%e` | Day of the month, 1 through 31               |       |\n     * | `%w` | Day of the week, 0 through 6                 | N/A   |\n     * | `%b` | Short month, like 'Jan'                      |       |\n     * | `%B` | Long month, like 'January'                   |       |\n     * | `%m` | Two digit month number, 01 through 12        |       |\n     * | `%o` | Month number, 1 through 12                   |       |\n     * | `%y` | Two digits year, like 24 for 2024            |       |\n     * | `%Y` | Four digits year, like 2024                  |       |\n     * | `%H` | Two digits hours in 24h format, 00 through 23 | Depending on the locale, 12h format may be instered. |\n     * | `%k` | Hours in 24h format, 0 through 23            | Depending on the locale, 12h format may be instered. |\n     * | `%I` | Two digits hours in 12h format, 00 through 11 | N/A. The locale determines the hour format. |\n     * | `%l` | Hours in 12h format, 1 through 12            | N/A. The locale determines the hour format. |\n     * | `%M` | Two digits minutes, 00 through 59            |       |\n     * | `%p` | Upper case AM or PM                          | N/A. The locale determines whether to add AM and PM. |\n     * | `%P` | Lower case AM or PM                          | N/A. The locale determines whether to add AM and PM. |\n     * | `%S` | Two digits seconds, 00 through 59            |       |\n     * | `%L` | Milliseconds (naming from Ruby)              |       |\n     *\n     * @example\n     * // Object format, US English\n     * const time1 = new Highcharts.Time({ locale: 'en-US' });\n     * console.log(\n     *     time1.dateFormat({\n     *         day: 'numeric',\n     *         month: 'short',\n     *         year: 'numeric',\n     *         hour: 'numeric',\n     *         minute: 'numeric'\n     *     }, Date.UTC(2024, 11, 31))\n     * ); // => Dec 31, 2024, 12:00 AM\n     *\n     * // Object format, British English\n     * const time2 = new Highcharts.Time({ locale: 'en-GB' });\n     * console.log(\n     *     time2.dateFormat({\n     *         day: 'numeric',\n     *         month: 'short',\n     *         year: 'numeric',\n     *         hour: 'numeric',\n     *         minute: 'numeric'\n     *     }, Date.UTC(2024, 11, 31))\n     * ); // => 31 Dec 2024, 00:00\n     *\n     * // Individual key string replacement\n     * const time3 = new Highcharts.Time();\n     * console.log(\n     *     time3.dateFormat('%Y-%m-%d %H:%M:%S', Date.UTC(2024, 11, 31))\n     * ); // => 2024-12-31 00:00:00\n     *\n     * // Locale-aware keys, US English\n     * const time4 = new Highcharts.Time({ locale: 'en-US' });\n     * console.log(\n     *     time4.dateFormat('%[YebHM]', Date.UTC(2024, 11, 31))\n     * ); // => Dec 31, 2024, 12:00 AM\n     *\n     * // Locale-aware keys, British English\n     * const time5 = new Highcharts.Time({ locale: 'en-GB' });\n     * console.log(\n     *     time5.dateFormat('%[YebHM]', Date.UTC(2024, 11, 31))\n     * ); // => 31 Dec 2024, 00:00\n     *\n     * // Mixed locale-aware and individual keys\n     * console.log(\n     *     time5.dateFormat('%[Yeb], %H:%M', Date.UTC(2024, 11, 31))\n     * ); // => 31 Dec 2024, 00:00\n     *\n     * @function Highcharts.Time#dateFormat\n     *\n     * @param {string|Highcharts.DateTimeFormatOptions} format\n     *        The desired string format where various time representations are\n     *        prefixed with %, or an object representing the locale-aware format\n     *        options.\n     *\n     * @param {number} [timestamp]\n     *        The JavaScript timestamp.\n     *\n     * @param {boolean} [upperCaseFirst=false]\n     *        Upper case first letter in the return.\n     *\n     * @return {string}\n     *         The formatted date.\n     */\n    dateFormat(format, timestamp, upperCaseFirst) {\n        const lang = Core_Globals.defaultOptions?.lang;\n        if (!Time_defined(timestamp) || isNaN(timestamp)) {\n            return lang?.invalidDate || '';\n        }\n        format = format ?? '%Y-%m-%d %H:%M:%S';\n        // First, identify and replace locale-aware formats like %[Ymd]\n        if (Time_isString(format)) {\n            const localeAwareRegex = /%\\[([a-zA-Z]+)\\]/g;\n            let match;\n            while ((match = localeAwareRegex.exec(format))) {\n                format = format.replace(match[0], this.dateTimeFormat(match[1], timestamp));\n            }\n        }\n        // Then, replace static formats like %Y, %m, %d etc.\n        if (Time_isString(format) && format.indexOf('%') !== -1) {\n            const time = this, [fullYear, month, dayOfMonth, hours, minutes, seconds, milliseconds, weekday] = this.toParts(timestamp), langWeekdays = lang?.weekdays || this.weekdays, shortWeekdays = lang?.shortWeekdays || this.shortWeekdays, months = lang?.months || this.months, shortMonths = lang?.shortMonths || this.shortMonths, \n            // List all format keys. Custom formats can be added from the\n            // outside.\n            replacements = Time_extend({\n                // Day\n                // Short weekday, like 'Mon'\n                a: shortWeekdays ?\n                    shortWeekdays[weekday] :\n                    langWeekdays[weekday].substr(0, 3),\n                // Long weekday, like 'Monday'\n                A: langWeekdays[weekday],\n                // Two digit day of the month, 01 to 31\n                d: Time_pad(dayOfMonth),\n                // Day of the month, 1 through 31\n                e: Time_pad(dayOfMonth, 2, ' '),\n                // Day of the week, 0 through 6\n                w: weekday,\n                // Week (none implemented)\n                // 'W': weekNumber(),\n                // Month\n                // Short month, like 'Jan'\n                b: shortMonths[month],\n                // Long month, like 'January'\n                B: months[month],\n                // Two digit month number, 01 through 12\n                m: Time_pad(month + 1),\n                // Month number, 1 through 12 (#8150)\n                o: month + 1,\n                // Year\n                // Two digits year, like 09 for 2009\n                y: fullYear.toString().substr(2, 2),\n                // Four digits year, like 2009\n                Y: fullYear,\n                // Time\n                // Two digits hours in 24h format, 00 through 23\n                H: Time_pad(hours),\n                // Hours in 24h format, 0 through 23\n                k: hours,\n                // Two digits hours in 12h format, 00 through 11\n                I: Time_pad((hours % 12) || 12),\n                // Hours in 12h format, 1 through 12\n                l: (hours % 12) || 12,\n                // Two digits minutes, 00 through 59\n                M: Time_pad(minutes),\n                // Upper case AM or PM\n                p: hours < 12 ? 'AM' : 'PM',\n                // Lower case AM or PM\n                P: hours < 12 ? 'am' : 'pm',\n                // Two digits seconds, 00 through 59\n                S: Time_pad(seconds),\n                // Milliseconds (naming from Ruby)\n                L: Time_pad(milliseconds, 3)\n            }, Core_Globals.dateFormats);\n            // Do the replaces\n            Time_objectEach(replacements, function (val, key) {\n                if (Time_isString(format)) {\n                    // Regex would do it in one line, but this is faster\n                    while (format.indexOf('%' + key) !== -1) {\n                        format = format.replace('%' + key, typeof val === 'function' ?\n                            val.call(time, timestamp) :\n                            val);\n                    }\n                }\n            });\n        }\n        else if (Time_isObject(format)) {\n            const tzHours = (this.getTimezoneOffset(timestamp) || 0) /\n                (60000 * 60), timeZone = this.timezone || ('Etc/GMT' + (tzHours >= 0 ? '+' : '') + tzHours), { prefix = '', suffix = '' } = format;\n            format = prefix + this.dateTimeFormat(Time_extend({ timeZone }, format), timestamp) + suffix;\n        }\n        // Optionally sentence-case the string and return\n        return upperCaseFirst ? Time_ucfirst(format) : format;\n    }\n    /**\n     * Resolve legacy formats of dateTimeLabelFormats (strings and arrays) into\n     * an object.\n     * @private\n     * @param {string|Array<T>|Highcharts.Dictionary<T>} f\n     * General format description\n     * @return {Highcharts.Dictionary<T>}\n     * The object definition\n     */\n    resolveDTLFormat(f) {\n        if (!Time_isObject(f, true)) { // Check for string or array\n            f = Time_splat(f);\n            return {\n                main: f[0],\n                from: f[1],\n                to: f[2]\n            };\n        }\n        // Type-check DateTimeFormatOptions against DateTimeLabelFormatObject\n        if (Time_isObject(f, true) && isDateTimeFormatOptions(f)) {\n            return { main: f };\n        }\n        return f;\n    }\n    /**\n     * Return an array with time positions distributed on round time values\n     * right and right after min and max. Used in datetime axes as well as for\n     * grouping data on a datetime axis.\n     *\n     * @function Highcharts.Time#getTimeTicks\n     *\n     * @param {Highcharts.TimeNormalizedObject} normalizedInterval\n     *        The interval in axis values (ms) and the count\n     *\n     * @param {number} [min]\n     *        The minimum in axis values\n     *\n     * @param {number} [max]\n     *        The maximum in axis values\n     *\n     * @param {number} [startOfWeek=1]\n     *\n     * @return {Highcharts.AxisTickPositionsArray}\n     * Time positions\n     */\n    getTimeTicks(normalizedInterval, min, max, startOfWeek) {\n        const time = this, tickPositions = [], higherRanks = {}, { count = 1, unitRange } = normalizedInterval;\n        let [year, month, dayOfMonth, hours, minutes, seconds] = time.toParts(min), milliseconds = (min || 0) % 1000, variableDayLength;\n        startOfWeek ?? (startOfWeek = 1);\n        if (Time_defined(min)) { // #1300\n            milliseconds = unitRange >= Time_timeUnits.second ?\n                0 : // #3935\n                count * Math.floor(milliseconds / count);\n            if (unitRange >= Time_timeUnits.second) { // Second\n                seconds = unitRange >= Time_timeUnits.minute ?\n                    0 : // #3935\n                    count * Math.floor(seconds / count);\n            }\n            if (unitRange >= Time_timeUnits.minute) { // Minute\n                minutes = unitRange >= Time_timeUnits.hour ?\n                    0 :\n                    count * Math.floor(minutes / count);\n            }\n            if (unitRange >= Time_timeUnits.hour) { // Hour\n                hours = unitRange >= Time_timeUnits.day ?\n                    0 :\n                    count * Math.floor(hours / count);\n            }\n            if (unitRange >= Time_timeUnits.day) { // Day\n                dayOfMonth = unitRange >= Time_timeUnits.month ?\n                    1 :\n                    Math.max(1, count * Math.floor(dayOfMonth / count));\n            }\n            if (unitRange >= Time_timeUnits.month) { // Month\n                month = unitRange >= Time_timeUnits.year ? 0 :\n                    count * Math.floor(month / count);\n            }\n            if (unitRange >= Time_timeUnits.year) { // Year\n                year -= year % count;\n            }\n            // Week is a special case that runs outside the hierarchy\n            if (unitRange === Time_timeUnits.week) {\n                if (count) {\n                    min = time.makeTime(year, month, dayOfMonth, hours, minutes, seconds, milliseconds);\n                }\n                // Get start of current week, independent of count\n                const weekday = this.dateTimeFormat({\n                    timeZone: this.timezone,\n                    weekday: 'narrow'\n                }, min, 'es'), weekdayNo = spanishWeekdayIndex(weekday);\n                dayOfMonth += -weekdayNo + startOfWeek +\n                    // We don't want to skip days that are before\n                    // startOfWeek (#7051)\n                    (weekdayNo < startOfWeek ? -7 : 0);\n            }\n            min = time.makeTime(year, month, dayOfMonth, hours, minutes, seconds, milliseconds);\n            // Handle local timezone offset\n            if (time.variableTimezone && Time_defined(max)) {\n                // Detect whether we need to take the DST crossover into\n                // consideration. If we're crossing over DST, the day length may\n                // be 23h or 25h and we need to compute the exact clock time for\n                // each tick instead of just adding hours. This comes at a cost,\n                // so first we find out if it is needed (#4951).\n                variableDayLength = (\n                // Long range, assume we're crossing over.\n                max - min > 4 * Time_timeUnits.month ||\n                    // Short range, check if min and max are in different time\n                    // zones.\n                    time.getTimezoneOffset(min) !==\n                        time.getTimezoneOffset(max));\n            }\n            // Iterate and add tick positions at appropriate values\n            let t = min, i = 1;\n            while (t < max) {\n                tickPositions.push(t);\n                // Increase the years\n                if (unitRange === Time_timeUnits.year) {\n                    t = time.makeTime(year + i * count, 0);\n                    // Increase the months\n                }\n                else if (unitRange === Time_timeUnits.month) {\n                    t = time.makeTime(year, month + i * count);\n                    // If we're using local time, the interval is not fixed as it\n                    // jumps one hour at the DST crossover\n                }\n                else if (variableDayLength && (unitRange === Time_timeUnits.day ||\n                    unitRange === Time_timeUnits.week)) {\n                    t = time.makeTime(year, month, dayOfMonth +\n                        i * count * (unitRange === Time_timeUnits.day ? 1 : 7));\n                }\n                else if (variableDayLength &&\n                    unitRange === Time_timeUnits.hour &&\n                    count > 1) {\n                    // Make sure higher ranks are preserved across DST (#6797,\n                    // #7621)\n                    t = time.makeTime(year, month, dayOfMonth, hours + i * count);\n                    // Else, the interval is fixed and we use simple addition\n                }\n                else {\n                    t += unitRange * count;\n                }\n                i++;\n            }\n            // Push the last time\n            tickPositions.push(t);\n            // Handle higher ranks. Mark new days if the time is on midnight\n            // (#950, #1649, #1760, #3349). Use a reasonable dropout threshold\n            // to prevent looping over dense data grouping (#6156).\n            if (unitRange <= Time_timeUnits.hour && tickPositions.length < 10000) {\n                tickPositions.forEach((t) => {\n                    if (\n                    // Speed optimization, no need to run dateFormat unless\n                    // we're on a full or half hour\n                    t % 1800000 === 0 &&\n                        // Check for local or global midnight\n                        time.dateFormat('%H%M%S%L', t) === '000000000') {\n                        higherRanks[t] = 'day';\n                    }\n                });\n            }\n        }\n        // Record information on the chosen unit - for dynamic label formatter\n        tickPositions.info = Time_extend(normalizedInterval, {\n            higherRanks,\n            totalRange: unitRange * count\n        });\n        return tickPositions;\n    }\n    /**\n     * Get the optimal date format for a point, based on a range.\n     *\n     * @private\n     * @function Highcharts.Time#getDateFormat\n     *\n     * @param {number} range\n     *        The time range\n     *\n     * @param {number} timestamp\n     *        The timestamp of the date\n     *\n     * @param {number} startOfWeek\n     *        An integer representing the first day of the week, where 0 is\n     *        Sunday.\n     *\n     * @param {Highcharts.Dictionary<string>} dateTimeLabelFormats\n     *        A map of time units to formats.\n     *\n     * @return {string}\n     *         The optimal date format for a point.\n     */\n    getDateFormat(range, timestamp, startOfWeek, dateTimeLabelFormats) {\n        const dateStr = this.dateFormat('%m-%d %H:%M:%S.%L', timestamp), blank = '01-01 00:00:00.000', strpos = {\n            millisecond: 15,\n            second: 12,\n            minute: 9,\n            hour: 6,\n            day: 3\n        };\n        let n = 'millisecond', \n        // For sub-millisecond data, #4223\n        lastN = n;\n        for (n in Time_timeUnits) { // eslint-disable-line guard-for-in\n            // If the range is exactly one week and we're looking at a\n            // Sunday/Monday, go for the week format\n            if (range === Time_timeUnits.week &&\n                +this.dateFormat('%w', timestamp) === startOfWeek &&\n                dateStr.substr(6) === blank.substr(6)) {\n                n = 'week';\n                break;\n            }\n            // The first format that is too great for the range\n            if (Time_timeUnits[n] > range) {\n                n = lastN;\n                break;\n            }\n            // If the point is placed every day at 23:59, we need to show\n            // the minutes as well. #2637.\n            if (strpos[n] &&\n                dateStr.substr(strpos[n]) !== blank.substr(strpos[n])) {\n                break;\n            }\n            // Weeks are outside the hierarchy, only apply them on\n            // Mondays/Sundays like in the first condition\n            if (n !== 'week') {\n                lastN = n;\n            }\n        }\n        return this.resolveDTLFormat(dateTimeLabelFormats[n]).main;\n    }\n}\n/* *\n *\n * Default export\n *\n * */\n/* harmony default export */ const Core_Time = (Time);\n/* *\n *\n * API Declarations\n *\n * */\n/**\n * Normalized interval.\n *\n * @interface Highcharts.TimeNormalizedObject\n */ /**\n* The count.\n*\n* @name Highcharts.TimeNormalizedObject#count\n* @type {number|undefined}\n*/ /**\n* The interval in axis values (ms).\n*\n* @name Highcharts.TimeNormalizedObject#unitRange\n* @type {number}\n*/\n/**\n * Function of an additional date format specifier.\n *\n * @callback Highcharts.TimeFormatCallbackFunction\n *\n * @param {number} timestamp\n *        The time to format.\n *\n * @return {string}\n *         The formatted portion of the date.\n */\n/**\n * Time ticks.\n *\n * @interface Highcharts.AxisTickPositionsArray\n * @extends global.Array<number>\n */ /**\n* @name Highcharts.AxisTickPositionsArray#info\n* @type {Highcharts.TimeTicksInfoObject|undefined}\n*/\n/**\n * A callback to return the time zone offset for a given datetime. It\n * takes the timestamp in terms of milliseconds since January 1 1970,\n * and returns the timezone offset in minutes. This provides a hook\n * for drawing time based charts in specific time zones using their\n * local DST crossover dates, with the help of external libraries.\n *\n * @callback Highcharts.TimezoneOffsetCallbackFunction\n *\n * @param {number} timestamp\n * Timestamp in terms of milliseconds since January 1 1970.\n *\n * @return {number}\n * Timezone offset in minutes.\n */\n/**\n * Options for formatting dates and times using the [Intl.DateTimeFormat](\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat\n * ) API, and extended with some custom options for Highcharts.\n *\n * @interface Highcharts.DateTimeFormatOptions\n */ /**\n* The locale matching algorithm to use.\n*\n* @name Highcharts.DateTimeFormatOptions#localeMatcher\n* @type {string|undefined}\n*/ /**\n* The time zone to use. The default is the browser's default time zone.\n*\n* @name Highcharts.DateTimeFormatOptions#timeZone\n* @type {string|undefined}\n*/ /**\n* Whether to use 12-hour time (as opposed to 24-hour time).\n*\n* @name Highcharts.DateTimeFormatOptions#hour12\n* @type {'auto'|'always'|'never'|undefined}\n*/ /**\n* The format matching algorithm to use.\n*\n* @name Highcharts.DateTimeFormatOptions#formatMatcher\n* @type {string|undefined}\n*/ /**\n* The representation of the weekday.\n*\n* @name Highcharts.DateTimeFormatOptions#weekday\n* @type {'narrow'|'short'|'long'|undefined}\n*/ /**\n* The representation of the era.\n*\n* @name Highcharts.DateTimeFormatOptions#era\n* @type {'narrow'|'short'|'long'|undefined}\n*/ /**\n* The representation of the year.\n*\n* @name Highcharts.DateTimeFormatOptions#year\n* @type {'numeric'|'2-digit'|undefined}\n*/ /**\n* The representation of the month.\n* \"narrow\", \"short\", \"long\".\n*\n* @name Highcharts.DateTimeFormatOptions#month\n* @type {'numeric'|'2-digit'|'narrow'|'short'|'long'|undefined}\n*/ /**\n* The representation of the day.\n*\n* @name Highcharts.DateTimeFormatOptions#day\n* @type {'numeric'|'2-digit'|undefined}\n*/ /**\n* The representation of the hour.\n*\n* @name Highcharts.DateTimeFormatOptions#hour\n* @type {'numeric'|'2-digit'|undefined}\n*/ /**\n* The representation of the minute.\n*\n* @name Highcharts.DateTimeFormatOptions#minute\n* @type {'numeric'|'2-digit'|undefined}\n*/ /**\n* The representation of the second.\n*\n* @name Highcharts.DateTimeFormatOptions#second\n* @type {'numeric'|'2-digit'|undefined}\n*/ /**\n* The number of fractional digits to use. 3 means milliseconds.\n*\n* @name Highcharts.DateTimeFormatOptions#fractionalSecondDigits\n* @type {number|undefined}\n*/ /**\n* The representation of the time zone name.\n*\n* @name Highcharts.DateTimeFormatOptions#timeZoneName\n* @type {'short'|'long'|undefined}\n*/ /**\n* A prefix for the time string. Custom Highcharts option.\n*\n* @name Highcharts.DateTimeFormatOptions#prefix\n* @type {'string'|undefined}\n*/ /**\n* A suffix for the time string. Custom Highcharts option.\n*\n* @name Highcharts.DateTimeFormatOptions#suffix\n* @type {'string'|undefined}\n*/\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Defaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { isTouchDevice } = Core_Globals;\n\n\n\nconst { fireEvent: Defaults_fireEvent, merge: Defaults_merge } = Core_Utilities;\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Global default settings.\n *\n * @name Highcharts.defaultOptions\n * @type {Highcharts.Options}\n */ /**\n* @optionparent\n* @private\n*/\nconst defaultOptions = {\n    /**\n     * An array containing the default colors for the chart's series. When\n     * all colors are used, new colors are pulled from the start again.\n     *\n     * Default colors can also be set on a series or series.type basis,\n     * see [column.colors](#plotOptions.column.colors),\n     * [pie.colors](#plotOptions.pie.colors).\n     *\n     * In styled mode, the colors option doesn't exist. Instead, colors\n     * are defined in CSS and applied either through series or point class\n     * names, or through the [chart.colorCount](#chart.colorCount) option.\n     *\n     * @sample {highcharts} highcharts/chart/colors/\n     *         Assign a global color theme\n     * @sample highcharts/members/theme-v10/\n     *         Latest release styled like version 10\n     *\n     * @type    {Array<(Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject)>}\n     * @default [\n     *     \"#2caffe\",\n     *     \"#544fc5\",\n     *     \"#00e272\",\n     *     \"#fe6a35\",\n     *     \"#6b8abc\",\n     *     \"#d568fb\",\n     *     \"#2ee0ca\",\n     *     \"#fa4b42\",\n     *     \"#feb56a\",\n     *     \"#91e8e1\"\n     * ]\n     */\n    colors: Palettes.colors,\n    /**\n     * Styled mode only. Configuration object for adding SVG definitions for\n     * reusable elements. See [gradients, shadows and\n     * patterns](https://www.highcharts.com/docs/chart-design-and-style/gradients-shadows-and-patterns)\n     * for more information and code examples.\n     *\n     * @type      {*}\n     * @since     5.0.0\n     * @apioption defs\n     */\n    /**\n     * @ignore-option\n     */\n    symbols: ['circle', 'diamond', 'square', 'triangle', 'triangle-down'],\n    /**\n     * An object containing language-related strings and settings. A typical\n     * setup uses `Highcharts.setOptions` to make the options apply to all\n     * charts in the same page.\n     *\n     * ```js\n     * Highcharts.setOptions({\n     *     lang: {\n     *         locale: 'fr'\n     *     }\n     * });\n     * ```\n     */\n    lang: {\n        /**\n         * The browser locale to use for date and number formatting. The actual\n         * locale used for each chart is determined in three steps:\n         * 1. If this `lang.locale` option is specified, it is used.\n         * 2. Else, look for the closest ancestor HTML element with a `lang`\n         *    attribute, typically the `<html>` element.\n         * 3. If no 'lang' attribute is found, use the default browser locale.\n         *\n         * Use `en-GB`, British English, for approximate consistency with\n         * Highcharts v < 12.\n         *\n         * @sample highcharts/lang/locale/\n         *         Set the locale using the `lang.locale` option\n         * @sample highcharts/lang/locale-attribute/\n         *         Pick up the locale from the HTML `lang` attribute\n         * @sample highcharts/members/highcharts-numberformat\n         *         Arabic locale with digits and dates         *\n         *\n         * @since 12.0.0\n         * @type {string|Array<string>}\n         */\n        locale: void 0,\n        /**\n         * The loading text that appears when the chart is set into the loading\n         * state following a call to `chart.showLoading`.\n         */\n        loading: 'Loading...',\n        /**\n         * An array containing the months names. Corresponds to the `%B` format\n         * in `Highcharts.dateFormat()`. Defaults to 'undefined',\n         * meaning the default month names are used according to the\n         * `lang.locale` setting.\n         *\n         * @type    {Array<string>}\n         */\n        months: void 0,\n        /**\n         * An array containing the months names in abbreviated form. Corresponds\n         * to the `%b` format in `Highcharts.dateFormat()`. Defaults to\n         * 'undefined', meaning the default short month names are used according\n         * to the `lang.locale` setting.\n         *\n         * @type    {Array<string>}\n         */\n        shortMonths: void 0,\n        /**\n         * An array containing the weekday names. Defaults to 'undefined',\n         * meaning the default weekday names are used according to the\n         * `lang.locale` setting.\n         *\n         * @type    {Array<string>}\n         */\n        weekdays: void 0,\n        /**\n         * Short week days, starting Sunday. Defaults to 'undefined', meaning\n         * the default short weekday names are used according to the\n         * `lang.locale` setting.\n         *\n         * @sample highcharts/lang/shortweekdays/\n         *         Finnish two-letter abbreviations\n         *\n         * @type      {Array<string>}\n         * @since     4.2.4\n         * @apioption lang.shortWeekdays\n         */\n        /**\n         * What to show in a date field for invalid dates. Defaults to an empty\n         * string.\n         *\n         * @type      {string}\n         * @since     4.1.8\n         * @product   highcharts highstock\n         * @apioption lang.invalidDate\n         */\n        /**\n         * The title appearing on hovering the zoom in button. The text itself\n         * defaults to \"+\" and can be changed in the button options.\n         *\n         * @type      {string}\n         * @default   Zoom in\n         * @product   highmaps\n         * @apioption lang.zoomIn\n         */\n        /**\n         * The title appearing on hovering the zoom out button. The text itself\n         * defaults to \"-\" and can be changed in the button options.\n         *\n         * @type      {string}\n         * @default   Zoom out\n         * @product   highmaps\n         * @apioption lang.zoomOut\n         */\n        /**\n         * The default decimal point used in the `Highcharts.numberFormat`\n         * method unless otherwise specified in the function arguments. Defaults\n         * to the locale decimal point as determined by `lang.locale`.\n         *\n         * @type      {string}\n         * @default   undefined\n         * @since     1.2.2\n         * @apioption lang.decimalPoint\n         */\n        /**\n         * [Metric prefixes](https://en.wikipedia.org/wiki/Metric_prefix) used\n         * to shorten high numbers in axis labels. Replacing any of the\n         * positions with `null` causes the full number to be written. Setting\n         * `numericSymbols` to `undefined` disables shortening altogether.\n         *\n         * @sample {highcharts} highcharts/lang/numericsymbols/\n         *         Replacing the symbols with text\n         * @sample {highstock} highcharts/lang/numericsymbols/\n         *         Replacing the symbols with text\n         *\n         * @type    {Array<string>}\n         * @default [\"k\", \"M\", \"G\", \"T\", \"P\", \"E\"]\n         * @since   2.3.0\n         */\n        numericSymbols: ['k', 'M', 'G', 'T', 'P', 'E'],\n        /**\n         * The magnitude of [numericSymbols](#lang.numericSymbol) replacements.\n         * Use 10000 for Japanese, Korean and various Chinese locales, which\n         * use symbols for 10^4, 10^8 and 10^12.\n         *\n         * @sample highcharts/lang/numericsymbolmagnitude/\n         *         10000 magnitude for Japanese\n         *\n         * @type      {number}\n         * @default   1000\n         * @since     5.0.3\n         * @apioption lang.numericSymbolMagnitude\n         */\n        /**\n         * The default thousands separator used in the `Highcharts.numberFormat`\n         * method unless otherwise specified in the function arguments. Defaults\n         * to the locale thousands separator as determined by `lang.locale`.\n         *\n         * @type      {string}\n         * @default   undefined\n         * @since     1.2.2\n         * @apioption lang.thousandsSep\n         */\n        /**\n         * The text for the label appearing when a chart is zoomed.\n         *\n         * @since 1.2.4\n         */\n        resetZoom: 'Reset zoom',\n        /**\n         * The tooltip title for the label appearing when a chart is zoomed.\n         *\n         * @since 1.2.4\n         */\n        resetZoomTitle: 'Reset zoom level 1:1'\n    },\n    /**\n     * Global options that don't apply to each chart. These options, like\n     * the `lang` options, must be set using the `Highcharts.setOptions`\n     * method.\n     *\n     * ```js\n     * Highcharts.setOptions({\n     *     global: {\n     *         buttonTheme: {\n     *             fill: '#d0d0d0'\n     *         }\n     *     }\n     * });\n     * ```\n     */\n    global: {\n        /**\n         * General theme for buttons. This applies to the zoom button, exporting\n         * context menu, map navigation, range selector buttons and custom\n         * buttons generated using the `SVGRenderer.button` function. However,\n         * each of these may be overridden with more specific options.\n         *\n         * @sample highcharts/global/buttontheme\n         *         General button theme\n         * @since 11.4.2\n         */\n        buttonTheme: {\n            /**\n             * The fill color for buttons\n             */\n            fill: \"#f7f7f7\" /* Palette.neutralColor3 */,\n            /**\n             * The padding of buttons\n             */\n            padding: 8,\n            /**\n             * The border radius for buttons\n             */\n            r: 2,\n            /**\n             * The stroke color for buttons\n             */\n            stroke: \"#cccccc\" /* Palette.neutralColor20 */,\n            /**\n             * The stroke width for buttons\n             */\n            'stroke-width': 1,\n            /**\n             * CSS styling for the buttons' text\n             */\n            style: {\n                color: \"#333333\" /* Palette.neutralColor80 */,\n                cursor: 'pointer',\n                fontSize: '0.8em',\n                fontWeight: 'normal'\n            },\n            /**\n             * State overrides for the buttons\n             */\n            states: {\n                /**\n                 * Hover state overrides for the buttons are applied in addition\n                 * to the normal state options\n                 */\n                hover: {\n                    fill: \"#e6e6e6\" /* Palette.neutralColor10 */\n                },\n                /**\n                 * Select state overrides for the buttons are applied in\n                 * addition to the normal state options\n                 */\n                select: {\n                    fill: \"#e6e9ff\" /* Palette.highlightColor10 */,\n                    style: {\n                        color: \"#000000\" /* Palette.neutralColor100 */,\n                        fontWeight: 'bold'\n                    }\n                },\n                /**\n                 * Disabled state overrides for the buttons are applied in\n                 * addition to the normal state options\n                 */\n                disabled: {\n                    /**\n                     * Disabled state CSS style overrides for the buttons' text\n                     */\n                    style: {\n                        color: \"#cccccc\" /* Palette.neutralColor20 */\n                    }\n                }\n            }\n        }\n    },\n    /**\n     * Time options that can apply globally or to individual charts. These\n     * settings affect how `datetime` axes are laid out, how tooltips are\n     * formatted, how series\n     * [pointIntervalUnit](#plotOptions.series.pointIntervalUnit) works and how\n     * the Highcharts Stock range selector handles time.\n     *\n     * The common use case is that all charts in the same Highcharts object\n     * share the same time settings, in which case the global settings are set\n     * using `setOptions`.\n     *\n     * ```js\n     * // Apply time settings globally\n     * Highcharts.setOptions({\n     *     time: {\n     *         timezone: 'Europe/London'\n     *     }\n     * });\n     * // Apply time settings by instance\n     * const chart = Highcharts.chart('container', {\n     *     time: {\n     *         timezone: 'America/New_York'\n     *     },\n     *     series: [{\n     *         data: [1, 4, 3, 5]\n     *     }]\n     * });\n     *\n     * // Use the Time object\n     * console.log(\n     *        'Current time in New York',\n     *        chart.time.dateFormat('%Y-%m-%d %H:%M:%S', Date.now())\n     * );\n     * ```\n     *\n     * Since v6.0.5, the time options were moved from the `global` object to the\n     * `time` object, and time options can be set on each individual chart.\n     *\n     * @sample {highcharts|highstock}\n     *         highcharts/time/timezone/\n     *         Set the timezone globally\n     * @sample {highcharts}\n     *         highcharts/time/individual/\n     *         Set the timezone per chart instance\n     * @sample {highstock}\n     *         stock/time/individual/\n     *         Set the timezone per chart instance\n     *\n     * @since     6.0.5\n     * @optionparent time\n     */\n    time: {\n        /**\n         * A custom `Date` class for advanced date handling. For example,\n         * [JDate](https://github.com/tahajahangir/jdate) can be hooked in to\n         * handle Jalali dates.\n         *\n         * @type      {*}\n         * @since     4.0.4\n         * @product   highcharts highstock gantt\n         */\n        Date: void 0,\n        /**\n         * A named time zone. Supported time zone names rely on the browser\n         * implementations, as described in the [mdn\n         * docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#timezone).\n         * If the given time zone is not recognized by the browser, Highcharts\n         * provides a warning and falls back to returning a 0 offset,\n         * corresponding to the UTC time zone.\n         *\n         * The time zone affects axis scaling, tickmark placement and\n         * time display in `Highcharts.dateFormat`.\n         *\n         * Setting `timezone` to `undefined` falls back to the default browser\n         * timezone setting.\n         *\n         * Until v11.2.0, this option depended on moment.js.\n         *\n         * @sample {highcharts|highstock} highcharts/time/timezone/ Europe/Oslo\n         *\n         * @type      {string}\n         * @since     5.0.7\n         * @product   highcharts highstock gantt\n         */\n        timezone: 'UTC',\n        /**\n         * The timezone offset in minutes. Positive values are west, negative\n         * values are east of UTC, as in the ECMAScript\n         * [getTimezoneOffset](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset)\n         * method. Use this to display UTC based data in a predefined time zone.\n         *\n         * This option is deprecated as of v11.4.1 and will be removed in a\n         * future release. Use the [time.timezone](#time.timezone) option\n         * instead.\n         *\n         * @see [time.getTimezoneOffset](#time.getTimezoneOffset)\n         *\n         * @sample {highcharts|highstock} highcharts/time/timezoneoffset/\n         *         Timezone offset\n         *\n         * @since     3.0.8\n         * @deprecated 11.4.2\n         * @product   highcharts highstock gantt\n         */\n        timezoneOffset: 0,\n        /**\n         * Whether to use UTC time for axis scaling, tickmark placement and\n         * time display in `Highcharts.dateFormat`. Advantages of using UTC\n         * is that the time displays equally regardless of the user agent's\n         * time zone settings. Local time can be used when the data is loaded\n         * in real time or when correct Daylight Saving Time transitions are\n         * required.\n         *\n         * Setting `useUTC` to true is equivalent to setting `time.timezone` to\n         * `\"UTC\"`. Setting `useUTC` to false is equivalent to setting\n         * `time.timezone` to `undefined`.\n         *\n         * @see [time.timezone](#timezone)\n         *\n         * @sample {highcharts} highcharts/time/useutc-true/\n         *         True by default\n         * @sample {highcharts} highcharts/time/useutc-false/\n         *         False\n         *\n         * @deprecated\n         */\n        useUTC: void 0\n    },\n    chart: Chart_ChartDefaults,\n    /**\n     * The chart's main title.\n     *\n     * @sample {highmaps} maps/title/title/\n     *         Title options demonstrated\n     * @sample {highcharts} highcharts/title/align-auto/\n     *         Default title alignment\n     */\n    title: {\n        /**\n         * When the title is floating, the plot area will not move to make space\n         * for it.\n         *\n         * @sample {highcharts} highcharts/chart/zoomtype-none/\n         *         False by default\n         * @sample {highcharts} highcharts/title/floating/\n         *         True - title on top of the plot area\n         * @sample {highstock} stock/chart/title-floating/\n         *         True - title on top of the plot area\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     2.1\n         * @apioption title.floating\n         */\n        /**\n         * Whether to\n         * [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n         * to render the text.\n         *\n         * @type      {boolean}\n         * @default   false\n         * @apioption title.useHTML\n         */\n        /**\n         * The vertical alignment of the title. Can be one of `\"top\"`,\n         * `\"middle\"` and `\"bottom\"`. When a value is given, the title behaves\n         * as if [floating](#title.floating) were `true`.\n         *\n         * @sample {highcharts} highcharts/title/verticalalign/\n         *         Chart title in bottom right corner\n         * @sample {highstock} stock/chart/title-verticalalign/\n         *         Chart title in bottom right corner\n         *\n         * @type      {Highcharts.VerticalAlignValue}\n         * @since     2.1\n         * @apioption title.verticalAlign\n         */\n        /**\n         * The x position of the title relative to the alignment within\n         * `chart.spacingLeft` and `chart.spacingRight`.\n         *\n         * @sample {highcharts} highcharts/title/align/\n         *         Aligned to the plot area (x = 70px = margin left - spacing\n         *         left)\n         * @sample {highstock} stock/chart/title-align/\n         *         Aligned to the plot area (x = 50px = margin left - spacing\n         *         left)\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.0\n         * @apioption title.x\n         */\n        /**\n         * The y position of the title relative to the alignment within\n         * [chart.spacingTop](#chart.spacingTop) and [chart.spacingBottom](\n         * #chart.spacingBottom). By default it depends on the font size.\n         *\n         * @sample {highcharts} highcharts/title/y/\n         *         Title inside the plot area\n         * @sample {highstock} stock/chart/title-verticalalign/\n         *         Chart title in bottom right corner\n         *\n         * @type      {number}\n         * @since     2.0\n         * @apioption title.y\n         */\n        /**\n         * CSS styles for the title. Use this for font styling, but use `align`,\n         * `x` and `y` for text alignment.\n         *\n         * Note that the default [title.minScale](#title.minScale) option also\n         * affects the rendered font size. In order to keep the font size fixed\n         * regardless of title length, set `minScale` to 1.\n         *\n         * In styled mode, the title style is given in the `.highcharts-title`\n         * class.\n         *\n         * @sample {highcharts} highcharts/title/style/\n         *         Custom color and weight\n         * @sample {highstock} stock/chart/title-style/\n         *         Custom color and weight\n         * @sample highcharts/css/titles/\n         *         Styled mode\n         *\n         * @type      {Highcharts.CSSObject}\n         * @default   {highcharts|highmaps} { \"color\": \"#333333\", \"fontSize\": \"18px\" }\n         * @default   {highstock} { \"color\": \"#333333\", \"fontSize\": \"16px\" }\n         */\n        style: {\n            color: \"#333333\" /* Palette.neutralColor80 */,\n            fontWeight: 'bold'\n        },\n        /**\n         * The title of the chart. To disable the title, set the `text` to\n         * `undefined`.\n         *\n         * @sample {highcharts} highcharts/title/text/\n         *         Custom title\n         * @sample {highstock} stock/chart/title-text/\n         *         Custom title\n         *\n         * @default {highcharts|highmaps} Chart title\n         * @default {highstock} undefined\n         */\n        text: 'Chart title',\n        /**\n         * The horizontal alignment of the title. Can be one of \"left\", \"center\"\n         * and \"right\".\n         *\n         * Since v12 it defaults to `undefined`, meaning the alignment is\n         * computed for best fit. If the text fits in one line, it aligned to\n         * the center, but if it is wrapped into multiple lines, it is aligned\n         * to the left.\n         *\n         * @sample {highcharts} highcharts/title/align-auto/\n         *         Default alignment, dynamic\n         * @sample {highcharts} highcharts/title/align/\n         *         Aligned to the plot area (x = 70px = margin left - spacing\n         *         left)\n         * @sample {highstock} stock/chart/title-align/\n         *         Aligned to the plot area (x = 50px = margin left - spacing\n         *         left)\n         *\n         * @type      {Highcharts.AlignValue}\n         * @default   undefined\n         * @since     2.0\n         * @apioption title.align\n         */\n        /**\n         * The margin between the title and the plot area, or if a subtitle\n         * is present, the margin between the subtitle and the plot area.\n         *\n         * @sample {highcharts} highcharts/title/margin-50/\n         *         A chart title margin of 50\n         * @sample {highcharts} highcharts/title/margin-subtitle/\n         *         The same margin applied with a subtitle\n         * @sample {highstock} stock/chart/title-margin/\n         *         A chart title margin of 50\n         *\n         * @since 2.1\n         */\n        margin: 15,\n        /**\n         * When the title is too wide to fit in the chart, the default behavior\n         * is to scale it down to fit, or apply word wrap if it is scaled down\n         * to `minScale` and still doesn't fit.\n         *\n         * The default value reflects the scale, when using default font sizes,\n         * when the title font size matches that of the subtitle. The title\n         * still stands out as it is bold by default.\n         *\n         * Set `minScale` to 1 to avoid downscaling.\n         *\n         * @sample {highcharts} highcharts/title/align-auto/\n         *         Downscaling demonstrated\n         *\n         * @since 12.0.0\n         */\n        minScale: 0.67\n    },\n    /**\n     * The chart's subtitle. This can be used both to display a subtitle below\n     * the main title, and to display random text anywhere in the chart. The\n     * subtitle can be updated after chart initialization through the\n     * `Chart.setTitle` method.\n     *\n     * @sample {highcharts} highcharts/title/align-auto/\n     *         Default title alignment\n     * @sample {highmaps} maps/title/subtitle/\n     *         Subtitle options demonstrated\n     */\n    subtitle: {\n        /**\n         * When the subtitle is floating, the plot area will not move to make\n         * space for it.\n         *\n         * @sample {highcharts} highcharts/subtitle/floating/\n         *         Floating title and subtitle\n         * @sample {highstock} stock/chart/subtitle-footnote\n         *         Footnote floating at bottom right of plot area\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     2.1\n         * @apioption subtitle.floating\n         */\n        /**\n         * CSS styles for the title.\n         *\n         * In styled mode, the subtitle style is given in the\n         * `.highcharts-subtitle` class.\n         *\n         * @sample {highcharts} highcharts/subtitle/style/\n         *         Custom color and weight\n         * @sample {highcharts} highcharts/css/titles/\n         *         Styled mode\n         * @sample {highstock} stock/chart/subtitle-style\n         *         Custom color and weight\n         * @sample {highstock} highcharts/css/titles/\n         *         Styled mode\n         * @sample {highmaps} highcharts/css/titles/\n         *         Styled mode\n         *\n         * @type      {Highcharts.CSSObject}\n         * @default   {\"color\": \"#666666\"}\n         * @apioption subtitle.style\n         */\n        /**\n         * Whether to\n         * [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n         * to render the text.\n         *\n         * @type      {boolean}\n         * @default   false\n         * @apioption subtitle.useHTML\n         */\n        /**\n         * The vertical alignment of the title. Can be one of `\"top\"`,\n         * `\"middle\"` and `\"bottom\"`. When middle, the subtitle behaves as\n         * floating.\n         *\n         * @sample {highcharts} highcharts/subtitle/verticalalign/\n         *         Footnote at the bottom right of plot area\n         * @sample {highstock} stock/chart/subtitle-footnote\n         *         Footnote at the bottom right of plot area\n         *\n         * @type      {Highcharts.VerticalAlignValue}\n         * @since     2.1\n         * @apioption subtitle.verticalAlign\n         */\n        /**\n         * The x position of the subtitle relative to the alignment within\n         * `chart.spacingLeft` and `chart.spacingRight`.\n         *\n         * @sample {highcharts} highcharts/subtitle/align/\n         *         Footnote at right of plot area\n         * @sample {highstock} stock/chart/subtitle-footnote\n         *         Footnote at the bottom right of plot area\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.0\n         * @apioption subtitle.x\n         */\n        /**\n         * The y position of the subtitle relative to the alignment within\n         * `chart.spacingTop` and `chart.spacingBottom`. By default the subtitle\n         * is laid out below the title unless the title is floating.\n         *\n         * @sample {highcharts} highcharts/subtitle/verticalalign/\n         *         Footnote at the bottom right of plot area\n         * @sample {highstock} stock/chart/subtitle-footnote\n         *         Footnote at the bottom right of plot area\n         *\n         * @type      {number}\n         * @since     2.0\n         * @apioption subtitle.y\n         */\n        /**\n         * CSS styles for the title.\n         *\n         * In styled mode, the subtitle style is given in the\n         * `.highcharts-subtitle` class.\n         *\n         * @sample {highcharts} highcharts/subtitle/style/\n         *         Custom color and weight\n         * @sample {highcharts} highcharts/css/titles/\n         *         Styled mode\n         * @sample {highstock} stock/chart/subtitle-style\n         *         Custom color and weight\n         * @sample {highstock} highcharts/css/titles/\n         *         Styled mode\n         * @sample {highmaps} highcharts/css/titles/\n         *         Styled mode\n         *\n         * @type      {Highcharts.CSSObject}\n         * @default   {\"color\": \"#666666\"}\n         */\n        style: {\n            color: \"#666666\" /* Palette.neutralColor60 */,\n            /**\n             * @type {number|string}\n             */\n            fontSize: '0.8em'\n        },\n        /**\n         * The subtitle of the chart.\n         *\n         * @sample {highcharts|highstock} highcharts/subtitle/text/\n         *         Custom subtitle\n         * @sample {highcharts|highstock} highcharts/subtitle/text-formatted/\n         *         Formatted and linked text.\n         */\n        text: ''\n        /**\n         * The horizontal alignment of the subtitle. Can be one of \"left\",\n         * \"center\" and \"right\". Since v12, it defaults to `undefined`, meaning\n         * the actual alignment is inherited from the alignment of the main\n         * title.\n         *\n         * @sample {highcharts} highcharts/title/align-auto/\n         *         Default title and subtitle alignment, dynamic\n         * @sample {highcharts} highcharts/subtitle/align/\n         *         Footnote at right of plot area\n         * @sample {highstock} stock/chart/subtitle-footnote\n         *         Footnote at bottom right of plot area\n         *\n         * @type  {Highcharts.AlignValue}\n         * @default undefined\n         * @since 2.0\n         * @apioption subtitle.align\n         */\n    },\n    /**\n     * The chart's caption, which will render below the chart and will be part\n     * of exported charts. The caption can be updated after chart initialization\n     * through the `Chart.update` or `Chart.caption.update` methods.\n     *\n     * @sample highcharts/caption/text/\n     *         A chart with a caption\n     * @since  7.2.0\n     */\n    caption: {\n        /**\n         * When the caption is floating, the plot area will not move to make\n         * space for it.\n         *\n         * @type      {boolean}\n         * @default   false\n         * @apioption caption.floating\n         */\n        /**\n         * The margin between the caption and the plot area.\n         */\n        margin: 15,\n        /**\n         * Whether to\n         * [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n         * to render the text.\n         *\n         * @type      {boolean}\n         * @default   false\n         * @apioption caption.useHTML\n         */\n        /**\n         * The x position of the caption relative to the alignment within\n         * `chart.spacingLeft` and `chart.spacingRight`.\n         *\n         * @type      {number}\n         * @default   0\n         * @apioption caption.x\n         */\n        /**\n         * The y position of the caption relative to the alignment within\n         * `chart.spacingTop` and `chart.spacingBottom`.\n         *\n         * @type      {number}\n         * @apioption caption.y\n         */\n        /**\n         * CSS styles for the caption.\n         *\n         * In styled mode, the caption style is given in the\n         * `.highcharts-caption` class.\n         *\n         * @sample {highcharts} highcharts/css/titles/\n         *         Styled mode\n         *\n         * @type      {Highcharts.CSSObject}\n         * @default   {\"color\": \"#666666\"}\n         */\n        style: {\n            color: \"#666666\" /* Palette.neutralColor60 */,\n            /**\n             * @type {number|string}\n             */\n            fontSize: '0.8em'\n        },\n        /**\n         * The caption text of the chart.\n         *\n         * @sample {highcharts} highcharts/caption/text/\n         *         Custom caption\n         */\n        text: '',\n        /**\n         * The horizontal alignment of the caption. Can be one of \"left\",\n         *  \"center\" and \"right\".\n         *\n         * @type  {Highcharts.AlignValue}\n         */\n        align: 'left',\n        /**\n         * The vertical alignment of the caption. Can be one of `\"top\"`,\n         * `\"middle\"` and `\"bottom\"`. When middle, the caption behaves as\n         * floating.\n         *\n         * @type      {Highcharts.VerticalAlignValue}\n         */\n        verticalAlign: 'bottom'\n    },\n    /**\n     * The plotOptions is a wrapper object for config objects for each series\n     * type. The config objects for each series can also be overridden for\n     * each series item as given in the series array.\n     *\n     * Configuration options for the series are given in three levels. Options\n     * for all series in a chart are given in the [plotOptions.series](\n     * #plotOptions.series) object. Then options for all series of a specific\n     * type are given in the plotOptions of that type, for example\n     * `plotOptions.line`. Next, options for one single series are given in\n     * [the series array](#series).\n     */\n    plotOptions: {},\n    /**\n     * The legend is a box containing a symbol and name for each series\n     * item or point item in the chart. Each series (or points in case\n     * of pie charts) is represented by a symbol and its name in the legend.\n     *\n     * It is possible to override the symbol creator function and create\n     * [custom legend symbols](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/studies/legend-custom-symbol/).\n     *\n     * @productdesc {highmaps}\n     * A Highmaps legend by default contains one legend item per series, but if\n     * a `colorAxis` is defined, the axis will be displayed in the legend.\n     * Either as a gradient, or as multiple legend items for `dataClasses`.\n     */\n    legend: {\n        /**\n         * The background color of the legend.\n         *\n         * @see In styled mode, the legend background fill can be applied with\n         *      the `.highcharts-legend-box` class.\n         *\n         * @sample {highcharts} highcharts/legend/backgroundcolor/\n         *         Yellowish background\n         * @sample {highstock} stock/legend/align/\n         *         Various legend options\n         * @sample {highmaps} maps/legend/border-background/\n         *         Border and background options\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @apioption legend.backgroundColor\n         */\n        /**\n         * The width of the drawn border around the legend.\n         *\n         * @see In styled mode, the legend border stroke width can be applied\n         *      with the `.highcharts-legend-box` class.\n         *\n         * @sample {highcharts} highcharts/legend/borderwidth/\n         *         2px border width\n         * @sample {highstock} stock/legend/align/\n         *         Various legend options\n         * @sample {highmaps} maps/legend/border-background/\n         *         Border and background options\n         *\n         * @type      {number}\n         * @default   0\n         * @apioption legend.borderWidth\n         */\n        /**\n         * Enable or disable the legend. There is also a series-specific option,\n         * [showInLegend](#plotOptions.series.showInLegend), that can hide the\n         * series from the legend. In some series types this is `false` by\n         * default, so it must set to `true` in order to show the legend for the\n         * series.\n         *\n         * @sample {highcharts} highcharts/legend/enabled-false/ Legend disabled\n         * @sample {highstock} stock/legend/align/ Various legend options\n         * @sample {highmaps} maps/legend/enabled-false/ Legend disabled\n         *\n         * @default {highstock} false\n         * @default {highmaps} true\n         * @default {gantt} false\n         */\n        enabled: true,\n        /**\n         * The horizontal alignment of the legend box within the chart area.\n         * Valid values are `left`, `center` and `right`.\n         *\n         * In the case that the legend is aligned in a corner position, the\n         * `layout` option will determine whether to place it above/below\n         * or on the side of the plot area.\n         *\n         * @sample {highcharts} highcharts/legend/align/\n         *         Legend at the right of the chart\n         * @sample {highstock} stock/legend/align/\n         *         Various legend options\n         * @sample {highmaps} maps/legend/alignment/\n         *         Legend alignment\n         *\n         * @type  {Highcharts.AlignValue}\n         * @since 2.0\n         */\n        align: 'center',\n        /**\n         * If the [layout](legend.layout) is `horizontal` and the legend items\n         * span over two lines or more, whether to align the items into vertical\n         * columns. Setting this to `false` makes room for more items, but will\n         * look more messy.\n         *\n         * @since 6.1.0\n         */\n        alignColumns: true,\n        /**\n         * A CSS class name to apply to the legend group.\n         */\n        className: 'highcharts-no-tooltip',\n        /**\n         * General event handlers for the legend. These event hooks can\n         * also be attached to the legend at run time using the\n         * `Highcharts.addEvent` function.\n         *\n         * @declare Highcharts.LegendEventsOptionsObject\n         *\n         * @private\n         */\n        events: {},\n        /**\n         * Fires when the legend item belonging to the series is clicked. One\n         * parameter, `event`, is passed to the function. The default action\n         * is to toggle the visibility of the series, point or data class. This\n         * can be prevented by returning `false` or calling\n         * `event.preventDefault()`.\n         *\n         * @sample {highcharts} highcharts/legend/itemclick/\n         *         Confirm hiding and showing\n         * @sample {highcharts} highcharts/legend/pie-legend-itemclick/\n         *         Confirm toggle visibility of pie slices\n         *\n         * @type      {Highcharts.LegendItemClickCallbackFunction}\n         * @context   Highcharts.Legend\n         * @apioption legend.events.itemClick\n         */\n        /**\n         * When the legend is floating, the plot area ignores it and is allowed\n         * to be placed below it.\n         *\n         * @sample {highcharts} highcharts/legend/floating-false/\n         *         False by default\n         * @sample {highcharts} highcharts/legend/floating-true/\n         *         True\n         * @sample {highmaps} maps/legend/alignment/\n         *         Floating legend\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     2.1\n         * @apioption legend.floating\n         */\n        /**\n         * The layout of the legend items. Can be one of `horizontal` or\n         * `vertical` or `proximate`. When `proximate`, the legend items will be\n         * placed as close as possible to the graphs they're representing,\n         * except in inverted charts or when the legend position doesn't allow\n         * it.\n         *\n         * @sample {highcharts} highcharts/legend/layout-horizontal/\n         *         Horizontal by default\n         * @sample {highcharts} highcharts/legend/layout-vertical/\n         *         Vertical\n         * @sample highcharts/legend/layout-proximate\n         *         Labels proximate to the data\n         * @sample {highstock} stock/legend/layout-horizontal/\n         *         Horizontal by default\n         * @sample {highmaps} maps/legend/padding-itemmargin/\n         *         Vertical with data classes\n         * @sample {highmaps} maps/legend/layout-vertical/\n         *         Vertical with color axis gradient\n         *\n         * @validvalue [\"horizontal\", \"vertical\", \"proximate\"]\n         */\n        layout: 'horizontal',\n        /**\n         * In a legend with horizontal layout, the itemDistance defines the\n         * pixel distance between each item.\n         *\n         * @sample {highcharts} highcharts/legend/layout-horizontal/\n         *         50px item distance\n         * @sample {highstock} highcharts/legend/layout-horizontal/\n         *         50px item distance\n         *\n         * @type      {number}\n         * @default   {highcharts} 20\n         * @default   {highstock} 20\n         * @default   {highmaps} 8\n         * @since     3.0.3\n         * @apioption legend.itemDistance\n         */\n        /**\n         * The pixel bottom margin for each legend item.\n         *\n         * @sample {highcharts|highstock} highcharts/legend/padding-itemmargin/\n         *         Padding and item margins demonstrated\n         * @sample {highmaps} maps/legend/padding-itemmargin/\n         *         Padding and item margins demonstrated\n         *\n         * @since     2.2.0\n         */\n        itemMarginBottom: 2,\n        /**\n         * The pixel top margin for each legend item.\n         *\n         * @sample {highcharts|highstock} highcharts/legend/padding-itemmargin/\n         *         Padding and item margins demonstrated\n         * @sample {highmaps} maps/legend/padding-itemmargin/\n         *         Padding and item margins demonstrated\n         *\n         * @since     2.2.0\n         */\n        itemMarginTop: 2,\n        /**\n         * The width for each legend item. By default the items are laid out\n         * successively. In a [horizontal layout](legend.layout), if the items\n         * are laid out across two rows or more, they will be vertically aligned\n         * depending on the [legend.alignColumns](legend.alignColumns) option.\n         *\n         * @sample {highcharts} highcharts/legend/itemwidth-default/\n         *         Undefined by default\n         * @sample {highcharts} highcharts/legend/itemwidth-80/\n         *         80 for aligned legend items\n         *\n         * @type      {number}\n         * @since     2.0\n         * @apioption legend.itemWidth\n         */\n        /**\n         * A [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)\n         * for each legend label. Available variables relates to properties on\n         * the series, or the point in case of pies.\n         *\n         * @type      {string}\n         * @default   {name}\n         * @since     1.3\n         * @apioption legend.labelFormat\n         */\n        /* eslint-disable valid-jsdoc */\n        /**\n         * Callback function to format each of the series' labels. The `this`\n         * keyword refers to the series object, or the point object in case of\n         * pie charts. By default the series or point name is printed.\n         *\n         * @productdesc {highmaps}\n         * In Highmaps the context can also be a data class in case of a\n         * `colorAxis`.\n         *\n         * @sample {highcharts} highcharts/legend/labelformatter/\n         *         Add text\n         * @sample {highmaps} maps/legend/labelformatter/\n         *         Data classes with label formatter\n         *\n         * @type {Highcharts.FormatterCallbackFunction<Point|Series>}\n         */\n        labelFormatter: function () {\n            // eslint-enable valid-jsdoc\n            return this.name;\n        },\n        /**\n         * Line height for the legend items. Deprecated as of 2.1\\. Instead,\n         * the line height for each item can be set using\n         * `itemStyle.lineHeight`, and the padding between items using\n         * `itemMarginTop` and `itemMarginBottom`.\n         *\n         * @sample {highcharts} highcharts/legend/lineheight/\n         *         Setting padding\n         *\n         * @deprecated\n         *\n         * @type      {number}\n         * @default   16\n         * @since     2.0\n         * @product   highcharts gantt\n         * @apioption legend.lineHeight\n         */\n        /**\n         * If the plot area sized is calculated automatically and the legend is\n         * not floating, the legend margin is the space between the legend and\n         * the axis labels or plot area.\n         *\n         * @sample {highcharts} highcharts/legend/margin-default/\n         *         12 pixels by default\n         * @sample {highcharts} highcharts/legend/margin-30/\n         *         30 pixels\n         *\n         * @type      {number}\n         * @default   12\n         * @since     2.1\n         * @apioption legend.margin\n         */\n        /**\n         * Maximum pixel height for the legend. When the maximum height is\n         * extended, navigation will show.\n         *\n         * @type      {number}\n         * @since     2.3.0\n         * @apioption legend.maxHeight\n         */\n        /**\n         * The color of the drawn border around the legend.\n         *\n         * @see In styled mode, the legend border stroke can be applied with the\n         *      `.highcharts-legend-box` class.\n         *\n         * @sample {highcharts} highcharts/legend/bordercolor/\n         *         Brown border\n         * @sample {highstock} stock/legend/align/\n         *         Various legend options\n         * @sample {highmaps} maps/legend/border-background/\n         *         Border and background options\n         *\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        borderColor: \"#999999\" /* Palette.neutralColor40 */,\n        /**\n         * The border corner radius of the legend.\n         *\n         * @sample {highcharts} highcharts/legend/borderradius-default/\n         *         Square by default\n         * @sample {highcharts} highcharts/legend/borderradius-round/\n         *         5px rounded\n         * @sample {highmaps} maps/legend/border-background/\n         *         Border and background options\n         */\n        borderRadius: 0,\n        /**\n         * Options for the paging or navigation appearing when the legend is\n         * overflown. Navigation works well on screen, but not in static\n         * exported images. One way of working around that is to\n         * [increase the chart height in\n         * export](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/legend/navigation-enabled-false/).\n         *\n         * @sample highcharts/legend/scrollable-vertical/\n         *         Legend with vertical scrollable extension\n         * @sample highcharts/legend/scrollable-horizontal/\n         *         Legend with horizontal scrollable extension\n         *\n         */\n        navigation: {\n            /**\n             * How to animate the pages when navigating up or down. A value of\n             * `true` applies the default navigation given in the\n             * `chart.animation` option. Additional options can be given as an\n             * object containing values for easing and duration.\n             *\n             * @sample {highcharts} highcharts/legend/navigation/\n             *         Legend page navigation demonstrated\n             * @sample {highstock} highcharts/legend/navigation/\n             *         Legend page navigation demonstrated\n             *\n             * @type      {boolean|Partial<Highcharts.AnimationOptionsObject>}\n             * @default   true\n             * @since     2.2.4\n             * @apioption legend.navigation.animation\n             */\n            /**\n             * The pixel size of the up and down arrows in the legend paging\n             * navigation.\n             *\n             * @sample {highcharts} highcharts/legend/navigation/\n             *         Legend page navigation demonstrated\n             * @sample {highstock} highcharts/legend/navigation/\n             *         Legend page navigation demonstrated\n             *\n             * @type      {number}\n             * @default   12\n             * @since     2.2.4\n             * @apioption legend.navigation.arrowSize\n             */\n            /**\n             * Whether to enable the legend navigation. In most cases, disabling\n             * the navigation results in an unwanted overflow.\n             *\n             * See also the\n             * [adapt chart to legend](https://github.com/highcharts/adapt-chart-to-legend)\n             * plugin for a solution to extend the chart height to make room for\n             * the legend, optionally in exported charts only.\n             *\n             * @type      {boolean}\n             * @default   true\n             * @since     4.2.4\n             * @apioption legend.navigation.enabled\n             */\n            /**\n             * Text styles for the legend page navigation.\n             *\n             * @see In styled mode, the navigation items are styled with the\n             *      `.highcharts-legend-navigation` class.\n             *\n             * @sample {highcharts} highcharts/legend/navigation/\n             *         Legend page navigation demonstrated\n             * @sample {highstock} highcharts/legend/navigation/\n             *         Legend page navigation demonstrated\n             *\n             * @type      {Highcharts.CSSObject}\n             * @since     2.2.4\n             * @apioption legend.navigation.style\n             */\n            style: {\n                /**\n                 * @type {number|string}\n                 */\n                fontSize: '0.8em'\n            },\n            /**\n             * The color for the active up or down arrow in the legend page\n             * navigation.\n             *\n             * @see In styled mode, the active arrow be styled with the\n             *      `.highcharts-legend-nav-active` class.\n             *\n             * @sample  {highcharts} highcharts/legend/navigation/\n             *          Legend page navigation demonstrated\n             * @sample  {highstock} highcharts/legend/navigation/\n             *          Legend page navigation demonstrated\n             *\n             * @type  {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @since 2.2.4\n             */\n            activeColor: \"#0022ff\" /* Palette.highlightColor100 */,\n            /**\n             * The color of the inactive up or down arrow in the legend page\n             * navigation. .\n             *\n             * @see In styled mode, the inactive arrow be styled with the\n             *      `.highcharts-legend-nav-inactive` class.\n             *\n             * @sample {highcharts} highcharts/legend/navigation/\n             *         Legend page navigation demonstrated\n             * @sample {highstock} highcharts/legend/navigation/\n             *         Legend page navigation demonstrated\n             *\n             * @type  {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @since 2.2.4\n             */\n            inactiveColor: \"#cccccc\" /* Palette.neutralColor20 */\n        },\n        /**\n         * The inner padding of the legend box.\n         *\n         * @sample {highcharts|highstock} highcharts/legend/padding-itemmargin/\n         *         Padding and item margins demonstrated\n         * @sample {highmaps} maps/legend/padding-itemmargin/\n         *         Padding and item margins demonstrated\n         *\n         * @type      {number}\n         * @default   8\n         * @since     2.2.0\n         * @apioption legend.padding\n         */\n        /**\n         * Whether to reverse the order of the legend items compared to the\n         * order of the series or points as defined in the configuration object.\n         *\n         * @see [yAxis.reversedStacks](#yAxis.reversedStacks),\n         *      [series.legendIndex](#series.legendIndex)\n         *\n         * @sample {highcharts} highcharts/legend/reversed/\n         *         Stacked bar with reversed legend\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     1.2.5\n         * @apioption legend.reversed\n         */\n        /**\n         * Whether to show the symbol on the right side of the text rather than\n         * the left side. This is common in Arabic and Hebrew.\n         *\n         * @sample {highcharts} highcharts/legend/rtl/\n         *         Symbol to the right\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     2.2\n         * @apioption legend.rtl\n         */\n        /**\n         * CSS styles for the legend area. In the 1.x versions the position\n         * of the legend area was determined by CSS. In 2.x, the position is\n         * determined by properties like `align`, `verticalAlign`, `x` and `y`,\n         * but the styles are still parsed for backwards compatibility.\n         *\n         * @deprecated\n         *\n         * @type      {Highcharts.CSSObject}\n         * @product   highcharts highstock\n         * @apioption legend.style\n         */\n        /**\n         * CSS styles for each legend item. Only a subset of CSS is supported,\n         * notably those options related to text. The default `textOverflow`\n         * property makes long texts truncate. Set it to `undefined` to wrap\n         * text instead. A `width` property can be added to control the text\n         * width.\n         *\n         * @see In styled mode, the legend items can be styled with the\n         *      `.highcharts-legend-item` class.\n         *\n         * @sample {highcharts} highcharts/legend/itemstyle/\n         *         Bold black text\n         * @sample {highmaps} maps/legend/itemstyle/\n         *         Item text styles\n         *\n         * @type    {Highcharts.CSSObject}\n         * @default {\"color\": \"#333333\", \"cursor\": \"pointer\", \"fontSize\": \"0.8em\", \"fontWeight\": \"bold\", \"textOverflow\": \"ellipsis\"}\n         */\n        itemStyle: {\n            /**\n             * @ignore\n             */\n            color: \"#333333\" /* Palette.neutralColor80 */,\n            /**\n             * @ignore\n             */\n            cursor: 'pointer',\n            /**\n             * @ignore\n             */\n            fontSize: '0.8em',\n            /**\n             * @ignore\n             */\n            textDecoration: 'none',\n            /**\n             * @ignore\n             */\n            textOverflow: 'ellipsis'\n        },\n        /**\n         * CSS styles for each legend item in hover mode. Only a subset of\n         * CSS is supported, notably those options related to text. Properties\n         * are inherited from `style` unless overridden here.\n         *\n         * @see In styled mode, the hovered legend items can be styled with\n         *      the `.highcharts-legend-item:hover` pseudo-class.\n         *\n         * @sample {highcharts} highcharts/legend/itemhoverstyle/\n         *         Red on hover\n         * @sample {highmaps} maps/legend/itemstyle/\n         *         Item text styles\n         *\n         * @type    {Highcharts.CSSObject}\n         * @default {\"color\": \"#000000\"}\n         */\n        itemHoverStyle: {\n            /**\n             * @ignore\n             */\n            color: \"#000000\" /* Palette.neutralColor100 */\n        },\n        /**\n         * CSS styles for each legend item when the corresponding series or\n         * point is hidden. Only a subset of CSS is supported, notably those\n         * options related to text. Properties are inherited from `style`\n         * unless overridden here.\n         *\n         * @see In styled mode, the hidden legend items can be styled with\n         *      the `.highcharts-legend-item-hidden` class.\n         *\n         * @sample {highcharts} highcharts/legend/itemhiddenstyle/\n         *         Darker gray color\n         *\n         * @type    {Highcharts.CSSObject}\n         * @default {\"color\": \"#cccccc\"}\n         */\n        itemHiddenStyle: {\n            /**\n             * @ignore\n             */\n            color: \"#666666\" /* Palette.neutralColor60 */,\n            /**\n             * @ignore\n             */\n            textDecoration: 'line-through'\n        },\n        /**\n         * Whether to apply a drop shadow to the legend. A `backgroundColor`\n         * also needs to be applied for this to take effect. The shadow can be\n         * an object configuration containing `color`, `offsetX`, `offsetY`,\n         * `opacity` and `width`.\n         *\n         * @sample {highcharts} highcharts/legend/shadow/\n         *         White background and drop shadow\n         * @sample {highstock} stock/legend/align/\n         *         Various legend options\n         * @sample {highmaps} maps/legend/border-background/\n         *         Border and background options\n         *\n         * @type {boolean|Highcharts.CSSObject}\n         */\n        shadow: false,\n        /**\n         * Default styling for the checkbox next to a legend item when\n         * `showCheckbox` is true.\n         *\n         * @type {Highcharts.CSSObject}\n         * @default {\"width\": \"13px\", \"height\": \"13px\", \"position\":\"absolute\"}\n         */\n        itemCheckboxStyle: {\n            /**\n             * @ignore\n             */\n            position: 'absolute',\n            /**\n             * @ignore\n             */\n            width: '13px', // For IE precision\n            /**\n             * @ignore\n             */\n            height: '13px'\n        },\n        /// itemWidth: undefined,\n        /**\n         * When this is true, the legend symbol width will be the same as\n         * the symbol height, which in turn defaults to the font size of the\n         * legend items.\n         *\n         * @since 5.0.0\n         */\n        squareSymbol: true,\n        /**\n         * The pixel height of the symbol for series types that use a rectangle\n         * in the legend. Defaults to the font size of legend items.\n         *\n         * Note: This option is a default source of color axis height, if the\n         * [colorAxis.height](https://api.highcharts.com/highcharts/colorAxis.height)\n         * option is not set.\n         *\n         * @productdesc {highmaps}\n         * In Highmaps, when the symbol is the gradient of a vertical color\n         * axis, the height defaults to 200.\n         *\n         * @sample {highmaps} maps/legend/layout-vertical-sized/\n         *         Sized vertical gradient\n         * @sample {highmaps} maps/legend/padding-itemmargin/\n         *         No distance between data classes\n         *\n         * @type      {number}\n         * @since     3.0.8\n         * @apioption legend.symbolHeight\n         */\n        /**\n         * The border radius of the symbol for series types that use a rectangle\n         * in the legend. Defaults to half the `symbolHeight`, effectively\n         * creating a circle.\n         *\n         * For color axis scales, it defaults to 3.\n         *\n         * @sample {highcharts} highcharts/legend/symbolradius/\n         *         Round symbols\n         * @sample {highstock} highcharts/legend/symbolradius/\n         *         Round symbols\n         * @sample {highmaps} highcharts/legend/symbolradius/\n         *         Round symbols\n         *\n         * @type      {number}\n         * @since     3.0.8\n         * @apioption legend.symbolRadius\n         */\n        /**\n         * The pixel width of the legend item symbol. When the `squareSymbol`\n         * option is set, this defaults to the `symbolHeight`, otherwise 16.\n         *\n         * Note: This option is a default source of color axis width, if the\n         * [colorAxis.width](https://api.highcharts.com/highcharts/colorAxis.width)\n         * option is not set.\n         *\n         * @productdesc {highmaps}\n         * In Highmaps, when the symbol is the gradient of a horizontal color\n         * axis, the width defaults to 200.\n         *\n         * @sample {highcharts} highcharts/legend/symbolwidth/\n         *         Greater symbol width and padding\n         * @sample {highmaps} maps/legend/padding-itemmargin/\n         *         Padding and item margins demonstrated\n         * @sample {highmaps} maps/legend/layout-vertical-sized/\n         *         Sized vertical gradient\n         *\n         * @type      {number}\n         * @apioption legend.symbolWidth\n         */\n        /**\n         * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n         * to render the legend item texts.\n         *\n         * Prior to 4.1.7, when using HTML, [legend.navigation](\n         * #legend.navigation) was disabled.\n         *\n         * @sample highcharts/legend/scrollable-vertical/\n         *         Legend with vertical scrollable extension\n         * @sample highcharts/legend/scrollable-horizontal/\n         *         Legend with horizontal scrollable extension\n         *\n         * @type      {boolean}\n         * @default   false\n         * @apioption legend.useHTML\n         */\n        /**\n         * For a color axis with data classes, how many decimals to render in\n         * the legend. The default preserves the decimals of the range numbers.\n         *\n         * @type      {number}\n         * @default   -1\n         * @product   highcharts highmaps\n         * @apioption legend.valueDecimals\n         */\n        /**\n         * For a color axis with data classes, a suffix for the range numbers in\n         * the legend.\n         *\n         * @type      {string}\n         * @default   ''\n         * @product   highcharts highmaps\n         * @apioption legend.valueSuffix\n         */\n        /**\n         * The width of the legend box. If a number is set, it translates to\n         * pixels. Since v7.0.2 it allows setting a percent string of the full\n         * chart width, for example `40%`.\n         *\n         * Defaults to the full chart width for legends below or above the\n         * chart, half the chart width for legends to the left and right.\n         *\n         * @sample {highcharts} highcharts/legend/width/\n         *         Aligned to the plot area\n         * @sample {highcharts} highcharts/legend/width-percent/\n         *         A percent of the chart width\n         *\n         * @type      {number|string}\n         * @since     2.0\n         * @apioption legend.width\n         */\n        /**\n         * The pixel padding between the legend item symbol and the legend\n         * item text.\n         *\n         * @sample {highcharts} highcharts/legend/symbolpadding/\n         *         Greater symbol width and padding\n         */\n        symbolPadding: 5,\n        /**\n         * The vertical alignment of the legend box. Can be one of `top`,\n         * `middle` or `bottom`. Vertical position can be further determined\n         * by the `y` option.\n         *\n         * In the case that the legend is aligned in a corner position, the\n         * `layout` option will determine whether to place it above/below\n         * or on the side of the plot area.\n         *\n         * When the [layout](#legend.layout) option is `proximate`, the\n         * `verticalAlign` option doesn't apply.\n         *\n         * @sample {highcharts} highcharts/legend/verticalalign/\n         *         Legend 100px from the top of the chart\n         * @sample {highstock} stock/legend/align/\n         *         Various legend options\n         * @sample {highmaps} maps/legend/alignment/\n         *         Legend alignment\n         *\n         * @type  {Highcharts.VerticalAlignValue}\n         * @since 2.0\n         */\n        verticalAlign: 'bottom',\n        // Width: undefined,\n        /**\n         * The x offset of the legend relative to its horizontal alignment\n         * `align` within chart.spacingLeft and chart.spacingRight. Negative\n         * x moves it to the left, positive x moves it to the right.\n         *\n         * @sample {highcharts} highcharts/legend/width/\n         *         Aligned to the plot area\n         *\n         * @since 2.0\n         */\n        x: 0,\n        /**\n         * The vertical offset of the legend relative to it's vertical alignment\n         * `verticalAlign` within chart.spacingTop and chart.spacingBottom.\n         *  Negative y moves it up, positive y moves it down.\n         *\n         * @sample {highcharts} highcharts/legend/verticalalign/\n         *         Legend 100px from the top of the chart\n         * @sample {highstock} stock/legend/align/\n         *         Various legend options\n         * @sample {highmaps} maps/legend/alignment/\n         *         Legend alignment\n         *\n         * @since 2.0\n         */\n        y: 0,\n        /**\n         * A title to be added on top of the legend.\n         *\n         * @sample {highcharts} highcharts/legend/title/\n         *         Legend title\n         * @sample {highmaps} maps/legend/alignment/\n         *         Legend with title\n         *\n         * @since 3.0\n         */\n        title: {\n            /**\n             * A text or HTML string for the title.\n             *\n             * @type      {string}\n             * @since     3.0\n             * @apioption legend.title.text\n             */\n            /**\n             * Generic CSS styles for the legend title.\n             *\n             * @see In styled mode, the legend title is styled with the\n             *      `.highcharts-legend-title` class.\n             *\n             * @type    {Highcharts.CSSObject}\n             * @default {\"fontSize\": \"0.8em\", \"fontWeight\": \"bold\"}\n             * @since   3.0\n             */\n            style: {\n                /**\n                 * @ignore\n                 */\n                fontSize: '0.8em',\n                /**\n                 * @ignore\n                 */\n                fontWeight: 'bold'\n            }\n        }\n    },\n    /**\n     * The loading options control the appearance of the loading screen\n     * that covers the plot area on chart operations. This screen only\n     * appears after an explicit call to `chart.showLoading()`. It is a\n     * utility for developers to communicate to the end user that something\n     * is going on, for example while retrieving new data via an XHR connection.\n     * The \"Loading...\" text itself is not part of this configuration\n     * object, but part of the `lang` object.\n     */\n    loading: {\n        /**\n         * The duration in milliseconds of the fade out effect.\n         *\n         * @sample highcharts/loading/hideduration/\n         *         Fade in and out over a second\n         *\n         * @type      {number}\n         * @default   100\n         * @since     1.2.0\n         * @apioption loading.hideDuration\n         */\n        /**\n         * The duration in milliseconds of the fade in effect.\n         *\n         * @sample highcharts/loading/hideduration/\n         *         Fade in and out over a second\n         *\n         * @type      {number}\n         * @default   100\n         * @since     1.2.0\n         * @apioption loading.showDuration\n         */\n        /**\n         * CSS styles for the loading label `span`.\n         *\n         * @see In styled mode, the loading label is styled with the\n         *      `.highcharts-loading-inner` class.\n         *\n         * @sample {highcharts|highmaps} highcharts/loading/labelstyle/\n         *         Vertically centered\n         * @sample {highstock} stock/loading/general/\n         *         Label styles\n         *\n         * @type    {Highcharts.CSSObject}\n         * @default {\"fontWeight\": \"bold\", \"position\": \"relative\", \"top\": \"45%\"}\n         * @since   1.2.0\n         */\n        labelStyle: {\n            /**\n             * @ignore\n             */\n            fontWeight: 'bold',\n            /**\n             * @ignore\n             */\n            position: 'relative',\n            /**\n             * @ignore\n             */\n            top: '45%'\n        },\n        /**\n         * CSS styles for the loading screen that covers the plot area.\n         *\n         * In styled mode, the loading label is styled with the\n         * `.highcharts-loading` class.\n         *\n         * @sample  {highcharts|highmaps} highcharts/loading/style/\n         *          Gray plot area, white text\n         * @sample  {highstock} stock/loading/general/\n         *          Gray plot area, white text\n         *\n         * @type    {Highcharts.CSSObject}\n         * @default {\"position\": \"absolute\", \"backgroundColor\": \"#ffffff\", \"opacity\": 0.5, \"textAlign\": \"center\"}\n         * @since   1.2.0\n         */\n        style: {\n            /**\n             * @ignore\n             */\n            position: 'absolute',\n            /**\n             * @ignore\n             */\n            backgroundColor: \"#ffffff\" /* Palette.backgroundColor */,\n            /**\n             * @ignore\n             */\n            opacity: 0.5,\n            /**\n             * @ignore\n             */\n            textAlign: 'center'\n        }\n    },\n    /**\n     * Options for the tooltip that appears when the user hovers over a\n     * series or point.\n     *\n     * @declare Highcharts.TooltipOptions\n     */\n    tooltip: {\n        /**\n         * The color of the tooltip border. When `undefined`, the border takes\n         * the color of the corresponding series or point.\n         *\n         * Note that the [borderWidth](#tooltip.borderWidth) is usually 0 by\n         * default, so the border color may not be visible until a border width\n         * is set.\n         *\n         * @sample {highcharts} highcharts/tooltip/bordercolor-default/ Follow\n         *         series by default\n         * @sample {highcharts} highcharts/tooltip/bordercolor-black/ Black\n         *         border\n         * @sample {highstock} stock/tooltip/general/ Styled tooltip\n         * @sample {highmaps} maps/tooltip/background-border/ Background and\n         *         border demo\n         *\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @apioption tooltip.borderColor\n         */\n        /**\n         * A CSS class name to apply to the tooltip's container div,\n         * allowing unique CSS styling for each chart.\n         *\n         * @type      {string}\n         * @apioption tooltip.className\n         */\n        /**\n         * Since 4.1, the crosshair definitions are moved to the Axis object\n         * in order for a better separation from the tooltip. See\n         * [xAxis.crosshair](#xAxis.crosshair).\n         *\n         * @sample {highcharts} highcharts/tooltip/crosshairs-x/\n         *         Enable a crosshair for the x value\n         *\n         * @deprecated\n         *\n         * @type      {*}\n         * @default   true\n         * @apioption tooltip.crosshairs\n         */\n        /**\n         * Distance from point to tooltip in pixels.\n         *\n         * @type      {number}\n         * @default   16\n         * @apioption tooltip.distance\n         */\n        /**\n         * Whether the tooltip should follow the mouse as it moves across\n         * columns, pie slices and other point types with an extent.\n         * By default it behaves this way for pie, polygon, map, sankey\n         * and wordcloud series by override in the `plotOptions`\n         * for those series types.\n         *\n         * Does not apply if [split](#tooltip.split) is `true`.\n         *\n         * For touch moves to behave the same way, [followTouchMove](\n         * #tooltip.followTouchMove) must be `true` also.\n         *\n         * @sample highcharts/tooltip/followpointer/\n         *         Tooltip follow pointer comparison\n         *\n         * @type      {boolean}\n         * @default   {highcharts} false\n         * @default   {highstock} false\n         * @default   {highmaps} true\n         * @since     3.0\n         * @apioption tooltip.followPointer\n         */\n        /**\n         * Whether the tooltip should update as the finger moves on a touch\n         * device. If this is `true` and [chart.panning](#chart.panning) is\n         * set,`followTouchMove` will take over one-finger touches, so the user\n         * needs to use two fingers for zooming and panning.\n         *\n         * Note the difference to [followPointer](#tooltip.followPointer) that\n         * only defines the _position_ of the tooltip. If `followPointer` is\n         * false in for example a column series, the tooltip will show above or\n         * below the column, but as `followTouchMove` is true, the tooltip will\n         * jump from column to column as the user swipes across the plot area.\n         *\n         * @type      {boolean}\n         * @default   {highcharts} true\n         * @default   {highstock} true\n         * @default   {highmaps} false\n         * @since     3.0.1\n         * @apioption tooltip.followTouchMove\n         */\n        /**\n         * A [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)\n         * for the whole shared tooltip. When format strings are a requirement,\n         * it is usually more convenient to use `headerFormat`, `pointFormat`\n         * and `footerFormat`, but the `format` option allows combining them\n         * into one setting.\n         *\n         * The context of the format string is the same as that of the\n         * `tooltip.formatter` callback.\n         *\n         * @sample {highcharts} highcharts/tooltip/format-shared/\n         *         Format for shared tooltip\n         *\n         * @type      {string}\n         * @default   undefined\n         * @since     11.1.0\n         * @apioption tooltip.format\n         */\n        /**\n         * Callback function to format the text of the tooltip from scratch. In\n         * case of single or [shared](#tooltip.shared) tooltips, a string should\n         * be returned. In case of [split](#tooltip.split) tooltips, it should\n         * return an array where the first item is the header, and subsequent\n         * items are mapped to the points. Return `false` to disable tooltip for\n         * a specific point on series.\n         *\n         * A subset of HTML is supported. Unless `useHTML` is true, the HTML of\n         * the tooltip is parsed and converted to SVG, therefore this isn't a\n         * complete HTML renderer. The following HTML tags are supported: `b`,\n         * `br`, `em`, `i`, `span`, `strong`. Spans can be styled with a `style`\n         * attribute, but only text-related CSS, that is shared with SVG, is\n         * handled.\n         *\n         * The context of the formatter (since v12) is the\n         * [Point](https://api.highcharts.com/class-reference/Highcharts.Point)\n         * instance. If the tooltip is shared or split, an array `this.points`\n         * contains all points of the hovered x-value.\n         *\n         * Common properties from the Point to use in the formatter include:\n         *\n         * - **Point.percentage**:\n         *   Stacked series and pies only. The point's percentage of the total.\n         *\n         * - **Point.points**:\n         *   In a shared or split tooltip, this is an array containing all the\n         *   hovered points.\n         *\n         * - **this.series**:\n         *   The series object. The series name is available through\n         *   `this.series.name`.\n         *\n         * - **this.total**:\n         *   The total value at this point's x value in a stacked series, or the\n         *   sum of all slices in a pie series.\n         *\n         * - **this.x**:\n         *   The x value.\n         *\n         * - **this.y**:\n         *   The y value.\n         *\n         * @sample {highcharts} highcharts/tooltip/formatter-simple/\n         *         Simple string formatting\n         * @sample {highcharts} highcharts/tooltip/formatter-shared/\n         *         Formatting with shared tooltip\n         * @sample {highcharts|highstock} highcharts/tooltip/formatter-split/\n         *         Formatting with split tooltip\n         * @sample highcharts/tooltip/formatter-conditional-default/\n         *         Extending default formatter\n         * @sample {highstock} stock/tooltip/formatter/\n         *         Formatting with shared tooltip\n         * @sample {highmaps} maps/tooltip/formatter/\n         *         String formatting\n         *\n         * @type      {Highcharts.TooltipFormatterCallbackFunction}\n         * @apioption tooltip.formatter\n         */\n        /**\n         * Callback function to format the text of the tooltip for\n         * visible null points.\n         * Works analogously to [formatter](#tooltip.formatter).\n         *\n         * @sample highcharts/plotoptions/series-nullformat\n         *         Format data label and tooltip for null point.\n         *\n         * @type      {Highcharts.TooltipFormatterCallbackFunction}\n         * @apioption tooltip.nullFormatter\n         */\n        /**\n         * Whether to allow the tooltip to render outside the chart's SVG\n         * element box. By default (`false`), the tooltip is rendered within the\n         * chart's SVG element, which results in the tooltip being aligned\n         * inside the chart area. For small charts, this may result in clipping\n         * or overlapping. When `true`, a separate SVG element is created and\n         * overlaid on the page, allowing the tooltip to be aligned inside the\n         * page itself. Beware that with this option active, CSS classes on the\n         * chart's target container, with classnames matching the pattern\n         * 'highcharts-*', will be set on the tooltip as well. This is done to\n         * support theming for tooltips with this option.\n         *\n         * Defaults to `true` if `chart.scrollablePlotArea` is activated,\n         * otherwise `false`.\n         *\n         * @sample highcharts/tooltip/outside\n         *         Small charts with tooltips outside\n         *\n         * @type      {boolean|undefined}\n         * @default   undefined\n         * @since     6.1.1\n         * @apioption tooltip.outside\n         */\n        /**\n         * A callback function for formatting the HTML output for a single point\n         * in the tooltip. Like the `pointFormat` string, but with more\n         * flexibility.\n         *\n         * @type      {Highcharts.FormatterCallbackFunction<Highcharts.Point>}\n         * @since     4.1.0\n         * @context   Highcharts.Point\n         * @apioption tooltip.pointFormatter\n         */\n        /**\n         * A callback function to place the tooltip in a custom position. The\n         * callback receives three parameters: `labelWidth`, `labelHeight` and\n         * `point`, where point contains values for `plotX` and `plotY` telling\n         * where the reference point is in the plot area. Add `chart.plotLeft`\n         * and `chart.plotTop` to get the full coordinates.\n         *\n         * To find the actual hovered `Point` instance, use\n         * `this.chart.hoverPoint`. For shared or split tooltips, all the hover\n         * points are available in `this.chart.hoverPoints`.\n         *\n         * Since v7, when [tooltip.split](#tooltip.split) option is enabled,\n         * positioner is called for each of the boxes separately, including\n         * xAxis header. xAxis header is not a point, instead `point` argument\n         * contains info: `{ plotX: Number, plotY: Number, isHeader: Boolean }`\n         *\n         * The return should be an object containing x and y values, for example\n         * `{ x: 100, y: 100 }`.\n         *\n         * @sample {highcharts} highcharts/tooltip/positioner/\n         *         A fixed tooltip position\n         * @sample {highstock} stock/tooltip/positioner/\n         *         A fixed tooltip position on top of the chart\n         * @sample {highmaps} maps/tooltip/positioner/\n         *         A fixed tooltip position\n         * @sample {highstock} stock/tooltip/split-positioner/\n         *         Split tooltip with fixed positions\n         * @sample {highstock} stock/tooltip/positioner-scrollable-plotarea/\n         *         Scrollable plot area combined with tooltip positioner\n         *\n         * @type      {Highcharts.TooltipPositionerCallbackFunction}\n         * @since     2.2.4\n         * @apioption tooltip.positioner\n         */\n        /**\n         * Shows tooltip for all points with the same X value. Splits the\n         * tooltip into one label per series, with the header close to the axis.\n         * This is recommended over [shared](#tooltip.shared)\n         * tooltips for charts with multiple line series, generally making them\n         * easier to read. This option takes precedence over `tooltip.shared`.\n         *\n         * Not supported for [polar](#chart.polar) and [inverted](#chart.inverted) charts.\n         *\n         * @productdesc {highstock} In Highcharts Stock, tooltips are split\n         * by default since v6.0.0. Stock charts typically contain\n         * multi-dimension points and multiple panes, making split tooltips\n         * the preferred layout over\n         * the previous `shared` tooltip.\n         *\n         * @sample highcharts/tooltip/split/\n         *         Split tooltip\n         * @sample {highcharts|highstock} highcharts/tooltip/formatter-split/\n         *         Split tooltip and custom formatter callback\n         *\n         * @type      {boolean}\n         * @default   {highcharts} false\n         * @default   {highstock} true\n         * @since     5.0.0\n         * @product   highcharts highstock\n         * @apioption tooltip.split\n         */\n        /**\n         * Prevents the tooltip from switching or closing, when touched or\n         * pointed.\n         *\n         * @sample highcharts/tooltip/stickoncontact/\n         *         Tooltip sticks on pointer contact\n         *\n         * @type      {boolean}\n         * @since     8.0.1\n         * @apioption tooltip.stickOnContact\n         */\n        /**\n         * Use HTML to render the contents of the tooltip instead of SVG. Using\n         * HTML allows advanced formatting like tables and images in the\n         * tooltip. It is also recommended for rtl languages as it works around\n         * rtl bugs in early Firefox.\n         *\n         * @sample {highcharts|highstock} highcharts/tooltip/footerformat/\n         *         A table for value alignment\n         * @sample {highcharts|highstock} highcharts/tooltip/fullhtml/\n         *         Full HTML tooltip\n         * @sample {highmaps} maps/tooltip/usehtml/\n         *         Pure HTML tooltip\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     2.2\n         * @apioption tooltip.useHTML\n         */\n        /**\n         * How many decimals to show in each series' y value. This is\n         * overridable in each series' tooltip options object. The default is to\n         * preserve all decimals.\n         *\n         * @sample {highcharts|highstock} highcharts/tooltip/valuedecimals/\n         *         Set decimals, prefix and suffix for the value\n         * @sample {highmaps} maps/tooltip/valuedecimals/\n         *         Set decimals, prefix and suffix for the value\n         *\n         * @type      {number|undefined}\n         * @since     2.2\n         * @apioption tooltip.valueDecimals\n         */\n        /**\n         * A string to prepend to each series' y value. Overridable in each\n         * series' tooltip options object.\n         *\n         * @sample {highcharts|highstock} highcharts/tooltip/valuedecimals/\n         *         Set decimals, prefix and suffix for the value\n         * @sample {highmaps} maps/tooltip/valuedecimals/\n         *         Set decimals, prefix and suffix for the value\n         *\n         * @type      {string}\n         * @since     2.2\n         * @apioption tooltip.valuePrefix\n         */\n        /**\n         * A string to append to each series' y value. Overridable in each\n         * series' tooltip options object.\n         *\n         * @sample {highcharts|highstock} highcharts/tooltip/valuedecimals/\n         *         Set decimals, prefix and suffix for the value\n         * @sample {highmaps} maps/tooltip/valuedecimals/\n         *         Set decimals, prefix and suffix for the value\n         *\n         * @type      {string}\n         * @since     2.2\n         * @apioption tooltip.valueSuffix\n         */\n        /**\n         * The format for the date in the tooltip header if the X axis is a\n         * datetime axis. The default is a best guess based on the smallest\n         * distance between points in the chart.\n         *\n         * @sample {highcharts} highcharts/tooltip/xdateformat/\n         *         A different format\n         *\n         * @type      {string|Highcharts.DateTimeFormatOptions}\n         * @product   highcharts highstock gantt\n         * @apioption tooltip.xDateFormat\n         */\n        /**\n         * How many decimals to show for the `point.change`\n         * or the `point.cumulativeSum` value when the `series.compare`\n         * or the `series.cumulative` option is set.\n         * This is overridable in each series' tooltip options object.\n         *\n         * @type      {number}\n         * @default   2\n         * @since     1.0.1\n         * @product   highstock\n         * @apioption tooltip.changeDecimals\n         */\n        /**\n         * Enable or disable the tooltip.\n         *\n         * @sample {highcharts} highcharts/tooltip/enabled/\n         *         Disabled\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/\n         *         Disable tooltip and show values on chart instead\n         */\n        enabled: true,\n        /**\n         * Enable or disable animation of the tooltip.\n         *\n         * @type       {boolean|Partial<Highcharts.AnimationOptionsObject>}\n         * @since      2.3.0\n         */\n        animation: {\n            duration: 300,\n            // EaseOutCirc\n            easing: (x) => Math.sqrt(1 - Math.pow(x - 1, 2))\n        },\n        /**\n         * The radius of the rounded border corners.\n         *\n         * @sample {highcharts} highcharts/tooltip/bordercolor-default/\n         *         Default border radius\n         * @sample {highcharts} highcharts/tooltip/borderradius-0/\n         *         Square borders\n         * @sample {highmaps} maps/tooltip/background-border/\n         *         Background and border demo\n         */\n        borderRadius: 3,\n        /**\n         * For series on datetime axes, the date format in the tooltip's\n         * header will by default be guessed based on the closest data points.\n         * This member gives the default string representations used for\n         * each unit. For an overview of the string or object configuration, see\n         * [dateFormat](/class-reference/Highcharts.Time#dateFormat).\n         *\n         * @see [xAxis.dateTimeLabelFormats](#xAxis.dateTimeLabelFormats)\n         *\n         * @type    {Highcharts.Dictionary<string|Highcharts.DateTimeFormatOptions>}\n         * @product highcharts highstock gantt\n         */\n        dateTimeLabelFormats: {\n            /** @internal */\n            millisecond: '%[AebHMSL]',\n            /** @internal */\n            second: '%[AebHMS]',\n            /** @internal */\n            minute: '%[AebHM]',\n            /** @internal */\n            hour: '%[AebHM]',\n            /** @internal */\n            day: '%[AebY]',\n            /** @internal */\n            week: 'Week from %[AebY]',\n            /** @internal */\n            month: '%[BY]',\n            /** @internal */\n            year: '%Y'\n        },\n        /**\n         * A string to append to the tooltip format.\n         *\n         * @sample {highcharts} highcharts/tooltip/footerformat/\n         *         A table for value alignment\n         * @sample {highmaps} maps/tooltip/format/\n         *         Format demo\n         *\n         * @since 2.2\n         */\n        footerFormat: '',\n        /**\n         * The name of a symbol to use for the border around the tooltip\n         * header. Applies only when [tooltip.split](#tooltip.split) is\n         * enabled.\n         *\n         * Custom callbacks for symbol path generation can also be added to\n         * `Highcharts.SVGRenderer.prototype.symbols` the same way as for\n         * [series.marker.symbol](plotOptions.line.marker.symbol).\n         *\n         * @see [tooltip.shape](#tooltip.shape)\n         *\n         * @sample {highstock} stock/tooltip/split-positioner/\n         *         Different shapes for header and split boxes\n         *\n         * @type       {Highcharts.TooltipShapeValue}\n         * @validvalue [\"callout\", \"rect\"]\n         * @since      7.0\n         */\n        headerShape: 'callout',\n        /**\n         * The number of milliseconds to wait until the tooltip is hidden when\n         * mouse out from a point or chart.\n         *\n         * @since 3.0\n         */\n        hideDelay: 500,\n        /**\n         * Padding inside the tooltip, in pixels.\n         *\n         * @since 5.0.0\n         */\n        padding: 8,\n        /**\n         * The name of a symbol to use for the border around the tooltip. Can\n         * be one of: `\"callout\"`, `\"circle\"` or `\"rect\"`. When\n         * [tooltip.split](#tooltip.split)\n         * option is enabled, shape is applied to all boxes except header, which\n         * is controlled by\n         * [tooltip.headerShape](#tooltip.headerShape).\n         *\n         * Custom callbacks for symbol path generation can also be added to\n         * `Highcharts.SVGRenderer.prototype.symbols` the same way as for\n         * [series.marker.symbol](plotOptions.line.marker.symbol).\n         *\n         * @type  {Highcharts.TooltipShapeValue}\n         * @since 4.0\n         */\n        shape: 'callout',\n        /**\n         * Shows information in the tooltip for all points with the same X\n         * value. When the tooltip is shared, the entire plot area will capture\n         * mouse movement or touch events. Tooltip texts for series types with\n         * ordered data (not pie, scatter, flags etc) will be shown in a single\n         * bubble. This is recommended for single series charts and for\n         * tablet/mobile optimized charts.\n         *\n         * See also [tooltip.split](#tooltip.split), that is better suited for\n         * charts with many series, especially line-type series. The\n         * `tooltip.split` option takes precedence over `tooltip.shared`.\n         *\n         * @sample {highcharts} highcharts/tooltip/shared-false/\n         *         False by default\n         * @sample {highcharts} highcharts/tooltip/shared-true/\n         *         True\n         * @sample {highcharts} highcharts/tooltip/shared-x-crosshair/\n         *         True with x axis crosshair\n         * @sample {highcharts} highcharts/tooltip/shared-true-mixed-types/\n         *         True with mixed series types\n         *\n         * @since   2.1\n         * @product highcharts highstock\n         */\n        shared: false,\n        /**\n         * Proximity snap for graphs or single points. It defaults to 10 for\n         * mouse-powered devices and 25 for touch devices.\n         *\n         * Note that in most cases the whole plot area captures the mouse\n         * movement, and in these cases `tooltip.snap` doesn't make sense. This\n         * applies when [stickyTracking](#plotOptions.series.stickyTracking)\n         * is `true` (default) and when the tooltip is [shared](#tooltip.shared)\n         * or [split](#tooltip.split).\n         *\n         * @sample {highcharts} highcharts/tooltip/bordercolor-default/\n         *         10 px by default\n         * @sample {highcharts} highcharts/tooltip/snap-50/\n         *         50 px on graph\n         *\n         * @type    {number}\n         * @default 10/25\n         * @since   1.2.0\n         * @product highcharts highstock\n         */\n        snap: isTouchDevice ? 25 : 10,\n        /**\n         * The HTML of the tooltip header line. The context is the\n         * [Point class](https://api.highcharts.com/class-reference/Highcharts.Point).\n         * Variables are enclosed in curly brackets. Examples of common\n         * variables to include are `x`, `y`, `series.name` and `series.color`\n         * and other properties on the same form. The `point.key` variable\n         * contains the category name, x value or datetime string depending on\n         * the type of axis. For datetime axes, the `point.key` date format can\n         * be set using `tooltip.xDateFormat`.\n         *\n         * @sample {highcharts} highcharts/tooltip/footerformat/\n         *         An HTML table in the tooltip\n         * @sample {highstock} highcharts/tooltip/footerformat/\n         *         An HTML table in the tooltip\n         * @sample {highmaps} maps/tooltip/format/\n         *         Format demo\n         *\n         * @type      {string}\n         * @apioption tooltip.headerFormat\n         */\n        headerFormat: '<span style=\"font-size: 0.8em\">{ucfirst point.key}</span><br/>',\n        /**\n         * The HTML of the null point's line in the tooltip. Works analogously\n         * to [pointFormat](#tooltip.pointFormat).\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-nullformat\n         *         Format data label and tooltip for null point.\n         *\n         * @type      {string}\n         * @apioption tooltip.nullFormat\n         */\n        /**\n         * The HTML of the point's line in the tooltip. The context is the\n         * [Point class](https://api.highcharts.com/class-reference/Highcharts.Point).\n         * Variables are enclosed in curly brackets. Examples of common\n         * variables to include are `x`, `y`, `series.name` and `series.color`\n         * and other properties on the same form. Furthermore, `y` can be\n         * extended by the `tooltip.valuePrefix` and `tooltip.valueSuffix`\n         * variables. This can also be overridden for each series, which makes\n         * it a good hook for displaying units.\n         *\n         * In styled mode, the dot is colored by a class name rather than the\n         * point color.\n         *\n         * @sample {highcharts} highcharts/tooltip/pointformat/\n         *         A different point format with value suffix\n         * @sample {highcharts|highstock} highcharts/tooltip/pointformat-extra-information/\n         *         Show extra information about points in the tooltip\n         * @sample {highmaps} maps/tooltip/format/\n         *         Format demo\n         *\n         * @type       {string}\n         * @since      2.2\n         * @apioption  tooltip.pointFormat\n         */\n        pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> {series.name}: <b>{point.y}</b><br/>',\n        /**\n         * The background color or gradient for the tooltip.\n         *\n         * In styled mode, the stroke width is set in the\n         * `.highcharts-tooltip-box` class.\n         *\n         * @sample {highcharts} highcharts/tooltip/backgroundcolor-solid/\n         *         Yellowish background\n         * @sample {highcharts} highcharts/tooltip/backgroundcolor-gradient/\n         *         Gradient\n         * @sample {highcharts} highcharts/css/tooltip-border-background/\n         *         Tooltip in styled mode\n         * @sample {highstock} stock/tooltip/general/\n         *         Custom tooltip\n         * @sample {highstock} highcharts/css/tooltip-border-background/\n         *         Tooltip in styled mode\n         * @sample {highmaps} maps/tooltip/background-border/\n         *         Background and border demo\n         * @sample {highmaps} highcharts/css/tooltip-border-background/\n         *         Tooltip in styled mode\n         *\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        backgroundColor: \"#ffffff\" /* Palette.backgroundColor */,\n        /**\n         * The pixel width of the tooltip border. Defaults to 0 for single\n         * tooltips and 1 for split tooltips.\n         *\n         * In styled mode, the stroke width is set in the\n         * `.highcharts-tooltip-box` class.\n         *\n         * @sample {highcharts} highcharts/tooltip/bordercolor-default/\n         *         2 pixels\n         * @sample {highcharts} highcharts/tooltip/borderwidth/\n         *         No border (shadow only)\n         * @sample {highcharts} highcharts/css/tooltip-border-background/\n         *         Tooltip in styled mode\n         * @sample {highstock} stock/tooltip/general/\n         *         Custom tooltip\n         * @sample {highstock} highcharts/css/tooltip-border-background/\n         *         Tooltip in styled mode\n         * @sample {highmaps} maps/tooltip/background-border/\n         *         Background and border demo\n         * @sample {highmaps} highcharts/css/tooltip-border-background/\n         *         Tooltip in styled mode\n         *\n         * @type {number}\n         */\n        borderWidth: void 0,\n        /**\n         * Whether to apply a drop shadow to the tooltip.\n         *\n         * @sample {highcharts} highcharts/tooltip/bordercolor-default/\n         *         True by default\n         * @sample {highcharts} highcharts/tooltip/shadow/\n         *         False\n         * @sample {highmaps} maps/tooltip/positioner/\n         *         Fixed tooltip position, border and shadow disabled\n         *\n         * @type {boolean|Highcharts.ShadowOptionsObject}\n         */\n        shadow: true,\n        /**\n         * Prevents the tooltip from switching or closing when touched or\n         * pointed.\n         *\n         * @sample highcharts/tooltip/stickoncontact/\n         *         Tooltip sticks on pointer contact\n         *\n         * @since 8.0.1\n         */\n        stickOnContact: false,\n        /**\n         * CSS styles for the tooltip. The tooltip can also be styled through\n         * the CSS class `.highcharts-tooltip`.\n         *\n         * Note that the default `pointerEvents` style makes the tooltip ignore\n         * mouse events, so in order to use clickable tooltips, this value must\n         * be set to `auto`.\n         *\n         * @sample {highcharts} highcharts/tooltip/style/\n         *         Greater padding, bold text\n         *\n         * @type {Highcharts.CSSObject}\n         */\n        style: {\n            /** @internal */\n            color: \"#333333\" /* Palette.neutralColor80 */,\n            /** @internal */\n            cursor: 'default',\n            /**\n             * @type {number|string}\n             */\n            fontSize: '0.8em'\n        },\n        /**\n         * Use HTML to render the contents of the tooltip instead of SVG. Using\n         * HTML allows advanced formatting like tables and images in the\n         * tooltip. It is also recommended for rtl languages as it works around\n         * rtl bugs in early Firefox.\n         *\n         * @sample {highcharts|highstock} highcharts/tooltip/footerformat/\n         *         A table for value alignment\n         * @sample {highcharts|highstock} highcharts/tooltip/fullhtml/\n         *         Full HTML tooltip\n         * @sample {highmaps} maps/tooltip/usehtml/\n         *         Pure HTML tooltip\n         *\n         * @since 2.2\n         */\n        useHTML: false\n    },\n    /**\n     * Highchart by default puts a credits label in the lower right corner\n     * of the chart. This can be changed using these options.\n     */\n    credits: {\n        /**\n         * Credits for map source to be concatenated with conventional credit\n         * text. By default this is a format string that collects copyright\n         * information from the map if available.\n         *\n         * @see [mapTextFull](#credits.mapTextFull)\n         * @see [text](#credits.text)\n         *\n         * @type      {string}\n         * @default   \\u00a9 <a href=\"{geojson.copyrightUrl}\">{geojson.copyrightShort}</a>\n         * @since     4.2.2\n         * @product   highmaps\n         * @apioption credits.mapText\n         */\n        /**\n         * Detailed credits for map source to be displayed on hover of credits\n         * text. By default this is a format string that collects copyright\n         * information from the map if available.\n         *\n         * @see [mapText](#credits.mapText)\n         * @see [text](#credits.text)\n         *\n         * @type      {string}\n         * @default   {geojson.copyright}\n         * @since     4.2.2\n         * @product   highmaps\n         * @apioption credits.mapTextFull\n         */\n        /**\n         * Whether to show the credits text.\n         *\n         * @sample {highcharts} highcharts/credits/enabled-false/\n         *         Credits disabled\n         * @sample {highstock} stock/credits/enabled/\n         *         Credits disabled\n         * @sample {highmaps} maps/credits/enabled-false/\n         *         Credits disabled\n         */\n        enabled: true,\n        /**\n         * The URL for the credits label.\n         *\n         * @sample {highcharts} highcharts/credits/href/\n         *         Custom URL and text\n         * @sample {highmaps} maps/credits/customized/\n         *         Custom URL and text\n         */\n        href: 'https://www.highcharts.com?credits',\n        /**\n         * Position configuration for the credits label.\n         *\n         * @sample {highcharts} highcharts/credits/position-left/\n         *         Left aligned\n         * @sample {highcharts} highcharts/credits/position-left/\n         *         Left aligned\n         * @sample {highmaps} maps/credits/customized/\n         *         Left aligned\n         * @sample {highmaps} maps/credits/customized/\n         *         Left aligned\n         *\n         * @type    {Highcharts.AlignObject}\n         * @since   2.1\n         */\n        position: {\n            /** @internal */\n            align: 'right',\n            /** @internal */\n            x: -10,\n            /** @internal */\n            verticalAlign: 'bottom',\n            /** @internal */\n            y: -5\n        },\n        /**\n         * CSS styles for the credits label.\n         *\n         * @see In styled mode, credits styles can be set with the\n         *      `.highcharts-credits` class.\n         *\n         * @type {Highcharts.CSSObject}\n         */\n        style: {\n            /** @internal */\n            cursor: 'pointer',\n            /** @internal */\n            color: \"#999999\" /* Palette.neutralColor40 */,\n            /**\n             * @type {number|string}\n             */\n            fontSize: '0.6em'\n        },\n        /**\n         * The text for the credits label.\n         *\n         * @productdesc {highmaps}\n         * If a map is loaded as GeoJSON, the text defaults to\n         * `Highcharts @ {map-credits}`. Otherwise, it defaults to\n         * `Highcharts.com`.\n         *\n         * @sample {highcharts} highcharts/credits/href/\n         *         Custom URL and text\n         * @sample {highmaps} maps/credits/customized/\n         *         Custom URL and text\n         */\n        text: 'Highcharts.com'\n    }\n};\nconst defaultTime = new Core_Time(defaultOptions.time);\n/**\n * Get the updated default options. Until 3.0.7, merely exposing defaultOptions\n * for outside modules wasn't enough because the setOptions method created a new\n * object.\n *\n * @function Highcharts.getOptions\n *\n * @return {Highcharts.Options}\n * Default options.\n */\nfunction getOptions() {\n    return defaultOptions;\n}\n/**\n * Merge the default options with custom options and return the new options\n * structure. Commonly used for defining reusable templates.\n *\n * @sample highcharts/members/setoptions Applying a global theme\n *\n * @function Highcharts.setOptions\n *\n * @param {Highcharts.Options} options\n * The new custom chart options.\n *\n * @return {Highcharts.Options}\n * Updated options.\n */\nfunction setOptions(options) {\n    Defaults_fireEvent(Core_Globals, 'setOptions', { options });\n    // Copy in the default options\n    Defaults_merge(true, defaultOptions, options);\n    // Update the time object\n    if (options.time) {\n        defaultTime.update(defaultOptions.time);\n    }\n    if (options.lang && 'locale' in options.lang) {\n        defaultTime.update({\n            locale: options.lang.locale\n        });\n    }\n    return defaultOptions;\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst DefaultOptions = {\n    defaultOptions,\n    defaultTime,\n    getOptions,\n    setOptions\n};\n/* harmony default export */ const Defaults = (DefaultOptions);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @typedef {\"plotBox\"|\"spacingBox\"} Highcharts.ButtonRelativeToValue\n */\n/**\n * Gets fired when a series is added to the chart after load time, using the\n * `addSeries` method. Returning `false` prevents the series from being added.\n *\n * @callback Highcharts.ChartAddSeriesCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {Highcharts.ChartAddSeriesEventObject} event\n *        The event that occurred.\n */\n/**\n * Contains common event information. Through the `options` property you can\n * access the series options that were passed to the `addSeries` method.\n *\n * @interface Highcharts.ChartAddSeriesEventObject\n */ /**\n* The series options that were passed to the `addSeries` method.\n* @name Highcharts.ChartAddSeriesEventObject#options\n* @type {Highcharts.SeriesOptionsType}\n*/ /**\n* Prevents the default behaviour of the event.\n* @name Highcharts.ChartAddSeriesEventObject#preventDefault\n* @type {Function}\n*/ /**\n* The event target.\n* @name Highcharts.ChartAddSeriesEventObject#target\n* @type {Highcharts.Chart}\n*/ /**\n* The event type.\n* @name Highcharts.ChartAddSeriesEventObject#type\n* @type {\"addSeries\"}\n*/\n/**\n * Gets fired when clicking on the plot background.\n *\n * @callback Highcharts.ChartClickCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {Highcharts.PointerEventObject} event\n *        The event that occurred.\n */\n/**\n * Contains an axes of the clicked spot.\n *\n * @interface Highcharts.ChartClickEventAxisObject\n */ /**\n* Axis at the clicked spot.\n* @name Highcharts.ChartClickEventAxisObject#axis\n* @type {Highcharts.Axis}\n*/ /**\n* Axis value at the clicked spot.\n* @name Highcharts.ChartClickEventAxisObject#value\n* @type {number}\n*/\n/**\n * Contains information about the clicked spot on the chart. Remember the unit\n * of a datetime axis is milliseconds since 1970-01-01 00:00:00.\n *\n * @interface Highcharts.ChartClickEventObject\n * @extends Highcharts.PointerEventObject\n */ /**\n* Information about the x-axis on the clicked spot.\n* @name Highcharts.ChartClickEventObject#xAxis\n* @type {Array<Highcharts.ChartClickEventAxisObject>}\n*/ /**\n* Information about the y-axis on the clicked spot.\n* @name Highcharts.ChartClickEventObject#yAxis\n* @type {Array<Highcharts.ChartClickEventAxisObject>}\n*/ /**\n* Information about the z-axis on the clicked spot.\n* @name Highcharts.ChartClickEventObject#zAxis\n* @type {Array<Highcharts.ChartClickEventAxisObject>|undefined}\n*/\n/**\n * Gets fired when the chart is finished loading.\n *\n * @callback Highcharts.ChartLoadCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Fires when the chart is redrawn, either after a call to `chart.redraw()` or\n * after an axis, series or point is modified with the `redraw` option set to\n * `true`.\n *\n * @callback Highcharts.ChartRedrawCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Gets fired after initial load of the chart (directly after the `load` event),\n * and after each redraw (directly after the `redraw` event).\n *\n * @callback Highcharts.ChartRenderCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Gets fired when an area of the chart has been selected. The default action\n * for the selection event is to zoom the chart to the selected area. It can be\n * prevented by calling `event.preventDefault()` or return false.\n *\n * @callback Highcharts.ChartSelectionCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {Highcharts.SelectEventObject} event\n *        Event informations\n *\n * @return {boolean|undefined}\n *         Return false to prevent the default action, usually zoom.\n */\n(''); // Detach doclets above\n\n;// ./code/es-modules/Core/Color/Color.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { isNumber: Color_isNumber, merge: Color_merge, pInt: Color_pInt, defined: Color_defined } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/* eslint-disable valid-jsdoc */\n/**\n * Handle color operations. Some object methods are chainable.\n *\n * @class\n * @name Highcharts.Color\n *\n * @param {Highcharts.ColorType} input\n * The input color in either rgba or hex format\n */\nclass Color {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * Creates a color instance out of a color string or object.\n     *\n     * @function Highcharts.Color.parse\n     *\n     * @param {Highcharts.ColorType} [input]\n     * The input color in either rgba or hex format.\n     *\n     * @return {Highcharts.Color}\n     * Color instance.\n     */\n    static parse(input) {\n        return input ? new Color(input) : Color.None;\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(input) {\n        this.rgba = [NaN, NaN, NaN, NaN];\n        this.input = input;\n        const GlobalColor = Core_Globals.Color;\n        // Backwards compatibility, allow class overwrite\n        if (GlobalColor && GlobalColor !== Color) {\n            return new GlobalColor(input);\n        }\n        let result, rgba, i, parser;\n        // Gradients\n        if (typeof input === 'object' &&\n            typeof input.stops !== 'undefined') {\n            this.stops = input.stops.map((stop) => new Color(stop[1]));\n            // Solid colors\n        }\n        else if (typeof input === 'string') {\n            this.input = input = (Color.names[input.toLowerCase()] || input);\n            i = Color.parsers.length;\n            while (i-- && !rgba) {\n                parser = Color.parsers[i];\n                result = parser.regex.exec(input);\n                if (result) {\n                    rgba = parser.parse(result);\n                }\n            }\n        }\n        if (rgba) {\n            this.rgba = rgba;\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Return the color or gradient stops in the specified format\n     *\n     * @function Highcharts.Color#get\n     *\n     * @param {string} [format]\n     * Possible values are 'a', 'rgb', 'rgba' (default).\n     *\n     * @return {Highcharts.ColorType}\n     * This color as a string or gradient stops.\n     */\n    get(format) {\n        const input = this.input, rgba = this.rgba;\n        if (typeof input === 'object' &&\n            typeof this.stops !== 'undefined') {\n            const ret = Color_merge(input);\n            ret.stops = [].slice.call(ret.stops);\n            this.stops.forEach((stop, i) => {\n                ret.stops[i] = [\n                    ret.stops[i][0],\n                    stop.get(format)\n                ];\n            });\n            return ret;\n        }\n        // It's NaN if gradient colors on a column chart\n        if (rgba && Color_isNumber(rgba[0])) {\n            if (format === 'rgb' || (!format && rgba[3] === 1)) {\n                return 'rgb(' + rgba[0] + ',' + rgba[1] + ',' + rgba[2] + ')';\n            }\n            if (format === 'a') {\n                return `${rgba[3]}`;\n            }\n            return 'rgba(' + rgba.join(',') + ')';\n        }\n        return input;\n    }\n    /**\n     * Brighten the color instance.\n     *\n     * @function Highcharts.Color#brighten\n     *\n     * @param {number} alpha\n     * The alpha value.\n     *\n     * @return {Highcharts.Color}\n     * This color with modifications.\n     */\n    brighten(alpha) {\n        const rgba = this.rgba;\n        if (this.stops) {\n            this.stops.forEach(function (stop) {\n                stop.brighten(alpha);\n            });\n        }\n        else if (Color_isNumber(alpha) && alpha !== 0) {\n            for (let i = 0; i < 3; i++) {\n                rgba[i] += Color_pInt(alpha * 255);\n                if (rgba[i] < 0) {\n                    rgba[i] = 0;\n                }\n                if (rgba[i] > 255) {\n                    rgba[i] = 255;\n                }\n            }\n        }\n        return this;\n    }\n    /**\n     * Set the color's opacity to a given alpha value.\n     *\n     * @function Highcharts.Color#setOpacity\n     *\n     * @param {number} alpha\n     *        Opacity between 0 and 1.\n     *\n     * @return {Highcharts.Color}\n     *         Color with modifications.\n     */\n    setOpacity(alpha) {\n        this.rgba[3] = alpha;\n        return this;\n    }\n    /**\n     * Return an intermediate color between two colors.\n     *\n     * @function Highcharts.Color#tweenTo\n     *\n     * @param {Highcharts.Color} to\n     * The color object to tween to.\n     *\n     * @param {number} pos\n     * The intermediate position, where 0 is the from color (current color\n     * item), and 1 is the `to` color.\n     *\n     * @return {Highcharts.ColorType}\n     * The intermediate color in rgba notation, or unsupported type.\n     */\n    tweenTo(to, pos) {\n        const fromRgba = this.rgba, toRgba = to.rgba;\n        // Unsupported color, return to-color (#3920, #7034)\n        if (!Color_isNumber(fromRgba[0]) || !Color_isNumber(toRgba[0])) {\n            return to.input || 'none';\n        }\n        // Check for has alpha, because rgba colors perform worse due to\n        // lack of support in WebKit.\n        const hasAlpha = (toRgba[3] !== 1 || fromRgba[3] !== 1), channel = (to, i) => to + (fromRgba[i] - to) * (1 - pos), rgba = toRgba.slice(0, 3).map(channel).map(Math.round);\n        if (hasAlpha) {\n            rgba.push(channel(toRgba[3], 3));\n        }\n        return (hasAlpha ? 'rgba(' : 'rgb(') + rgba.join(',') + ')';\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\n/**\n * Collection of named colors. Can be extended from the outside by adding\n * colors to Highcharts.Color.names.\n * @private\n */\nColor.names = {\n    white: '#ffffff',\n    black: '#000000'\n};\n/**\n * Collection of parsers. This can be extended from the outside by pushing\n * parsers to `Color.parsers`.\n * @private\n */\nColor.parsers = [{\n        // RGBA color\n        // eslint-disable-next-line max-len\n        regex: /rgba\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d?(?:\\.\\d+)?)\\s*\\)/,\n        parse: function (result) {\n            return [\n                Color_pInt(result[1]),\n                Color_pInt(result[2]),\n                Color_pInt(result[3]),\n                parseFloat(result[4], 10)\n            ];\n        }\n    }, {\n        // RGB color\n        regex: /rgb\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*\\)/,\n        parse: function (result) {\n            return [Color_pInt(result[1]), Color_pInt(result[2]), Color_pInt(result[3]), 1];\n        }\n    }, {\n        // RGBA 3 & 4 digit hex color, e.g. #F0F, #F0FA\n        regex: /^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,\n        parse: function (result) {\n            // #abcd => #aabbccdd, hence result + result.\n            return [\n                (Color_pInt(result[1] + result[1], 16)),\n                (Color_pInt(result[2] + result[2], 16)),\n                (Color_pInt(result[3] + result[3], 16)),\n                !Color_defined(result[4]) ?\n                    1 :\n                    (Color_pInt(result[4] + result[4], 16) / 255)\n            ];\n        }\n    }, {\n        // RGBA 6 & 8 digit hex color, e.g. #FFCC00, #FFCC00FF\n        regex: /^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,\n        parse: function (result) {\n            return [\n                Color_pInt(result[1], 16),\n                Color_pInt(result[2], 16),\n                Color_pInt(result[3], 16),\n                !Color_defined(result[4]) ?\n                    1 :\n                    (Color_pInt(result[4], 16) / 255)\n            ];\n        }\n    }];\n// Must be last static member for init cycle\nColor.None = new Color('');\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Color_Color = (Color);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * A valid color to be parsed and handled by Highcharts. Highcharts internally\n * supports hex colors like `#ffffff`, rgb colors like `rgb(255,255,255)` and\n * rgba colors like `rgba(255,255,255,1)`. Other colors may be supported by the\n * browsers and displayed correctly, but Highcharts is not able to process them\n * and apply concepts like opacity and brightening.\n *\n * @typedef {string} Highcharts.ColorString\n */\n/**\n * A valid color type than can be parsed and handled by Highcharts. It can be a\n * color string, a gradient object, or a pattern object.\n *\n * @typedef {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject} Highcharts.ColorType\n */\n/**\n * Gradient options instead of a solid color.\n *\n * @example\n * // Linear gradient used as a color option\n * color: {\n *     linearGradient: { x1: 0, x2: 0, y1: 0, y2: 1 },\n *     stops: [\n *         [0, '#003399'], // start\n *         [0.5, '#ffffff'], // middle\n *         [1, '#3366AA'] // end\n *     ]\n * }\n *\n * @interface Highcharts.GradientColorObject\n */ /**\n* Holds an object that defines the start position and the end position relative\n* to the shape.\n* @name Highcharts.GradientColorObject#linearGradient\n* @type {Highcharts.LinearGradientColorObject|undefined}\n*/ /**\n* Holds an object that defines the center position and the radius.\n* @name Highcharts.GradientColorObject#radialGradient\n* @type {Highcharts.RadialGradientColorObject|undefined}\n*/ /**\n* The first item in each tuple is the position in the gradient, where 0 is the\n* start of the gradient and 1 is the end of the gradient. Multiple stops can be\n* applied. The second item is the color for each stop. This color can also be\n* given in the rgba format.\n* @name Highcharts.GradientColorObject#stops\n* @type {Array<Highcharts.GradientColorStopObject>}\n*/\n/**\n * Color stop tuple.\n *\n * @see Highcharts.GradientColorObject\n *\n * @interface Highcharts.GradientColorStopObject\n */ /**\n* @name Highcharts.GradientColorStopObject#0\n* @type {number}\n*/ /**\n* @name Highcharts.GradientColorStopObject#1\n* @type {Highcharts.ColorString}\n*/ /**\n* @name Highcharts.GradientColorStopObject#color\n* @type {Highcharts.Color|undefined}\n*/\n/**\n * Defines the start position and the end position for a gradient relative\n * to the shape. Start position (x1, y1) and end position (x2, y2) are relative\n * to the shape, where 0 means top/left and 1 is bottom/right.\n *\n * @interface Highcharts.LinearGradientColorObject\n */ /**\n* Start horizontal position of the gradient. Float ranges 0-1.\n* @name Highcharts.LinearGradientColorObject#x1\n* @type {number}\n*/ /**\n* End horizontal position of the gradient. Float ranges 0-1.\n* @name Highcharts.LinearGradientColorObject#x2\n* @type {number}\n*/ /**\n* Start vertical position of the gradient. Float ranges 0-1.\n* @name Highcharts.LinearGradientColorObject#y1\n* @type {number}\n*/ /**\n* End vertical position of the gradient. Float ranges 0-1.\n* @name Highcharts.LinearGradientColorObject#y2\n* @type {number}\n*/\n/**\n * Defines the center position and the radius for a gradient.\n *\n * @interface Highcharts.RadialGradientColorObject\n */ /**\n* Center horizontal position relative to the shape. Float ranges 0-1.\n* @name Highcharts.RadialGradientColorObject#cx\n* @type {number}\n*/ /**\n* Center vertical position relative to the shape. Float ranges 0-1.\n* @name Highcharts.RadialGradientColorObject#cy\n* @type {number}\n*/ /**\n* Radius relative to the shape. Float ranges 0-1.\n* @name Highcharts.RadialGradientColorObject#r\n* @type {number}\n*/\n/**\n * Creates a color instance out of a color string.\n *\n * @function Highcharts.color\n *\n * @param {Highcharts.ColorType} input\n *        The input color in either rgba or hex format\n *\n * @return {Highcharts.Color}\n *         Color instance\n */\n(''); // Detach doclets above\n\n;// ./code/es-modules/Core/Animation/Fx.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: color } = Color_Color;\n\nconst { win: Fx_win } = Core_Globals;\n\nconst { isNumber: Fx_isNumber, objectEach: Fx_objectEach } = Core_Utilities;\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/* *\n *\n *  Class\n *\n * */\n/**\n * An animator object used internally. One instance applies to one property\n * (attribute or style prop) on one element. Animation is always initiated\n * through {@link SVGElement#animate}.\n *\n * @example\n * let rect = renderer.rect(0, 0, 10, 10).add();\n * rect.animate({ width: 100 });\n *\n * @private\n * @class\n * @name Highcharts.Fx\n *\n * @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} elem\n * The element to animate.\n *\n * @param {Partial<Highcharts.AnimationOptionsObject>} options\n * Animation options.\n *\n * @param {string} prop\n * The single attribute or CSS property to animate.\n */\nclass Fx {\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(elem, options, prop) {\n        this.pos = NaN;\n        this.options = options;\n        this.elem = elem;\n        this.prop = prop;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Set the current step of a path definition on SVGElement.\n     *\n     * @function Highcharts.Fx#dSetter\n     *\n     */\n    dSetter() {\n        const paths = this.paths, start = paths && paths[0], end = paths && paths[1], now = this.now || 0;\n        let path = [];\n        // Land on the final path without adjustment points appended in the ends\n        if (now === 1 || !start || !end) {\n            path = this.toD || [];\n        }\n        else if (start.length === end.length && now < 1) {\n            for (let i = 0; i < end.length; i++) {\n                // Tween between the start segment and the end segment. Start\n                // with a copy of the end segment and tween the appropriate\n                // numerics\n                const startSeg = start[i];\n                const endSeg = end[i];\n                const tweenSeg = [];\n                for (let j = 0; j < endSeg.length; j++) {\n                    const startItem = startSeg[j];\n                    const endItem = endSeg[j];\n                    // Tween numbers\n                    if (Fx_isNumber(startItem) &&\n                        Fx_isNumber(endItem) &&\n                        // Arc boolean flags\n                        !(endSeg[0] === 'A' && (j === 4 || j === 5))) {\n                        tweenSeg[j] = startItem + now * (endItem - startItem);\n                        // Strings, take directly from the end segment\n                    }\n                    else {\n                        tweenSeg[j] = endItem;\n                    }\n                }\n                path.push(tweenSeg);\n            }\n            // If animation is finished or length not matching, land on right value\n        }\n        else {\n            path = end;\n        }\n        this.elem.attr('d', path, void 0, true);\n    }\n    /**\n     * Update the element with the current animation step.\n     *\n     * @function Highcharts.Fx#update\n     *\n     */\n    update() {\n        const elem = this.elem, prop = this.prop, // If destroyed, it is null\n        now = this.now, step = this.options.step;\n        // Animation setter defined from outside\n        if (this[prop + 'Setter']) {\n            this[prop + 'Setter']();\n            // Other animations on SVGElement\n        }\n        else if (elem.attr) {\n            if (elem.element) {\n                elem.attr(prop, now, null, true);\n            }\n            // HTML styles, raw HTML content like container size\n        }\n        else {\n            elem.style[prop] = now + this.unit;\n        }\n        if (step) {\n            step.call(elem, now, this);\n        }\n    }\n    /**\n     * Run an animation.\n     *\n     * @function Highcharts.Fx#run\n     *\n     * @param {number} from\n     *        The current value, value to start from.\n     *\n     * @param {number} to\n     *        The end value, value to land on.\n     *\n     * @param {string} unit\n     *        The property unit, for example `px`.\n     *\n     */\n    run(from, to, unit) {\n        const self = this, options = self.options, timer = function (gotoEnd) {\n            return timer.stopped ? false : self.step(gotoEnd);\n        }, requestAnimationFrame = Fx_win.requestAnimationFrame ||\n            function (step) {\n                setTimeout(step, 13);\n            }, step = function () {\n            for (let i = 0; i < Fx.timers.length; i++) {\n                if (!Fx.timers[i]()) {\n                    Fx.timers.splice(i--, 1);\n                }\n            }\n            if (Fx.timers.length) {\n                requestAnimationFrame(step);\n            }\n        };\n        if (from === to && !this.elem['forceAnimate:' + this.prop]) {\n            delete options.curAnim[this.prop];\n            if (options.complete &&\n                Object.keys(options.curAnim).length === 0) {\n                options.complete.call(this.elem);\n            }\n        }\n        else { // #7166\n            this.startTime = +new Date();\n            this.start = from;\n            this.end = to;\n            this.unit = unit;\n            this.now = this.start;\n            this.pos = 0;\n            timer.elem = this.elem;\n            timer.prop = this.prop;\n            if (timer() && Fx.timers.push(timer) === 1) {\n                requestAnimationFrame(step);\n            }\n        }\n    }\n    /**\n     * Run a single step in the animation.\n     *\n     * @function Highcharts.Fx#step\n     *\n     * @param {boolean} [gotoEnd]\n     *        Whether to go to the endpoint of the animation after abort.\n     *\n     * @return {boolean}\n     *         Returns `true` if animation continues.\n     */\n    step(gotoEnd) {\n        const t = +new Date(), options = this.options, elem = this.elem, complete = options.complete, duration = options.duration, curAnim = options.curAnim;\n        let ret, done;\n        if (!!elem.attr && !elem.element) { // #2616, element is destroyed\n            ret = false;\n        }\n        else if (gotoEnd || t >= duration + this.startTime) {\n            this.now = this.end;\n            this.pos = 1;\n            this.update();\n            curAnim[this.prop] = true;\n            done = true;\n            Fx_objectEach(curAnim, function (val) {\n                if (val !== true) {\n                    done = false;\n                }\n            });\n            if (done && complete) {\n                complete.call(elem);\n            }\n            ret = false;\n        }\n        else {\n            this.pos = options.easing((t - this.startTime) / duration);\n            this.now = this.start + ((this.end -\n                this.start) * this.pos);\n            this.update();\n            ret = true;\n        }\n        return ret;\n    }\n    /**\n     * Prepare start and end values so that the path can be animated one to one.\n     *\n     * @function Highcharts.Fx#initPath\n     *\n     * @param {Highcharts.SVGElement} elem\n     *        The SVGElement item.\n     *\n     * @param {Highcharts.SVGPathArray|undefined} fromD\n     *        Starting path definition.\n     *\n     * @param {Highcharts.SVGPathArray} toD\n     *        Ending path definition.\n     *\n     * @return {Array<Highcharts.SVGPathArray,Highcharts.SVGPathArray>}\n     *         An array containing start and end paths in array form so that\n     *         they can be animated in parallel.\n     */\n    initPath(elem, fromD, toD) {\n        const startX = elem.startX, endX = elem.endX, end = toD.slice(), // Copy\n        isArea = elem.isArea, positionFactor = isArea ? 2 : 1, disableAnimation = fromD &&\n            toD.length > fromD.length &&\n            toD.hasStackedCliffs; // #16925\n        let shift, fullLength, i, reverse, start = fromD && fromD.slice(); // Copy\n        if (!start || disableAnimation) {\n            return [end, end];\n        }\n        /**\n         * If shifting points, prepend a dummy point to the end path.\n         * @private\n         */\n        function prepend(arr, other) {\n            while (arr.length < fullLength) {\n                // Move to, line to or curve to?\n                const moveSegment = arr[0], otherSegment = other[fullLength - arr.length];\n                if (otherSegment && moveSegment[0] === 'M') {\n                    if (otherSegment[0] === 'C') {\n                        arr[0] = [\n                            'C',\n                            moveSegment[1],\n                            moveSegment[2],\n                            moveSegment[1],\n                            moveSegment[2],\n                            moveSegment[1],\n                            moveSegment[2]\n                        ];\n                    }\n                    else {\n                        arr[0] = ['L', moveSegment[1], moveSegment[2]];\n                    }\n                }\n                // Prepend a copy of the first point\n                arr.unshift(moveSegment);\n                // For areas, the bottom path goes back again to the left, so we\n                // need to append a copy of the last point.\n                if (isArea) {\n                    const z = arr.pop();\n                    arr.push(arr[arr.length - 1], z); // Append point and the Z\n                }\n            }\n        }\n        /**\n         * Copy and append last point until the length matches the end length.\n         * @private\n         */\n        function append(arr) {\n            while (arr.length < fullLength) {\n                // Pull out the slice that is going to be appended or inserted.\n                // In a line graph, the positionFactor is 1, and the last point\n                // is sliced out. In an area graph, the positionFactor is 2,\n                // causing the middle two points to be sliced out, since an area\n                // path starts at left, follows the upper path then turns and\n                // follows the bottom back.\n                const segmentToAdd = arr[Math.floor(arr.length / positionFactor) - 1].slice();\n                // Disable the first control point of curve segments\n                if (segmentToAdd[0] === 'C') {\n                    segmentToAdd[1] = segmentToAdd[5];\n                    segmentToAdd[2] = segmentToAdd[6];\n                }\n                if (!isArea) {\n                    arr.push(segmentToAdd);\n                }\n                else {\n                    const lowerSegmentToAdd = arr[Math.floor(arr.length / positionFactor)].slice();\n                    arr.splice(arr.length / 2, 0, segmentToAdd, lowerSegmentToAdd);\n                }\n            }\n        }\n        // For sideways animation, find out how much we need to shift to get the\n        // start path Xs to match the end path Xs.\n        if (startX && endX && endX.length) {\n            for (i = 0; i < startX.length; i++) {\n                // Moving left, new points coming in on right\n                if (startX[i] === endX[0]) {\n                    shift = i;\n                    break;\n                    // Moving right\n                }\n                else if (startX[0] ===\n                    endX[endX.length - startX.length + i]) {\n                    shift = i;\n                    reverse = true;\n                    break;\n                    // Fixed from the right side, \"scaling\" left\n                }\n                else if (startX[startX.length - 1] ===\n                    endX[endX.length - startX.length + i]) {\n                    shift = startX.length - i;\n                    break;\n                }\n            }\n            if (typeof shift === 'undefined') {\n                start = [];\n            }\n        }\n        if (start.length && Fx_isNumber(shift)) {\n            // The common target length for the start and end array, where both\n            // arrays are padded in opposite ends\n            fullLength = end.length + shift * positionFactor;\n            if (!reverse) {\n                prepend(end, start);\n                append(start);\n            }\n            else {\n                prepend(start, end);\n                append(end);\n            }\n        }\n        return [start, end];\n    }\n    /**\n     * Handle animation of the color attributes directly.\n     *\n     * @function Highcharts.Fx#fillSetter\n     *\n     */\n    fillSetter() {\n        Fx.prototype.strokeSetter.apply(this, arguments);\n    }\n    /**\n     * Handle animation of the color attributes directly.\n     *\n     * @function Highcharts.Fx#strokeSetter\n     *\n     */\n    strokeSetter() {\n        this.elem.attr(this.prop, color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nFx.timers = [];\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Animation_Fx = (Fx);\n\n;// ./code/es-modules/Core/Animation/AnimationUtilities.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { defined: AnimationUtilities_defined, getStyle: AnimationUtilities_getStyle, isArray: AnimationUtilities_isArray, isNumber: AnimationUtilities_isNumber, isObject: AnimationUtilities_isObject, merge: AnimationUtilities_merge, objectEach: AnimationUtilities_objectEach, pick: AnimationUtilities_pick } = Core_Utilities;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Set the global animation to either a given value, or fall back to the given\n * chart's animation option.\n *\n * @function Highcharts.setAnimation\n *\n * @param {boolean|Partial<Highcharts.AnimationOptionsObject>|undefined} animation\n *        The animation object.\n *\n * @param {Highcharts.Chart} chart\n *        The chart instance.\n *\n * @todo\n * This function always relates to a chart, and sets a property on the renderer,\n * so it should be moved to the SVGRenderer.\n */\nfunction setAnimation(animation, chart) {\n    chart.renderer.globalAnimation = AnimationUtilities_pick(animation, chart.options.chart.animation, true);\n}\n/**\n * Get the animation in object form, where a disabled animation is always\n * returned as `{ duration: 0 }`.\n *\n * @function Highcharts.animObject\n *\n * @param {boolean|Highcharts.AnimationOptionsObject} [animation=0]\n *        An animation setting. Can be an object with duration, complete and\n *        easing properties, or a boolean to enable or disable.\n *\n * @return {Highcharts.AnimationOptionsObject}\n *         An object with at least a duration property.\n */\nfunction animObject(animation) {\n    return AnimationUtilities_isObject(animation) ?\n        AnimationUtilities_merge({ duration: 500, defer: 0 }, animation) :\n        { duration: animation ? 500 : 0, defer: 0 };\n}\n/**\n * Get the defer as a number value from series animation options.\n *\n * @function Highcharts.getDeferredAnimation\n *\n * @param {Highcharts.Chart} chart\n *        The chart instance.\n *\n * @param {boolean|Highcharts.AnimationOptionsObject} animation\n *        An animation setting. Can be an object with duration, complete and\n *        easing properties, or a boolean to enable or disable.\n *\n * @param {Highcharts.Series} [series]\n *        Series to defer animation.\n *\n * @return {number}\n *        The numeric value.\n */\nfunction getDeferredAnimation(chart, animation, series) {\n    const labelAnimation = animObject(animation), s = series ? [series] : chart.series;\n    let defer = 0, duration = 0;\n    s.forEach((series) => {\n        const seriesAnim = animObject(series.options.animation);\n        defer = AnimationUtilities_isObject(animation) && AnimationUtilities_defined(animation.defer) ?\n            labelAnimation.defer :\n            Math.max(defer, seriesAnim.duration + seriesAnim.defer);\n        duration = Math.min(labelAnimation.duration, seriesAnim.duration);\n    });\n    // Disable defer for exporting\n    if (chart.renderer.forExport) {\n        defer = 0;\n    }\n    const anim = {\n        defer: Math.max(0, defer - duration),\n        duration: Math.min(defer, duration)\n    };\n    return anim;\n}\n/**\n * The global animate method, which uses Fx to create individual animators.\n *\n * @function Highcharts.animate\n *\n * @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} el\n *        The element to animate.\n *\n * @param {Highcharts.CSSObject|Highcharts.SVGAttributes} params\n *        An object containing key-value pairs of the properties to animate.\n *        Supports numeric as pixel-based CSS properties for HTML objects and\n *        attributes for SVGElements.\n *\n * @param {Partial<Highcharts.AnimationOptionsObject>} [opt]\n *        Animation options.\n *\n * @return {void}\n */\nfunction animate(el, params, opt) {\n    let start, unit = '', end, fx, args;\n    if (!AnimationUtilities_isObject(opt)) { // Number or undefined/null\n        args = arguments;\n        opt = {\n            duration: args[2],\n            easing: args[3],\n            complete: args[4]\n        };\n    }\n    if (!AnimationUtilities_isNumber(opt.duration)) {\n        opt.duration = 400;\n    }\n    opt.easing = typeof opt.easing === 'function' ?\n        opt.easing :\n        (Math[opt.easing] || Math.easeInOutSine);\n    opt.curAnim = AnimationUtilities_merge(params);\n    AnimationUtilities_objectEach(params, function (val, prop) {\n        // Stop current running animation of this property\n        stop(el, prop);\n        fx = new Animation_Fx(el, opt, prop);\n        end = void 0;\n        if (prop === 'd' && AnimationUtilities_isArray(params.d)) {\n            fx.paths = fx.initPath(el, el.pathArray, params.d);\n            fx.toD = params.d;\n            start = 0;\n            end = 1;\n        }\n        else if (el.attr) {\n            start = el.attr(prop);\n        }\n        else {\n            start = parseFloat(AnimationUtilities_getStyle(el, prop)) || 0;\n            if (prop !== 'opacity') {\n                unit = 'px';\n            }\n        }\n        if (!end) {\n            end = val;\n        }\n        if (typeof end === 'string' && end.match('px')) {\n            end = end.replace(/px/g, ''); // #4351\n        }\n        fx.run(start, end, unit);\n    });\n}\n/**\n * Stop running animation.\n *\n * @function Highcharts.stop\n *\n * @param {Highcharts.SVGElement} el\n *        The SVGElement to stop animation on.\n *\n * @param {string} [prop]\n *        The property to stop animating. If given, the stop method will stop a\n *        single property from animating, while others continue.\n *\n * @return {void}\n *\n * @todo\n * A possible extension to this would be to stop a single property, when\n * we want to continue animating others. Then assign the prop to the timer\n * in the Fx.run method, and check for the prop here. This would be an\n * improvement in all cases where we stop the animation from .attr. Instead of\n * stopping everything, we can just stop the actual attributes we're setting.\n */\nfunction stop(el, prop) {\n    let i = Animation_Fx.timers.length;\n    // Remove timers related to this element (#4519)\n    while (i--) {\n        if (Animation_Fx.timers[i].elem === el && (!prop || prop === Animation_Fx.timers[i].prop)) {\n            Animation_Fx.timers[i].stopped = true; // #4667\n        }\n    }\n}\nconst animationExports = {\n    animate,\n    animObject,\n    getDeferredAnimation,\n    setAnimation,\n    stop\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const AnimationUtilities = (animationExports);\n\n;// ./code/es-modules/Core/Renderer/HTML/AST.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { SVG_NS, win: AST_win } = Core_Globals;\n\nconst { attr: AST_attr, createElement: AST_createElement, css: AST_css, error: AST_error, isFunction: AST_isFunction, isString: AST_isString, objectEach: AST_objectEach, splat: AST_splat } = Core_Utilities;\nconst { trustedTypes } = AST_win;\n/* *\n *\n *  Constants\n *\n * */\n// Create the trusted type policy. This should not be exposed.\nconst trustedTypesPolicy = (trustedTypes &&\n    AST_isFunction(trustedTypes.createPolicy) &&\n    trustedTypes.createPolicy('highcharts', {\n        createHTML: (s) => s\n    }));\nconst emptyHTML = trustedTypesPolicy ?\n    trustedTypesPolicy.createHTML('') :\n    '';\n/* *\n *\n *  Class\n *\n * */\n/**\n * The AST class represents an abstract syntax tree of HTML or SVG content. It\n * can take HTML as an argument, parse it, optionally transform it to SVG, then\n * perform sanitation before inserting it into the DOM.\n *\n * @class\n * @name Highcharts.AST\n *\n * @param {string|Array<Highcharts.ASTNode>} source\n * Either an HTML string or an ASTNode list to populate the tree.\n */\nclass AST {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * Filter an object of SVG or HTML attributes against the allow list.\n     *\n     * @static\n     *\n     * @function Highcharts.AST#filterUserAttributes\n     *\n     * @param {Highcharts.SVGAttributes} attributes The attributes to filter\n     *\n     * @return {Highcharts.SVGAttributes}\n     * The filtered attributes\n     */\n    static filterUserAttributes(attributes) {\n        AST_objectEach(attributes, (val, key) => {\n            let valid = true;\n            if (AST.allowedAttributes.indexOf(key) === -1) {\n                valid = false;\n            }\n            if (['background', 'dynsrc', 'href', 'lowsrc', 'src']\n                .indexOf(key) !== -1) {\n                valid = AST_isString(val) && AST.allowedReferences.some((ref) => val.indexOf(ref) === 0);\n            }\n            if (!valid) {\n                AST_error(33, false, void 0, {\n                    'Invalid attribute in config': `${key}`\n                });\n                delete attributes[key];\n            }\n            // #17753, < is not allowed in SVG attributes\n            if (AST_isString(val) && attributes[key]) {\n                attributes[key] = val.replace(/</g, '&lt;');\n            }\n        });\n        return attributes;\n    }\n    static parseStyle(style) {\n        return style\n            .split(';')\n            .reduce((styles, line) => {\n            const pair = line.split(':').map((s) => s.trim()), key = pair.shift();\n            if (key && pair.length) {\n                styles[key.replace(/-([a-z])/g, (g) => g[1].toUpperCase())] = pair.join(':'); // #17146\n            }\n            return styles;\n        }, {});\n    }\n    /**\n     * Utility function to set html content for an element by passing in a\n     * markup string. The markup is safely parsed by the AST class to avoid\n     * XSS vulnerabilities. This function should be used instead of setting\n     * `innerHTML` in all cases where the content is not fully trusted.\n     *\n     * @static\n     * @function Highcharts.AST#setElementHTML\n     *\n     * @param {SVGDOMElement|HTMLDOMElement} el\n     * Node to set content of.\n     *\n     * @param {string} html\n     * Markup string\n     */\n    static setElementHTML(el, html) {\n        el.innerHTML = AST.emptyHTML; // Clear previous\n        if (html) {\n            const ast = new AST(html);\n            ast.addToDOM(el);\n        }\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    // Construct an AST from HTML markup, or wrap an array of existing AST nodes\n    constructor(source) {\n        this.nodes = typeof source === 'string' ?\n            this.parseMarkup(source) : source;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Add the tree defined as a hierarchical JS structure to the DOM\n     *\n     * @function Highcharts.AST#addToDOM\n     *\n     * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} parent\n     * The node where it should be added\n     *\n     * @return {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement}\n     * The inserted node.\n     */\n    addToDOM(parent) {\n        /**\n         * @private\n         * @param {Highcharts.ASTNode} subtree\n         * HTML/SVG definition\n         * @param {Element} [subParent]\n         * parent node\n         * @return {Highcharts.SVGDOMElement|Highcharts.HTMLDOMElement}\n         * The inserted node.\n         */\n        function recurse(subtree, subParent) {\n            let ret;\n            AST_splat(subtree).forEach(function (item) {\n                const tagName = item.tagName;\n                const textNode = item.textContent ?\n                    Core_Globals.doc.createTextNode(item.textContent) :\n                    void 0;\n                // Whether to ignore the AST filtering totally, #15345\n                const bypassHTMLFiltering = AST.bypassHTMLFiltering;\n                let node;\n                if (tagName) {\n                    if (tagName === '#text') {\n                        node = textNode;\n                    }\n                    else if (AST.allowedTags.indexOf(tagName) !== -1 ||\n                        bypassHTMLFiltering) {\n                        const NS = tagName === 'svg' ?\n                            SVG_NS :\n                            (subParent.namespaceURI || SVG_NS);\n                        const element = Core_Globals.doc.createElementNS(NS, tagName);\n                        const attributes = item.attributes || {};\n                        // Apply attributes from root of AST node, legacy from\n                        // from before TextBuilder\n                        AST_objectEach(item, function (val, key) {\n                            if (key !== 'tagName' &&\n                                key !== 'attributes' &&\n                                key !== 'children' &&\n                                key !== 'style' &&\n                                key !== 'textContent') {\n                                attributes[key] = val;\n                            }\n                        });\n                        AST_attr(element, bypassHTMLFiltering ?\n                            attributes :\n                            AST.filterUserAttributes(attributes));\n                        if (item.style) {\n                            AST_css(element, item.style);\n                        }\n                        // Add text content\n                        if (textNode) {\n                            element.appendChild(textNode);\n                        }\n                        // Recurse\n                        recurse(item.children || [], element);\n                        node = element;\n                    }\n                    else {\n                        AST_error(33, false, void 0, {\n                            'Invalid tagName in config': tagName\n                        });\n                    }\n                }\n                // Add to the tree\n                if (node) {\n                    subParent.appendChild(node);\n                }\n                ret = node;\n            });\n            // Return last node added (on top level it's the only one)\n            return ret;\n        }\n        return recurse(this.nodes, parent);\n    }\n    /**\n     * Parse HTML/SVG markup into AST Node objects. Used internally from the\n     * constructor.\n     *\n     * @private\n     *\n     * @function Highcharts.AST#getNodesFromMarkup\n     *\n     * @param {string} markup The markup string.\n     *\n     * @return {Array<Highcharts.ASTNode>} The parsed nodes.\n     */\n    parseMarkup(markup) {\n        const nodes = [];\n        markup = markup\n            .trim()\n            // The style attribute throws a warning when parsing when CSP is\n            // enabled (#6884), so use an alias and pick it up below\n            // Make all quotation marks parse correctly to DOM (#17627)\n            .replace(/ style=([\"'])/g, ' data-style=$1');\n        let doc;\n        try {\n            doc = new DOMParser().parseFromString(trustedTypesPolicy ?\n                trustedTypesPolicy.createHTML(markup) :\n                markup, 'text/html');\n        }\n        catch (e) {\n            // There are two cases where this fails:\n            // 1. IE9 and PhantomJS, where the DOMParser only supports parsing\n            //    XML\n            // 2. Due to a Chromium issue where chart redraws are triggered by\n            //    a `beforeprint` event (#16931),\n            //    https://issues.chromium.org/issues/40222135\n        }\n        if (!doc) {\n            const body = AST_createElement('div');\n            body.innerHTML = markup;\n            doc = { body };\n        }\n        const appendChildNodes = (node, addTo) => {\n            const tagName = node.nodeName.toLowerCase();\n            // Add allowed tags\n            const astNode = {\n                tagName\n            };\n            if (tagName === '#text') {\n                astNode.textContent = node.textContent || '';\n            }\n            const parsedAttributes = node.attributes;\n            // Add attributes\n            if (parsedAttributes) {\n                const attributes = {};\n                [].forEach.call(parsedAttributes, (attrib) => {\n                    if (attrib.name === 'data-style') {\n                        astNode.style = AST.parseStyle(attrib.value);\n                    }\n                    else {\n                        attributes[attrib.name] = attrib.value;\n                    }\n                });\n                astNode.attributes = attributes;\n            }\n            // Handle children\n            if (node.childNodes.length) {\n                const children = [];\n                [].forEach.call(node.childNodes, (childNode) => {\n                    appendChildNodes(childNode, children);\n                });\n                if (children.length) {\n                    astNode.children = children;\n                }\n            }\n            addTo.push(astNode);\n        };\n        [].forEach.call(doc.body.childNodes, (childNode) => appendChildNodes(childNode, nodes));\n        return nodes;\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\n/**\n * The list of allowed SVG or HTML attributes, used for sanitizing\n * potentially harmful content from the chart configuration before adding to\n * the DOM.\n *\n * @see [Source code with default values](\n * https://github.com/highcharts/highcharts/blob/master/ts/Core/Renderer/HTML/AST.ts#:~:text=public%20static%20allowedAttributes)\n *\n * @example\n * // Allow a custom, trusted attribute\n * Highcharts.AST.allowedAttributes.push('data-value');\n *\n * @name Highcharts.AST.allowedAttributes\n * @type {Array<string>}\n */\nAST.allowedAttributes = [\n    'alt',\n    'aria-controls',\n    'aria-describedby',\n    'aria-expanded',\n    'aria-haspopup',\n    'aria-hidden',\n    'aria-label',\n    'aria-labelledby',\n    'aria-live',\n    'aria-pressed',\n    'aria-readonly',\n    'aria-roledescription',\n    'aria-selected',\n    'class',\n    'clip-path',\n    'color',\n    'colspan',\n    'cx',\n    'cy',\n    'd',\n    'dx',\n    'dy',\n    'disabled',\n    'fill',\n    'filterUnits',\n    'flood-color',\n    'flood-opacity',\n    'height',\n    'href',\n    'id',\n    'in',\n    'in2',\n    'markerHeight',\n    'markerWidth',\n    'offset',\n    'opacity',\n    'operator',\n    'orient',\n    'padding',\n    'paddingLeft',\n    'paddingRight',\n    'patternUnits',\n    'r',\n    'radius',\n    'refX',\n    'refY',\n    'role',\n    'scope',\n    'slope',\n    'src',\n    'startOffset',\n    'stdDeviation',\n    'stroke',\n    'stroke-linecap',\n    'stroke-width',\n    'style',\n    'tableValues',\n    'result',\n    'rowspan',\n    'summary',\n    'target',\n    'tabindex',\n    'text-align',\n    'text-anchor',\n    'textAnchor',\n    'textLength',\n    'title',\n    'type',\n    'valign',\n    'width',\n    'x',\n    'x1',\n    'x2',\n    'xlink:href',\n    'y',\n    'y1',\n    'y2',\n    'zIndex'\n];\n/**\n * The list of allowed references for referring attributes like `href` and\n * `src`. Attribute values will only be allowed if they start with one of\n * these strings.\n *\n * @see [Source code with default values](\n * https://github.com/highcharts/highcharts/blob/master/ts/Core/Renderer/HTML/AST.ts#:~:text=public%20static%20allowedReferences)\n *\n * @example\n * // Allow tel:\n * Highcharts.AST.allowedReferences.push('tel:');\n *\n * @name    Highcharts.AST.allowedReferences\n * @type    {Array<string>}\n */\nAST.allowedReferences = [\n    'https://',\n    'http://',\n    'mailto:',\n    '/',\n    '../',\n    './',\n    '#'\n];\n/**\n * The list of allowed SVG or HTML tags, used for sanitizing potentially\n * harmful content from the chart configuration before adding to the DOM.\n *\n * @see [Source code with default values](\n * https://github.com/highcharts/highcharts/blob/master/ts/Core/Renderer/HTML/AST.ts#:~:text=public%20static%20allowedTags)\n *\n * @example\n * // Allow a custom, trusted tag\n * Highcharts.AST.allowedTags.push('blink'); // ;)\n *\n * @name    Highcharts.AST.allowedTags\n * @type    {Array<string>}\n */\nAST.allowedTags = [\n    'a',\n    'abbr',\n    'b',\n    'br',\n    'button',\n    'caption',\n    'circle',\n    'clipPath',\n    'code',\n    'dd',\n    'defs',\n    'div',\n    'dl',\n    'dt',\n    'em',\n    'feComponentTransfer',\n    'feComposite',\n    'feDropShadow',\n    'feFlood',\n    'feFuncA',\n    'feFuncB',\n    'feFuncG',\n    'feFuncR',\n    'feGaussianBlur',\n    'feMorphology',\n    'feOffset',\n    'feMerge',\n    'feMergeNode',\n    'filter',\n    'h1',\n    'h2',\n    'h3',\n    'h4',\n    'h5',\n    'h6',\n    'hr',\n    'i',\n    'img',\n    'li',\n    'linearGradient',\n    'marker',\n    'ol',\n    'p',\n    'path',\n    'pattern',\n    'pre',\n    'rect',\n    'small',\n    'span',\n    'stop',\n    'strong',\n    'style',\n    'sub',\n    'sup',\n    'svg',\n    'table',\n    'text',\n    'textPath',\n    'thead',\n    'title',\n    'tbody',\n    'tspan',\n    'td',\n    'th',\n    'tr',\n    'u',\n    'ul',\n    '#text'\n];\nAST.emptyHTML = emptyHTML;\n/**\n * Allow all custom SVG and HTML attributes, references and tags (together\n * with potentially harmful ones) to be added to the DOM from the chart\n * configuration. In other words, disable the allow-listing which is the\n * primary functionality of the AST.\n *\n * WARNING: Setting this property to `true` while allowing untrusted user\n * data in the chart configuration will expose your application to XSS\n * security risks!\n *\n * Note that in case you want to allow a known set of tags or attributes,\n * you should allow-list them instead of disabling the filtering totally.\n * See [allowedAttributes](Highcharts.AST#.allowedAttributes),\n * [allowedReferences](Highcharts.AST#.allowedReferences) and\n * [allowedTags](Highcharts.AST#.allowedTags). The `bypassHTMLFiltering`\n * setting is intended only for those cases where allow-listing is not\n * practical, and the chart configuration already comes from a secure\n * source.\n *\n * @example\n * // Allow all custom attributes, references and tags (disable DOM XSS\n * // filtering)\n * Highcharts.AST.bypassHTMLFiltering = true;\n *\n * @name Highcharts.AST.bypassHTMLFiltering\n * @static\n */\nAST.bypassHTMLFiltering = false;\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const HTML_AST = (AST);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Serialized form of an SVG/HTML definition, including children.\n *\n * @interface Highcharts.ASTNode\n */ /**\n* @name Highcharts.ASTNode#attributes\n* @type {Highcharts.SVGAttributes|undefined}\n*/ /**\n* @name Highcharts.ASTNode#children\n* @type {Array<Highcharts.ASTNode>|undefined}\n*/ /**\n* @name Highcharts.ASTNode#tagName\n* @type {string|undefined}\n*/ /**\n* @name Highcharts.ASTNode#textContent\n* @type {string|undefined}\n*/\n(''); // Keeps doclets above in file\n\n;// ./code/es-modules/Core/Templating.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defaultOptions: Templating_defaultOptions, defaultTime: Templating_defaultTime } = Defaults;\n\nconst { pageLang: Templating_pageLang } = Core_Globals;\n\nconst { extend: Templating_extend, getNestedProperty: Templating_getNestedProperty, isArray: Templating_isArray, isNumber: Templating_isNumber, isObject: Templating_isObject, isString: Templating_isString, pick: Templating_pick, ucfirst: Templating_ucfirst } = Core_Utilities;\nconst helpers = {\n    // Built-in helpers\n    add: (a, b) => a + b,\n    divide: (a, b) => (b !== 0 ? a / b : ''),\n    // eslint-disable-next-line eqeqeq\n    eq: (a, b) => a == b,\n    each: function (arr) {\n        const match = arguments[arguments.length - 1];\n        return Templating_isArray(arr) ?\n            arr.map((item, i) => format(match.body, Templating_extend(Templating_isObject(item) ? item : { '@this': item }, {\n                '@index': i,\n                '@first': i === 0,\n                '@last': i === arr.length - 1\n            }))).join('') :\n            false;\n    },\n    ge: (a, b) => a >= b,\n    gt: (a, b) => a > b,\n    'if': (condition) => !!condition,\n    le: (a, b) => a <= b,\n    lt: (a, b) => a < b,\n    multiply: (a, b) => a * b,\n    // eslint-disable-next-line eqeqeq\n    ne: (a, b) => a != b,\n    subtract: (a, b) => a - b,\n    ucfirst: Templating_ucfirst,\n    unless: (condition) => !condition\n};\nconst numberFormatCache = {};\n/* *\n *\n *  Functions\n *\n * */\n// Internal convenience function\nconst isQuotedString = (str) => /^[\"'].+[\"']$/.test(str);\n/**\n * Formats a JavaScript date timestamp (milliseconds since Jan 1st 1970) into a\n * human readable date string. The format is a subset of the formats for PHP's\n * [strftime](https://www.php.net/manual/en/function.strftime.php) function.\n * Additional formats can be given in the {@link Highcharts.dateFormats} hook.\n *\n * Since v6.0.5, all internal dates are formatted through the\n * {@link Highcharts.Chart#time} instance to respect chart-level time settings.\n * The `Highcharts.dateFormat` function only reflects global time settings set\n * with `setOptions`.\n *\n * Supported format keys:\n * - `%a`: Short weekday, like 'Mon'\n * - `%A`: Long weekday, like 'Monday'\n * - `%d`: Two digit day of the month, 01 to 31\n * - `%e`: Day of the month, 1 through 31\n * - `%w`: Day of the week, 0 through 6\n * - `%b`: Short month, like 'Jan'\n * - `%B`: Long month, like 'January'\n * - `%m`: Two digit month number, 01 through 12\n * - `%y`: Two digits year, like 09 for 2009\n * - `%Y`: Four digits year, like 2009\n * - `%H`: Two digits hours in 24h format, 00 through 23\n * - `%k`: Hours in 24h format, 0 through 23\n * - `%I`: Two digits hours in 12h format, 00 through 11\n * - `%l`: Hours in 12h format, 1 through 12\n * - `%M`: Two digits minutes, 00 through 59\n * - `%p`: Upper case AM or PM\n * - `%P`: Lower case AM or PM\n * - `%S`: Two digits seconds, 00 through 59\n * - `%L`: Milliseconds (naming from Ruby)\n *\n * @function Highcharts.dateFormat\n *\n * @param {string} format\n *        The desired format where various time representations are prefixed\n *        with `%`.\n *\n * @param {number} timestamp\n *        The JavaScript timestamp.\n *\n * @param {boolean} [upperCaseFirst=false]\n *        Upper case first letter in the return.\n *\n * @return {string}\n *         The formatted date.\n */\nfunction dateFormat(format, timestamp, upperCaseFirst) {\n    return Templating_defaultTime.dateFormat(format, timestamp, upperCaseFirst);\n}\n/**\n * Format a string according to a subset of the rules of Python's String.format\n * method.\n *\n * @example\n * let s = Highcharts.format(\n *     'The {color} fox was {len:.2f} feet long',\n *     { color: 'red', len: Math.PI }\n * );\n * // => The red fox was 3.14 feet long\n *\n * @function Highcharts.format\n *\n * @param {string} str\n *        The string to format.\n *\n * @param {Record<string, *>} ctx\n *        The context, a collection of key-value pairs where each key is\n *        replaced by its value.\n *\n * @param {Highcharts.Chart} [chart]\n *        A `Chart` instance used to get numberFormatter and time.\n *\n * @return {string}\n *         The formatted string.\n */\nfunction format(str = '', ctx, chart) {\n    const regex = /\\{([\\p{L}\\d:\\.,;\\-\\/<>\\[\\]%_@+\"'’= #\\(\\)]+)\\}/gu, \n    // The sub expression regex is the same as the top expression regex,\n    // but except parens and block helpers (#), and surrounded by parens\n    // instead of curly brackets.\n    subRegex = /\\(([\\p{L}\\d:\\.,;\\-\\/<>\\[\\]%_@+\"'= ]+)\\)/gu, matches = [], floatRegex = /f$/, decRegex = /\\.(\\d)/, lang = chart?.options.lang || Templating_defaultOptions.lang, time = chart && chart.time || Templating_defaultTime, numberFormatter = chart && chart.numberFormatter || numberFormat;\n    /*\n     * Get a literal or variable value inside a template expression. May be\n     * extended with other types like string or null if needed, but keep it\n     * small for now.\n     */\n    const resolveProperty = (key = '') => {\n        let n;\n        // Literals\n        if (key === 'true') {\n            return true;\n        }\n        if (key === 'false') {\n            return false;\n        }\n        if ((n = Number(key)).toString() === key) {\n            return n;\n        }\n        if (isQuotedString(key)) {\n            return key.slice(1, -1);\n        }\n        // Variables and constants\n        return Templating_getNestedProperty(key, ctx);\n    };\n    let match, currentMatch, depth = 0, hasSub;\n    // Parse and create tree\n    while ((match = regex.exec(str)) !== null) {\n        // When a sub expression is found, it is evaluated first, and the\n        // results recursively evaluated until no subexpression exists.\n        const mainMatch = match, subMatch = subRegex.exec(match[1]);\n        if (subMatch) {\n            match = subMatch;\n            hasSub = true;\n        }\n        if (!currentMatch || !currentMatch.isBlock) {\n            currentMatch = {\n                ctx,\n                expression: match[1],\n                find: match[0],\n                isBlock: match[1].charAt(0) === '#',\n                start: match.index,\n                startInner: match.index + match[0].length,\n                length: match[0].length\n            };\n        }\n        // Identify helpers\n        const fn = (currentMatch.isBlock ? mainMatch : match)[1].split(' ')[0].replace('#', '');\n        if (helpers[fn]) {\n            // Block helper, only 0 level is handled\n            if (currentMatch.isBlock && fn === currentMatch.fn) {\n                depth++;\n            }\n            if (!currentMatch.fn) {\n                currentMatch.fn = fn;\n            }\n        }\n        // Closing a block helper\n        const startingElseSection = match[1] === 'else';\n        if (currentMatch.isBlock &&\n            currentMatch.fn && (match[1] === `/${currentMatch.fn}` ||\n            startingElseSection)) {\n            if (!depth) { // === 0\n                const start = currentMatch.startInner, body = str.substr(start, match.index - start);\n                // Either closing without an else section, or when encountering\n                // an else section\n                if (currentMatch.body === void 0) {\n                    currentMatch.body = body;\n                    currentMatch.startInner = match.index + match[0].length;\n                    // The body exists already, so this is the else section\n                }\n                else {\n                    currentMatch.elseBody = body;\n                }\n                currentMatch.find += body + match[0];\n                if (!startingElseSection) {\n                    matches.push(currentMatch);\n                    currentMatch = void 0;\n                }\n            }\n            else if (!startingElseSection) {\n                depth--;\n            }\n            // Common expression\n        }\n        else if (!currentMatch.isBlock) {\n            matches.push(currentMatch);\n        }\n        // Evaluate sub-matches one by one to prevent orphaned block closers\n        if (subMatch && !currentMatch?.isBlock) {\n            break;\n        }\n    }\n    // Execute\n    matches.forEach((match) => {\n        const { body, elseBody, expression, fn } = match;\n        let replacement, i;\n        // Helper function\n        if (fn) {\n            // Pass the helpers the amount of arguments defined by the function,\n            // then the match as the last argument.\n            const args = [match], parts = [], len = expression.length;\n            let start = 0, startChar;\n            for (i = 0; i <= len; i++) {\n                const char = expression.charAt(i);\n                // Start of string\n                if (!startChar && (char === '\"' || char === '\\'')) {\n                    startChar = char;\n                    // End of string\n                }\n                else if (startChar === char) {\n                    startChar = '';\n                }\n                if (!startChar &&\n                    (char === ' ' || i === len)) {\n                    parts.push(expression.substr(start, i - start));\n                    start = i + 1;\n                }\n            }\n            i = helpers[fn].length;\n            while (i--) {\n                args.unshift(resolveProperty(parts[i + 1]));\n            }\n            replacement = helpers[fn].apply(ctx, args);\n            // Block helpers may return true or false. They may also return a\n            // string, like the `each` helper.\n            if (match.isBlock && typeof replacement === 'boolean') {\n                replacement = format(replacement ? body : elseBody, ctx, chart);\n            }\n            // Simple variable replacement\n        }\n        else {\n            const valueAndFormat = isQuotedString(expression) ?\n                [expression] : expression.split(':');\n            replacement = resolveProperty(valueAndFormat.shift() || '');\n            // Format the replacement\n            if (valueAndFormat.length && typeof replacement === 'number') {\n                const segment = valueAndFormat.join(':');\n                if (floatRegex.test(segment)) { // Float\n                    const decimals = parseInt((segment.match(decRegex) || ['', '-1'])[1], 10);\n                    if (replacement !== null) {\n                        replacement = numberFormatter(replacement, decimals, lang.decimalPoint, segment.indexOf(',') > -1 ? lang.thousandsSep : '');\n                    }\n                }\n                else {\n                    replacement = time.dateFormat(segment, replacement);\n                }\n            }\n            // Use string literal in order to be preserved in the outer\n            // expression\n            subRegex.lastIndex = 0;\n            if (subRegex.test(match.find) && Templating_isString(replacement)) {\n                replacement = `\"${replacement}\"`;\n            }\n        }\n        str = str.replace(match.find, Templating_pick(replacement, ''));\n    });\n    return hasSub ? format(str, ctx, chart) : str;\n}\n/**\n * Format a number and return a string based on input settings.\n *\n * @sample highcharts/members/highcharts-numberformat/\n *         Custom number format\n *\n * @function Highcharts.numberFormat\n *\n * @param {number} number\n *        The input number to format.\n *\n * @param {number} decimals\n *        The amount of decimals. A value of -1 preserves the amount in the\n *        input number.\n *\n * @param {string} [decimalPoint]\n *        The decimal point, defaults to the one given in the lang options, or\n *        a dot.\n *\n * @param {string} [thousandsSep]\n *        The thousands separator, defaults to the one given in the lang\n *        options, or a space character.\n *\n * @return {string}\n *         The formatted number.\n */\nfunction numberFormat(number, decimals, decimalPoint, thousandsSep) {\n    number = +number || 0;\n    decimals = +decimals;\n    let ret, fractionDigits, [mantissa, exp] = number.toString().split('e').map(Number);\n    const lang = this?.options?.lang || Templating_defaultOptions.lang, origDec = (number.toString().split('.')[1] || '').split('e')[0].length, firstDecimals = decimals, options = {};\n    decimalPoint ?? (decimalPoint = lang.decimalPoint);\n    thousandsSep ?? (thousandsSep = lang.thousandsSep);\n    if (decimals === -1) {\n        // Preserve decimals. Not huge numbers (#3793).\n        decimals = Math.min(origDec, 20);\n    }\n    else if (!Templating_isNumber(decimals)) {\n        decimals = 2;\n    }\n    else if (decimals && exp < 0) {\n        // Expose decimals from exponential notation (#7042)\n        fractionDigits = decimals + exp;\n        if (fractionDigits >= 0) {\n            // Remove too small part of the number while keeping the notation\n            mantissa = +mantissa.toExponential(fractionDigits).split('e')[0];\n            decimals = fractionDigits;\n        }\n        else {\n            // `fractionDigits < 0`\n            mantissa = Math.floor(mantissa);\n            if (decimals < 20) {\n                // Use number instead of exponential notation (#7405)\n                number = +(mantissa * Math.pow(10, exp)).toFixed(decimals);\n            }\n            else {\n                // Or zero\n                number = 0;\n            }\n            exp = 0;\n        }\n    }\n    if (exp) {\n        decimals ?? (decimals = 2);\n        number = mantissa;\n    }\n    if (Templating_isNumber(decimals) && decimals >= 0) {\n        options.minimumFractionDigits = decimals;\n        options.maximumFractionDigits = decimals;\n    }\n    if (thousandsSep === '') {\n        options.useGrouping = false;\n    }\n    const hasSeparators = thousandsSep || decimalPoint, locale = hasSeparators ?\n        'en' :\n        (this?.locale || lang.locale || Templating_pageLang), cacheKey = JSON.stringify(options) + locale, nf = numberFormatCache[cacheKey] ?? (numberFormatCache[cacheKey] = new Intl.NumberFormat(locale, options));\n    ret = nf.format(number);\n    // If thousandsSep or decimalPoint are set, fall back to using English\n    // format with string replacement for the separators.\n    if (hasSeparators) {\n        ret = ret\n            // Preliminary step to avoid re-swapping (#22402)\n            .replace(/([,\\.])/g, '_$1')\n            .replace(/_\\,/g, thousandsSep ?? ',')\n            .replace('_.', decimalPoint ?? '.');\n    }\n    if (\n    // Remove signed zero (#20564)\n    (!decimals && +ret === 0) ||\n        // Small numbers, no decimals (#14023)\n        (exp < 0 && !firstDecimals)) {\n        ret = '0';\n    }\n    if (exp && +ret !== 0) {\n        ret += 'e' + (exp < 0 ? '' : '+') + exp;\n    }\n    return ret;\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst Templating = {\n    dateFormat,\n    format,\n    helpers,\n    numberFormat\n};\n/* harmony default export */ const Core_Templating = (Templating);\n\n;// ./code/es-modules/Core/Renderer/RendererRegistry.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n/* *\n *\n *  Namespace\n *\n * */\nvar RendererRegistry;\n(function (RendererRegistry) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    RendererRegistry.rendererTypes = {};\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let defaultRenderer;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Gets a registered renderer class. If no renderer type is provided or the\n     * requested renderer was not founded, the default renderer is returned.\n     *\n     * @param {string} [rendererType]\n     * Renderer type or the default renderer.\n     *\n     * @return {Highcharts.Class<Highcharts.SVGRenderer>}\n     * Returns the requested renderer class or the default renderer class.\n     */\n    function getRendererType(rendererType = defaultRenderer) {\n        return (RendererRegistry.rendererTypes[rendererType] || RendererRegistry.rendererTypes[defaultRenderer]);\n    }\n    RendererRegistry.getRendererType = getRendererType;\n    /**\n     * Register a renderer class.\n     *\n     * @param {string} rendererType\n     * Renderer type to register.\n     *\n     * @param {Highcharts.Class<Highcharts.SVGRenderer>} rendererClass\n     * Returns the requested renderer class or the default renderer class.\n     *\n     * @param {boolean} setAsDefault\n     * Sets the renderer class as the default renderer.\n     */\n    function registerRendererType(rendererType, rendererClass, setAsDefault) {\n        RendererRegistry.rendererTypes[rendererType] = rendererClass;\n        if (!defaultRenderer || setAsDefault) {\n            defaultRenderer = rendererType;\n            Core_Globals.Renderer = rendererClass; // Compatibility\n        }\n    }\n    RendererRegistry.registerRendererType = registerRendererType;\n})(RendererRegistry || (RendererRegistry = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Renderer_RendererRegistry = (RendererRegistry);\n\n;// ./code/es-modules/Core/Renderer/RendererUtilities.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Imports\n *\n * */\n\nconst { clamp: RendererUtilities_clamp, pick: RendererUtilities_pick, pushUnique: RendererUtilities_pushUnique, stableSort: RendererUtilities_stableSort } = Core_Utilities;\n/* *\n *\n *  Namespace\n *\n * */\nvar RendererUtilities;\n(function (RendererUtilities) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * General distribution algorithm for distributing labels of differing size\n     * along a confined length in two dimensions. The algorithm takes an array\n     * of objects containing a size, a target and a rank. It will place the\n     * labels as close as possible to their targets, skipping the lowest ranked\n     * labels if necessary.\n     * @private\n     */\n    function distribute(boxes, len, maxDistance) {\n        // Original array will be altered with added .pos\n        const origBoxes = boxes, reducedLen = origBoxes.reducedLen || len, sortByRank = (a, b) => (b.rank || 0) - (a.rank || 0), sortByTarget = (a, b) => a.target - b.target, restBoxes = [], // The outranked overshoot\n        boxesLength = boxes.length, forDeletion = [], push = restBoxes.push;\n        let i, cursor, step, overlapping = true, box, target, total = 0, equalRank;\n        // If the total size exceeds the len, remove those boxes with the lowest\n        // rank\n        i = boxesLength;\n        while (i--) {\n            total += boxes[i].size;\n        }\n        // Sort by rank, then slice away overshoot\n        if (total > reducedLen) {\n            RendererUtilities_stableSort(boxes, sortByRank);\n            equalRank = boxes[0].rank === boxes[boxes.length - 1].rank;\n            step = equalRank ? boxesLength / 2 : -1;\n            cursor = equalRank ? step : boxesLength - 1;\n            // When the boxes have equal rank (pie data labels, flags - #10073),\n            // decimate the boxes by starting in the middle and gradually remove\n            // more items inside the array. When they are sorted by rank, just\n            // remove the ones with the lowest rank from the end.\n            while (step && total > reducedLen) {\n                i = Math.floor(cursor);\n                box = boxes[i];\n                if (RendererUtilities_pushUnique(forDeletion, i)) {\n                    total -= box.size;\n                }\n                cursor += step;\n                // Start over the decimation with smaller steps\n                if (equalRank && cursor >= boxes.length) {\n                    step /= 2;\n                    cursor = step;\n                }\n            }\n            // Clean out the boxes marked for deletion\n            forDeletion\n                .sort((a, b) => b - a)\n                .forEach((i) => push.apply(restBoxes, boxes.splice(i, 1)));\n        }\n        // Order by target\n        RendererUtilities_stableSort(boxes, sortByTarget);\n        // So far we have been mutating the original array. Now\n        // create a copy with target arrays\n        boxes = boxes.map((box) => ({\n            size: box.size,\n            targets: [box.target],\n            align: RendererUtilities_pick(box.align, 0.5)\n        }));\n        while (overlapping) {\n            // Initial positions: target centered in box\n            i = boxes.length;\n            while (i--) {\n                box = boxes[i];\n                // Composite box, average of targets\n                target = (Math.min.apply(0, box.targets) +\n                    Math.max.apply(0, box.targets)) / 2;\n                box.pos = RendererUtilities_clamp(target - box.size * box.align, 0, len - box.size);\n            }\n            // Detect overlap and join boxes\n            i = boxes.length;\n            overlapping = false;\n            while (i--) {\n                // Overlap\n                if (i > 0 &&\n                    boxes[i - 1].pos + boxes[i - 1].size >\n                        boxes[i].pos) {\n                    // Add this size to the previous box\n                    boxes[i - 1].size += boxes[i].size;\n                    boxes[i - 1].targets = boxes[i - 1]\n                        .targets\n                        .concat(boxes[i].targets);\n                    boxes[i - 1].align = 0.5;\n                    // Overlapping right, push left\n                    if (boxes[i - 1].pos + boxes[i - 1].size > len) {\n                        boxes[i - 1].pos = len - boxes[i - 1].size;\n                    }\n                    boxes.splice(i, 1); // Remove this item\n                    overlapping = true;\n                }\n            }\n        }\n        // Add the rest (hidden boxes)\n        push.apply(origBoxes, restBoxes);\n        // Now the composite boxes are placed, we need to put the original boxes\n        // within them\n        i = 0;\n        boxes.some((box) => {\n            let posInCompositeBox = 0;\n            // Exceeded maxDistance => abort\n            return (box.targets || []).some(() => {\n                origBoxes[i].pos = box.pos + posInCompositeBox;\n                // If the distance between the position and the target exceeds\n                // maxDistance, abort the loop and decrease the length in\n                // increments of 10% to recursively reduce the number of\n                // visible boxes by rank. Once all boxes are within the\n                // maxDistance, we're good.\n                if (typeof maxDistance !== 'undefined' &&\n                    Math.abs(origBoxes[i].pos - origBoxes[i].target) > maxDistance) {\n                    // Reset the positions that are already set\n                    origBoxes\n                        .slice(0, i + 1)\n                        .forEach((box) => delete box.pos);\n                    // Try with a smaller length\n                    origBoxes.reducedLen =\n                        (origBoxes.reducedLen || len) - (len * 0.1);\n                    // Recurse\n                    if (origBoxes.reducedLen > len * 0.1) {\n                        distribute(origBoxes, len, maxDistance);\n                    }\n                    // Exceeded maxDistance => abort\n                    return true;\n                }\n                posInCompositeBox += origBoxes[i].size;\n                i++;\n                return false;\n            });\n        });\n        // Add the rest (hidden) boxes and sort by target\n        RendererUtilities_stableSort(origBoxes, sortByTarget);\n        return origBoxes;\n    }\n    RendererUtilities.distribute = distribute;\n})(RendererUtilities || (RendererUtilities = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Renderer_RendererUtilities = (RendererUtilities);\n\n;// ./code/es-modules/Core/Renderer/SVG/SVGElement.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animate: SVGElement_animate, animObject: SVGElement_animObject, stop: SVGElement_stop } = AnimationUtilities;\n\n\nconst { deg2rad, doc: SVGElement_doc, svg, SVG_NS: SVGElement_SVG_NS, win: SVGElement_win, isFirefox } = Core_Globals;\n\nconst { addEvent: SVGElement_addEvent, attr: SVGElement_attr, createElement: SVGElement_createElement, crisp: SVGElement_crisp, css: SVGElement_css, defined: SVGElement_defined, erase: SVGElement_erase, extend: SVGElement_extend, fireEvent: SVGElement_fireEvent, getAlignFactor: SVGElement_getAlignFactor, isArray: SVGElement_isArray, isFunction: SVGElement_isFunction, isNumber: SVGElement_isNumber, isObject: SVGElement_isObject, isString: SVGElement_isString, merge: SVGElement_merge, objectEach: SVGElement_objectEach, pick: SVGElement_pick, pInt: SVGElement_pInt, pushUnique: SVGElement_pushUnique, replaceNested: SVGElement_replaceNested, syncTimeout: SVGElement_syncTimeout, uniqueKey: SVGElement_uniqueKey } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/**\n * The SVGElement prototype is a JavaScript wrapper for SVG elements used in the\n * rendering layer of Highcharts. Combined with the\n * {@link Highcharts.SVGRenderer}\n * object, these prototypes allow freeform annotation in the charts or even in\n * HTML pages without instanciating a chart. The SVGElement can also wrap HTML\n * labels, when `text` or `label` elements are created with the `useHTML`\n * parameter.\n *\n * The SVGElement instances are created through factory functions on the\n * {@link Highcharts.SVGRenderer}\n * object, like\n * {@link Highcharts.SVGRenderer#rect|rect},\n * {@link Highcharts.SVGRenderer#path|path},\n * {@link Highcharts.SVGRenderer#text|text},\n * {@link Highcharts.SVGRenderer#label|label},\n * {@link Highcharts.SVGRenderer#g|g}\n * and more.\n *\n * See [How to use the SVG Renderer](\n * https://www.highcharts.com/docs/advanced-chart-features/renderer) for a\n * comprehensive tutorial on how to draw SVG elements on a chart.\n *\n * @class\n * @name Highcharts.SVGElement\n */\nclass SVGElement {\n    // @todo public zIndex?: number;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Get the current value of an attribute or pseudo attribute,\n     * used mainly for animation. Called internally from\n     * the {@link Highcharts.SVGRenderer#attr} function.\n     *\n     * @private\n     * @function Highcharts.SVGElement#_defaultGetter\n     *\n     * @param {string} key\n     *        Property key.\n     *\n     * @return {number|string}\n     *         Property value.\n     */\n    _defaultGetter(key) {\n        let ret = SVGElement_pick(this[key + 'Value'], // Align getter\n        this[key], this.element ? this.element.getAttribute(key) : null, 0);\n        if (/^-?[\\d\\.]+$/.test(ret)) { // Is numerical\n            ret = parseFloat(ret);\n        }\n        return ret;\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#_defaultSetter\n     *\n     * @param {string} value\n     *\n     * @param {string} key\n     *\n     * @param {Highcharts.SVGDOMElement} element\n     *\n     */\n    _defaultSetter(value, key, element) {\n        element.setAttribute(key, value);\n    }\n    /**\n     * Add the element to the DOM. All elements must be added this way.\n     *\n     * @sample highcharts/members/renderer-g\n     *         Elements added to a group\n     *\n     * @function Highcharts.SVGElement#add\n     *\n     * @param {Highcharts.SVGElement} [parent]\n     *        The parent item to add it to. If undefined, the element is added\n     *        to the {@link Highcharts.SVGRenderer.box}.\n     *\n     * @return {Highcharts.SVGElement}\n     *         Returns the SVGElement for chaining.\n     */\n    add(parent) {\n        const renderer = this.renderer, element = this.element;\n        let inserted;\n        if (parent) {\n            this.parentGroup = parent;\n        }\n        // Build formatted text\n        if (typeof this.textStr !== 'undefined' &&\n            this.element.nodeName === 'text' // Not for SVGLabel instances\n        ) {\n            renderer.buildText(this);\n        }\n        // Mark as added\n        this.added = true;\n        // If we're adding to renderer root, or other elements in the group\n        // have a z index, we need to handle it\n        if (!parent || parent.handleZ || this.zIndex) {\n            inserted = this.zIndexSetter();\n        }\n        // If zIndex is not handled, append at the end\n        if (!inserted) {\n            (parent ?\n                parent.element :\n                renderer.box).appendChild(element);\n        }\n        // Fire an event for internal hooks\n        if (this.onAdd) {\n            this.onAdd();\n        }\n        return this;\n    }\n    /**\n     * Add a class name to an element.\n     *\n     * @function Highcharts.SVGElement#addClass\n     *\n     * @param {string} className\n     * The new class name to add.\n     *\n     * @param {boolean} [replace=false]\n     * When true, the existing class name(s) will be overwritten with the new\n     * one. When false, the new one is added.\n     *\n     * @return {Highcharts.SVGElement}\n     * Return the SVG element for chainability.\n     */\n    addClass(className, replace) {\n        const currentClassName = replace ? '' : (this.attr('class') || '');\n        // Trim the string and remove duplicates\n        className = (className || '')\n            .split(/ /g)\n            .reduce(function (newClassName, name) {\n            if (currentClassName.indexOf(name) === -1) {\n                newClassName.push(name);\n            }\n            return newClassName;\n        }, (currentClassName ?\n            [currentClassName] :\n            []))\n            .join(' ');\n        if (className !== currentClassName) {\n            this.attr('class', className);\n        }\n        return this;\n    }\n    /**\n     * This method is executed in the end of `attr()`, after setting all\n     * attributes in the hash. In can be used to efficiently consolidate\n     * multiple attributes in one SVG property -- e.g., translate, rotate and\n     * scale are merged in one \"transform\" attribute in the SVG node.\n     *\n     * @private\n     * @function Highcharts.SVGElement#afterSetters\n     */\n    afterSetters() {\n        // Update transform. Do this outside the loop to prevent redundant\n        // updating for batch setting of attributes.\n        if (this.doTransform) {\n            this.updateTransform();\n            this.doTransform = false;\n        }\n    }\n    /**\n     * Align the element relative to the chart or another box.\n     *\n     * @function Highcharts.SVGElement#align\n     *\n     * @param {Highcharts.AlignObject} [alignOptions]\n     *        The alignment options. The function can be called without this\n     *        parameter in order to re-align an element after the box has been\n     *        updated.\n     *\n     * @param {boolean} [alignByTranslate]\n     *        Align element by translation.\n     *\n     * @param {string|Highcharts.BBoxObject} [alignTo]\n     *        The box to align to, needs a width and height. When the box is a\n     *        string, it refers to an object in the Renderer. For example, when\n     *        box is `spacingBox`, it refers to `Renderer.spacingBox` which\n     *        holds `width`, `height`, `x` and `y` properties.\n     *\n     * @param {boolean} [redraw]\n     *        Decide if SVGElement should be redrawn with new alignment or\n     *        just change its attributes.\n     *\n     * @return {Highcharts.SVGElement} Returns the SVGElement for chaining.\n     */\n    align(alignOptions, alignByTranslate, alignTo, redraw = true) {\n        const renderer = this.renderer, alignedObjects = renderer.alignedObjects, initialAlignment = Boolean(alignOptions);\n        // First call on instanciate\n        if (alignOptions) {\n            this.alignOptions = alignOptions;\n            this.alignByTranslate = alignByTranslate;\n            this.alignTo = alignTo;\n            // When called on resize, no arguments are supplied\n        }\n        else {\n            alignOptions = this.alignOptions || {};\n            alignByTranslate = this.alignByTranslate;\n            alignTo = this.alignTo;\n        }\n        const alignToKey = !alignTo || SVGElement_isString(alignTo) ?\n            alignTo || 'renderer' :\n            void 0;\n        // When aligned to a key, automatically re-align on redraws\n        if (alignToKey) {\n            // Prevent duplicates, like legendGroup after resize\n            if (initialAlignment) {\n                SVGElement_pushUnique(alignedObjects, this);\n            }\n            alignTo = void 0; // Do not use the box\n        }\n        const alignToBox = SVGElement_pick(alignTo, renderer[alignToKey], renderer), \n        // Default: left align\n        x = (alignToBox.x || 0) + (alignOptions.x || 0) +\n            ((alignToBox.width || 0) - (alignOptions.width || 0)) *\n                SVGElement_getAlignFactor(alignOptions.align), \n        // Default: top align\n        y = (alignToBox.y || 0) + (alignOptions.y || 0) +\n            ((alignToBox.height || 0) - (alignOptions.height || 0)) *\n                SVGElement_getAlignFactor(alignOptions.verticalAlign), attribs = {\n            'text-align': alignOptions?.align\n        };\n        attribs[alignByTranslate ? 'translateX' : 'x'] = Math.round(x);\n        attribs[alignByTranslate ? 'translateY' : 'y'] = Math.round(y);\n        // Animate only if already placed\n        if (redraw) {\n            this[this.placed ? 'animate' : 'attr'](attribs);\n            this.placed = true;\n        }\n        this.alignAttr = attribs;\n        return this;\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#alignSetter\n     * @param {\"left\"|\"center\"|\"right\"} value\n     */\n    alignSetter(value) {\n        const convert = {\n            left: 'start',\n            center: 'middle',\n            right: 'end'\n        };\n        if (convert[value]) {\n            this.alignValue = value;\n            this.element.setAttribute('text-anchor', convert[value]);\n        }\n    }\n    /**\n     * Animate to given attributes or CSS properties.\n     *\n     * @sample highcharts/members/element-on/\n     *         Setting some attributes by animation\n     *\n     * @function Highcharts.SVGElement#animate\n     *\n     * @param {Highcharts.SVGAttributes} params\n     *        SVG attributes or CSS to animate.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [options]\n     *        Animation options.\n     *\n     * @param {Function} [complete]\n     *        Function to perform at the end of animation.\n     *\n     * @return {Highcharts.SVGElement}\n     *         Returns the SVGElement for chaining.\n     */\n    animate(params, options, complete) {\n        const animOptions = SVGElement_animObject(SVGElement_pick(options, this.renderer.globalAnimation, true)), deferTime = animOptions.defer;\n        // When the page is hidden save resources in the background by not\n        // running animation at all (#9749).\n        if (SVGElement_doc.hidden) {\n            animOptions.duration = 0;\n        }\n        if (animOptions.duration !== 0) {\n            // Allows using a callback with the global animation without\n            // overwriting it\n            if (complete) {\n                animOptions.complete = complete;\n            }\n            // If defer option is defined delay the animation #12901\n            SVGElement_syncTimeout(() => {\n                if (this.element) {\n                    SVGElement_animate(this, params, animOptions);\n                }\n            }, deferTime);\n        }\n        else {\n            this.attr(params, void 0, complete || animOptions.complete);\n            // Call the end step synchronously\n            SVGElement_objectEach(params, function (val, prop) {\n                if (animOptions.step) {\n                    animOptions.step.call(this, val, { prop: prop, pos: 1, elem: this });\n                }\n            }, this);\n        }\n        return this;\n    }\n    /**\n     * Apply a text outline through a custom CSS property, by copying the text\n     * element and apply stroke to the copy. Used internally. Contrast checks at\n     * [example](https://jsfiddle.net/highcharts/43soe9m1/2/).\n     *\n     * @example\n     * // Specific color\n     * text.css({\n     *    textOutline: '1px black'\n     * });\n     * // Automatic contrast\n     * text.css({\n     *    color: '#000000', // black text\n     *    textOutline: '1px contrast' // => white outline\n     * });\n     *\n     * @private\n     * @function Highcharts.SVGElement#applyTextOutline\n     *\n     * @param {string} textOutline\n     *        A custom CSS `text-outline` setting, defined by `width color`.\n     */\n    applyTextOutline(textOutline) {\n        const elem = this.element, hasContrast = textOutline.indexOf('contrast') !== -1, styles = {};\n        // When the text shadow is set to contrast, use dark stroke for light\n        // text and vice versa.\n        if (hasContrast) {\n            styles.textOutline = textOutline = textOutline.replace(/contrast/g, this.renderer.getContrast(elem.style.fill));\n        }\n        // Extract the stroke width and color\n        const parts = textOutline.split(' ');\n        const color = parts[parts.length - 1];\n        let strokeWidth = parts[0];\n        if (strokeWidth && strokeWidth !== 'none' && Core_Globals.svg) {\n            this.fakeTS = true; // Fake text shadow\n            // Since the stroke is applied on center of the actual outline, we\n            // need to double it to get the correct stroke-width outside the\n            // glyphs.\n            strokeWidth = strokeWidth.replace(/(^[\\d\\.]+)(.*?)$/g, function (match, digit, unit) {\n                return (2 * Number(digit)) + unit;\n            });\n            // Remove shadows from previous runs.\n            this.removeTextOutline();\n            const outline = SVGElement_doc.createElementNS(SVGElement_SVG_NS, 'tspan');\n            SVGElement_attr(outline, {\n                'class': 'highcharts-text-outline',\n                fill: color,\n                stroke: color,\n                'stroke-width': strokeWidth,\n                'stroke-linejoin': 'round'\n            });\n            // For each of the tspans and text nodes, create a copy in the\n            // outline.\n            const parentElem = elem.querySelector('textPath') || elem;\n            [].forEach.call(parentElem.childNodes, (childNode) => {\n                const clone = childNode.cloneNode(true);\n                if (clone.removeAttribute) {\n                    ['fill', 'stroke', 'stroke-width', 'stroke'].forEach((prop) => clone\n                        .removeAttribute(prop));\n                }\n                outline.appendChild(clone);\n            });\n            // Collect the sum of dy from all children, included nested ones\n            let totalHeight = 0;\n            [].forEach.call(parentElem.querySelectorAll('text tspan'), (element) => {\n                totalHeight += Number(element.getAttribute('dy'));\n            });\n            // Insert an absolutely positioned break before the original text\n            // to keep it in place\n            const br = SVGElement_doc.createElementNS(SVGElement_SVG_NS, 'tspan');\n            br.textContent = '\\u200B';\n            // Reset the position for the following text\n            SVGElement_attr(br, {\n                x: Number(elem.getAttribute('x')),\n                dy: -totalHeight\n            });\n            // Insert the outline\n            outline.appendChild(br);\n            parentElem.insertBefore(outline, parentElem.firstChild);\n        }\n    }\n    /**\n     * @function Highcharts.SVGElement#attr\n     * @param {string} key\n     * @return {number|string}\n     */ /**\n    * Apply native and custom attributes to the SVG elements.\n    *\n    * In order to set the rotation center for rotation, set x and y to 0 and\n    * use `translateX` and `translateY` attributes to position the element\n    * instead.\n    *\n    * Attributes frequently used in Highcharts are `fill`, `stroke`,\n    * `stroke-width`.\n    *\n    * @sample highcharts/members/renderer-rect/\n    *         Setting some attributes\n    *\n    * @example\n    * // Set multiple attributes\n    * element.attr({\n    *     stroke: 'red',\n    *     fill: 'blue',\n    *     x: 10,\n    *     y: 10\n    * });\n    *\n    * // Set a single attribute\n    * element.attr('stroke', 'red');\n    *\n    * // Get an attribute\n    * element.attr('stroke'); // => 'red'\n    *\n    * @function Highcharts.SVGElement#attr\n    *\n    * @param {string|Highcharts.SVGAttributes} [hash]\n    *        The native and custom SVG attributes.\n    *\n    * @param {number|string|Highcharts.SVGPathArray} [val]\n    *        If the type of the first argument is `string`, the second can be a\n    *        value, which will serve as a single attribute setter. If the first\n    *        argument is a string and the second is undefined, the function\n    *        serves as a getter and the current value of the property is\n    *        returned.\n    *\n    * @param {Function} [complete]\n    *        A callback function to execute after setting the attributes. This\n    *        makes the function compliant and interchangeable with the\n    *        {@link SVGElement#animate} function.\n    *\n    * @param {boolean} [continueAnimation=true]\n    *        Used internally when `.attr` is called as part of an animation\n    *        step. Otherwise, calling `.attr` for an attribute will stop\n    *        animation for that attribute.\n    *\n    * @return {Highcharts.SVGElement}\n    *         If used as a setter, it returns the current\n    *         {@link Highcharts.SVGElement} so the calls can be chained. If\n    *         used as a getter, the current value of the attribute is returned.\n    */\n    attr(hash, val, complete, continueAnimation) {\n        const { element } = this, symbolCustomAttribs = SVGElement.symbolCustomAttribs;\n        let key, hasSetSymbolSize, ret = this, skipAttr, setter;\n        // Single key-value pair\n        if (typeof hash === 'string' && typeof val !== 'undefined') {\n            key = hash;\n            hash = {};\n            hash[key] = val;\n        }\n        // Used as a getter: first argument is a string, second is undefined\n        if (typeof hash === 'string') {\n            ret = (this[hash + 'Getter'] ||\n                this._defaultGetter).call(this, hash, element);\n            // Setter\n        }\n        else {\n            SVGElement_objectEach(hash, function eachAttribute(val, key) {\n                skipAttr = false;\n                // Unless .attr is from the animator update, stop current\n                // running animation of this property\n                if (!continueAnimation) {\n                    SVGElement_stop(this, key);\n                }\n                // Special handling of symbol attributes\n                if (this.symbolName &&\n                    symbolCustomAttribs.indexOf(key) !== -1) {\n                    if (!hasSetSymbolSize) {\n                        this.symbolAttr(hash);\n                        hasSetSymbolSize = true;\n                    }\n                    skipAttr = true;\n                }\n                if (this.rotation && (key === 'x' || key === 'y')) {\n                    this.doTransform = true;\n                }\n                if (!skipAttr) {\n                    setter = (this[key + 'Setter'] ||\n                        this._defaultSetter);\n                    setter.call(this, val, key, element);\n                }\n            }, this);\n            this.afterSetters();\n        }\n        // In accordance with animate, run a complete callback\n        if (complete) {\n            complete.call(this);\n        }\n        return ret;\n    }\n    /**\n     * Apply a clipping shape to this element.\n     *\n     * @function Highcharts.SVGElement#clip\n     *\n     * @param {SVGElement} [clipElem]\n     *        The clipping shape. If skipped, the current clip is removed.\n     *\n     * @return {Highcharts.SVGElement}\n     *         Returns the SVG element to allow chaining.\n     */\n    clip(clipElem) {\n        if (clipElem && !clipElem.clipPath) {\n            // Add a hyphen at the end to avoid confusion in testing indexes\n            // -1 and -10, -11 etc (#6550)\n            const id = SVGElement_uniqueKey() + '-', clipPath = this.renderer.createElement('clipPath')\n                .attr({ id })\n                .add(this.renderer.defs);\n            SVGElement_extend(clipElem, { clipPath, id, count: 0 });\n            clipElem.add(clipPath);\n        }\n        return this.attr('clip-path', clipElem ?\n            `url(${this.renderer.url}#${clipElem.id})` :\n            'none');\n    }\n    /**\n     * Calculate the coordinates needed for drawing a rectangle crisply and\n     * return the calculated attributes.\n     *\n     * @function Highcharts.SVGElement#crisp\n     *\n     * @param {Highcharts.RectangleObject} rect\n     * Rectangle to crisp.\n     *\n     * @param {number} [strokeWidth]\n     * The stroke width to consider when computing crisp positioning. It can\n     * also be set directly on the rect parameter.\n     *\n     * @return {Highcharts.RectangleObject}\n     * The modified rectangle arguments.\n     */\n    crisp(rect, strokeWidth) {\n        // Math.round because strokeWidth can sometimes have roundoff errors\n        strokeWidth = Math.round(strokeWidth || rect.strokeWidth || 0);\n        const x1 = rect.x || this.x || 0, y1 = rect.y || this.y || 0, x2 = (rect.width || this.width || 0) + x1, y2 = (rect.height || this.height || 0) + y1, \n        // Find all the rounded coordinates for corners\n        x = SVGElement_crisp(x1, strokeWidth), y = SVGElement_crisp(y1, strokeWidth), x2Crisp = SVGElement_crisp(x2, strokeWidth), y2Crisp = SVGElement_crisp(y2, strokeWidth);\n        SVGElement_extend(rect, {\n            x,\n            y,\n            width: x2Crisp - x,\n            height: y2Crisp - y\n        });\n        if (SVGElement_defined(rect.strokeWidth)) {\n            rect.strokeWidth = strokeWidth;\n        }\n        return rect;\n    }\n    /**\n     * Build and apply an SVG gradient out of a common JavaScript configuration\n     * object. This function is called from the attribute setters. An event\n     * hook is added for supporting other complex color types.\n     *\n     * @private\n     * @function Highcharts.SVGElement#complexColor\n     *\n     * @param {Highcharts.GradientColorObject|Highcharts.PatternObject} colorOptions\n     * The gradient or pattern options structure.\n     *\n     * @param {string} prop\n     * The property to apply, can either be `fill` or `stroke`.\n     *\n     * @param {Highcharts.SVGDOMElement} elem\n     * SVG element to apply the gradient on.\n     */\n    complexColor(colorOptions, prop, elem) {\n        const renderer = this.renderer;\n        let colorObject, gradName, gradAttr, radAttr, gradients, stops, stopColor, stopOpacity, radialReference, id, key = [], value;\n        SVGElement_fireEvent(this.renderer, 'complexColor', {\n            args: arguments\n        }, function () {\n            // Apply linear or radial gradients\n            if (colorOptions.radialGradient) {\n                gradName = 'radialGradient';\n            }\n            else if (colorOptions.linearGradient) {\n                gradName = 'linearGradient';\n            }\n            if (gradName) {\n                gradAttr = colorOptions[gradName];\n                gradients = renderer.gradients;\n                stops = colorOptions.stops;\n                radialReference = elem.radialReference;\n                // Keep < 2.2 compatibility\n                if (SVGElement_isArray(gradAttr)) {\n                    colorOptions[gradName] = gradAttr = {\n                        x1: gradAttr[0],\n                        y1: gradAttr[1],\n                        x2: gradAttr[2],\n                        y2: gradAttr[3],\n                        gradientUnits: 'userSpaceOnUse'\n                    };\n                }\n                // Correct the radial gradient for the radial reference system\n                if (gradName === 'radialGradient' &&\n                    radialReference &&\n                    !SVGElement_defined(gradAttr.gradientUnits)) {\n                    // Save the radial attributes for updating\n                    radAttr = gradAttr;\n                    gradAttr = SVGElement_merge(gradAttr, renderer.getRadialAttr(radialReference, radAttr), { gradientUnits: 'userSpaceOnUse' });\n                }\n                // Build the unique key to detect whether we need to create a\n                // new element (#1282)\n                SVGElement_objectEach(gradAttr, function (value, n) {\n                    if (n !== 'id') {\n                        key.push(n, value);\n                    }\n                });\n                SVGElement_objectEach(stops, function (val) {\n                    key.push(val);\n                });\n                key = key.join(',');\n                // Check if a gradient object with the same config object is\n                // created within this renderer\n                if (gradients[key]) {\n                    id = gradients[key].attr('id');\n                }\n                else {\n                    // Set the id and create the element\n                    gradAttr.id = id = SVGElement_uniqueKey();\n                    const gradientObject = gradients[key] =\n                        renderer.createElement(gradName)\n                            .attr(gradAttr)\n                            .add(renderer.defs);\n                    gradientObject.radAttr = radAttr;\n                    // The gradient needs to keep a list of stops to be able to\n                    // destroy them\n                    gradientObject.stops = [];\n                    stops.forEach(function (stop) {\n                        if (stop[1].indexOf('rgba') === 0) {\n                            colorObject = Color_Color.parse(stop[1]);\n                            stopColor = colorObject.get('rgb');\n                            stopOpacity = colorObject.get('a');\n                        }\n                        else {\n                            stopColor = stop[1];\n                            stopOpacity = 1;\n                        }\n                        const stopObject = renderer.createElement('stop').attr({\n                            offset: stop[0],\n                            'stop-color': stopColor,\n                            'stop-opacity': stopOpacity\n                        }).add(gradientObject);\n                        // Add the stop element to the gradient\n                        gradientObject.stops.push(stopObject);\n                    });\n                }\n                // Set the reference to the gradient object\n                value = 'url(' + renderer.url + '#' + id + ')';\n                elem.setAttribute(prop, value);\n                elem.gradient = key;\n                // Allow the color to be concatenated into tooltips formatters\n                // etc. (#2995)\n                colorOptions.toString = function () {\n                    return value;\n                };\n            }\n        });\n    }\n    /**\n     * Set styles for the element. In addition to CSS styles supported by\n     * native SVG and HTML elements, there are also some custom made for\n     * Highcharts, like `width`, `ellipsis` and `textOverflow` for SVG text\n     * elements.\n     *\n     * @sample highcharts/members/renderer-text-on-chart/\n     *         Styled text\n     *\n     * @function Highcharts.SVGElement#css\n     *\n     * @param {Highcharts.CSSObject} styles\n     *        The new CSS styles.\n     *\n     * @return {Highcharts.SVGElement}\n     *         Return the SVG element for chaining.\n     */\n    css(styles) {\n        const oldStyles = this.styles, newStyles = {}, elem = this.element;\n        let textWidth, hasNew = !oldStyles;\n        // Filter out existing styles to increase performance (#2640)\n        if (oldStyles) {\n            SVGElement_objectEach(styles, function (value, n) {\n                if (oldStyles && oldStyles[n] !== value) {\n                    newStyles[n] = value;\n                    hasNew = true;\n                }\n            });\n        }\n        if (hasNew) {\n            // Merge the new styles with the old ones\n            if (oldStyles) {\n                styles = SVGElement_extend(oldStyles, newStyles);\n            }\n            // Get the text width from style\n            // Previously set, unset it (#8234)\n            if (styles.width === null || styles.width === 'auto') {\n                delete this.textWidth;\n                // Apply new\n            }\n            else if (elem.nodeName.toLowerCase() === 'text' &&\n                styles.width) {\n                textWidth = this.textWidth = SVGElement_pInt(styles.width);\n            }\n            // Store object\n            SVGElement_extend(this.styles, styles);\n            if (textWidth && (!svg && this.renderer.forExport)) {\n                delete styles.width;\n            }\n            const fontSize = isFirefox && styles.fontSize || null;\n            // Necessary in firefox to be able to set font-size, #22124\n            if (fontSize && (SVGElement_isNumber(fontSize) ||\n                /^\\d+$/.test(fontSize))) {\n                styles.fontSize += 'px';\n            }\n            const stylesToApply = SVGElement_merge(styles);\n            if (elem.namespaceURI === this.SVG_NS) {\n                // These CSS properties are interpreted internally by the SVG\n                // renderer, but are not supported by SVG and should not be\n                // added to the DOM. In styled mode, no CSS should find its way\n                // to the DOM whatsoever (#6173, #6474).\n                ['textOutline', 'textOverflow', 'whiteSpace', 'width'].forEach((key) => (stylesToApply &&\n                    delete stylesToApply[key]));\n                // SVG requires fill for text\n                if (stylesToApply.color) {\n                    stylesToApply.fill = stylesToApply.color;\n                }\n            }\n            SVGElement_css(elem, stylesToApply);\n        }\n        if (this.added) {\n            // Rebuild text after added. Cache mechanisms in the buildText will\n            // prevent building if there are no significant changes.\n            if (this.element.nodeName === 'text') {\n                this.renderer.buildText(this);\n            }\n            // Apply text outline after added\n            if (styles.textOutline) {\n                this.applyTextOutline(styles.textOutline);\n            }\n        }\n        return this;\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#dashstyleSetter\n     * @param {string} value\n     */\n    dashstyleSetter(value) {\n        let i, strokeWidth = this['stroke-width'];\n        // If \"inherit\", like maps in IE, assume 1 (#4981). With HC5 and the new\n        // strokeWidth function, we should be able to use that instead.\n        if (strokeWidth === 'inherit') {\n            strokeWidth = 1;\n        }\n        value = value && value.toLowerCase();\n        if (value) {\n            const v = value\n                .replace('shortdashdotdot', '3,1,1,1,1,1,')\n                .replace('shortdashdot', '3,1,1,1')\n                .replace('shortdot', '1,1,')\n                .replace('shortdash', '3,1,')\n                .replace('longdash', '8,3,')\n                .replace(/dot/g, '1,3,')\n                .replace('dash', '4,3,')\n                .replace(/,$/, '')\n                .split(','); // Ending comma\n            i = v.length;\n            while (i--) {\n                v[i] = '' + (SVGElement_pInt(v[i]) * SVGElement_pick(strokeWidth, NaN));\n            }\n            value = v.join(',').replace(/NaN/g, 'none'); // #3226\n            this.element.setAttribute('stroke-dasharray', value);\n        }\n    }\n    /**\n     * Destroy the element and element wrapper and clear up the DOM and event\n     * hooks.\n     *\n     * @function Highcharts.SVGElement#destroy\n     */\n    destroy() {\n        const wrapper = this, element = wrapper.element || {}, renderer = wrapper.renderer, ownerSVGElement = element.ownerSVGElement;\n        let parentToClean = (element.nodeName === 'SPAN' &&\n            wrapper.parentGroup ||\n            void 0), grandParent, i;\n        // Remove events\n        element.onclick = element.onmouseout = element.onmouseover =\n            element.onmousemove = element.point = null;\n        SVGElement_stop(wrapper); // Stop running animations\n        if (wrapper.clipPath && ownerSVGElement) {\n            const clipPath = wrapper.clipPath;\n            // Look for existing references to this clipPath and remove them\n            // before destroying the element (#6196).\n            // The upper case version is for Edge\n            [].forEach.call(ownerSVGElement.querySelectorAll('[clip-path],[CLIP-PATH]'), function (el) {\n                if (el.getAttribute('clip-path').indexOf(clipPath.element.id) > -1) {\n                    el.removeAttribute('clip-path');\n                }\n            });\n            wrapper.clipPath = clipPath.destroy();\n        }\n        wrapper.connector = wrapper.connector?.destroy();\n        // Destroy stops in case this is a gradient object @todo old code?\n        if (wrapper.stops) {\n            for (i = 0; i < wrapper.stops.length; i++) {\n                wrapper.stops[i].destroy();\n            }\n            wrapper.stops.length = 0;\n            wrapper.stops = void 0;\n        }\n        // Remove element\n        wrapper.safeRemoveChild(element);\n        // In case of useHTML, clean up empty containers emulating SVG groups\n        // (#1960, #2393, #2697).\n        while (parentToClean &&\n            parentToClean.div &&\n            parentToClean.div.childNodes.length === 0) {\n            grandParent = parentToClean.parentGroup;\n            wrapper.safeRemoveChild(parentToClean.div);\n            delete parentToClean.div;\n            parentToClean = grandParent;\n        }\n        // Remove from alignObjects\n        if (wrapper.alignOptions) {\n            SVGElement_erase(renderer.alignedObjects, wrapper);\n        }\n        SVGElement_objectEach(wrapper, function (val, key) {\n            // Destroy child elements of a group\n            if (wrapper[key] &&\n                wrapper[key].parentGroup === wrapper &&\n                wrapper[key].destroy) {\n                wrapper[key].destroy();\n            }\n            // Delete all properties\n            delete wrapper[key];\n        });\n        return;\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#dSettter\n     * @param {number|string|Highcharts.SVGPathArray} value\n     * @param {string} key\n     * @param {Highcharts.SVGDOMElement} element\n     */\n    dSetter(value, key, element) {\n        if (SVGElement_isArray(value)) {\n            // Backwards compatibility, convert one-dimensional array into an\n            // array of segments\n            if (typeof value[0] === 'string') {\n                value = this.renderer.pathToSegments(value);\n            }\n            this.pathArray = value;\n            value = value.reduce((acc, seg, i) => {\n                if (!seg || !seg.join) {\n                    return (seg || '').toString();\n                }\n                return (i ? acc + ' ' : '') + seg.join(' ');\n            }, '');\n        }\n        if (/(NaN| {2}|^$)/.test(value)) {\n            value = 'M 0 0';\n        }\n        // Check for cache before resetting. Resetting causes disturbance in the\n        // DOM, causing flickering in some cases in Edge/IE (#6747). Also\n        // possible performance gain.\n        if (this[key] !== value) {\n            element.setAttribute(key, value);\n            this[key] = value;\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#fillSetter\n     * @param {Highcharts.ColorType} value\n     * @param {string} key\n     * @param {Highcharts.SVGDOMElement} element\n     */\n    fillSetter(value, key, element) {\n        if (typeof value === 'string') {\n            element.setAttribute(key, value);\n        }\n        else if (value) {\n            this.complexColor(value, key, element);\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#hrefSetter\n     * @param {Highcharts.ColorType} value\n     * @param {string} key\n     * @param {Highcharts.SVGDOMElement} element\n     */\n    hrefSetter(value, key, element) {\n        // Namespace is needed for offline export, #19106\n        element.setAttributeNS('http://www.w3.org/1999/xlink', key, value);\n    }\n    /**\n     * Get the bounding box (width, height, x and y) for the element. Generally\n     * used to get rendered text size. Since this is called a lot in charts,\n     * the results are cached based on text properties, in order to save DOM\n     * traffic. The returned bounding box includes the rotation, so for example\n     * a single text line of rotation 90 will report a greater height, and a\n     * width corresponding to the line-height.\n     *\n     * @sample highcharts/members/renderer-on-chart/\n     *         Draw a rectangle based on a text's bounding box\n     *\n     * @function Highcharts.SVGElement#getBBox\n     *\n     * @param {boolean} [reload]\n     *        Skip the cache and get the updated DOM bounding box.\n     *\n     * @param {number} [rot]\n     *        Override the element's rotation. This is internally used on axis\n     *        labels with a value of 0 to find out what the bounding box would\n     *        be have been if it were not rotated.\n     *\n     * @return {Highcharts.BBoxObject}\n     *         The bounding box with `x`, `y`, `width` and `height` properties.\n     */\n    getBBox(reload, rot) {\n        const wrapper = this, { alignValue, element, renderer, styles, textStr } = wrapper, { cache, cacheKeys } = renderer, isSVG = element.namespaceURI === wrapper.SVG_NS, rotation = SVGElement_pick(rot, wrapper.rotation, 0), fontSize = renderer.styledMode ? (element &&\n            SVGElement.prototype.getStyle.call(element, 'font-size')) : (styles.fontSize);\n        let bBox, height, toggleTextShadowShim, cacheKey;\n        // Avoid undefined and null (#7316)\n        if (SVGElement_defined(textStr)) {\n            cacheKey = textStr.toString();\n            // Since numbers are monospaced, and numerical labels appear a lot\n            // in a chart, we assume that a label of n characters has the same\n            // bounding box as others of the same length. Unless there is inner\n            // HTML in the label. In that case, leave the numbers as is (#5899).\n            if (cacheKey.indexOf('<') === -1) {\n                cacheKey = cacheKey.replace(/\\d/g, '0');\n            }\n            // Properties that affect bounding box\n            cacheKey += [\n                '',\n                renderer.rootFontSize,\n                fontSize,\n                rotation,\n                wrapper.textWidth, // #7874, also useHTML\n                alignValue,\n                styles.lineClamp,\n                styles.textOverflow, // #5968\n                styles.fontWeight // #12163\n            ].join(',');\n        }\n        if (cacheKey && !reload) {\n            bBox = cache[cacheKey];\n        }\n        // No cache found\n        if (!bBox || bBox.polygon) {\n            // SVG elements\n            if (isSVG || renderer.forExport) {\n                try { // Fails in Firefox if the container has display: none.\n                    // When the text shadow shim is used, we need to hide the\n                    // fake shadows to get the correct bounding box (#3872)\n                    toggleTextShadowShim = this.fakeTS && function (display) {\n                        const outline = element.querySelector('.highcharts-text-outline');\n                        if (outline) {\n                            SVGElement_css(outline, { display });\n                        }\n                    };\n                    // Workaround for #3842, Firefox reporting wrong bounding\n                    // box for shadows\n                    if (SVGElement_isFunction(toggleTextShadowShim)) {\n                        toggleTextShadowShim('none');\n                    }\n                    bBox = element.getBBox ?\n                        // SVG: use extend because IE9 is not allowed to change\n                        // width and height in case of rotation (below)\n                        SVGElement_extend({}, element.getBBox()) : {\n                        // HTML elements with `exporting.allowHTML` and\n                        // legacy IE in export mode\n                        width: element.offsetWidth,\n                        height: element.offsetHeight,\n                        x: 0,\n                        y: 0\n                    };\n                    // #3842\n                    if (SVGElement_isFunction(toggleTextShadowShim)) {\n                        toggleTextShadowShim('');\n                    }\n                }\n                catch (e) {\n                    '';\n                }\n                // If the bBox is not set, the try-catch block above failed. The\n                // other condition is for Opera that returns a width of\n                // -Infinity on hidden elements.\n                if (!bBox || bBox.width < 0) {\n                    bBox = { x: 0, y: 0, width: 0, height: 0 };\n                }\n                // Use HTML within SVG\n            }\n            else {\n                bBox = wrapper.htmlGetBBox();\n            }\n            // True SVG elements as well as HTML elements in modern browsers\n            // using the .useHTML option need to compensated for rotation\n            height = bBox.height;\n            // Workaround for wrong bounding box in IE, Edge and Chrome on\n            // Windows. With Highcharts' default font, IE and Edge report\n            // a box height of 16.899 and Chrome rounds it to 17. If this\n            // stands uncorrected, it results in more padding added below\n            // the text than above when adding a label border or background.\n            // Also vertical positioning is affected.\n            // https://jsfiddle.net/highcharts/em37nvuj/\n            // (#1101, #1505, #1669, #2568, #6213).\n            if (isSVG) {\n                bBox.height = height = ({\n                    '11px,17': 14,\n                    '13px,20': 16\n                }[`${fontSize || ''},${Math.round(height)}`] ||\n                    height);\n            }\n            // Adjust for rotated text\n            if (rotation) {\n                bBox = this.getRotatedBox(bBox, rotation);\n            }\n            // Create a reference to catch changes to bBox\n            const e = { bBox };\n            SVGElement_fireEvent(this, 'afterGetBBox', e);\n            // Pick up any changes after the fired event\n            bBox = e.bBox;\n        }\n        // Cache it. When loading a chart in a hidden iframe in Firefox and\n        // IE/Edge, the bounding box height is 0, so don't cache it (#5620).\n        if (cacheKey && (textStr === '' || bBox.height > 0)) {\n            // Rotate (#4681)\n            while (cacheKeys.length > 250) {\n                delete cache[cacheKeys.shift()];\n            }\n            if (!cache[cacheKey]) {\n                cacheKeys.push(cacheKey);\n            }\n            cache[cacheKey] = bBox;\n        }\n        return bBox;\n    }\n    /**\n     * Get the rotated box.\n     * @private\n     */\n    getRotatedBox(box, rotation) {\n        const { x: boxX, y: boxY, width, height } = box, { alignValue, translateY, rotationOriginX = 0, rotationOriginY = 0 } = this, alignFactor = SVGElement_getAlignFactor(alignValue), baseline = Number(this.element.getAttribute('y') || 0) -\n            (translateY ? 0 : boxY), rad = rotation * deg2rad, rad90 = (rotation - 90) * deg2rad, cosRad = Math.cos(rad), sinRad = Math.sin(rad), wCosRad = width * cosRad, wSinRad = width * sinRad, cosRad90 = Math.cos(rad90), sinRad90 = Math.sin(rad90), [[xOriginCosRad, xOriginSinRad], [yOriginCosRad, yOriginSinRad]] = [\n            rotationOriginX,\n            rotationOriginY\n        ].map((rotOrigin) => [\n            rotOrigin - (rotOrigin * cosRad),\n            rotOrigin * sinRad\n        ]), \n        // Find the starting point on the left side baseline of\n        // the text\n        pX = ((boxX + alignFactor * (width - wCosRad)) +\n            xOriginCosRad + yOriginSinRad), pY = ((boxY + baseline - alignFactor * wSinRad) -\n            xOriginSinRad + yOriginCosRad), \n        // Find all corners\n        aX = pX + baseline * cosRad90, bX = aX + wCosRad, cX = bX - height * cosRad90, dX = cX - wCosRad, aY = pY + baseline * sinRad90, bY = aY + wSinRad, cY = bY - height * sinRad90, dY = cY - wSinRad;\n        // Deduct the bounding box from the corners\n        const x = Math.min(aX, bX, cX, dX), y = Math.min(aY, bY, cY, dY), boxWidth = Math.max(aX, bX, cX, dX) - x, boxHeight = Math.max(aY, bY, cY, dY) - y;\n        /* Uncomment to debug boxes\n        this.renderer.path([\n            ['M', aX, aY],\n            ['L', bX, bY],\n            ['L', cX, cY],\n            ['L', dX, dY],\n            ['Z']\n        ])\n            .attr({\n                stroke: 'red',\n                'stroke-width': 1\n            })\n            .add();\n        // */\n        return {\n            x,\n            y,\n            width: boxWidth,\n            height: boxHeight,\n            polygon: [\n                [aX, aY],\n                [bX, bY],\n                [cX, cY],\n                [dX, dY]\n            ]\n        };\n    }\n    /**\n     * Get the computed style. Only in styled mode.\n     *\n     * @example\n     * chart.series[0].points[0].graphic.getStyle('stroke-width'); // => '1px'\n     *\n     * @function Highcharts.SVGElement#getStyle\n     *\n     * @param {string} prop\n     *        The property name to check for.\n     *\n     * @return {string}\n     *         The current computed value.\n     */\n    getStyle(prop) {\n        return SVGElement_win\n            .getComputedStyle(this.element || this, '')\n            .getPropertyValue(prop);\n    }\n    /**\n     * Check if an element has the given class name.\n     *\n     * @function Highcharts.SVGElement#hasClass\n     *\n     * @param {string} className\n     * The class name to check for.\n     *\n     * @return {boolean}\n     * Whether the class name is found.\n     */\n    hasClass(className) {\n        return ('' + this.attr('class'))\n            .split(' ')\n            .indexOf(className) !== -1;\n    }\n    /**\n     * Hide the element, similar to setting the `visibility` attribute to\n     * `hidden`.\n     *\n     * @function Highcharts.SVGElement#hide\n     *\n     * @return {Highcharts.SVGElement}\n     *         Returns the SVGElement for chaining.\n     */\n    hide() {\n        return this.attr({ visibility: 'hidden' });\n    }\n    /**\n     * @private\n     */\n    htmlGetBBox() {\n        return { height: 0, width: 0, x: 0, y: 0 };\n    }\n    /**\n     * Initialize the SVG element. This function only exists to make the\n     * initialization process overridable. It should not be called directly.\n     *\n     * @function Highcharts.SVGElement#init\n     *\n     * @param {Highcharts.SVGRenderer} renderer\n     * The SVGRenderer instance to initialize to.\n     *\n     * @param {string} nodeName\n     * The SVG node name.\n     */\n    constructor(renderer, nodeName) {\n        this.onEvents = {};\n        this.opacity = 1; // Default base for animation\n        this.SVG_NS = SVGElement_SVG_NS;\n        /**\n         * The primary DOM node. Each `SVGElement` instance wraps a main DOM\n         * node, but may also represent more nodes.\n         *\n         * @name Highcharts.SVGElement#element\n         * @type {Highcharts.SVGDOMElement|Highcharts.HTMLDOMElement}\n         */\n        this.element = nodeName === 'span' || nodeName === 'body' ?\n            SVGElement_createElement(nodeName) :\n            SVGElement_doc.createElementNS(this.SVG_NS, nodeName);\n        /**\n         * The renderer that the SVGElement belongs to.\n         *\n         * @name Highcharts.SVGElement#renderer\n         * @type {Highcharts.SVGRenderer}\n         */\n        this.renderer = renderer;\n        this.styles = {};\n        SVGElement_fireEvent(this, 'afterInit');\n    }\n    /**\n     * Add an event listener. This is a simple setter that replaces the\n     * previous event of the same type added by this function, as opposed to\n     * the {@link Highcharts#addEvent} function.\n     *\n     * @sample highcharts/members/element-on/\n     *         A clickable rectangle\n     *\n     * @function Highcharts.SVGElement#on\n     *\n     * @param {string} eventType\n     * The event type.\n     *\n     * @param {Function} handler\n     * The handler callback.\n     *\n     * @return {Highcharts.SVGElement}\n     * The SVGElement for chaining.\n     */\n    on(eventType, handler) {\n        const { onEvents } = this;\n        if (onEvents[eventType]) {\n            // Unbind existing event\n            onEvents[eventType]();\n        }\n        onEvents[eventType] = SVGElement_addEvent(this.element, eventType, handler);\n        return this;\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#opacitySetter\n     * @param {string} value\n     * @param {string} key\n     * @param {Highcharts.SVGDOMElement} element\n     */\n    opacitySetter(value, key, element) {\n        // Round off to avoid float errors, like tests where opacity lands on\n        // 9.86957e-06 instead of 0\n        const opacity = Number(Number(value).toFixed(3));\n        this.opacity = opacity;\n        element.setAttribute(key, opacity);\n    }\n    /**\n     * Re-align an aligned text or label after setting the text.\n     *\n     * @private\n     * @function Highcharts.SVGElement#reAlign\n     *\n     */\n    reAlign() {\n        if (this.alignOptions?.width && this.alignOptions.align !== 'left') {\n            this.alignOptions.width = this.getBBox().width;\n            this.placed = false; // Block animation\n            this.align();\n        }\n    }\n    /**\n     * Remove a class name from the element.\n     *\n     * @function Highcharts.SVGElement#removeClass\n     *\n     * @param {string|RegExp} className\n     *        The class name to remove.\n     *\n     * @return {Highcharts.SVGElement} Returns the SVG element for chainability.\n     */\n    removeClass(className) {\n        return this.attr('class', ('' + this.attr('class'))\n            .replace(SVGElement_isString(className) ?\n            new RegExp(`(^| )${className}( |$)`) : // #12064, #13590\n            className, ' ')\n            .replace(/ +/g, ' ')\n            .trim());\n    }\n    /**\n     *\n     * @private\n     */\n    removeTextOutline() {\n        const outline = this.element\n            .querySelector('tspan.highcharts-text-outline');\n        if (outline) {\n            this.safeRemoveChild(outline);\n        }\n    }\n    /**\n     * Removes an element from the DOM.\n     *\n     * @private\n     * @function Highcharts.SVGElement#safeRemoveChild\n     *\n     * @param {Highcharts.SVGDOMElement|Highcharts.HTMLDOMElement} element\n     * The DOM node to remove.\n     */\n    safeRemoveChild(element) {\n        const parentNode = element.parentNode;\n        if (parentNode) {\n            parentNode.removeChild(element);\n        }\n    }\n    /**\n     * Set the coordinates needed to draw a consistent radial gradient across\n     * a shape regardless of positioning inside the chart. Used on pie slices\n     * to make all the slices have the same radial reference point.\n     *\n     * @function Highcharts.SVGElement#setRadialReference\n     *\n     * @param {Array<number>} coordinates\n     * The center reference. The format is `[centerX, centerY, diameter]` in\n     * pixels.\n     *\n     * @return {Highcharts.SVGElement}\n     * Returns the SVGElement for chaining.\n     */\n    setRadialReference(coordinates) {\n        const existingGradient = (this.element.gradient &&\n            this.renderer.gradients[this.element.gradient]);\n        this.element.radialReference = coordinates;\n        // On redrawing objects with an existing gradient, the gradient needs\n        // to be repositioned (#3801)\n        if (existingGradient && existingGradient.radAttr) {\n            existingGradient.animate(this.renderer.getRadialAttr(coordinates, existingGradient.radAttr));\n        }\n        return this;\n    }\n    /**\n     * Add a shadow to the element. In styled mode, this method is not used,\n     * instead use `defs` and filters.\n     *\n     * @example\n     * renderer.rect(10, 100, 100, 100)\n     *     .attr({ fill: 'red' })\n     *     .shadow(true);\n     *\n     * @function Highcharts.SVGElement#shadow\n     *\n     * @param {boolean|Highcharts.ShadowOptionsObject} [shadowOptions] The\n     *        shadow options. If `true`, the default options are applied. If\n     *        `false`, the current shadow will be removed.\n     *\n     * @return {Highcharts.SVGElement} Returns the SVGElement for chaining.\n     */\n    shadow(shadowOptions) {\n        const { renderer } = this, options = SVGElement_merge(this.parentGroup?.rotation === 90 ? {\n            offsetX: -1,\n            offsetY: -1\n        } : {}, SVGElement_isObject(shadowOptions) ? shadowOptions : {}), id = renderer.shadowDefinition(options);\n        return this.attr({\n            filter: shadowOptions ?\n                `url(${renderer.url}#${id})` :\n                'none'\n        });\n    }\n    /**\n     * Show the element after it has been hidden.\n     *\n     * @function Highcharts.SVGElement#show\n     *\n     * @param {boolean} [inherit=true]\n     *        Set the visibility attribute to `inherit` rather than `visible`.\n     *        The difference is that an element with `visibility=\"visible\"`\n     *        will be visible even if the parent is hidden.\n     *\n     * @return {Highcharts.SVGElement}\n     *         Returns the SVGElement for chaining.\n     */\n    show(inherit = true) {\n        return this.attr({ visibility: inherit ? 'inherit' : 'visible' });\n    }\n    /**\n     * Set the stroke-width and record it on the SVGElement\n     *\n     * @private\n     * @function Highcharts.SVGElement#strokeSetter\n     * @param {number|string|ColorType} value\n     * @param {string} key\n     * @param {Highcharts.SVGDOMElement} element\n     */\n    'stroke-widthSetter'(value, key, element) {\n        // Record it for quick access in getter\n        this[key] = value;\n        element.setAttribute(key, value);\n    }\n    /**\n     * Get the computed stroke width in pixel values. This is used extensively\n     * when drawing shapes to ensure the shapes are rendered crisp and\n     * positioned correctly relative to each other. Using\n     * `shape-rendering: crispEdges` leaves us less control over positioning,\n     * for example when we want to stack columns next to each other, or position\n     * things pixel-perfectly within the plot box.\n     *\n     * The common pattern when placing a shape is:\n     * - Create the SVGElement and add it to the DOM. In styled mode, it will\n     *   now receive a stroke width from the style sheet. In classic mode we\n     *   will add the `stroke-width` attribute.\n     * - Read the computed `elem.strokeWidth()`.\n     * - Place it based on the stroke width.\n     *\n     * @function Highcharts.SVGElement#strokeWidth\n     *\n     * @return {number}\n     * The stroke width in pixels. Even if the given stroke width (in CSS or by\n     * attributes) is based on `em` or other units, the pixel size is returned.\n     */\n    strokeWidth() {\n        // In non-styled mode, read the stroke width as set by .attr\n        if (!this.renderer.styledMode) {\n            return this['stroke-width'] || 0;\n        }\n        // In styled mode, read computed stroke width\n        const val = this.getStyle('stroke-width');\n        let ret = 0, tempElement;\n        // Read pixel values directly\n        if (/px$/.test(val)) {\n            ret = SVGElement_pInt(val);\n            // Other values like em, pt etc need to be measured\n        }\n        else if (val !== '') {\n            tempElement = SVGElement_doc.createElementNS(SVGElement_SVG_NS, 'rect');\n            SVGElement_attr(tempElement, {\n                width: val,\n                'stroke-width': 0\n            });\n            this.element.parentNode.appendChild(tempElement);\n            ret = tempElement.getBBox().width;\n            tempElement.parentNode.removeChild(tempElement);\n        }\n        return ret;\n    }\n    /**\n     * If one of the symbol size affecting parameters are changed,\n     * check all the others only once for each call to an element's\n     * .attr() method\n     *\n     * @private\n     * @function Highcharts.SVGElement#symbolAttr\n     *\n     * @param {Highcharts.SVGAttributes} hash\n     * The attributes to set.\n     */\n    symbolAttr(hash) {\n        const wrapper = this;\n        SVGElement.symbolCustomAttribs.forEach(function (key) {\n            wrapper[key] = SVGElement_pick(hash[key], wrapper[key]);\n        });\n        wrapper.attr({\n            d: wrapper.renderer.symbols[wrapper.symbolName](wrapper.x, wrapper.y, wrapper.width, wrapper.height, wrapper)\n        });\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#textSetter\n     * @param {string} value\n     */\n    textSetter(value) {\n        if (value !== this.textStr) {\n            // Delete size caches when the text changes\n            // delete this.bBox; // old code in series-label\n            delete this.textPxLength;\n            this.textStr = value;\n            if (this.added) {\n                this.renderer.buildText(this);\n            }\n            this.reAlign();\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#titleSetter\n     * @param {string} value\n     */\n    titleSetter(value) {\n        const el = this.element;\n        const titleNode = el.getElementsByTagName('title')[0] ||\n            SVGElement_doc.createElementNS(this.SVG_NS, 'title');\n        // Move to first child\n        if (el.insertBefore) {\n            el.insertBefore(titleNode, el.firstChild);\n        }\n        else {\n            el.appendChild(titleNode);\n        }\n        // Replace text content and escape markup\n        titleNode.textContent = SVGElement_replaceNested(// Scan #[73]\n        SVGElement_pick(value, ''), // #3276, #3895\n        [/<[^>]*>/g, '']).replace(/&lt;/g, '<').replace(/&gt;/g, '>');\n    }\n    /**\n     * Bring the element to the front. Alternatively, a new zIndex can be set.\n     *\n     * @sample highcharts/members/element-tofront/\n     *         Click an element to bring it to front\n     *\n     * @function Highcharts.SVGElement#toFront\n     *\n     * @return {Highcharts.SVGElement}\n     * Returns the SVGElement for chaining.\n     */\n    toFront() {\n        const element = this.element;\n        element.parentNode.appendChild(element);\n        return this;\n    }\n    /**\n     * Move an object and its children by x and y values.\n     *\n     * @function Highcharts.SVGElement#translate\n     *\n     * @param {number} x\n     * The x value.\n     *\n     * @param {number} y\n     * The y value.\n     *\n     * @return {Highcharts.SVGElement}\n     * Translated element.\n     */\n    translate(x, y) {\n        return this.attr({\n            translateX: x,\n            translateY: y\n        });\n    }\n    /**\n     * Update the transform attribute based on internal properties. Deals with\n     * the custom `translateX`, `translateY`, `rotation`, `scaleX` and `scaleY`\n     * attributes and updates the SVG `transform` attribute.\n     *\n     * @private\n     * @function Highcharts.SVGElement#updateTransform\n     */\n    updateTransform(attrib = 'transform') {\n        const { element, matrix, rotation = 0, rotationOriginX, rotationOriginY, scaleX, scaleY, translateX = 0, translateY = 0 } = this;\n        // Apply translate. Nearly all transformed elements have translation,\n        // so instead of checking for translate = 0, do it always (#1767,\n        // #1846).\n        const transform = ['translate(' + translateX + ',' + translateY + ')'];\n        // Apply matrix\n        if (SVGElement_defined(matrix)) {\n            transform.push('matrix(' + matrix.join(',') + ')');\n        }\n        // Apply rotation\n        if (rotation) {\n            transform.push('rotate(' + rotation + ' ' +\n                SVGElement_pick(rotationOriginX, element.getAttribute('x'), 0) +\n                ' ' +\n                SVGElement_pick(rotationOriginY, element.getAttribute('y') || 0) + ')');\n            // HTML labels rotation (#20685)\n            if (this.text?.element.tagName === 'SPAN') {\n                this.text.attr({\n                    rotation,\n                    rotationOriginX: (rotationOriginX || 0) - this.padding,\n                    rotationOriginY: (rotationOriginY || 0) - this.padding\n                });\n            }\n        }\n        // Apply scale\n        if (SVGElement_defined(scaleX) || SVGElement_defined(scaleY)) {\n            transform.push('scale(' + SVGElement_pick(scaleX, 1) + ' ' + SVGElement_pick(scaleY, 1) + ')');\n        }\n        if (transform.length && !(this.text || this).textPath) {\n            element.setAttribute(attrib, transform.join(' '));\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#visibilitySetter\n     *\n     * @param {string} value\n     *\n     * @param {string} key\n     *\n     * @param {Highcharts.SVGDOMElement} element\n     *\n     */\n    visibilitySetter(value, key, element) {\n        // IE9-11 doesn't handle visibility:inherit well, so we remove the\n        // attribute instead (#2881, #3909)\n        if (value === 'inherit') {\n            element.removeAttribute(key);\n        }\n        else if (this[key] !== value) { // #6747\n            element.setAttribute(key, value);\n        }\n        this[key] = value;\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#xGetter\n     */\n    xGetter(key) {\n        if (this.element.nodeName === 'circle') {\n            if (key === 'x') {\n                key = 'cx';\n            }\n            else if (key === 'y') {\n                key = 'cy';\n            }\n        }\n        return this._defaultGetter(key);\n    }\n    /**\n     * @private\n     * @function Highcharts.SVGElement#zIndexSetter\n     */\n    zIndexSetter(value, key) {\n        const renderer = this.renderer, parentGroup = this.parentGroup, parentWrapper = parentGroup || renderer, parentNode = parentWrapper.element || renderer.box, element = this.element, svgParent = parentNode === renderer.box;\n        let childNodes, otherElement, otherZIndex, inserted = false, undefinedOtherZIndex, run = this.added, i;\n        if (SVGElement_defined(value)) {\n            // So we can read it for other elements in the group\n            element.setAttribute('data-z-index', value);\n            value = +value;\n            if (this[key] === value) {\n                // Only update when needed (#3865)\n                run = false;\n            }\n        }\n        else if (SVGElement_defined(this[key])) {\n            element.removeAttribute('data-z-index');\n        }\n        this[key] = value;\n        // Insert according to this and other elements' zIndex. Before .add() is\n        // called, nothing is done. Then on add, or by later calls to\n        // zIndexSetter, the node is placed on the right place in the DOM.\n        if (run) {\n            value = this.zIndex;\n            if (value && parentGroup) {\n                parentGroup.handleZ = true;\n            }\n            childNodes = parentNode.childNodes;\n            for (i = childNodes.length - 1; i >= 0 && !inserted; i--) {\n                otherElement = childNodes[i];\n                otherZIndex = otherElement.getAttribute('data-z-index');\n                undefinedOtherZIndex = !SVGElement_defined(otherZIndex);\n                if (otherElement !== element) {\n                    if (\n                    // Negative zIndex versus no zIndex:\n                    // On all levels except the highest. If the parent is\n                    // <svg>, then we don't want to put items before <desc>\n                    // or <defs>\n                    value < 0 &&\n                        undefinedOtherZIndex &&\n                        !svgParent &&\n                        !i) {\n                        parentNode.insertBefore(element, childNodes[i]);\n                        inserted = true;\n                    }\n                    else if (\n                    // Insert after the first element with a lower zIndex\n                    SVGElement_pInt(otherZIndex) <= value ||\n                        // If negative zIndex, add this before first undefined\n                        // zIndex element\n                        (undefinedOtherZIndex &&\n                            (!SVGElement_defined(value) || value >= 0))) {\n                        parentNode.insertBefore(element, childNodes[i + 1]);\n                        inserted = true;\n                    }\n                }\n            }\n            if (!inserted) {\n                parentNode.insertBefore(element, childNodes[svgParent ? 3 : 0]);\n                inserted = true;\n            }\n        }\n        return inserted;\n    }\n}\n/* *\n *\n *  Properties\n *\n * */\n// Custom attributes used for symbols, these should be filtered out when\n// setting SVGElement attributes (#9375).\nSVGElement.symbolCustomAttribs = [\n    'anchorX',\n    'anchorY',\n    'clockwise',\n    'end',\n    'height',\n    'innerR',\n    'r',\n    'start',\n    'width',\n    'x',\n    'y'\n];\n// Some shared setters and getters\nSVGElement.prototype.strokeSetter = SVGElement.prototype.fillSetter;\nSVGElement.prototype.yGetter = SVGElement.prototype.xGetter;\nSVGElement.prototype.matrixSetter =\n    SVGElement.prototype.rotationOriginXSetter =\n        SVGElement.prototype.rotationOriginYSetter =\n            SVGElement.prototype.rotationSetter =\n                SVGElement.prototype.scaleXSetter =\n                    SVGElement.prototype.scaleYSetter =\n                        SVGElement.prototype.translateXSetter =\n                            SVGElement.prototype.translateYSetter =\n                                SVGElement.prototype.verticalAlignSetter = function (value, key) {\n                                    this[key] = value;\n                                    this.doTransform = true;\n                                };\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const SVG_SVGElement = (SVGElement);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Reference to the global SVGElement class as a workaround for a name conflict\n * in the Highcharts namespace.\n *\n * @global\n * @typedef {global.SVGElement} GlobalSVGElement\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/SVGElement\n */\n/**\n * The horizontal alignment of an element.\n *\n * @typedef {\"center\"|\"left\"|\"right\"} Highcharts.AlignValue\n */\n/**\n * Options to align the element relative to the chart or another box.\n *\n * @interface Highcharts.AlignObject\n */ /**\n* Horizontal alignment. Can be one of `left`, `center` and `right`.\n*\n* @name Highcharts.AlignObject#align\n* @type {Highcharts.AlignValue|undefined}\n*\n* @default left\n*/ /**\n* Vertical alignment. Can be one of `top`, `middle` and `bottom`.\n*\n* @name Highcharts.AlignObject#verticalAlign\n* @type {Highcharts.VerticalAlignValue|undefined}\n*\n* @default top\n*/ /**\n* Horizontal pixel offset from alignment.\n*\n* @name Highcharts.AlignObject#x\n* @type {number|undefined}\n*\n* @default 0\n*/ /**\n* Vertical pixel offset from alignment.\n*\n* @name Highcharts.AlignObject#y\n* @type {number|undefined}\n*\n* @default 0\n*/ /**\n* Use the `transform` attribute with translateX and translateY custom\n* attributes to align this elements rather than `x` and `y` attributes.\n*\n* @name Highcharts.AlignObject#alignByTranslate\n* @type {boolean|undefined}\n*\n* @default false\n*/\n/**\n * Bounding box of an element.\n *\n * @interface Highcharts.BBoxObject\n * @extends Highcharts.PositionObject\n */ /**\n* Height of the bounding box.\n*\n* @name Highcharts.BBoxObject#height\n* @type {number}\n*/ /**\n* Width of the bounding box.\n*\n* @name Highcharts.BBoxObject#width\n* @type {number}\n*/ /**\n* Horizontal position of the bounding box.\n*\n* @name Highcharts.BBoxObject#x\n* @type {number}\n*/ /**\n* Vertical position of the bounding box.\n*\n* @name Highcharts.BBoxObject#y\n* @type {number}\n*/\n/**\n * An object of key-value pairs for SVG attributes. Attributes in Highcharts\n * elements for the most parts correspond to SVG, but some are specific to\n * Highcharts, like `zIndex`, `rotation`, `rotationOriginX`,\n * `rotationOriginY`, `translateX`, `translateY`, `scaleX` and `scaleY`. SVG\n * attributes containing a hyphen are _not_ camel-cased, they should be\n * quoted to preserve the hyphen.\n *\n * @example\n * {\n *     'stroke': '#ff0000', // basic\n *     'stroke-width': 2, // hyphenated\n *     'rotation': 45 // custom\n *     'd': ['M', 10, 10, 'L', 30, 30, 'z'] // path definition, note format\n * }\n *\n * @interface Highcharts.SVGAttributes\n */ /**\n* @name Highcharts.SVGAttributes#[key:string]\n* @type {*}\n*/ /**\n* @name Highcharts.SVGAttributes#d\n* @type {string|Highcharts.SVGPathArray|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#dx\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#dy\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#fill\n* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#inverted\n* @type {boolean|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#matrix\n* @type {Array<number>|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#rotation\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#rotationOriginX\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#rotationOriginY\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#scaleX\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#scaleY\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#stroke\n* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#style\n* @type {string|Highcharts.CSSObject|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#translateX\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#translateY\n* @type {number|undefined}\n*/ /**\n* @name Highcharts.SVGAttributes#zIndex\n* @type {number|undefined}\n*/\n/**\n * An SVG DOM element. The type is a reference to the regular SVGElement in the\n * global scope.\n *\n * @typedef {globals.GlobalSVGElement} Highcharts.SVGDOMElement\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/SVGElement\n */\n/**\n * The vertical alignment of an element.\n *\n * @typedef {\"bottom\"|\"middle\"|\"top\"} Highcharts.VerticalAlignValue\n */\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Renderer/SVG/SVGLabel.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defined: SVGLabel_defined, extend: SVGLabel_extend, getAlignFactor: SVGLabel_getAlignFactor, isNumber: SVGLabel_isNumber, merge: SVGLabel_merge, pick: SVGLabel_pick, removeEvent: SVGLabel_removeEvent } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * SVG label to render text.\n * @private\n * @class\n * @name Highcharts.SVGLabel\n * @augments Highcharts.SVGElement\n */\nclass SVGLabel extends SVG_SVGElement {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(renderer, str, x, y, shape, anchorX, anchorY, useHTML, baseline, className) {\n        super(renderer, 'g');\n        this.paddingLeftSetter = this.paddingSetter;\n        this.paddingRightSetter = this.paddingSetter;\n        this.doUpdate = false;\n        this.textStr = str;\n        this.x = x;\n        this.y = y;\n        this.anchorX = anchorX;\n        this.anchorY = anchorY;\n        this.baseline = baseline;\n        this.className = className;\n        this.addClass(className === 'button' ?\n            'highcharts-no-tooltip' :\n            'highcharts-label');\n        if (className) {\n            this.addClass('highcharts-' + className);\n        }\n        // Create the text element. An undefined text content prevents redundant\n        // box calculation (#16121)\n        this.text = renderer.text(void 0, 0, 0, useHTML).attr({ zIndex: 1 });\n        // Validate the shape argument\n        let hasBGImage;\n        if (typeof shape === 'string') {\n            hasBGImage = /^url\\((.*?)\\)$/.test(shape);\n            if (hasBGImage || this.renderer.symbols[shape]) {\n                this.symbolKey = shape;\n            }\n        }\n        this.bBox = SVGLabel.emptyBBox;\n        this.padding = 3;\n        this.baselineOffset = 0;\n        this.needsBox = renderer.styledMode || hasBGImage;\n        this.deferredAttr = {};\n        this.alignFactor = 0;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    alignSetter(value) {\n        const alignFactor = SVGLabel_getAlignFactor(value);\n        this.textAlign = value;\n        if (alignFactor !== this.alignFactor) {\n            this.alignFactor = alignFactor;\n            // Bounding box exists, means we're dynamically changing\n            if (this.bBox && SVGLabel_isNumber(this.xSetting)) {\n                this.attr({ x: this.xSetting }); // #5134\n            }\n        }\n    }\n    anchorXSetter(value, key) {\n        this.anchorX = value;\n        this.boxAttr(key, Math.round(value) - this.getCrispAdjust() - this.xSetting);\n    }\n    anchorYSetter(value, key) {\n        this.anchorY = value;\n        this.boxAttr(key, value - this.ySetting);\n    }\n    /*\n     * Set a box attribute, or defer it if the box is not yet created\n     */\n    boxAttr(key, value) {\n        if (this.box) {\n            this.box.attr(key, value);\n        }\n        else {\n            this.deferredAttr[key] = value;\n        }\n    }\n    /*\n     * Pick up some properties and apply them to the text instead of the\n     * wrapper.\n     */\n    css(styles) {\n        if (styles) {\n            const textStyles = {};\n            // Create a copy to avoid altering the original object\n            // (#537)\n            styles = SVGLabel_merge(styles);\n            SVGLabel.textProps.forEach((prop) => {\n                if (typeof styles[prop] !== 'undefined') {\n                    textStyles[prop] = styles[prop];\n                    delete styles[prop];\n                }\n            });\n            this.text.css(textStyles);\n            // Update existing text, box (#9400, #12163, #18212)\n            if ('fontSize' in textStyles || 'fontWeight' in textStyles) {\n                this.updateTextPadding();\n            }\n            else if ('width' in textStyles || 'textOverflow' in textStyles) {\n                this.updateBoxSize();\n            }\n        }\n        return SVG_SVGElement.prototype.css.call(this, styles);\n    }\n    /*\n     * Destroy and release memory.\n     */\n    destroy() {\n        // Added by button implementation\n        SVGLabel_removeEvent(this.element, 'mouseenter');\n        SVGLabel_removeEvent(this.element, 'mouseleave');\n        if (this.text) {\n            this.text.destroy();\n        }\n        if (this.box) {\n            this.box = this.box.destroy();\n        }\n        // Call base implementation to destroy the rest\n        SVG_SVGElement.prototype.destroy.call(this);\n        return void 0;\n    }\n    fillSetter(value, key) {\n        if (value) {\n            this.needsBox = true;\n        }\n        // For animation getter (#6776)\n        this.fill = value;\n        this.boxAttr(key, value);\n    }\n    /*\n     * Return the bounding box of the box, not the group.\n     */\n    getBBox(reload, rot) {\n        // If we have a text string and the DOM bBox was 0, it typically means\n        // that the label was first rendered hidden, so we need to update the\n        // bBox (#15246)\n        if (this.textStr && this.bBox.width === 0 && this.bBox.height === 0) {\n            this.updateBoxSize();\n        }\n        const { padding, height = 0, translateX = 0, translateY = 0, width = 0 } = this, paddingLeft = SVGLabel_pick(this.paddingLeft, padding), rotation = rot ?? (this.rotation || 0);\n        let bBox = {\n            width,\n            height,\n            x: translateX + this.bBox.x - paddingLeft,\n            y: translateY + this.bBox.y - padding + this.baselineOffset\n        };\n        if (rotation) {\n            bBox = this.getRotatedBox(bBox, rotation);\n        }\n        return bBox;\n    }\n    getCrispAdjust() {\n        return (this.renderer.styledMode && this.box ?\n            this.box.strokeWidth() :\n            (this['stroke-width'] ?\n                parseInt(this['stroke-width'], 10) :\n                0)) % 2 / 2;\n    }\n    heightSetter(value) {\n        this.heightSetting = value;\n        this.doUpdate = true;\n    }\n    /**\n     * This method is executed in the end of `attr()`, after setting all\n     * attributes in the hash. In can be used to efficiently consolidate\n     * multiple attributes in one SVG property -- e.g., translate, rotate and\n     * scale are merged in one \"transform\" attribute in the SVG node.\n     * Also updating height or width should trigger update of the box size.\n     *\n     * @private\n     * @function Highcharts.SVGLabel#afterSetters\n     */\n    afterSetters() {\n        super.afterSetters();\n        if (this.doUpdate) {\n            this.updateBoxSize();\n            this.doUpdate = false;\n        }\n    }\n    /*\n     * After the text element is added, get the desired size of the border\n     * box and add it before the text in the DOM.\n     */\n    onAdd() {\n        this.text.add(this);\n        this.attr({\n            // Alignment is available now  (#3295, 0 not rendered if given\n            // as a value)\n            text: SVGLabel_pick(this.textStr, ''),\n            x: this.x || 0,\n            y: this.y || 0\n        });\n        if (this.box && SVGLabel_defined(this.anchorX)) {\n            this.attr({\n                anchorX: this.anchorX,\n                anchorY: this.anchorY\n            });\n        }\n    }\n    paddingSetter(value, key) {\n        if (!SVGLabel_isNumber(value)) {\n            this[key] = void 0;\n        }\n        else if (value !== this[key]) {\n            this[key] = value;\n            this.updateTextPadding();\n        }\n    }\n    rSetter(value, key) {\n        this.boxAttr(key, value);\n    }\n    strokeSetter(value, key) {\n        // For animation getter (#6776)\n        this.stroke = value;\n        this.boxAttr(key, value);\n    }\n    'stroke-widthSetter'(value, key) {\n        if (value) {\n            this.needsBox = true;\n        }\n        this['stroke-width'] = value;\n        this.boxAttr(key, value);\n    }\n    'text-alignSetter'(value) {\n        // The text-align variety is for the pre-animation getter. The code\n        // should be unified to either textAlign or text-align.\n        this.textAlign = this['text-align'] = value;\n        this.updateTextPadding();\n    }\n    textSetter(text) {\n        if (typeof text !== 'undefined') {\n            // Must use .attr to ensure transforms are done (#10009)\n            this.text.attr({ text });\n        }\n        this.updateTextPadding();\n        this.reAlign();\n    }\n    /*\n     * This function runs after the label is added to the DOM (when the bounding\n     * box is available), and after the text of the label is updated to detect\n     * the new bounding box and reflect it in the border box.\n     */\n    updateBoxSize() {\n        const text = this.text, attribs = {}, padding = this.padding, \n        // #12165 error when width is null (auto)\n        // #12163 when fontweight: bold, recalculate bBox without cache\n        // #3295 && 3514 box failure when string equals 0\n        bBox = this.bBox = (((!SVGLabel_isNumber(this.widthSetting) ||\n            !SVGLabel_isNumber(this.heightSetting) ||\n            this.textAlign) && SVGLabel_defined(text.textStr)) ?\n            text.getBBox(void 0, 0) :\n            SVGLabel.emptyBBox);\n        let crispAdjust;\n        this.width = this.getPaddedWidth();\n        this.height = (this.heightSetting || bBox.height || 0) + 2 * padding;\n        const metrics = this.renderer.fontMetrics(text);\n        // Update the label-scoped y offset. Math.min because of inline\n        // style (#9400)\n        this.baselineOffset = padding + Math.min(\n        // When applicable, use the font size of the first line (#15707)\n        (this.text.firstLineMetrics || metrics).b, \n        // When the height is 0, there is no bBox, so go with the font\n        // metrics. Highmaps CSS demos.\n        bBox.height || Infinity);\n        // #15491: Vertical centering\n        if (this.heightSetting) {\n            this.baselineOffset += (this.heightSetting - metrics.h) / 2;\n        }\n        if (this.needsBox && !text.textPath) {\n            // Create the border box if it is not already present\n            if (!this.box) {\n                // Symbol definition exists (#5324)\n                const box = this.box = this.symbolKey ?\n                    this.renderer.symbol(this.symbolKey) :\n                    this.renderer.rect();\n                box.addClass(// Don't use label className for buttons\n                (this.className === 'button' ?\n                    '' : 'highcharts-label-box') +\n                    (this.className ?\n                        ' highcharts-' + this.className + '-box' : ''));\n                box.add(this);\n            }\n            crispAdjust = this.getCrispAdjust();\n            attribs.x = crispAdjust;\n            attribs.y = ((this.baseline ? -this.baselineOffset : 0) + crispAdjust);\n            // Apply the box attributes\n            attribs.width = Math.round(this.width);\n            attribs.height = Math.round(this.height);\n            this.box.attr(SVGLabel_extend(attribs, this.deferredAttr));\n            this.deferredAttr = {};\n        }\n    }\n    /*\n     * This function runs after setting text or padding, but only if padding\n     * is changed.\n     */\n    updateTextPadding() {\n        const text = this.text, textAlign = text.styles.textAlign || this.textAlign;\n        if (!text.textPath) {\n            this.updateBoxSize();\n            // Determine y based on the baseline\n            const textY = this.baseline ? 0 : this.baselineOffset, textX = (this.paddingLeft ?? this.padding) +\n                // Compensate for alignment\n                SVGLabel_getAlignFactor(textAlign) * (this.widthSetting ?? this.bBox.width);\n            // Update if anything changed\n            if (textX !== text.x || textY !== text.y) {\n                text.attr({\n                    align: textAlign,\n                    x: textX\n                });\n                if (typeof textY !== 'undefined') {\n                    text.attr('y', textY);\n                }\n            }\n            // Record current values\n            text.x = textX;\n            text.y = textY;\n        }\n    }\n    widthSetter(value) {\n        // `width:auto` => null\n        this.widthSetting = SVGLabel_isNumber(value) ? value : void 0;\n        this.doUpdate = true;\n    }\n    getPaddedWidth() {\n        const padding = this.padding;\n        const paddingLeft = SVGLabel_pick(this.paddingLeft, padding);\n        const paddingRight = SVGLabel_pick(this.paddingRight, padding);\n        return ((this.widthSetting || this.bBox.width || 0) +\n            paddingLeft +\n            paddingRight);\n    }\n    xSetter(value) {\n        this.x = value; // For animation getter\n        if (this.alignFactor) {\n            value -= this.alignFactor * this.getPaddedWidth();\n            // Force animation even when setting to the same value (#7898)\n            this['forceAnimate:x'] = true;\n        }\n        this.xSetting = Math.round(value);\n        this.attr('translateX', this.xSetting);\n    }\n    ySetter(value) {\n        this.ySetting = this.y = Math.round(value);\n        this.attr('translateY', this.ySetting);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nSVGLabel.emptyBBox = {\n    width: 0,\n    height: 0,\n    x: 0,\n    y: 0\n};\n/**\n * For labels, these CSS properties are applied to the `text` node directly.\n *\n * @private\n * @name Highcharts.SVGLabel#textProps\n * @type {Array<string>}\n */\nSVGLabel.textProps = [\n    'color', 'direction', 'fontFamily', 'fontSize', 'fontStyle',\n    'fontWeight', 'lineClamp', 'lineHeight', 'textAlign', 'textDecoration',\n    'textOutline', 'textOverflow', 'whiteSpace', 'width'\n];\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const SVG_SVGLabel = (SVGLabel);\n\n;// ./code/es-modules/Core/Renderer/SVG/Symbols.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defined: Symbols_defined, isNumber: Symbols_isNumber, pick: Symbols_pick } = Core_Utilities;\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable require-jsdoc, valid-jsdoc */\n/**\n *\n */\nfunction arc(cx, cy, w, h, options) {\n    const arc = [];\n    if (options) {\n        const start = options.start || 0, rx = Symbols_pick(options.r, w), ry = Symbols_pick(options.r, h || w), \n        // Subtract a small number to prevent cos and sin of start and end\n        // from becoming equal on 360 arcs (#1561). The size of the circle\n        // affects the constant, therefore the division by `rx`. If the\n        // proximity is too small, the arc disappears. If it is too great, a\n        // gap appears. This can be seen in the animation of the official\n        // bubble demo (#20586).\n        proximity = 0.0002 / (options.borderRadius ? 1 : Math.max(rx, 1)), fullCircle = (Math.abs((options.end || 0) - start - 2 * Math.PI) <\n            proximity), end = (options.end || 0) - (fullCircle ? proximity : 0), innerRadius = options.innerR, open = Symbols_pick(options.open, fullCircle), cosStart = Math.cos(start), sinStart = Math.sin(start), cosEnd = Math.cos(end), sinEnd = Math.sin(end), \n        // Proximity takes care of rounding errors around PI (#6971)\n        longArc = Symbols_pick(options.longArc, end - start - Math.PI < proximity ? 0 : 1);\n        let arcSegment = [\n            'A', // ArcTo\n            rx, // X radius\n            ry, // Y radius\n            0, // Slanting\n            longArc, // Long or short arc\n            Symbols_pick(options.clockwise, 1), // Clockwise\n            cx + rx * cosEnd,\n            cy + ry * sinEnd\n        ];\n        arcSegment.params = { start, end, cx, cy }; // Memo for border radius\n        arc.push([\n            'M',\n            cx + rx * cosStart,\n            cy + ry * sinStart\n        ], arcSegment);\n        if (Symbols_defined(innerRadius)) {\n            arcSegment = [\n                'A', // ArcTo\n                innerRadius, // X radius\n                innerRadius, // Y radius\n                0, // Slanting\n                longArc, // Long or short arc\n                // Clockwise - opposite to the outer arc clockwise\n                Symbols_defined(options.clockwise) ? 1 - options.clockwise : 0,\n                cx + innerRadius * cosStart,\n                cy + innerRadius * sinStart\n            ];\n            // Memo for border radius\n            arcSegment.params = {\n                start: end,\n                end: start,\n                cx,\n                cy\n            };\n            arc.push(open ?\n                [\n                    'M',\n                    cx + innerRadius * cosEnd,\n                    cy + innerRadius * sinEnd\n                ] : [\n                'L',\n                cx + innerRadius * cosEnd,\n                cy + innerRadius * sinEnd\n            ], arcSegment);\n        }\n        if (!open) {\n            arc.push(['Z']);\n        }\n    }\n    return arc;\n}\n/**\n * Callout shape used for default tooltips.\n */\nfunction callout(x, y, w, h, options) {\n    const arrowLength = 6, halfDistance = 6, r = Math.min((options && options.r) || 0, w, h), safeDistance = r + halfDistance, anchorX = options && options.anchorX, anchorY = options && options.anchorY || 0;\n    const path = roundedRect(x, y, w, h, { r });\n    if (!Symbols_isNumber(anchorX)) {\n        return path;\n    }\n    // Do not render a connector, if anchor starts inside the label\n    if (anchorX < w && anchorX > 0 && anchorY < h && anchorY > 0) {\n        return path;\n    }\n    // Anchor on right side\n    if (x + anchorX > w - safeDistance) {\n        // Chevron\n        if (anchorY > y + safeDistance &&\n            anchorY < y + h - safeDistance) {\n            path.splice(3, 1, ['L', x + w, anchorY - halfDistance], ['L', x + w + arrowLength, anchorY], ['L', x + w, anchorY + halfDistance], ['L', x + w, y + h - r]);\n            // Simple connector\n        }\n        else {\n            if (anchorX < w) { // Corner connector\n                const isTopCorner = anchorY < y + safeDistance, cornerY = isTopCorner ? y : y + h, sliceStart = isTopCorner ? 2 : 5;\n                path.splice(sliceStart, 0, ['L', anchorX, anchorY], ['L', x + w - r, cornerY]);\n            }\n            else { // Side connector\n                path.splice(3, 1, ['L', x + w, h / 2], ['L', anchorX, anchorY], ['L', x + w, h / 2], ['L', x + w, y + h - r]);\n            }\n        }\n        // Anchor on left side\n    }\n    else if (x + anchorX < safeDistance) {\n        // Chevron\n        if (anchorY > y + safeDistance &&\n            anchorY < y + h - safeDistance) {\n            path.splice(7, 1, ['L', x, anchorY + halfDistance], ['L', x - arrowLength, anchorY], ['L', x, anchorY - halfDistance], ['L', x, y + r]);\n            // Simple connector\n        }\n        else {\n            if (anchorX > 0) { // Corner connector\n                const isTopCorner = anchorY < y + safeDistance, cornerY = isTopCorner ? y : y + h, sliceStart = isTopCorner ? 1 : 6;\n                path.splice(sliceStart, 0, ['L', anchorX, anchorY], ['L', x + r, cornerY]);\n            }\n            else { // Side connector\n                path.splice(7, 1, ['L', x, h / 2], ['L', anchorX, anchorY], ['L', x, h / 2], ['L', x, y + r]);\n            }\n        }\n    }\n    else if ( // Replace bottom\n    anchorY > h &&\n        anchorX < w - safeDistance) {\n        path.splice(5, 1, ['L', anchorX + halfDistance, y + h], ['L', anchorX, y + h + arrowLength], ['L', anchorX - halfDistance, y + h], ['L', x + r, y + h]);\n    }\n    else if ( // Replace top\n    anchorY < 0 &&\n        anchorX > safeDistance) {\n        path.splice(1, 1, ['L', anchorX - halfDistance, y], ['L', anchorX, y - arrowLength], ['L', anchorX + halfDistance, y], ['L', w - r, y]);\n    }\n    return path;\n}\n/**\n *\n */\nfunction circle(x, y, w, h) {\n    // Return a full arc\n    return arc(x + w / 2, y + h / 2, w / 2, h / 2, {\n        start: Math.PI * 0.5,\n        end: Math.PI * 2.5,\n        open: false\n    });\n}\n/**\n *\n */\nfunction diamond(x, y, w, h) {\n    return [\n        ['M', x + w / 2, y],\n        ['L', x + w, y + h / 2],\n        ['L', x + w / 2, y + h],\n        ['L', x, y + h / 2],\n        ['Z']\n    ];\n}\n// #15291\n/**\n *\n */\nfunction rect(x, y, w, h, options) {\n    if (options && options.r) {\n        return roundedRect(x, y, w, h, options);\n    }\n    return [\n        ['M', x, y],\n        ['L', x + w, y],\n        ['L', x + w, y + h],\n        ['L', x, y + h],\n        ['Z']\n    ];\n}\n/**\n *\n */\nfunction roundedRect(x, y, w, h, options) {\n    const r = options?.r || 0;\n    return [\n        ['M', x + r, y],\n        ['L', x + w - r, y], // Top side\n        ['A', r, r, 0, 0, 1, x + w, y + r], // Top-right corner\n        ['L', x + w, y + h - r], // Right side\n        ['A', r, r, 0, 0, 1, x + w - r, y + h], // Bottom-right corner\n        ['L', x + r, y + h], // Bottom side\n        ['A', r, r, 0, 0, 1, x, y + h - r], // Bottom-left corner\n        ['L', x, y + r], // Left side\n        ['A', r, r, 0, 0, 1, x + r, y],\n        ['Z'] // Top-left corner\n    ];\n}\n/**\n *\n */\nfunction triangle(x, y, w, h) {\n    return [\n        ['M', x + w / 2, y],\n        ['L', x + w, y + h],\n        ['L', x, y + h],\n        ['Z']\n    ];\n}\n/**\n *\n */\nfunction triangleDown(x, y, w, h) {\n    return [\n        ['M', x, y],\n        ['L', x + w, y],\n        ['L', x + w / 2, y + h],\n        ['Z']\n    ];\n}\nconst Symbols = {\n    arc,\n    callout,\n    circle,\n    diamond,\n    rect,\n    roundedRect,\n    square: rect,\n    triangle,\n    'triangle-down': triangleDown\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const SVG_Symbols = (Symbols);\n\n;// ./code/es-modules/Core/Renderer/SVG/TextBuilder.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { doc: TextBuilder_doc, SVG_NS: TextBuilder_SVG_NS, win: TextBuilder_win } = Core_Globals;\n\nconst { attr: TextBuilder_attr, extend: TextBuilder_extend, fireEvent: TextBuilder_fireEvent, isString: TextBuilder_isString, objectEach: TextBuilder_objectEach, pick: TextBuilder_pick } = Core_Utilities;\n// Function used to test string length including an ellipsis\nconst stringWithEllipsis = (text, currentIndex) => text.substring(0, currentIndex) + '\\u2026';\n/* *\n *\n *  Class\n *\n * */\n/**\n * SVG Text Builder\n * @private\n * @class\n * @name Highcharts.TextBuilder\n */\nclass TextBuilder {\n    constructor(svgElement) {\n        const textStyles = svgElement.styles;\n        this.renderer = svgElement.renderer;\n        this.svgElement = svgElement;\n        this.width = svgElement.textWidth;\n        this.textLineHeight = textStyles && textStyles.lineHeight;\n        this.textOutline = textStyles && textStyles.textOutline;\n        this.ellipsis = Boolean(textStyles && textStyles.textOverflow === 'ellipsis');\n        this.lineClamp = textStyles?.lineClamp;\n        this.noWrap = Boolean(textStyles && textStyles.whiteSpace === 'nowrap');\n    }\n    /**\n     * Build an SVG representation of the pseudo HTML given in the object's\n     * svgElement.\n     *\n     * @private\n     *\n     * @return {void}.\n     */\n    buildSVG() {\n        const wrapper = this.svgElement, textNode = wrapper.element, renderer = wrapper.renderer, textStr = TextBuilder_pick(wrapper.textStr, '').toString(), hasMarkup = textStr.indexOf('<') !== -1, childNodes = textNode.childNodes, tempParent = !wrapper.added && renderer.box, regexMatchBreaks = /<br.*?>/g, \n        // The buildText code is quite heavy, so if we're not changing\n        // something that affects the text, skip it (#6113).\n        textCache = [\n            textStr,\n            this.ellipsis,\n            this.noWrap,\n            this.textLineHeight,\n            this.textOutline,\n            wrapper.getStyle('font-size'),\n            wrapper.styles.lineClamp,\n            this.width\n        ].join(',');\n        if (textCache === wrapper.textCache) {\n            return;\n        }\n        wrapper.textCache = textCache;\n        delete wrapper.actualWidth;\n        // Remove old text\n        for (let i = childNodes.length; i--;) {\n            textNode.removeChild(childNodes[i]);\n        }\n        // Simple strings, add text directly and return\n        if (!hasMarkup &&\n            !this.ellipsis &&\n            !this.width &&\n            !wrapper.textPath &&\n            (textStr.indexOf(' ') === -1 ||\n                (this.noWrap && !regexMatchBreaks.test(textStr)))) {\n            textNode.appendChild(TextBuilder_doc.createTextNode(this.unescapeEntities(textStr)));\n            // Complex strings, add more logic\n        }\n        else if (textStr !== '') {\n            if (tempParent) {\n                // Attach it to the DOM to read offset width and font size\n                tempParent.appendChild(textNode);\n            }\n            // Step 1. Parse the markup safely and directly into a tree\n            // structure.\n            const ast = new HTML_AST(textStr);\n            // Step 2. Do as many as we can of the modifications to the tree\n            // structure before it is added to the DOM\n            this.modifyTree(ast.nodes);\n            ast.addToDOM(textNode);\n            // Step 3. Some modifications can't be done until the structure is\n            // in the DOM, because we need to read computed metrics.\n            this.modifyDOM();\n            // Add title if an ellipsis was added\n            if (this.ellipsis &&\n                (textNode.textContent || '').indexOf('\\u2026') !== -1) {\n                wrapper.attr('title', this.unescapeEntities(wrapper.textStr || '', ['&lt;', '&gt;']) // #7179\n                );\n            }\n            if (tempParent) {\n                tempParent.removeChild(textNode);\n            }\n        }\n        // Apply the text outline\n        if (TextBuilder_isString(this.textOutline) && wrapper.applyTextOutline) {\n            wrapper.applyTextOutline(this.textOutline);\n        }\n    }\n    /**\n     * Modify the DOM of the generated SVG structure. This function only does\n     * operations that cannot be done until the elements are attached to the\n     * DOM, like doing layout based on rendered metrics of the added elements.\n     *\n     * @private\n     *\n     */\n    modifyDOM() {\n        const wrapper = this.svgElement;\n        const x = TextBuilder_attr(wrapper.element, 'x');\n        wrapper.firstLineMetrics = void 0;\n        // Remove empty tspans (including breaks) from the beginning because\n        // SVG's getBBox doesn't count empty lines. The use case is tooltip\n        // where the header is empty. By doing this in the DOM rather than in\n        // the AST, we can inspect the textContent directly and don't have to\n        // recurse down to look for valid content.\n        let firstChild;\n        while ((firstChild = wrapper.element.firstChild)) {\n            if (/^[\\s\\u200B]*$/.test(firstChild.textContent || ' ')) {\n                wrapper.element.removeChild(firstChild);\n            }\n            else {\n                break;\n            }\n        }\n        // Modify hard line breaks by applying the rendered line height\n        [].forEach.call(wrapper.element.querySelectorAll('tspan.highcharts-br'), (br, i) => {\n            if (br.nextSibling && br.previousSibling) { // #5261\n                if (i === 0 && br.previousSibling.nodeType === 1) {\n                    wrapper.firstLineMetrics = wrapper.renderer\n                        .fontMetrics(br.previousSibling);\n                }\n                TextBuilder_attr(br, {\n                    // Since the break is inserted in front of the next\n                    // line, we need to use the next sibling for the line\n                    // height\n                    dy: this.getLineHeight(br.nextSibling),\n                    x\n                });\n            }\n        });\n        // Constrain the line width, either by ellipsis or wrapping\n        const width = this.width || 0;\n        if (!width) {\n            return;\n        }\n        // Insert soft line breaks into each text node\n        const modifyTextNode = (textNode, parentElement) => {\n            const text = textNode.textContent || '';\n            const words = text\n                .replace(/([^\\^])-/g, '$1- ') // Split on hyphens\n                // .trim()\n                .split(' '); // #1273\n            const hasWhiteSpace = !this.noWrap && (words.length > 1 || wrapper.element.childNodes.length > 1);\n            const dy = this.getLineHeight(parentElement), ellipsisWidth = Math.max(0, \n            // Subtract the font face to make room for\n            // the ellipsis itself\n            width - 0.8 * dy);\n            let lineNo = 0;\n            let startAt = wrapper.actualWidth;\n            if (hasWhiteSpace) {\n                const lines = [];\n                // Remove preceding siblings in order to make the text length\n                // calculation correct in the truncate function\n                const precedingSiblings = [];\n                while (parentElement.firstChild &&\n                    parentElement.firstChild !== textNode) {\n                    precedingSiblings.push(parentElement.firstChild);\n                    parentElement.removeChild(parentElement.firstChild);\n                }\n                while (words.length) {\n                    // Apply the previous line\n                    if (words.length && !this.noWrap && lineNo > 0) {\n                        lines.push(textNode.textContent || '');\n                        textNode.textContent = words.join(' ')\n                            .replace(/- /g, '-');\n                    }\n                    // For each line, truncate the remaining\n                    // words into the line length.\n                    this.truncate(textNode, void 0, words, lineNo === 0 ? (startAt || 0) : 0, width, ellipsisWidth, \n                    // Build the text to test for\n                    (t, currentIndex) => words\n                        .slice(0, currentIndex)\n                        .join(' ')\n                        .replace(/- /g, '-'));\n                    startAt = wrapper.actualWidth;\n                    lineNo++;\n                    // Line clamp. Break out after n lines and append an\n                    // ellipsis regardless of the text length.\n                    if (this.lineClamp && lineNo >= this.lineClamp) {\n                        // Only if there are remaining words that should have\n                        // been rendered.\n                        if (words.length) {\n                            this.truncate(textNode, textNode.textContent || '', void 0, 0, \n                            // Target width\n                            width, ellipsisWidth, stringWithEllipsis);\n                            textNode.textContent = textNode.textContent\n                                ?.replace('\\u2026', '') + '\\u2026';\n                        }\n                        break;\n                    }\n                }\n                // Reinsert the preceding child nodes\n                precedingSiblings.forEach((childNode) => {\n                    parentElement.insertBefore(childNode, textNode);\n                });\n                // Insert the previous lines before the original text node\n                lines.forEach((line) => {\n                    // Insert the line\n                    parentElement.insertBefore(TextBuilder_doc.createTextNode(line), textNode);\n                    // Insert a break\n                    const br = TextBuilder_doc.createElementNS(TextBuilder_SVG_NS, 'tspan');\n                    br.textContent = '\\u200B'; // Zero-width space\n                    TextBuilder_attr(br, { dy, x });\n                    parentElement.insertBefore(br, textNode);\n                });\n            }\n            else if (this.ellipsis) {\n                if (text) {\n                    this.truncate(textNode, text, void 0, 0, \n                    // Target width\n                    width, ellipsisWidth, stringWithEllipsis);\n                }\n            }\n        };\n        // Recurse down the DOM tree and handle line breaks for each text node\n        const modifyChildren = ((node) => {\n            const childNodes = [].slice.call(node.childNodes);\n            childNodes.forEach((childNode) => {\n                if (childNode.nodeType === TextBuilder_win.Node.TEXT_NODE) {\n                    modifyTextNode(childNode, node);\n                }\n                else {\n                    // Reset word-wrap width readings after hard breaks\n                    if (childNode.className.baseVal\n                        .indexOf('highcharts-br') !== -1) {\n                        wrapper.actualWidth = 0;\n                    }\n                    // Recurse down to child node\n                    modifyChildren(childNode);\n                }\n            });\n        });\n        modifyChildren(wrapper.element);\n    }\n    /**\n     * Get the rendered line height of a <text>, <tspan> or pure text node.\n     * @private\n     * @param {DOMElementType|Text} node The node to check for\n     * @return {number} The rendered line height\n     */\n    getLineHeight(node) {\n        // If the node is a text node, use its parent\n        const element = (node.nodeType === TextBuilder_win.Node.TEXT_NODE) ?\n            node.parentElement :\n            node;\n        return this.textLineHeight ?\n            parseInt(this.textLineHeight.toString(), 10) :\n            this.renderer.fontMetrics(element || this.svgElement.element).h;\n    }\n    /**\n     * Transform a pseudo HTML AST node tree into an SVG structure. We do as\n     * much heavy lifting as we can here, before doing the final processing in\n     * the modifyDOM function. The original data is mutated.\n     *\n     * @private\n     *\n     * @param {ASTNode[]} nodes The AST nodes\n     *\n     */\n    modifyTree(nodes) {\n        const modifyChild = (node, i) => {\n            const { attributes = {}, children, style = {}, tagName } = node, styledMode = this.renderer.styledMode;\n            // Apply styling to text tags\n            if (tagName === 'b' || tagName === 'strong') {\n                if (styledMode) {\n                    // eslint-disable-next-line dot-notation\n                    attributes['class'] = 'highcharts-strong';\n                }\n                else {\n                    style.fontWeight = 'bold';\n                }\n            }\n            else if (tagName === 'i' || tagName === 'em') {\n                if (styledMode) {\n                    // eslint-disable-next-line dot-notation\n                    attributes['class'] = 'highcharts-emphasized';\n                }\n                else {\n                    style.fontStyle = 'italic';\n                }\n            }\n            // Modify styling\n            if (style && style.color) {\n                style.fill = style.color;\n            }\n            // Handle breaks\n            if (tagName === 'br') {\n                attributes['class'] = 'highcharts-br'; // eslint-disable-line dot-notation\n                node.textContent = '\\u200B'; // Zero-width space\n                // Trim whitespace off the beginning of new lines\n                const nextNode = nodes[i + 1];\n                if (nextNode && nextNode.textContent) {\n                    nextNode.textContent =\n                        nextNode.textContent.replace(/^ +/gm, '');\n                }\n                // If an anchor has direct text node children, the text is unable to\n                // wrap because there is no `getSubStringLength` function on the\n                // element. Therefore we need to wrap the child text node or nodes\n                // in a tspan. #16173.\n            }\n            else if (tagName === 'a' &&\n                children &&\n                children.some((child) => child.tagName === '#text')) {\n                node.children = [{ children, tagName: 'tspan' }];\n            }\n            if (tagName !== '#text' && tagName !== 'a') {\n                node.tagName = 'tspan';\n            }\n            TextBuilder_extend(node, { attributes, style });\n            // Recurse\n            if (children) {\n                children\n                    .filter((c) => c.tagName !== '#text')\n                    .forEach(modifyChild);\n            }\n        };\n        nodes.forEach(modifyChild);\n        TextBuilder_fireEvent(this.svgElement, 'afterModifyTree', { nodes });\n    }\n    /*\n     * Truncate the text node contents to a given length. Used when the css\n     * width is set. If the `textOverflow` is `ellipsis`, the text is truncated\n     * character by character to the given length. If not, the text is\n     * word-wrapped line by line.\n     */\n    truncate(textNode, text, words, startAt, width, ellipsisWidth, getString) {\n        const svgElement = this.svgElement;\n        const { rotation } = svgElement;\n        // Cache the lengths to avoid checking the same twice\n        const lengths = [];\n        // Word wrap cannot be truncated to shorter than one word, ellipsis\n        // text can be completely blank.\n        let minIndex = words && !startAt ? 1 : 0;\n        let maxIndex = (text || words || '').length;\n        let currentIndex = maxIndex;\n        let str;\n        let actualWidth;\n        if (!words) {\n            width = ellipsisWidth;\n        }\n        const getSubStringLength = function (charEnd, concatenatedEnd) {\n            // `charEnd` is used when finding the character-by-character\n            // break for ellipsis, concatenatedEnd is used for word-by-word\n            // break for word wrapping.\n            const end = concatenatedEnd || charEnd;\n            const parentNode = textNode.parentNode;\n            if (parentNode && typeof lengths[end] === 'undefined') {\n                // Modern browsers\n                if (parentNode.getSubStringLength) {\n                    // Fails with DOM exception on unit-tests/legend/members\n                    // of unknown reason. Desired width is 0, text content\n                    // is \"5\" and end is 1.\n                    try {\n                        lengths[end] = startAt +\n                            parentNode.getSubStringLength(0, words ? end + 1 : end);\n                    }\n                    catch (e) {\n                        '';\n                    }\n                }\n            }\n            return lengths[end];\n        };\n        svgElement.rotation = 0; // Discard rotation when computing box\n        actualWidth = getSubStringLength(textNode.textContent.length);\n        if (startAt + actualWidth > width) {\n            // Do a binary search for the index where to truncate the text\n            while (minIndex <= maxIndex) {\n                currentIndex = Math.ceil((minIndex + maxIndex) / 2);\n                // When checking words for word-wrap, we need to build the\n                // string and measure the subStringLength at the concatenated\n                // word length.\n                if (words) {\n                    str = getString(words, currentIndex);\n                }\n                actualWidth = getSubStringLength(currentIndex, str && str.length - 1);\n                if (minIndex === maxIndex) {\n                    // Complete\n                    minIndex = maxIndex + 1;\n                }\n                else if (actualWidth > width) {\n                    // Too large. Set max index to current.\n                    maxIndex = currentIndex - 1;\n                }\n                else {\n                    // Within width. Set min index to current.\n                    minIndex = currentIndex;\n                }\n            }\n            // If max index was 0 it means the shortest possible text was also\n            // too large. For ellipsis that means only the ellipsis, while for\n            // word wrap it means the whole first word.\n            if (maxIndex === 0) {\n                // Remove ellipsis\n                textNode.textContent = '';\n                // If the new text length is one less than the original, we don't\n                // need the ellipsis\n            }\n            else if (!(text && maxIndex === text.length - 1)) {\n                textNode.textContent = str || getString(text || words, currentIndex);\n            }\n            // Add ellipsis on individual lines\n            if (this.ellipsis && actualWidth > width) {\n                this.truncate(textNode, textNode.textContent || '', void 0, 0, width, ellipsisWidth, stringWithEllipsis);\n            }\n        }\n        // When doing line wrapping, prepare for the next line by removing the\n        // items from this line.\n        if (words) {\n            words.splice(0, currentIndex);\n        }\n        svgElement.actualWidth = actualWidth;\n        svgElement.rotation = rotation; // Apply rotation again.\n    }\n    /*\n     * Un-escape HTML entities based on the public `renderer.escapes` list\n     *\n     * @private\n     *\n     * @param {string} inputStr The string to unescape\n     * @param {Array<string>} [except] Exceptions\n     *\n     * @return {string} The processed string\n     */\n    unescapeEntities(inputStr, except) {\n        TextBuilder_objectEach(this.renderer.escapes, function (value, key) {\n            if (!except || except.indexOf(value) === -1) {\n                inputStr = inputStr.toString().replace(new RegExp(value, 'g'), key);\n            }\n        });\n        return inputStr;\n    }\n}\n/* harmony default export */ const SVG_TextBuilder = (TextBuilder);\n\n;// ./code/es-modules/Core/Renderer/SVG/SVGRenderer.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { defaultOptions: SVGRenderer_defaultOptions } = Defaults;\n\n\nconst { charts: SVGRenderer_charts, deg2rad: SVGRenderer_deg2rad, doc: SVGRenderer_doc, isFirefox: SVGRenderer_isFirefox, isMS, isWebKit, noop, SVG_NS: SVGRenderer_SVG_NS, symbolSizes, win: SVGRenderer_win } = Core_Globals;\n\n\n\n\n\n\nconst { addEvent: SVGRenderer_addEvent, attr: SVGRenderer_attr, createElement: SVGRenderer_createElement, crisp: SVGRenderer_crisp, css: SVGRenderer_css, defined: SVGRenderer_defined, destroyObjectProperties: SVGRenderer_destroyObjectProperties, extend: SVGRenderer_extend, isArray: SVGRenderer_isArray, isNumber: SVGRenderer_isNumber, isObject: SVGRenderer_isObject, isString: SVGRenderer_isString, merge: SVGRenderer_merge, pick: SVGRenderer_pick, pInt: SVGRenderer_pInt, replaceNested: SVGRenderer_replaceNested, uniqueKey: SVGRenderer_uniqueKey } = Core_Utilities;\n/* *\n *\n *  Variables\n *\n * */\nlet hasInternalReferenceBug;\n/* *\n *\n *  Class\n *\n * */\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/**\n * Allows direct access to the Highcharts rendering layer in order to draw\n * primitive shapes like circles, rectangles, paths or text directly on a chart,\n * or independent from any chart. The SVGRenderer represents a wrapper object\n * for SVG in modern browsers.\n *\n * An existing chart's renderer can be accessed through {@link Chart.renderer}.\n * The renderer can also be used completely decoupled from a chart.\n *\n * See [How to use the SVG Renderer](\n * https://www.highcharts.com/docs/advanced-chart-features/renderer) for a\n * comprehensive tutorial.\n *\n * @sample highcharts/members/renderer-on-chart\n *         Annotating a chart programmatically.\n * @sample highcharts/members/renderer-basic\n *         Independent SVG drawing.\n *\n * @example\n * // Use directly without a chart object.\n * let renderer = new Highcharts.Renderer(parentNode, 600, 400);\n *\n * @class\n * @name Highcharts.SVGRenderer\n *\n * @param {Highcharts.HTMLDOMElement} container\n *        Where to put the SVG in the web page.\n *\n * @param {number} width\n *        The width of the SVG.\n *\n * @param {number} height\n *        The height of the SVG.\n *\n * @param {Highcharts.CSSObject} [style]\n *        The box style, if not in styleMode\n *\n * @param {boolean} [forExport=false]\n *        Whether the rendered content is intended for export.\n *\n * @param {boolean} [allowHTML=true]\n *        Whether the renderer is allowed to include HTML text, which will be\n *        projected on top of the SVG.\n *\n * @param {boolean} [styledMode=false]\n *        Whether the renderer belongs to a chart that is in styled mode.\n *        If it does, it will avoid setting presentational attributes in\n *        some cases, but not when set explicitly through `.attr` and `.css`\n *        etc.\n */\nclass SVGRenderer {\n    /**\n     * The root `svg` node of the renderer.\n     *\n     * @name Highcharts.SVGRenderer#box\n     * @type {Highcharts.SVGDOMElement}\n     */\n    /**\n     * The wrapper for the root `svg` node of the renderer.\n     *\n     * @name Highcharts.SVGRenderer#boxWrapper\n     * @type {Highcharts.SVGElement}\n     */\n    /**\n     * A pointer to the `defs` node of the root SVG.\n     *\n     * @name Highcharts.SVGRenderer#defs\n     * @type {Highcharts.SVGElement}\n     */\n    /**\n     * Whether the rendered content is intended for export.\n     *\n     * @name Highcharts.SVGRenderer#forExport\n     * @type {boolean | undefined}\n     */\n    /**\n     * Page url used for internal references.\n     *\n     * @private\n     * @name Highcharts.SVGRenderer#url\n     * @type {string}\n     */\n    /**\n     * Initialize the SVGRenderer. Overridable initializer function that takes\n     * the same parameters as the constructor.\n     *\n     * @function Highcharts.SVGRenderer#init\n     *\n     * @param {Highcharts.HTMLDOMElement} container\n     * Where to put the SVG in the web page.\n     *\n     * @param {number} width\n     * The width of the SVG.\n     *\n     * @param {number} height\n     * The height of the SVG.\n     *\n     * @param {Highcharts.CSSObject} [style]\n     * The box style, if not in styleMode\n     *\n     * @param {boolean} [forExport=false]\n     * Whether the rendered content is intended for export.\n     *\n     * @param {boolean} [allowHTML=true]\n     * Whether the renderer is allowed to include HTML text, which will be\n     * projected on top of the SVG.\n     *\n     * @param {boolean} [styledMode=false]\n     * Whether the renderer belongs to a chart that is in styled mode. If it\n     * does, it will avoid setting presentational attributes in some cases, but\n     * not when set explicitly through `.attr` and `.css` etc.\n     */\n    constructor(container, width, height, style, forExport, allowHTML, styledMode) {\n        const renderer = this, boxWrapper = renderer\n            .createElement('svg')\n            .attr({\n            version: '1.1',\n            'class': 'highcharts-root'\n        }), element = boxWrapper.element;\n        if (!styledMode) {\n            boxWrapper.css(this.getStyle(style || {}));\n        }\n        container.appendChild(element);\n        // Always use ltr on the container, otherwise text-anchor will be\n        // flipped and text appear outside labels, buttons, tooltip etc (#3482)\n        SVGRenderer_attr(container, 'dir', 'ltr');\n        // For browsers other than IE, add the namespace attribute (#1978)\n        if (container.innerHTML.indexOf('xmlns') === -1) {\n            SVGRenderer_attr(element, 'xmlns', this.SVG_NS);\n        }\n        this.box = element;\n        this.boxWrapper = boxWrapper;\n        this.alignedObjects = [];\n        this.url = this.getReferenceURL();\n        // Add description\n        const desc = this.createElement('desc').add();\n        desc.element.appendChild(SVGRenderer_doc.createTextNode('Created with Highcharts 12.1.2'));\n        this.defs = this.createElement('defs').add();\n        this.allowHTML = allowHTML;\n        this.forExport = forExport;\n        this.styledMode = styledMode;\n        this.gradients = {}; // Object where gradient SvgElements are stored\n        this.cache = {}; // Cache for numerical bounding boxes\n        this.cacheKeys = [];\n        this.imgCount = 0;\n        this.rootFontSize = boxWrapper.getStyle('font-size');\n        renderer.setSize(width, height, false);\n        // Issue 110 workaround:\n        // In Firefox, if a div is positioned by percentage, its pixel position\n        // may land between pixels. The container itself doesn't display this,\n        // but an SVG element inside this container will be drawn at subpixel\n        // precision. In order to draw sharp lines, this must be compensated\n        // for. This doesn't seem to work inside iframes though (like in\n        // jsFiddle).\n        let subPixelFix, rect;\n        if (SVGRenderer_isFirefox && container.getBoundingClientRect) {\n            subPixelFix = function () {\n                SVGRenderer_css(container, { left: 0, top: 0 });\n                rect = container.getBoundingClientRect();\n                SVGRenderer_css(container, {\n                    left: (Math.ceil(rect.left) - rect.left) + 'px',\n                    top: (Math.ceil(rect.top) - rect.top) + 'px'\n                });\n            };\n            // Run the fix now\n            subPixelFix();\n            // Run it on resize\n            renderer.unSubPixelFix = SVGRenderer_addEvent(SVGRenderer_win, 'resize', subPixelFix);\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * General method for adding a definition to the SVG `defs` tag. Can be used\n     * for gradients, fills, filters etc. Styled mode only. A hook for adding\n     * general definitions to the SVG's defs tag. Definitions can be referenced\n     * from the CSS by its `id`. Read more in\n     * [gradients, shadows and patterns](https://www.highcharts.com/docs/chart-design-and-style/gradients-shadows-and-patterns).\n     * Styled mode only.\n     *\n     * @function Highcharts.SVGRenderer#definition\n     *\n     * @param {Highcharts.ASTNode} def\n     * A serialized form of an SVG definition, including children.\n     *\n     * @return {Highcharts.SVGElement}\n     * The inserted node.\n     */\n    definition(def) {\n        const ast = new HTML_AST([def]);\n        return ast.addToDOM(this.defs.element);\n    }\n    /**\n     * Get the prefix needed for internal URL references to work in certain\n     * cases. Some older browser versions had a bug where internal url\n     * references in SVG attributes, on the form `url(#some-id)`, would fail if\n     * a base tag was present in the page. There were also issues with\n     * `history.pushState` related to this prefix.\n     *\n     * Related issues: #24, #672, #1070, #5244.\n     *\n     * The affected browsers are:\n     * - Chrome <= 53 (May 2018)\n     * - Firefox <= 51 (January 2017)\n     * - Safari/Mac <= 12.1 (2018 or 2019)\n     * - Safari/iOS <= 13\n     *\n     * @todo Remove this hack when time has passed. All the affected browsers\n     * are evergreens, so it is increasingly unlikely that users are affected by\n     * the bug.\n     *\n     * @return {string}\n     * The prefix to use. An empty string for modern browsers.\n     */\n    getReferenceURL() {\n        if ((SVGRenderer_isFirefox || isWebKit) &&\n            SVGRenderer_doc.getElementsByTagName('base').length) {\n            // Detect if a clip path is taking effect by performing a hit test\n            // outside the clipped area. If the hit element is the rectangle\n            // that was supposed to be clipped, the bug is present. This only\n            // has to be performed once per page load, so we store the result\n            // locally in the module.\n            if (!SVGRenderer_defined(hasInternalReferenceBug)) {\n                const id = SVGRenderer_uniqueKey();\n                const ast = new HTML_AST([{\n                        tagName: 'svg',\n                        attributes: {\n                            width: 8,\n                            height: 8\n                        },\n                        children: [{\n                                tagName: 'defs',\n                                children: [{\n                                        tagName: 'clipPath',\n                                        attributes: {\n                                            id\n                                        },\n                                        children: [{\n                                                tagName: 'rect',\n                                                attributes: {\n                                                    width: 4,\n                                                    height: 4\n                                                }\n                                            }]\n                                    }]\n                            }, {\n                                tagName: 'rect',\n                                attributes: {\n                                    id: 'hitme',\n                                    width: 8,\n                                    height: 8,\n                                    'clip-path': `url(#${id})`,\n                                    fill: 'rgba(0,0,0,0.001)'\n                                }\n                            }]\n                    }]);\n                const svg = ast.addToDOM(SVGRenderer_doc.body);\n                SVGRenderer_css(svg, {\n                    position: 'fixed',\n                    top: 0,\n                    left: 0,\n                    zIndex: 9e5\n                });\n                const hitElement = SVGRenderer_doc.elementFromPoint(6, 6);\n                hasInternalReferenceBug = (hitElement && hitElement.id) === 'hitme';\n                SVGRenderer_doc.body.removeChild(svg);\n            }\n            if (hasInternalReferenceBug) {\n                // Scan alert #[72]: Loop for nested patterns\n                return SVGRenderer_replaceNested(SVGRenderer_win.location.href.split('#')[0], // Remove hash\n                [/<[^>]*>/g, ''], // Wing cut HTML\n                [/([\\('\\)])/g, '\\\\$1'], // Escape parantheses and quotes\n                [/ /g, '%20'] // Replace spaces (needed for Safari only)\n                );\n            }\n        }\n        return '';\n    }\n    /**\n     * Get the global style setting for the renderer.\n     *\n     * @private\n     * @function Highcharts.SVGRenderer#getStyle\n     *\n     * @param {Highcharts.CSSObject} style\n     * Style settings.\n     *\n     * @return {Highcharts.CSSObject}\n     * The style settings mixed with defaults.\n     */\n    getStyle(style) {\n        this.style = SVGRenderer_extend({\n            fontFamily: '-apple-system, BlinkMacSystemFont, \"Segoe UI\", ' +\n                'Roboto, Helvetica, Arial, \"Apple Color Emoji\", ' +\n                '\"Segoe UI Emoji\", \"Segoe UI Symbol\", sans-serif',\n            fontSize: '1rem'\n        }, style);\n        return this.style;\n    }\n    /**\n     * Apply the global style on the renderer, mixed with the default styles.\n     *\n     * @function Highcharts.SVGRenderer#setStyle\n     *\n     * @param {Highcharts.CSSObject} style\n     * CSS to apply.\n     */\n    setStyle(style) {\n        this.boxWrapper.css(this.getStyle(style));\n    }\n    /**\n     * Detect whether the renderer is hidden. This happens when one of the\n     * parent elements has `display: none`. Used internally to detect when we\n     * need to render preliminarily in another div to get the text bounding\n     * boxes right.\n     *\n     * @function Highcharts.SVGRenderer#isHidden\n     *\n     * @return {boolean}\n     * True if it is hidden.\n     */\n    isHidden() {\n        return !this.boxWrapper.getBBox().width;\n    }\n    /**\n     * Destroys the renderer and its allocated members.\n     *\n     * @function Highcharts.SVGRenderer#destroy\n     *\n     * @return {null}\n     * Pass through value.\n     */\n    destroy() {\n        const renderer = this, rendererDefs = renderer.defs;\n        renderer.box = null;\n        renderer.boxWrapper = renderer.boxWrapper.destroy();\n        // Call destroy on all gradient elements\n        SVGRenderer_destroyObjectProperties(renderer.gradients || {});\n        renderer.gradients = null;\n        renderer.defs = rendererDefs.destroy();\n        // Remove sub pixel fix handler (#982)\n        if (renderer.unSubPixelFix) {\n            renderer.unSubPixelFix();\n        }\n        renderer.alignedObjects = null;\n        return null;\n    }\n    /**\n     * Create a wrapper for an SVG element. Serves as a factory for\n     * {@link SVGElement}, but this function is itself mostly called from\n     * primitive factories like {@link SVGRenderer#path}, {@link\n     * SVGRenderer#rect} or {@link SVGRenderer#text}.\n     *\n     * @function Highcharts.SVGRenderer#createElement\n     *\n     * @param {string} nodeName\n     * The node name, for example `rect`, `g` etc.\n     *\n     * @return {Highcharts.SVGElement}\n     * The generated SVGElement.\n     */\n    createElement(nodeName) {\n        return new this.Element(this, nodeName);\n    }\n    /**\n     * Get converted radial gradient attributes according to the radial\n     * reference. Used internally from the {@link SVGElement#colorGradient}\n     * function.\n     *\n     * @private\n     * @function Highcharts.SVGRenderer#getRadialAttr\n     */\n    getRadialAttr(radialReference, gradAttr) {\n        return {\n            cx: (radialReference[0] - radialReference[2] / 2) +\n                (gradAttr.cx || 0) * radialReference[2],\n            cy: (radialReference[1] - radialReference[2] / 2) +\n                (gradAttr.cy || 0) * radialReference[2],\n            r: (gradAttr.r || 0) * radialReference[2]\n        };\n    }\n    /**\n     * Create a drop shadow definition and return its id\n     *\n     * @private\n     * @function Highcharts.SVGRenderer#shadowDefinition\n     *\n     * @param {boolean|Highcharts.ShadowOptionsObject} [shadowOptions] The\n     *        shadow options. If `true`, the default options are applied\n     */\n    shadowDefinition(shadowOptions) {\n        const id = [\n            `highcharts-drop-shadow-${this.chartIndex}`,\n            ...Object.keys(shadowOptions)\n                .map((key) => `${key}-${shadowOptions[key]}`)\n        ].join('-').toLowerCase().replace(/[^a-z\\d\\-]/g, ''), options = SVGRenderer_merge({\n            color: '#000000',\n            offsetX: 1,\n            offsetY: 1,\n            opacity: 0.15,\n            width: 5\n        }, shadowOptions);\n        if (!this.defs.element.querySelector(`#${id}`)) {\n            this.definition({\n                tagName: 'filter',\n                attributes: {\n                    id,\n                    filterUnits: options.filterUnits\n                },\n                children: this.getShadowFilterContent(options)\n            });\n        }\n        return id;\n    }\n    /**\n     * Get shadow filter content.\n     * NOTE! Overridden in es5 module for IE11 compatibility.\n     *\n     * @private\n     * @function Highcharts.SVGRenderer#getShadowFilterContent\n     *\n     * @param {ShadowOptionsObject} options\n     * The shadow options.\n     * @return {Array<AST.Node>}\n     * The shadow filter content.\n     */\n    getShadowFilterContent(options) {\n        return [{\n                tagName: 'feDropShadow',\n                attributes: {\n                    dx: options.offsetX,\n                    dy: options.offsetY,\n                    'flood-color': options.color,\n                    // Tuned and modified to keep a preserve compatibility\n                    // with the old settings\n                    'flood-opacity': Math.min(options.opacity * 5, 1),\n                    stdDeviation: options.width / 2\n                }\n            }];\n    }\n    /**\n     * Parse a simple HTML string into SVG tspans. Called internally when text\n     * is set on an SVGElement. The function supports a subset of HTML tags, CSS\n     * text features like `width`, `text-overflow`, `white-space`, and also\n     * attributes like `href` and `style`.\n     *\n     * @private\n     * @function Highcharts.SVGRenderer#buildText\n     *\n     * @param {Highcharts.SVGElement} wrapper\n     * The parent SVGElement.\n     */\n    buildText(wrapper) {\n        new SVG_TextBuilder(wrapper).buildSVG();\n    }\n    /**\n     * Returns white for dark colors and black for bright colors, based on W3C's\n     * definition of [Relative luminance](\n     * https://www.w3.org/WAI/GL/wiki/Relative_luminance).\n     *\n     * @function Highcharts.SVGRenderer#getContrast\n     *\n     * @param {Highcharts.ColorString} color\n     * The color to get the contrast for.\n     *\n     * @return {Highcharts.ColorString}\n     * The contrast color, either `#000000` or `#FFFFFF`.\n     */\n    getContrast(color) {\n        // #6216, #17273\n        const rgba = Color_Color.parse(color).rgba\n            .map((b8) => {\n            const c = b8 / 255;\n            return c <= 0.03928 ?\n                c / 12.92 :\n                Math.pow((c + 0.055) / 1.055, 2.4);\n        });\n        // Relative luminance\n        const l = 0.2126 * rgba[0] + 0.7152 * rgba[1] + 0.0722 * rgba[2];\n        // Use white or black based on which provides more contrast\n        return 1.05 / (l + 0.05) > (l + 0.05) / 0.05 ? '#FFFFFF' : '#000000';\n    }\n    /**\n     * Create a button with preset states. Styles for the button can either be\n     * set as arguments, or a general theme for all buttons can be set by the\n     * `global.buttonTheme` option.\n     *\n     * @function Highcharts.SVGRenderer#button\n     *\n     * @param {string} text\n     * The text or HTML to draw.\n     *\n     * @param {number} x\n     * The x position of the button's left side.\n     *\n     * @param {number} y\n     * The y position of the button's top side.\n     *\n     * @param {Highcharts.EventCallbackFunction<Highcharts.SVGElement>} callback\n     * The function to execute on button click or touch.\n     *\n     * @param {Highcharts.SVGAttributes} [theme]\n     * SVG attributes for the normal state.\n     *\n     * @param {Highcharts.SVGAttributes} [hoverState]\n     * SVG attributes for the hover state.\n     *\n     * @param {Highcharts.SVGAttributes} [selectState]\n     * SVG attributes for the pressed state.\n     *\n     * @param {Highcharts.SVGAttributes} [disabledState]\n     * SVG attributes for the disabled state.\n     *\n     * @param {Highcharts.SymbolKeyValue} [shape=rect]\n     * The shape type.\n     *\n     * @param {boolean} [useHTML=false]\n     * Whether to use HTML to render the label.\n     *\n     * @return {Highcharts.SVGElement}\n     * The button element.\n     */\n    button(text, x, y, callback, theme = {}, hoverState, selectState, disabledState, shape, useHTML) {\n        const label = this.label(text, x, y, shape, void 0, void 0, useHTML, void 0, 'button'), styledMode = this.styledMode, args = arguments;\n        let curState = 0;\n        theme = SVGRenderer_merge(SVGRenderer_defaultOptions.global.buttonTheme, theme);\n        // @todo Consider moving this to a lower level, like .attr\n        if (styledMode) {\n            delete theme.fill;\n            delete theme.stroke;\n            delete theme['stroke-width'];\n        }\n        const states = theme.states || {}, normalStyle = theme.style || {};\n        delete theme.states;\n        delete theme.style;\n        // Presentational\n        const stateAttribs = [\n            HTML_AST.filterUserAttributes(theme)\n        ], \n        // The string type is a mistake, it is just for compliance with\n        // SVGAttribute and is not used in button theme.\n        stateStyles = [normalStyle];\n        if (!styledMode) {\n            ['hover', 'select', 'disabled'].forEach((stateName, i) => {\n                stateAttribs.push(SVGRenderer_merge(stateAttribs[0], HTML_AST.filterUserAttributes(args[i + 5] || states[stateName] || {})));\n                stateStyles.push(stateAttribs[i + 1].style);\n                delete stateAttribs[i + 1].style;\n            });\n        }\n        // Add the events. IE9 and IE10 need mouseover and mouseout to function\n        // (#667).\n        SVGRenderer_addEvent(label.element, isMS ? 'mouseover' : 'mouseenter', function () {\n            if (curState !== 3) {\n                label.setState(1);\n            }\n        });\n        SVGRenderer_addEvent(label.element, isMS ? 'mouseout' : 'mouseleave', function () {\n            if (curState !== 3) {\n                label.setState(curState);\n            }\n        });\n        label.setState = (state = 0) => {\n            // Hover state is temporary, don't record it\n            if (state !== 1) {\n                label.state = curState = state;\n            }\n            // Update visuals\n            label\n                .removeClass(/highcharts-button-(normal|hover|pressed|disabled)/)\n                .addClass('highcharts-button-' +\n                ['normal', 'hover', 'pressed', 'disabled'][state]);\n            if (!styledMode) {\n                label.attr(stateAttribs[state]);\n                const css = stateStyles[state];\n                if (SVGRenderer_isObject(css)) {\n                    label.css(css);\n                }\n            }\n        };\n        label.attr(stateAttribs[0]);\n        // Presentational attributes\n        if (!styledMode) {\n            label.css(SVGRenderer_extend({ cursor: 'default' }, normalStyle));\n            // HTML labels don't need to handle pointer events because click and\n            // mouseenter/mouseleave is bound to the underlying <g> element.\n            // Should this be reconsidered, we need more complex logic to share\n            // events between the <g> and its <div> counterpart, and avoid\n            // triggering mouseenter/mouseleave when hovering from one to the\n            // other (#17440).\n            if (useHTML) {\n                label.text.css({ pointerEvents: 'none' });\n            }\n        }\n        return label\n            .on('touchstart', (e) => e.stopPropagation())\n            .on('click', function (e) {\n            if (curState !== 3) {\n                callback.call(label, e);\n            }\n        });\n    }\n    /**\n     * Make a straight line crisper by not spilling out to neighbour pixels.\n     *\n     * @function Highcharts.SVGRenderer#crispLine\n     *\n     * @param {Highcharts.SVGPathArray} points\n     *        The original points on the format `[['M', 0, 0], ['L', 100, 0]]`.\n     *\n     * @param {number} width\n     *        The width of the line.\n     *\n     * @return {Highcharts.SVGPathArray}\n     *         The original points array, but modified to render crisply.\n     */\n    crispLine(points, width) {\n        const [start, end] = points;\n        // Normalize to a crisp line\n        if (SVGRenderer_defined(start[1]) && start[1] === end[1]) {\n            start[1] = end[1] = SVGRenderer_crisp(start[1], width);\n        }\n        if (SVGRenderer_defined(start[2]) && start[2] === end[2]) {\n            start[2] = end[2] = SVGRenderer_crisp(start[2], width);\n        }\n        return points;\n    }\n    /**\n     * Draw a path, wraps the SVG `path` element.\n     *\n     * @sample highcharts/members/renderer-path-on-chart/\n     *         Draw a path in a chart\n     * @sample highcharts/members/renderer-path/\n     *         Draw a path independent from a chart\n     *\n     * @example\n     * let path = renderer.path(['M', 10, 10, 'L', 30, 30, 'z'])\n     *     .attr({ stroke: '#ff00ff' })\n     *     .add();\n     *\n     * @function Highcharts.SVGRenderer#path\n     *\n     * @param {Highcharts.SVGPathArray} [path]\n     * An SVG path definition in array form.\n     *\n     * @return {Highcharts.SVGElement}\n     * The generated wrapper element.\n     *\n     */ /**\n    * Draw a path, wraps the SVG `path` element.\n    *\n    * @function Highcharts.SVGRenderer#path\n    *\n    * @param {Highcharts.SVGAttributes} [attribs]\n    * The initial attributes.\n    *\n    * @return {Highcharts.SVGElement}\n    * The generated wrapper element.\n    */\n    path(path) {\n        const attribs = (this.styledMode ? {} : {\n            fill: 'none'\n        });\n        if (SVGRenderer_isArray(path)) {\n            attribs.d = path;\n        }\n        else if (SVGRenderer_isObject(path)) { // Attributes\n            SVGRenderer_extend(attribs, path);\n        }\n        return this.createElement('path').attr(attribs);\n    }\n    /**\n     * Draw a circle, wraps the SVG `circle` element.\n     *\n     * @sample highcharts/members/renderer-circle/\n     *         Drawing a circle\n     *\n     * @function Highcharts.SVGRenderer#circle\n     *\n     * @param {number} [x]\n     * The center x position.\n     *\n     * @param {number} [y]\n     * The center y position.\n     *\n     * @param {number} [r]\n     * The radius.\n     *\n     * @return {Highcharts.SVGElement}\n     * The generated wrapper element.\n     */ /**\n    * Draw a circle, wraps the SVG `circle` element.\n    *\n    * @function Highcharts.SVGRenderer#circle\n    *\n    * @param {Highcharts.SVGAttributes} [attribs]\n    * The initial attributes.\n    *\n    * @return {Highcharts.SVGElement}\n    * The generated wrapper element.\n    */\n    circle(x, y, r) {\n        const attribs = (SVGRenderer_isObject(x) ?\n            x :\n            typeof x === 'undefined' ? {} : { x: x, y: y, r: r }), wrapper = this.createElement('circle');\n        // Setting x or y translates to cx and cy\n        wrapper.xSetter = wrapper.ySetter = function (value, key, element) {\n            element.setAttribute('c' + key, value);\n        };\n        return wrapper.attr(attribs);\n    }\n    /**\n     * Draw and return an arc.\n     *\n     * @sample highcharts/members/renderer-arc/\n     *         Drawing an arc\n     *\n     * @function Highcharts.SVGRenderer#arc\n     *\n     * @param {number} [x=0]\n     * Center X position.\n     *\n     * @param {number} [y=0]\n     * Center Y position.\n     *\n     * @param {number} [r=0]\n     * The outer radius' of the arc.\n     *\n     * @param {number} [innerR=0]\n     * Inner radius like used in donut charts.\n     *\n     * @param {number} [start=0]\n     * The starting angle of the arc in radians, where 0 is to the right and\n     * `-Math.PI/2` is up.\n     *\n     * @param {number} [end=0]\n     * The ending angle of the arc in radians, where 0 is to the right and\n     * `-Math.PI/2` is up.\n     *\n     * @return {Highcharts.SVGElement}\n     * The generated wrapper element.\n     */ /**\n    * Draw and return an arc. Overloaded function that takes arguments object.\n    *\n    * @function Highcharts.SVGRenderer#arc\n    *\n    * @param {Highcharts.SVGAttributes} attribs\n    * Initial SVG attributes.\n    *\n    * @return {Highcharts.SVGElement}\n    * The generated wrapper element.\n    */\n    arc(x, y, r, innerR, start, end) {\n        let options;\n        if (SVGRenderer_isObject(x)) {\n            options = x;\n            y = options.y;\n            r = options.r;\n            innerR = options.innerR;\n            start = options.start;\n            end = options.end;\n            x = options.x;\n        }\n        else {\n            options = { innerR, start, end };\n        }\n        // Arcs are defined as symbols for the ability to set\n        // attributes in attr and animate\n        const arc = this.symbol('arc', x, y, r, r, options);\n        arc.r = r; // #959\n        return arc;\n    }\n    /**\n     * Draw and return a rectangle.\n     *\n     * @function Highcharts.SVGRenderer#rect\n     *\n     * @param {number} [x]\n     * Left position.\n     *\n     * @param {number} [y]\n     * Top position.\n     *\n     * @param {number} [width]\n     * Width of the rectangle.\n     *\n     * @param {number} [height]\n     * Height of the rectangle.\n     *\n     * @param {number} [r]\n     * Border corner radius.\n     *\n     * @param {number} [strokeWidth]\n     * A stroke width can be supplied to allow crisp drawing.\n     *\n     * @return {Highcharts.SVGElement}\n     * The generated wrapper element.\n     */ /**\n    * Draw and return a rectangle.\n    *\n    * @sample highcharts/members/renderer-rect-on-chart/\n    *         Draw a rectangle in a chart\n    * @sample highcharts/members/renderer-rect/\n    *         Draw a rectangle independent from a chart\n    *\n    * @function Highcharts.SVGRenderer#rect\n    *\n    * @param {Highcharts.SVGAttributes} [attributes]\n    * General SVG attributes for the rectangle.\n    *\n    * @return {Highcharts.SVGElement}\n    * The generated wrapper element.\n    */\n    rect(x, y, width, height, r, strokeWidth) {\n        const attribs = (SVGRenderer_isObject(x) ?\n            x :\n            typeof x === 'undefined' ?\n                {} :\n                {\n                    x,\n                    y,\n                    r,\n                    width: Math.max(width || 0, 0),\n                    height: Math.max(height || 0, 0)\n                }), wrapper = this.createElement('rect');\n        if (!this.styledMode) {\n            if (typeof strokeWidth !== 'undefined') {\n                attribs['stroke-width'] = strokeWidth;\n                SVGRenderer_extend(attribs, wrapper.crisp(attribs));\n            }\n            attribs.fill = 'none';\n        }\n        wrapper.rSetter = function (value, _key, element) {\n            wrapper.r = value;\n            SVGRenderer_attr(element, {\n                rx: value,\n                ry: value\n            });\n        };\n        wrapper.rGetter = function () {\n            return wrapper.r || 0;\n        };\n        return wrapper.attr(attribs);\n    }\n    /**\n     * Draw and return a rectangle with advanced corner rounding options.\n     *\n     * @function Highcharts.SVGRenderer#roundedRect\n     *\n     * @param {Highcharts.SVGAttributes} attribs\n     *      Attributes\n     * @return {Highcharts.SVGElement}\n     * The generated wrapper element.\n     */\n    roundedRect(attribs) {\n        return this.symbol('roundedRect').attr(attribs);\n    }\n    /**\n     * Resize the {@link SVGRenderer#box} and re-align all aligned child\n     * elements.\n     *\n     * @sample highcharts/members/renderer-g/\n     *         Show and hide grouped objects\n     *\n     * @function Highcharts.SVGRenderer#setSize\n     *\n     * @param {number} width\n     * The new pixel width.\n     *\n     * @param {number} height\n     * The new pixel height.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animate=true]\n     * Whether and how to animate.\n     */\n    setSize(width, height, animate) {\n        const renderer = this;\n        renderer.width = width;\n        renderer.height = height;\n        renderer.boxWrapper.animate({\n            width: width,\n            height: height\n        }, {\n            step: function () {\n                this.attr({\n                    viewBox: '0 0 ' + this.attr('width') + ' ' +\n                        this.attr('height')\n                });\n            },\n            duration: SVGRenderer_pick(animate, true) ? void 0 : 0\n        });\n        renderer.alignElements();\n    }\n    /**\n     * Create and return an svg group element. Child\n     * {@link Highcharts.SVGElement} objects are added to the group by using the\n     * group as the first parameter in {@link Highcharts.SVGElement#add|add()}.\n     *\n     * @function Highcharts.SVGRenderer#g\n     *\n     * @param {string} [name]\n     *        The group will be given a class name of `highcharts-{name}`. This\n     *        can be used for styling and scripting.\n     *\n     * @return {Highcharts.SVGElement}\n     *         The generated wrapper element.\n     */\n    g(name) {\n        const elem = this.createElement('g');\n        return name ?\n            elem.attr({ 'class': 'highcharts-' + name }) :\n            elem;\n    }\n    /**\n     * Display an image.\n     *\n     * @sample highcharts/members/renderer-image-on-chart/\n     *         Add an image in a chart\n     * @sample highcharts/members/renderer-image/\n     *         Add an image independent of a chart\n     *\n     * @function Highcharts.SVGRenderer#image\n     *\n     * @param {string} href\n     *        The image source.\n     *\n     * @param {number} [x]\n     *        The X position.\n     *\n     * @param {number} [y]\n     *        The Y position.\n     *\n     * @param {number} [width]\n     *        The image width. If omitted, it defaults to the image file width.\n     *\n     * @param {number} [height]\n     *        The image height. If omitted it defaults to the image file\n     *        height.\n     *\n     * @param {Function} [onload]\n     *        Event handler for image load.\n     *\n     * @return {Highcharts.SVGElement}\n     *         The generated wrapper element.\n     */\n    image(href, x, y, width, height, onload) {\n        const attribs = { preserveAspectRatio: 'none' };\n        // Optional properties (#11756)\n        if (SVGRenderer_isNumber(x)) {\n            attribs.x = x;\n        }\n        if (SVGRenderer_isNumber(y)) {\n            attribs.y = y;\n        }\n        if (SVGRenderer_isNumber(width)) {\n            attribs.width = width;\n        }\n        if (SVGRenderer_isNumber(height)) {\n            attribs.height = height;\n        }\n        const elemWrapper = this.createElement('image').attr(attribs), onDummyLoad = function (e) {\n            elemWrapper.attr({ href });\n            onload.call(elemWrapper, e);\n        };\n        // Add load event if supplied\n        if (onload) {\n            // We have to use a dummy HTML image since IE support for SVG image\n            // load events is very buggy. First set a transparent src, wait for\n            // dummy to load, and then add the real src to the SVG image.\n            elemWrapper.attr({\n                /* eslint-disable-next-line max-len */\n                href: 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='\n            });\n            const dummy = new SVGRenderer_win.Image();\n            SVGRenderer_addEvent(dummy, 'load', onDummyLoad);\n            dummy.src = href;\n            if (dummy.complete) {\n                onDummyLoad({});\n            }\n        }\n        else {\n            elemWrapper.attr({ href });\n        }\n        return elemWrapper;\n    }\n    /**\n     * Draw a symbol out of pre-defined shape paths from\n     * {@link SVGRenderer#symbols}.\n     * It is used in Highcharts for point makers, which cake a `symbol` option,\n     * and label and button backgrounds like in the tooltip and stock flags.\n     *\n     * @function Highcharts.SVGRenderer#symbol\n     *\n     * @param {string} symbol\n     * The symbol name.\n     *\n     * @param {number} [x]\n     * The X coordinate for the top left position.\n     *\n     * @param {number} [y]\n     * The Y coordinate for the top left position.\n     *\n     * @param {number} [width]\n     * The pixel width.\n     *\n     * @param {number} [height]\n     * The pixel height.\n     *\n     * @param {Highcharts.SymbolOptionsObject} [options]\n     * Additional options, depending on the actual symbol drawn.\n     *\n     * @return {Highcharts.SVGElement}\n     * SVG symbol.\n     */\n    symbol(symbol, x, y, width, height, options) {\n        const ren = this, imageRegex = /^url\\((.*?)\\)$/, isImage = imageRegex.test(symbol), sym = (!isImage && (this.symbols[symbol] ? symbol : 'circle')), \n        // Get the symbol definition function\n        symbolFn = (sym && this.symbols[sym]);\n        let obj, path, imageSrc, centerImage;\n        if (symbolFn) {\n            // Check if there's a path defined for this symbol\n            if (typeof x === 'number') {\n                path = symbolFn.call(this.symbols, x || 0, y || 0, width || 0, height || 0, options);\n            }\n            obj = this.path(path);\n            if (!ren.styledMode) {\n                obj.attr('fill', 'none');\n            }\n            // Expando properties for use in animate and attr\n            SVGRenderer_extend(obj, {\n                symbolName: (sym || void 0),\n                x: x,\n                y: y,\n                width: width,\n                height: height\n            });\n            if (options) {\n                SVGRenderer_extend(obj, options);\n            }\n            // Image symbols\n        }\n        else if (isImage) {\n            imageSrc = symbol.match(imageRegex)[1];\n            // Create the image synchronously, add attribs async\n            const img = obj = this.image(imageSrc);\n            // The image width is not always the same as the symbol width. The\n            // image may be centered within the symbol, as is the case when\n            // image shapes are used as label backgrounds, for example in flags.\n            img.imgwidth = SVGRenderer_pick(options && options.width, symbolSizes[imageSrc] && symbolSizes[imageSrc].width);\n            img.imgheight = SVGRenderer_pick(options && options.height, symbolSizes[imageSrc] && symbolSizes[imageSrc].height);\n            /**\n             * Set the size and position\n             */\n            centerImage = (obj) => obj.attr({\n                width: obj.width,\n                height: obj.height\n            });\n            /**\n             * Width and height setters that take both the image's physical size\n             * and the label size into consideration, and translates the image\n             * to center within the label.\n             */\n            ['width', 'height'].forEach((key) => {\n                img[`${key}Setter`] = function (value, key) {\n                    this[key] = value;\n                    const { alignByTranslate, element, width, height, imgwidth, imgheight } = this, imgSize = key === 'width' ? imgwidth : imgheight;\n                    let scale = 1;\n                    // Scale and center the image within its container. The name\n                    // `backgroundSize` is taken from the CSS spec, but the\n                    // value `within` is made up. Other possible values in the\n                    // spec, `cover` and `contain`, can be implemented if\n                    // needed.\n                    if (options &&\n                        options.backgroundSize === 'within' &&\n                        width &&\n                        height &&\n                        imgwidth &&\n                        imgheight) {\n                        scale = Math.min(width / imgwidth, height / imgheight);\n                        // Update both width and height to keep the ratio\n                        // correct (#17315)\n                        SVGRenderer_attr(element, {\n                            width: Math.round(imgwidth * scale),\n                            height: Math.round(imgheight * scale)\n                        });\n                    }\n                    else if (element && imgSize) {\n                        element.setAttribute(key, imgSize);\n                    }\n                    if (!alignByTranslate && imgwidth && imgheight) {\n                        this.translate(((width || 0) - (imgwidth * scale)) / 2, ((height || 0) - (imgheight * scale)) / 2);\n                    }\n                };\n            });\n            if (SVGRenderer_defined(x)) {\n                img.attr({\n                    x: x,\n                    y: y\n                });\n            }\n            img.isImg = true;\n            img.symbolUrl = symbol;\n            if (SVGRenderer_defined(img.imgwidth) && SVGRenderer_defined(img.imgheight)) {\n                centerImage(img);\n            }\n            else {\n                // Initialize image to be 0 size so export will still function\n                // if there's no cached sizes.\n                img.attr({ width: 0, height: 0 });\n                // Create a dummy JavaScript image to get the width and height.\n                SVGRenderer_createElement('img', {\n                    onload: function () {\n                        const chart = SVGRenderer_charts[ren.chartIndex];\n                        // Special case for SVGs on IE11, the width is not\n                        // accessible until the image is part of the DOM\n                        // (#2854).\n                        if (this.width === 0) {\n                            SVGRenderer_css(this, {\n                                position: 'absolute',\n                                top: '-999em'\n                            });\n                            SVGRenderer_doc.body.appendChild(this);\n                        }\n                        // Center the image\n                        symbolSizes[imageSrc] = {\n                            width: this.width,\n                            height: this.height\n                        };\n                        img.imgwidth = this.width;\n                        img.imgheight = this.height;\n                        if (img.element) {\n                            centerImage(img);\n                        }\n                        // Clean up after #2854 workaround.\n                        if (this.parentNode) {\n                            this.parentNode.removeChild(this);\n                        }\n                        // Fire the load event when all external images are\n                        // loaded\n                        ren.imgCount--;\n                        if (!ren.imgCount && chart && !chart.hasLoaded) {\n                            chart.onload();\n                        }\n                    },\n                    src: imageSrc\n                });\n                this.imgCount++;\n            }\n        }\n        return obj;\n    }\n    /**\n     * Define a clipping rectangle. The clipping rectangle is later applied\n     * to {@link SVGElement} objects through the {@link SVGElement#clip}\n     * function.\n     *\n     * This function is deprecated as of v11.2. Instead, use a regular shape\n     * (`rect`, `path` etc), and the `SVGElement.clipTo` function.\n     *\n     * @example\n     * let circle = renderer.circle(100, 100, 100)\n     *     .attr({ fill: 'red' })\n     *     .add();\n     * let clipRect = renderer.clipRect(100, 100, 100, 100);\n     *\n     * // Leave only the lower right quarter visible\n     * circle.clip(clipRect);\n     *\n     * @deprecated\n     *\n     * @function Highcharts.SVGRenderer#clipRect\n     *\n     * @param {number} [x]\n     *\n     * @param {number} [y]\n     *\n     * @param {number} [width]\n     *\n     * @param {number} [height]\n     *\n     * @return {Highcharts.ClipRectElement}\n     *         A clipping rectangle.\n     */\n    clipRect(x, y, width, height) {\n        return this.rect(x, y, width, height, 0);\n    }\n    /**\n     * Draw text. The text can contain a subset of HTML, like spans and anchors\n     * and some basic text styling of these. For more advanced features like\n     * border and background, use {@link Highcharts.SVGRenderer#label} instead.\n     * To update the text after render, run `text.attr({ text: 'New text' })`.\n     *\n     * @sample highcharts/members/renderer-text-on-chart/\n     *         Annotate the chart freely\n     * @sample highcharts/members/renderer-on-chart/\n     *         Annotate with a border and in response to the data\n     * @sample highcharts/members/renderer-text/\n     *         Formatted text\n     *\n     * @function Highcharts.SVGRenderer#text\n     *\n     * @param {string} [str]\n     * The text of (subset) HTML to draw.\n     *\n     * @param {number} [x]\n     * The x position of the text's lower left corner.\n     *\n     * @param {number} [y]\n     * The y position of the text's lower left corner.\n     *\n     * @param {boolean} [useHTML=false]\n     * Use HTML to render the text.\n     *\n     * @return {Highcharts.SVGElement}\n     * The text object.\n     */\n    text(str, x, y, useHTML) {\n        const renderer = this, attribs = {};\n        if (useHTML && (renderer.allowHTML || !renderer.forExport)) {\n            return renderer.html(str, x, y);\n        }\n        attribs.x = Math.round(x || 0); // X always needed for line-wrap logic\n        if (y) {\n            attribs.y = Math.round(y);\n        }\n        if (SVGRenderer_defined(str)) {\n            attribs.text = str;\n        }\n        const wrapper = renderer.createElement('text').attr(attribs);\n        if (!useHTML || (renderer.forExport && !renderer.allowHTML)) {\n            wrapper.xSetter = function (value, key, element) {\n                const tspans = element.getElementsByTagName('tspan'), parentVal = element.getAttribute(key);\n                for (let i = 0, tspan; i < tspans.length; i++) {\n                    tspan = tspans[i];\n                    // If the x values are equal, the tspan represents a line\n                    // break\n                    if (tspan.getAttribute(key) === parentVal) {\n                        tspan.setAttribute(key, value);\n                    }\n                }\n                element.setAttribute(key, value);\n            };\n        }\n        return wrapper;\n    }\n    /**\n     * Utility to return the baseline offset and total line height from the font\n     * size.\n     *\n     * @function Highcharts.SVGRenderer#fontMetrics\n     *\n     * @param {Highcharts.SVGElement|Highcharts.SVGDOMElement|number} [element]\n     *        The element to inspect for a current font size. If a number is\n     *        given, it's used as a fall back for direct font size in pixels.\n     *\n     * @return {Highcharts.FontMetricsObject}\n     *         The font metrics.\n     */\n    fontMetrics(element) {\n        const f = SVGRenderer_pInt(SVG_SVGElement.prototype.getStyle.call(element, 'font-size') || 0);\n        // Empirical values found by comparing font size and bounding box\n        // height. Applies to the default font family.\n        // https://jsfiddle.net/highcharts/7xvn7/\n        const h = f < 24 ? f + 3 : Math.round(f * 1.2), b = Math.round(h * 0.8);\n        return {\n            // Line height\n            h,\n            // Baseline\n            b,\n            // Font size\n            f\n        };\n    }\n    /**\n     * Correct X and Y positioning of a label for rotation (#1764).\n     *\n     * @private\n     * @function Highcharts.SVGRenderer#rotCorr\n     */\n    rotCorr(baseline, rotation, alterY) {\n        let y = baseline;\n        if (rotation && alterY) {\n            y = Math.max(y * Math.cos(rotation * SVGRenderer_deg2rad), 4);\n        }\n        return {\n            x: (-baseline / 3) * Math.sin(rotation * SVGRenderer_deg2rad),\n            y: y\n        };\n    }\n    /**\n     * Compatibility function to convert the legacy one-dimensional path array\n     * into an array of segments.\n     *\n     * It is used in maps to parse the `path` option, and in SVGRenderer.dSetter\n     * to support legacy paths from demos.\n     *\n     * @private\n     * @function Highcharts.SVGRenderer#pathToSegments\n     */\n    pathToSegments(path) {\n        const ret = [];\n        const segment = [];\n        const commandLength = {\n            A: 8,\n            C: 7,\n            H: 2,\n            L: 3,\n            M: 3,\n            Q: 5,\n            S: 5,\n            T: 3,\n            V: 2\n        };\n        // Short, non-typesafe parsing of the one-dimensional array. It splits\n        // the path on any string. This is not type checked against the tuple\n        // types, but is shorter, and doesn't require specific checks for any\n        // command type in SVG.\n        for (let i = 0; i < path.length; i++) {\n            // Command skipped, repeat previous or insert L/l for M/m\n            if (SVGRenderer_isString(segment[0]) &&\n                SVGRenderer_isNumber(path[i]) &&\n                segment.length === commandLength[(segment[0].toUpperCase())]) {\n                path.splice(i, 0, segment[0].replace('M', 'L').replace('m', 'l'));\n            }\n            // Split on string\n            if (typeof path[i] === 'string') {\n                if (segment.length) {\n                    ret.push(segment.slice(0));\n                }\n                segment.length = 0;\n            }\n            segment.push(path[i]);\n        }\n        ret.push(segment.slice(0));\n        return ret;\n        /*\n        // Fully type-safe version where each tuple type is checked. The\n        // downside is filesize and a lack of flexibility for unsupported\n        // commands\n        const ret: SVGPath = [],\n            commands = {\n                A: 7,\n                C: 6,\n                H: 1,\n                L: 2,\n                M: 2,\n                Q: 4,\n                S: 4,\n                T: 2,\n                V: 1,\n                Z: 0\n            };\n\n        let i = 0,\n            lastI = 0,\n            lastCommand;\n\n        while (i < path.length) {\n            const item = path[i];\n\n            let command;\n\n            if (typeof item === 'string') {\n                command = item;\n                i += 1;\n            } else {\n                command = lastCommand || 'M';\n            }\n\n            // Upper case\n            const commandUC = command.toUpperCase();\n\n            if (commandUC in commands) {\n\n                // No numeric parameters\n                if (command === 'Z' || command === 'z') {\n                    ret.push([command]);\n\n                // One numeric parameter\n                } else {\n                    const val0 = path[i];\n                    if (typeof val0 === 'number') {\n\n                        // Horizontal line to\n                        if (command === 'H' || command === 'h') {\n                            ret.push([command, val0]);\n                            i += 1;\n\n                        // Vertical line to\n                        } else if (command === 'V' || command === 'v') {\n                            ret.push([command, val0]);\n                            i += 1;\n\n                        // Two numeric parameters\n                        } else {\n                            const val1 = path[i + 1];\n                            if (typeof val1 === 'number') {\n                                // lineTo\n                                if (command === 'L' || command === 'l') {\n                                    ret.push([command, val0, val1]);\n                                    i += 2;\n\n                                // moveTo\n                                } else if (command === 'M' || command === 'm') {\n                                    ret.push([command, val0, val1]);\n                                    i += 2;\n\n                                // Smooth quadratic bezier\n                                } else if (command === 'T' || command === 't') {\n                                    ret.push([command, val0, val1]);\n                                    i += 2;\n\n                                // Four numeric parameters\n                                } else {\n                                    const val2 = path[i + 2],\n                                        val3 = path[i + 3];\n                                    if (\n                                        typeof val2 === 'number' &&\n                                        typeof val3 === 'number'\n                                    ) {\n                                        // Quadratic bezier to\n                                        if (\n                                            command === 'Q' ||\n                                            command === 'q'\n                                        ) {\n                                            ret.push([\n                                                command,\n                                                val0,\n                                                val1,\n                                                val2,\n                                                val3\n                                            ]);\n                                            i += 4;\n\n                                        // Smooth cubic bezier to\n                                        } else if (\n                                            command === 'S' ||\n                                            command === 's'\n                                        ) {\n                                            ret.push([\n                                                command,\n                                                val0,\n                                                val1,\n                                                val2,\n                                                val3\n                                            ]);\n                                            i += 4;\n\n                                        // Six numeric parameters\n                                        } else {\n                                            const val4 = path[i + 4],\n                                                val5 = path[i + 5];\n\n                                            if (\n                                                typeof val4 === 'number' &&\n                                                typeof val5 === 'number'\n                                            ) {\n                                                // Curve to\n                                                if (\n                                                    command === 'C' ||\n                                                    command === 'c'\n                                                ) {\n                                                    ret.push([\n                                                        command,\n                                                        val0,\n                                                        val1,\n                                                        val2,\n                                                        val3,\n                                                        val4,\n                                                        val5\n                                                    ]);\n                                                    i += 6;\n\n                                                // Seven numeric parameters\n                                                } else {\n                                                    const val6 = path[i + 6];\n\n                                                    // Arc to\n                                                    if (\n                                                        typeof val6 ===\n                                                        'number' &&\n                                                        (\n                                                            command === 'A' ||\n                                                            command === 'a'\n                                                        )\n                                                    ) {\n                                                        ret.push([\n                                                            command,\n                                                            val0,\n                                                            val1,\n                                                            val2,\n                                                            val3,\n                                                            val4,\n                                                            val5,\n                                                            val6\n                                                        ]);\n                                                        i += 7;\n\n                                                    }\n\n                                                }\n                                            }\n                                        }\n                                    }\n                                }\n                            }\n\n                        }\n                    }\n                }\n            }\n\n            // An unmarked command following a moveTo is a lineTo\n            lastCommand = command === 'M' ? 'L' : command;\n\n            if (i === lastI) {\n                break;\n            }\n            lastI = i;\n        }\n        return ret;\n        */\n    }\n    /**\n     * Draw a label, which is an extended text element with support for border\n     * and background. Highcharts creates a `g` element with a text and a `path`\n     * or `rect` inside, to make it behave somewhat like a HTML div. Border and\n     * background are set through `stroke`, `stroke-width` and `fill` attributes\n     * using the {@link Highcharts.SVGElement#attr|attr} method. To update the\n     * text after render, run `label.attr({ text: 'New text' })`.\n     *\n     * @sample highcharts/members/renderer-label-on-chart/\n     *         A label on the chart\n     *\n     * @function Highcharts.SVGRenderer#label\n     *\n     * @param {string} str\n     *        The initial text string or (subset) HTML to render.\n     *\n     * @param {number} x\n     *        The x position of the label's left side.\n     *\n     * @param {number} [y]\n     *        The y position of the label's top side or baseline, depending on\n     *        the `baseline` parameter.\n     *\n     * @param {string} [shape='rect']\n     *        The shape of the label's border/background, if any. Defaults to\n     *        `rect`. Other possible values are `callout` or other shapes\n     *        defined in {@link Highcharts.SVGRenderer#symbols}.\n     *\n     * @param {number} [anchorX]\n     *        In case the `shape` has a pointer, like a flag, this is the\n     *        coordinates it should be pinned to.\n     *\n     * @param {number} [anchorY]\n     *        In case the `shape` has a pointer, like a flag, this is the\n     *        coordinates it should be pinned to.\n     *\n     * @param {boolean} [useHTML=false]\n     *        Whether to use HTML to render the label.\n     *\n     * @param {boolean} [baseline=false]\n     *        Whether to position the label relative to the text baseline,\n     *        like {@link Highcharts.SVGRenderer#text|renderer.text}, or to the\n     *        upper border of the rectangle.\n     *\n     * @param {string} [className]\n     *        Class name for the group.\n     *\n     * @return {Highcharts.SVGElement}\n     *         The generated label.\n     */\n    label(str, x, y, shape, anchorX, anchorY, useHTML, baseline, className) {\n        return new SVG_SVGLabel(this, str, x, y, shape, anchorX, anchorY, useHTML, baseline, className);\n    }\n    /**\n     * Re-align all aligned elements.\n     *\n     * @private\n     * @function Highcharts.SVGRenderer#alignElements\n     */\n    alignElements() {\n        this.alignedObjects.forEach((el) => el.align());\n    }\n}\nSVGRenderer_extend(SVGRenderer.prototype, {\n    /**\n     * A pointer to the renderer's associated Element class.\n     *\n     * @name Highcharts.SVGRenderer#Element\n     * @type {Highcharts.SVGElement}\n     */\n    Element: SVG_SVGElement,\n    SVG_NS: SVGRenderer_SVG_NS,\n    /**\n     * A collection of characters mapped to HTML entities. When `useHTML` on an\n     * element is true, these entities will be rendered correctly by HTML. In\n     * the SVG pseudo-HTML, they need to be unescaped back to simple characters,\n     * so for example `&lt;` will render as `<`.\n     *\n     * @example\n     * // Add support for unescaping quotes\n     * Highcharts.SVGRenderer.prototype.escapes['\"'] = '&quot;';\n     *\n     * @name Highcharts.SVGRenderer#escapes\n     * @type {Highcharts.Dictionary<string>}\n     */\n    escapes: {\n        '&': '&amp;',\n        '<': '&lt;',\n        '>': '&gt;',\n        \"'\": '&#39;', // eslint-disable-line quotes\n        '\"': '&quot;'\n    },\n    /**\n     * An extendable collection of functions for defining symbol paths.\n     *\n     * @name Highcharts.SVGRenderer#symbols\n     * @type {Highcharts.SymbolDictionary}\n     */\n    symbols: SVG_Symbols,\n    /**\n     * Dummy function for plugins, called every time the renderer is updated.\n     * Prior to Highcharts 5, this was used for the canvg renderer.\n     *\n     * @deprecated\n     * @function Highcharts.SVGRenderer#draw\n     */\n    draw: noop\n});\n/* *\n *\n *  Registry\n *\n * */\nRenderer_RendererRegistry.registerRendererType('svg', SVGRenderer, true);\n/* *\n *\n *  Export Default\n *\n * */\n/* harmony default export */ const SVG_SVGRenderer = (SVGRenderer);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * A clipping rectangle that can be applied to one or more {@link SVGElement}\n * instances. It is instantiated with the {@link SVGRenderer#clipRect} function\n * and applied with the {@link SVGElement#clip} function.\n *\n * @example\n * let circle = renderer.circle(100, 100, 100)\n *     .attr({ fill: 'red' })\n *     .add();\n * let clipRect = renderer.clipRect(100, 100, 100, 100);\n *\n * // Leave only the lower right quarter visible\n * circle.clip(clipRect);\n *\n * @typedef {Highcharts.SVGElement} Highcharts.ClipRectElement\n */\n/**\n * The font metrics.\n *\n * @interface Highcharts.FontMetricsObject\n */ /**\n* The baseline relative to the top of the box.\n*\n* @name Highcharts.FontMetricsObject#b\n* @type {number}\n*/ /**\n* The font size.\n*\n* @name Highcharts.FontMetricsObject#f\n* @type {number}\n*/ /**\n* The line height.\n*\n* @name Highcharts.FontMetricsObject#h\n* @type {number}\n*/\n/**\n * An object containing `x` and `y` properties for the position of an element.\n *\n * @interface Highcharts.PositionObject\n */ /**\n* X position of the element.\n* @name Highcharts.PositionObject#x\n* @type {number}\n*/ /**\n* Y position of the element.\n* @name Highcharts.PositionObject#y\n* @type {number}\n*/\n/**\n * A rectangle.\n *\n * @interface Highcharts.RectangleObject\n */ /**\n* Height of the rectangle.\n* @name Highcharts.RectangleObject#height\n* @type {number}\n*/ /**\n* Width of the rectangle.\n* @name Highcharts.RectangleObject#width\n* @type {number}\n*/ /**\n* Horizontal position of the rectangle.\n* @name Highcharts.RectangleObject#x\n* @type {number}\n*/ /**\n* Vertical position of the rectangle.\n* @name Highcharts.RectangleObject#y\n* @type {number}\n*/\n/**\n * The shadow options.\n *\n * @interface Highcharts.ShadowOptionsObject\n */ /**\n* The shadow color.\n* @name    Highcharts.ShadowOptionsObject#color\n* @type    {Highcharts.ColorString|undefined}\n* @default ${palette.neutralColor100}\n*/ /**\n* The horizontal offset from the element.\n*\n* @name    Highcharts.ShadowOptionsObject#offsetX\n* @type    {number|undefined}\n* @default 1\n*/ /**\n* The vertical offset from the element.\n* @name    Highcharts.ShadowOptionsObject#offsetY\n* @type    {number|undefined}\n* @default 1\n*/ /**\n* The shadow opacity.\n*\n* @name    Highcharts.ShadowOptionsObject#opacity\n* @type    {number|undefined}\n* @default 0.15\n*/ /**\n* The shadow width or distance from the element.\n* @name    Highcharts.ShadowOptionsObject#width\n* @type    {number|undefined}\n* @default 3\n*/\n/**\n * @interface Highcharts.SizeObject\n */ /**\n* @name Highcharts.SizeObject#height\n* @type {number}\n*/ /**\n* @name Highcharts.SizeObject#width\n* @type {number}\n*/\n/**\n * Array of path commands, that will go into the `d` attribute of an SVG\n * element.\n *\n * @typedef {Array<(Array<Highcharts.SVGPathCommand>|Array<Highcharts.SVGPathCommand,number>|Array<Highcharts.SVGPathCommand,number,number>|Array<Highcharts.SVGPathCommand,number,number,number,number>|Array<Highcharts.SVGPathCommand,number,number,number,number,number,number>|Array<Highcharts.SVGPathCommand,number,number,number,number,number,number,number>)>} Highcharts.SVGPathArray\n */\n/**\n * Possible path commands in an SVG path array. Valid values are `A`, `C`, `H`,\n * `L`, `M`, `Q`, `S`, `T`, `V`, `Z`.\n *\n * @typedef {string} Highcharts.SVGPathCommand\n * @validvalue [\"a\",\"c\",\"h\",\"l\",\"m\",\"q\",\"s\",\"t\",\"v\",\"z\",\"A\",\"C\",\"H\",\"L\",\"M\",\"Q\",\"S\",\"T\",\"V\",\"Z\"]\n */\n/**\n * An extendable collection of functions for defining symbol paths. Symbols are\n * used internally for point markers, button and label borders and backgrounds,\n * or custom shapes. Extendable by adding to {@link SVGRenderer#symbols}.\n *\n * @interface Highcharts.SymbolDictionary\n */ /**\n* @name Highcharts.SymbolDictionary#[key:string]\n* @type {Function|undefined}\n*/ /**\n* @name Highcharts.SymbolDictionary#arc\n* @type {Function|undefined}\n*/ /**\n* @name Highcharts.SymbolDictionary#callout\n* @type {Function|undefined}\n*/ /**\n* @name Highcharts.SymbolDictionary#circle\n* @type {Function|undefined}\n*/ /**\n* @name Highcharts.SymbolDictionary#diamond\n* @type {Function|undefined}\n*/ /**\n* @name Highcharts.SymbolDictionary#square\n* @type {Function|undefined}\n*/ /**\n* @name Highcharts.SymbolDictionary#triangle\n* @type {Function|undefined}\n*/\n/**\n * Can be one of `arc`, `callout`, `circle`, `diamond`, `square`, `triangle`,\n * and `triangle-down`. Symbols are used internally for point markers, button\n * and label borders and backgrounds, or custom shapes. Extendable by adding to\n * {@link SVGRenderer#symbols}.\n *\n * @typedef {\"arc\"|\"callout\"|\"circle\"|\"diamond\"|\"square\"|\"triangle\"|\"triangle-down\"} Highcharts.SymbolKeyValue\n */\n/**\n * Additional options, depending on the actual symbol drawn.\n *\n * @interface Highcharts.SymbolOptionsObject\n */ /**\n* The anchor X position for the `callout` symbol. This is where the chevron\n* points to.\n*\n* @name Highcharts.SymbolOptionsObject#anchorX\n* @type {number|undefined}\n*/ /**\n* The anchor Y position for the `callout` symbol. This is where the chevron\n* points to.\n*\n* @name Highcharts.SymbolOptionsObject#anchorY\n* @type {number|undefined}\n*/ /**\n* The end angle of an `arc` symbol.\n*\n* @name Highcharts.SymbolOptionsObject#end\n* @type {number|undefined}\n*/ /**\n* Whether to draw `arc` symbol open or closed.\n*\n* @name Highcharts.SymbolOptionsObject#open\n* @type {boolean|undefined}\n*/ /**\n* The radius of an `arc` symbol, or the border radius for the `callout` symbol.\n*\n* @name Highcharts.SymbolOptionsObject#r\n* @type {number|undefined}\n*/ /**\n* The start angle of an `arc` symbol.\n*\n* @name Highcharts.SymbolOptionsObject#start\n* @type {number|undefined}\n*/\n(''); // Keeps doclets above in transpiled file\n\n;// ./code/es-modules/Core/Renderer/HTML/HTMLElement.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { composed } = Core_Globals;\n\n\nconst { attr: HTMLElement_attr, css: HTMLElement_css, createElement: HTMLElement_createElement, defined: HTMLElement_defined, extend: HTMLElement_extend, getAlignFactor: HTMLElement_getAlignFactor, isNumber: HTMLElement_isNumber, pInt: HTMLElement_pInt, pushUnique: HTMLElement_pushUnique } = Core_Utilities;\n/**\n * The opacity and visibility properties are set as attributes on the main\n * element and SVG groups, and as identical CSS properties on the HTML element\n * and the ancestry divs. (#3542)\n *\n * @private\n */\nfunction commonSetter(value, key, elem) {\n    const style = this.div?.style || elem.style;\n    SVG_SVGElement.prototype[`${key}Setter`].call(this, value, key, elem);\n    if (style) {\n        style[key] = value;\n    }\n}\n/**\n * Decorate each SVG group in the ancestry line. Each SVG `g` element that\n * contains children with useHTML, will receive a `div` element counterpart to\n * contain the HTML span. These div elements are translated and styled like\n * original `g` counterparts.\n *\n * @private\n */\nconst decorateSVGGroup = (g, container) => {\n    if (!g.div) {\n        const className = HTMLElement_attr(g.element, 'class'), cssProto = g.css;\n        // Create the parallel HTML group\n        const div = HTMLElement_createElement('div', className ? { className } : void 0, {\n            // Add HTML specific styles\n            position: 'absolute',\n            left: `${g.translateX || 0}px`,\n            top: `${g.translateY || 0}px`,\n            // Add pre-existing styles\n            ...g.styles,\n            // Add g attributes that correspond to CSS\n            display: g.display,\n            opacity: g.opacity, // #5075\n            visibility: g.visibility\n        }, \n        // The top group is appended to container\n        g.parentGroup?.div || container);\n        g.classSetter = (value, key, element) => {\n            element.setAttribute('class', value);\n            div.className = value;\n        };\n        /**\n         * Common translate setter for X and Y on the HTML group.\n         *\n         * Reverted the fix for #6957 due to positioning problems and offline\n         * export (#7254, #7280, #7529)\n         * @private\n         */\n        g.translateXSetter = g.translateYSetter = (value, key) => {\n            g[key] = value;\n            div.style[key === 'translateX' ? 'left' : 'top'] = `${value}px`;\n            g.doTransform = true;\n        };\n        g.opacitySetter = g.visibilitySetter = commonSetter;\n        // Extend the parent group's css function by updating the parallel div\n        // counterpart with the same style.\n        g.css = (styles) => {\n            // Call the base css method. The `parentGroup` can be either an\n            // SVGElement or an SVGLabel, in which the css method is extended\n            // (#19200).\n            cssProto.call(g, styles);\n            // #6794\n            if (styles.cursor) {\n                div.style.cursor = styles.cursor;\n            }\n            // #18821\n            if (styles.pointerEvents) {\n                div.style.pointerEvents = styles.pointerEvents;\n            }\n            return g;\n        };\n        // Event handling\n        g.on = function () {\n            SVG_SVGElement.prototype.on.apply({\n                element: div,\n                onEvents: g.onEvents\n            }, arguments);\n            return g;\n        };\n        g.div = div;\n    }\n    return g.div;\n};\n/* *\n *\n *  Class\n *\n * */\nclass HTMLElement extends SVG_SVGElement {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * Compose\n     * @private\n     */\n    static compose(SVGRendererClass) {\n        if (HTMLElement_pushUnique(composed, this.compose)) {\n            /**\n             * Create a HTML text node. This is used by the SVG renderer `text`\n             * and `label` functions through the `useHTML` parameter.\n             *\n             * @private\n             */\n            SVGRendererClass.prototype.html = function (str, x, y) {\n                return new HTMLElement(this, 'span')\n                    // Set the default attributes\n                    .attr({\n                    text: str,\n                    x: Math.round(x),\n                    y: Math.round(y)\n                });\n            };\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    constructor(renderer, nodeName) {\n        super(renderer, nodeName);\n        this.css({\n            position: 'absolute',\n            ...(renderer.styledMode ? {} : {\n                fontFamily: renderer.style.fontFamily,\n                fontSize: renderer.style.fontSize\n            })\n        });\n    }\n    /**\n     * Get the correction in X and Y positioning as the element is rotated.\n     * @private\n     */\n    getSpanCorrection(width, baseline, alignCorrection) {\n        this.xCorr = -width * alignCorrection;\n        this.yCorr = -baseline;\n    }\n    /**\n     * Apply CSS to HTML elements. This is used in text within SVG rendering.\n     * @private\n     */\n    css(styles) {\n        const { element } = this, \n        // When setting or unsetting the width style, we need to update\n        // transform (#8809)\n        isSettingWidth = (element.tagName === 'SPAN' &&\n            styles &&\n            'width' in styles), textWidth = isSettingWidth && styles.width;\n        let doTransform;\n        if (isSettingWidth) {\n            delete styles.width;\n            this.textWidth = HTMLElement_pInt(textWidth) || void 0;\n            doTransform = true;\n        }\n        // Some properties require other properties to be set\n        if (styles?.textOverflow === 'ellipsis') {\n            styles.overflow = 'hidden';\n        }\n        if (styles?.lineClamp) {\n            styles.display = '-webkit-box';\n            styles.WebkitLineClamp = styles.lineClamp;\n            styles.WebkitBoxOrient = 'vertical';\n            styles.overflow = 'hidden';\n        }\n        // SVG natively supports setting font size as numbers. With HTML, the\n        // font size should behave in the same way (#21624).\n        if (HTMLElement_isNumber(Number(styles?.fontSize))) {\n            styles.fontSize = styles.fontSize + 'px';\n        }\n        HTMLElement_extend(this.styles, styles);\n        HTMLElement_css(element, styles);\n        // Now that all styles are applied, to the transform\n        if (doTransform) {\n            this.updateTransform();\n        }\n        return this;\n    }\n    /**\n     * The useHTML method for calculating the bounding box based on offsets.\n     * Called internally from the `SVGElement.getBBox` function and subsequently\n     * rotated.\n     *\n     * @private\n     */\n    htmlGetBBox() {\n        const { element } = this;\n        return {\n            x: element.offsetLeft,\n            y: element.offsetTop,\n            width: element.offsetWidth,\n            height: element.offsetHeight\n        };\n    }\n    /**\n     * Batch update styles and attributes related to transform\n     *\n     * @private\n     */\n    updateTransform() {\n        // Aligning non added elements is expensive\n        if (!this.added) {\n            this.alignOnAdd = true;\n            return;\n        }\n        const { element, renderer, rotation, rotationOriginX, rotationOriginY, scaleX, scaleY, styles, textAlign = 'left', textWidth, translateX = 0, translateY = 0, x = 0, y = 0 } = this, { display = 'block', whiteSpace } = styles;\n        // Get the pixel length of the text\n        const getTextPxLength = () => {\n            if (this.textPxLength) {\n                return this.textPxLength;\n            }\n            // Reset multiline/ellipsis in order to read width (#4928,\n            // #5417)\n            HTMLElement_css(element, {\n                width: '',\n                whiteSpace: whiteSpace || 'nowrap'\n            });\n            return element.offsetWidth;\n        };\n        // Apply translate\n        HTMLElement_css(element, {\n            marginLeft: `${translateX}px`,\n            marginTop: `${translateY}px`\n        });\n        if (element.tagName === 'SPAN') {\n            const currentTextTransform = [\n                rotation,\n                textAlign,\n                element.innerHTML,\n                textWidth,\n                this.textAlign\n            ].join(','), parentPadding = (this.parentGroup?.padding * -1) || 0;\n            let baseline;\n            // Update textWidth. Use the memoized textPxLength if possible, to\n            // avoid the getTextPxLength function using elem.offsetWidth.\n            // Calling offsetWidth affects rendering time as it forces layout\n            // (#7656).\n            if (textWidth !== this.oldTextWidth) { // #983, #1254\n                const textPxLength = getTextPxLength(), textWidthNum = textWidth || 0;\n                if (((textWidthNum > this.oldTextWidth) ||\n                    textPxLength > textWidthNum) && (\n                // Only set the width if the text is able to word-wrap,\n                // or text-overflow is ellipsis (#9537)\n                /[ \\-]/.test(element.textContent || element.innerText) ||\n                    element.style.textOverflow === 'ellipsis')) {\n                    HTMLElement_css(element, {\n                        width: ((textPxLength > textWidthNum) ||\n                            rotation ||\n                            scaleX) ?\n                            textWidth + 'px' :\n                            'auto', // #16261\n                        display,\n                        whiteSpace: whiteSpace || 'normal' // #3331\n                    });\n                    this.oldTextWidth = textWidth;\n                }\n            }\n            // Do the calculations and DOM access only if properties changed\n            if (currentTextTransform !== this.cTT) {\n                baseline = renderer.fontMetrics(element).b;\n                // Renderer specific handling of span rotation, but only if we\n                // have something to update.\n                if (HTMLElement_defined(rotation) &&\n                    ((rotation !== (this.oldRotation || 0)) ||\n                        (textAlign !== this.oldAlign))) {\n                    this.setSpanRotation(rotation, parentPadding, parentPadding);\n                }\n                this.getSpanCorrection(\n                // Avoid elem.offsetWidth if we can, it affects rendering\n                // time heavily (#7656)\n                ((!HTMLElement_defined(rotation) &&\n                    !this.textWidth &&\n                    this.textPxLength) || // #7920\n                    element.offsetWidth), baseline, HTMLElement_getAlignFactor(textAlign));\n            }\n            // Apply position with correction and rotation origin\n            const { xCorr = 0, yCorr = 0 } = this, rotOriginX = (rotationOriginX ?? x) - xCorr - x - parentPadding, rotOriginY = (rotationOriginY ?? y) - yCorr - y - parentPadding, styles = {\n                left: `${x + xCorr}px`,\n                top: `${y + yCorr}px`,\n                textAlign,\n                transformOrigin: `${rotOriginX}px ${rotOriginY}px`\n            };\n            if (scaleX || scaleY) {\n                styles.transform = `scale(${scaleX ?? 1},${scaleY ?? 1})`;\n            }\n            HTMLElement_css(element, styles);\n            // Record current text transform\n            this.cTT = currentTextTransform;\n            this.oldRotation = rotation;\n            this.oldAlign = textAlign;\n        }\n    }\n    /**\n     * Set the rotation of an individual HTML span.\n     * @private\n     */\n    setSpanRotation(rotation, originX, originY) {\n        // CSS transform and transform-origin both supported without prefix\n        // since Firefox 16 (2012), IE 10 (2012), Chrome 36 (2014), Safari 9\n        // (2015).;\n        HTMLElement_css(this.element, {\n            transform: `rotate(${rotation}deg)`,\n            transformOrigin: `${originX}% ${originY}px`\n        });\n    }\n    /**\n     * Add the element to a group wrapper. For HTML elements, a parallel div\n     * will be created for each ancenstor SVG `g` element.\n     *\n     * @private\n     */\n    add(parentGroup) {\n        const container = this.renderer.box\n            .parentNode, parents = [];\n        let div;\n        this.parentGroup = parentGroup;\n        // Create a parallel divs to hold the HTML elements\n        if (parentGroup) {\n            div = parentGroup.div;\n            if (!div) {\n                // Read the parent chain into an array and read from top\n                // down\n                let svgGroup = parentGroup;\n                while (svgGroup) {\n                    parents.push(svgGroup);\n                    // Move up to the next parent group\n                    svgGroup = svgGroup.parentGroup;\n                }\n                // Decorate each of the ancestor group elements with a parallel\n                // div that reflects translation and styling\n                for (const parentGroup of parents.reverse()) {\n                    div = decorateSVGGroup(parentGroup, container);\n                }\n            }\n        }\n        (div || container).appendChild(this.element);\n        this.added = true;\n        if (this.alignOnAdd) {\n            this.updateTransform();\n        }\n        return this;\n    }\n    /**\n     * Text setter\n     * @private\n     */\n    textSetter(value) {\n        if (value !== this.textStr) {\n            delete this.bBox;\n            delete this.oldTextWidth;\n            HTML_AST.setElementHTML(this.element, value ?? '');\n            this.textStr = value;\n            this.doTransform = true;\n        }\n    }\n    /**\n     * Align setter\n     *\n     * @private\n     */\n    alignSetter(value) {\n        this.alignValue = this.textAlign = value;\n        this.doTransform = true;\n    }\n    /**\n     * Various setters which rely on update transform\n     * @private\n     */\n    xSetter(value, key) {\n        this[key] = value;\n        this.doTransform = true;\n    }\n}\n// Some shared setters\nconst proto = HTMLElement.prototype;\nproto.visibilitySetter = proto.opacitySetter = commonSetter;\nproto.ySetter =\n    proto.rotationSetter =\n        proto.rotationOriginXSetter =\n            proto.rotationOriginYSetter = proto.xSetter;\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const HTML_HTMLElement = (HTMLElement);\n\n;// ./code/es-modules/Core/Axis/AxisDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Namespace\n *\n * */\nvar AxisDefaults;\n(function (AxisDefaults) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    /**\n     * The X axis or category axis. Normally this is the horizontal axis,\n     * though if the chart is inverted this is the vertical axis. In case of\n     * multiple axes, the xAxis node is an array of configuration objects.\n     *\n     * See the [Axis class](/class-reference/Highcharts.Axis) for programmatic\n     * access to the axis.\n     *\n     * @productdesc {highmaps}\n     * In Highmaps, the axis is hidden, but it is used behind the scenes to\n     * control features like zooming and panning. Zooming is in effect the same\n     * as setting the extremes of one of the exes.\n     *\n     * @type         {*|Array<*>}\n     * @optionparent xAxis\n     */\n    AxisDefaults.xAxis = {\n        /**\n         * When using multiple axis, the ticks of two or more opposite axes\n         * will automatically be aligned by adding ticks to the axis or axes\n         * with the least ticks, as if `tickAmount` were specified.\n         *\n         * This can be prevented by setting `alignTicks` to false. If the grid\n         * lines look messy, it's a good idea to hide them for the secondary\n         * axis by setting `gridLineWidth` to 0.\n         *\n         * If `startOnTick` or `endOnTick` in an Axis options are set to false,\n         * then the `alignTicks ` will be disabled for the Axis.\n         *\n         * Disabled for logarithmic axes.\n         *\n         * @product   highcharts highstock gantt\n         */\n        alignTicks: true,\n        /**\n         * Whether to allow decimals in this axis' ticks. When counting\n         * integers, like persons or hits on a web page, decimals should\n         * be avoided in the labels. By default, decimals are allowed on small\n         * scale axes.\n         *\n         * @see [minTickInterval](#xAxis.minTickInterval)\n         *\n         * @sample {highcharts|highstock} highcharts/yaxis/allowdecimals-true/\n         *         True by default\n         * @sample {highcharts|highstock} highcharts/yaxis/allowdecimals-false/\n         *         False\n         *\n         * @type      {boolean|undefined}\n         * @default   undefined\n         * @since     2.0\n         */\n        allowDecimals: void 0,\n        /**\n         * When using an alternate grid color, a band is painted across the\n         * plot area between every other grid line.\n         *\n         * @sample {highcharts} highcharts/yaxis/alternategridcolor/\n         *         Alternate grid color on the Y axis\n         * @sample {highstock} stock/xaxis/alternategridcolor/\n         *         Alternate grid color on the Y axis\n         *\n         * @type      {Highcharts.ColorType}\n         * @apioption xAxis.alternateGridColor\n         */\n        /**\n         * An array defining breaks in the axis, the sections defined will be\n         * left out and all the points shifted closer to each other.\n         *\n         * @productdesc {highcharts}\n         * Requires that the broken-axis.js module is loaded.\n         *\n         * @sample {highcharts} highcharts/axisbreak/break-simple/\n         *         Simple break\n         * @sample {highcharts|highstock} highcharts/axisbreak/break-visualized/\n         *         Advanced with callback\n         * @sample {highstock} stock/demo/intraday-breaks/\n         *         Break on nights and weekends\n         *\n         * @type      {Array<*>}\n         * @since     4.1.0\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.breaks\n         */\n        /**\n         * A number indicating how much space should be left between the start\n         * and the end of the break. The break size is given in axis units,\n         * so for instance on a `datetime` axis, a break size of 3600000 would\n         * indicate the equivalent of an hour.\n         *\n         * @type      {number}\n         * @default   0\n         * @since     4.1.0\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.breaks.breakSize\n         */\n        /**\n         * The axis value where the break starts. On datetime axes, this may be\n         * a date string.\n         *\n         * @type      {number|string}\n         * @since     4.1.0\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.breaks.from\n         */\n        /**\n         * Defines an interval after which the break appears again. By default\n         * the breaks do not repeat.\n         *\n         * @type      {number}\n         * @default   0\n         * @since     4.1.0\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.breaks.repeat\n         */\n        /**\n         * The axis value where the break ends. On datetime axes, this may be\n         * a date string.\n         *\n         * @type      {number|string}\n         * @since     4.1.0\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.breaks.to\n         */\n        /**\n         * If categories are present for the xAxis, names are used instead of\n         * numbers for that axis.\n         *\n         * Since Highcharts 3.0, categories can also\n         * be extracted by giving each point a [name](#series.data) and setting\n         * axis [type](#xAxis.type) to `category`. However, if you have multiple\n         * series, best practice remains defining the `categories` array.\n         *\n         * Example: `categories: ['Apples', 'Bananas', 'Oranges']`\n         *\n         * @sample {highcharts} highcharts/demo/line-labels/\n         *         With\n         * @sample {highcharts} highcharts/xaxis/categories/\n         *         Without\n         *\n         * @type      {Array<string>}\n         * @product   highcharts gantt\n         * @apioption xAxis.categories\n         */\n        /**\n         * The highest allowed value for automatically computed axis extremes.\n         *\n         * @see [floor](#xAxis.floor)\n         *\n         * @sample {highcharts|highstock} highcharts/yaxis/floor-ceiling/\n         *         Floor and ceiling\n         *\n         * @type       {number}\n         * @since      4.0\n         * @product    highcharts highstock gantt\n         * @apioption  xAxis.ceiling\n         */\n        /**\n         * A class name that opens for styling the axis by CSS, especially in\n         * Highcharts styled mode. The class name is applied to group elements\n         * for the grid, axis elements and labels.\n         *\n         * @sample {highcharts|highstock|highmaps} highcharts/css/axis/\n         *         Multiple axes with separate styling\n         *\n         * @type      {string}\n         * @since     5.0.0\n         * @apioption xAxis.className\n         */\n        /**\n         * Configure a crosshair that follows either the mouse pointer or the\n         * hovered point.\n         *\n         * In styled mode, the crosshairs are styled in the\n         * `.highcharts-crosshair`, `.highcharts-crosshair-thin` or\n         * `.highcharts-xaxis-category` classes.\n         *\n         * @productdesc {highstock}\n         * In Highcharts stock, by default, the crosshair is enabled on the\n         * X axis and disabled on the Y axis.\n         *\n         * @sample {highcharts} highcharts/xaxis/crosshair-both/\n         *         Crosshair on both axes\n         * @sample {highstock} stock/xaxis/crosshairs-xy/\n         *         Crosshair on both axes, with y axis label\n         * @sample {highmaps} highcharts/xaxis/crosshair-both/\n         *         Crosshair on both axes\n         *\n         * @declare   Highcharts.AxisCrosshairOptions\n         * @type      {boolean|*}\n         * @default   false\n         * @since     4.1\n         * @apioption xAxis.crosshair\n         */\n        /**\n         * The value on a perpendicular axis where this axis should cross. This\n         * is typically used on mathematical plots where the axes cross at 0.\n         * When `crossing` is set, space will not be reserved at the sides of\n         * the chart for axis labels and title, so those may be clipped. In this\n         * case it is better to place the axes without the `crossing` option.\n         *\n         * @type      {number}\n         * @sample    highcharts/xaxis/crossing\n         *            Function plot with axes crossing at 0\n         * @since 11.0.1\n         * @apioption xAxis.crossing\n         */\n        /**\n         * A class name for the crosshair, especially as a hook for styling.\n         *\n         * @type      {string}\n         * @since     5.0.0\n         * @apioption xAxis.crosshair.className\n         */\n        /**\n         * The color of the crosshair. Defaults to `#cccccc` for numeric and\n         * datetime axes, and `rgba(204,214,235,0.25)` for category axes, where\n         * the crosshair by default highlights the whole category.\n         *\n         * @sample {highcharts|highstock|highmaps} highcharts/xaxis/crosshair-customized/\n         *         Customized crosshairs\n         *\n         * @type      {Highcharts.ColorType}\n         * @default   #cccccc\n         * @since     4.1\n         * @apioption xAxis.crosshair.color\n         */\n        /**\n         * The dash style for the crosshair. See\n         * [plotOptions.series.dashStyle](#plotOptions.series.dashStyle)\n         * for possible values.\n         *\n         * @sample {highcharts|highmaps} highcharts/xaxis/crosshair-dotted/\n         *         Dotted crosshair\n         * @sample {highstock} stock/xaxis/crosshair-dashed/\n         *         Dashed X axis crosshair\n         *\n         * @type      {Highcharts.DashStyleValue}\n         * @default   Solid\n         * @since     4.1\n         * @apioption xAxis.crosshair.dashStyle\n         */\n        /**\n         * A label on the axis next to the crosshair.\n         *\n         * In styled mode, the label is styled with the\n         * `.highcharts-crosshair-label` class.\n         *\n         * @sample {highstock} stock/xaxis/crosshair-label/\n         *         Crosshair labels\n         * @sample {highstock} highcharts/css/crosshair-label/\n         *         Style mode\n         *\n         * @declare   Highcharts.AxisCrosshairLabelOptions\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label\n         */\n        /**\n         * Alignment of the label compared to the axis. Defaults to `\"left\"` for\n         * right-side axes, `\"right\"` for left-side axes and `\"center\"` for\n         * horizontal axes.\n         *\n         * @type      {Highcharts.AlignValue}\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.align\n         */\n        /**\n         * The background color for the label. Defaults to the related series\n         * color, or `#666666` if that is not available.\n         *\n         * @type      {Highcharts.ColorType}\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.backgroundColor\n         */\n        /**\n         * The border color for the crosshair label\n         *\n         * @type      {Highcharts.ColorType}\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.borderColor\n         */\n        /**\n         * The border corner radius of the crosshair label.\n         *\n         * @type      {number}\n         * @default   3\n         * @since     2.1.10\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.borderRadius\n         */\n        /**\n         * The border width for the crosshair label.\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.borderWidth\n         */\n        /**\n         * Flag to enable crosshair's label.\n         *\n         * @sample {highstock} stock/xaxis/crosshairs-xy/\n         *         Enabled label for yAxis' crosshair\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.enabled\n         */\n        /**\n         * A format string for the crosshair label. Defaults to `{value}` for\n         * numeric axes and `{value:%b %d, %Y}` for datetime axes.\n         *\n         * @type      {string}\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.format\n         */\n        /**\n         * Formatter function for the label text.\n         *\n         * @type      {Highcharts.XAxisCrosshairLabelFormatterCallbackFunction}\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.formatter\n         */\n        /**\n         * Padding inside the crosshair label.\n         *\n         * @type      {number}\n         * @default   8\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.padding\n         */\n        /**\n         * The shape to use for the label box.\n         *\n         * @type      {string}\n         * @default   callout\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.shape\n         */\n        /**\n         * Text styles for the crosshair label.\n         *\n         * @type      {Highcharts.CSSObject}\n         * @default   {\"color\": \"white\", \"fontWeight\": \"normal\", \"fontSize\": \"11px\", \"textAlign\": \"center\"}\n         * @since     2.1\n         * @product   highstock\n         * @apioption xAxis.crosshair.label.style\n         */\n        /**\n         * Whether the crosshair should snap to the point or follow the pointer\n         * independent of points.\n         *\n         * @sample {highcharts|highstock} highcharts/xaxis/crosshair-snap-false/\n         *         True by default\n         * @sample {highmaps} maps/demo/latlon-advanced/\n         *         Snap is false\n         *\n         * @type      {boolean}\n         * @default   true\n         * @since     4.1\n         * @apioption xAxis.crosshair.snap\n         */\n        /**\n         * The pixel width of the crosshair. Defaults to 1 for numeric or\n         * datetime axes, and for one category width for category axes.\n         *\n         * @sample {highcharts} highcharts/xaxis/crosshair-customized/\n         *         Customized crosshairs\n         * @sample {highstock} highcharts/xaxis/crosshair-customized/\n         *         Customized crosshairs\n         * @sample {highmaps} highcharts/xaxis/crosshair-customized/\n         *         Customized crosshairs\n         *\n         * @type      {number}\n         * @default   1\n         * @since     4.1\n         * @apioption xAxis.crosshair.width\n         */\n        /**\n         * The Z index of the crosshair. Higher Z indices allow drawing the\n         * crosshair on top of the series or behind the grid lines.\n         *\n         * @type      {number}\n         * @default   2\n         * @since     4.1\n         * @apioption xAxis.crosshair.zIndex\n         */\n        /**\n         * Whether to pan axis. If `chart.panning` is enabled, the option\n         * allows to disable panning on an individual axis.\n         */\n        panningEnabled: true,\n        /**\n         * The Z index for the axis group.\n         *\n         * @see [axis.gridZIndex](#xAxis.gridZIndex)\n         * @see [axis.labels.zIndex](#xAxis.labels.zIndex)\n         */\n        zIndex: 2,\n        /**\n         * Whether to zoom axis. If `chart.zoomType` is set, the option allows\n         * to disable zooming on an individual axis.\n         *\n         * @sample {highcharts} highcharts/xaxis/zoomenabled/\n         *         Zoom enabled is false\n         */\n        zoomEnabled: true,\n        /**\n         * For a datetime axis, the scale will automatically adjust to the\n         * appropriate unit. This member gives the default string\n         * representations used for each unit. For intermediate values,\n         * different units may be used, for example the `day` unit can be used\n         * on midnight and `hour` unit be used for intermediate values on the\n         * same axis.\n         *\n         * For an overview of the string or object configuration, see\n         * [dateFormat](/class-reference/Highcharts.Time#dateFormat).\n         *\n         * Defaults to:\n         * ```js\n         * {\n         *     millisecond: '%[HMSL]',\n         *     second: '%[HMS]',\n         *     minute: '%[HM]',\n         *     hour: '%[HM]',\n         *     day: '%[eb]',\n         *     week: '%[eb]',\n         *     month: '%[bY]',\n         *     year: '%Y'\n         * }\n         * ```\n         *\n         * @sample {highcharts} highcharts/xaxis/datetimelabelformats-object/\n         *         Object day format on X axis\n         * @sample {highcharts} highcharts/xaxis/datetimelabelformats/\n         *         String day format on X axis\n         * @sample {highstock} stock/xaxis/datetimelabelformats/\n         *         More information in x axis labels\n         *\n         * @declare Highcharts.AxisDateTimeLabelFormatsOptions\n         * @product highcharts highstock gantt\n         */\n        dateTimeLabelFormats: {\n            /**\n             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject\n             * @type {string|*}\n             */\n            millisecond: {\n                /**\n                 * @type {Array<string|Highcharts.DateTimeFormatOptions>}\n                 * @default undefined\n                 * @apioption xAxis.dateTimeLabelFormats.millisecond.list\n                 */\n                /**\n                 * @type {string|Highcharts.DateTimeFormatOptions}\n                 * @apioption xAxis.dateTimeLabelFormats.millisecond.main\n                 */\n                main: '%[HMSL]',\n                range: false\n            },\n            /**\n             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject\n             * @type {string|*}\n             */\n            second: {\n                /**\n                 * @type {Array<string|Highcharts.DateTimeFormatOptions>}\n                 * @default undefined\n                 * @apioption xAxis.dateTimeLabelFormats.second.list\n                 */\n                /**\n                 * @type {string|Highcharts.DateTimeFormatOptions}\n                 * @apioption xAxis.dateTimeLabelFormats.second.main\n                 */\n                main: '%[HMS]',\n                range: false\n            },\n            /**\n             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject\n             * @type {string|*}\n             */\n            minute: {\n                /**\n                 * @type {Array<string|Highcharts.DateTimeFormatOptions>}\n                 * @default undefined\n                 * @apioption xAxis.dateTimeLabelFormats.minute.list\n                 */\n                /**\n                 * @type {string|Highcharts.DateTimeFormatOptions}\n                 * @apioption xAxis.dateTimeLabelFormats.minute.main\n                 */\n                main: '%[HM]',\n                range: false\n            },\n            /**\n             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject\n             * @type {string|*}\n             */\n            hour: {\n                /**\n                 * @type {Array<string|Highcharts.DateTimeFormatOptions>}\n                 * @default undefined\n                 * @apioption xAxis.dateTimeLabelFormats.hour.list\n                 */\n                /**\n                 * @type {string|Highcharts.DateTimeFormatOptions}\n                 * @apioption xAxis.dateTimeLabelFormats.hour.main\n                 */\n                main: '%[HM]',\n                range: false\n            },\n            /**\n             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject\n             * @type {string|*}\n             */\n            day: {\n                /**\n                 * @type {Array<string|Highcharts.DateTimeFormatOptions>}\n                 * @default undefined\n                 * @apioption xAxis.dateTimeLabelFormats.day.list\n                 */\n                /**\n                 * @type {string|Highcharts.DateTimeFormatOptions}\n                 * @apioption xAxis.dateTimeLabelFormats.day.main\n                 */\n                main: '%[eb]'\n            },\n            /**\n             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject\n             * @type {string|*}\n             */\n            week: {\n                /**\n                 * @type {Array<string|Highcharts.DateTimeFormatOptions>}\n                 * @default undefined\n                 * @apioption xAxis.dateTimeLabelFormats.week.list\n                 */\n                /**\n                 * @type {string|Highcharts.DateTimeFormatOptions}\n                 * @apioption xAxis.dateTimeLabelFormats.week.main\n                 */\n                main: '%[eb]'\n            },\n            /**\n             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject\n             * @type {string|*}\n             */\n            month: {\n                /**\n                 * @type {Array<string|Highcharts.DateTimeFormatOptions>}\n                 * @default undefined\n                 * @apioption xAxis.dateTimeLabelFormats.month.list\n                 */\n                /**\n                 * @type {string|Highcharts.DateTimeFormatOptions}\n                 * @apioption xAxis.dateTimeLabelFormats.month.main\n                 */\n                main: '%[bY]'\n            },\n            /**\n             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject\n             * @type {string|*}\n             */\n            year: {\n                /**\n                 * @type {Array<string|Highcharts.DateTimeFormatOptions>}\n                 * @default undefined\n                 * @apioption xAxis.dateTimeLabelFormats.year.list\n                 */\n                /**\n                 * @type {string|Highcharts.DateTimeFormatOptions}\n                 * @apioption xAxis.dateTimeLabelFormats.year.main\n                 */\n                main: '%Y'\n            }\n        },\n        /**\n         * Whether to force the axis to end on a tick. Use this option with\n         * the `maxPadding` option to control the axis end.\n         *\n         * @productdesc {highstock}\n         * In Highcharts Stock, `endOnTick` is always `false` when the navigator\n         * is enabled, to prevent jumpy scrolling. With disabled navigator\n         * enabling `endOnTick` may lead to extending the xAxis to show the last\n         * tick, therefore range selector buttons may not have an active state\n         * if the axis gets extended.\n         *\n         * @sample {highcharts} highcharts/yaxis/endontick/\n         *         True by default\n         * @sample {highcharts} highcharts/yaxis/endontick-false/\n         *         False\n         * @sample {highstock} stock/demo/basic-line/\n         *         True by default\n         * @sample {highstock} stock/xaxis/endontick/\n         *         False\n         *\n         * @since 1.2.0\n         */\n        endOnTick: false,\n        /**\n         * Event handlers for the axis.\n         *\n         * @type      {*}\n         * @apioption xAxis.events\n         */\n        /**\n         * An event fired after the breaks have rendered.\n         *\n         * @see [breaks](#xAxis.breaks)\n         *\n         * @sample {highcharts} highcharts/axisbreak/break-event/\n         *         AfterBreak Event\n         *\n         * @type      {Highcharts.AxisEventCallbackFunction}\n         * @since     4.1.0\n         * @product   highcharts gantt\n         * @apioption xAxis.events.afterBreaks\n         */\n        /**\n         * As opposed to the `setExtremes` event, this event fires after the\n         * final min and max values are computed and corrected for `minRange`.\n         *\n         * Fires when the minimum and maximum is set for the axis, either by\n         * calling the `.setExtremes()` method or by selecting an area in the\n         * chart. One parameter, `event`, is passed to the function, containing\n         * common event information.\n         *\n         * The new user set minimum and maximum values can be found by\n         * `event.min` and `event.max`. These reflect the axis minimum and\n         * maximum in axis values. The actual data extremes are found in\n         * `event.dataMin` and `event.dataMax`.\n         *\n         * @type      {Highcharts.AxisSetExtremesEventCallbackFunction}\n         * @since     2.3\n         * @context   Highcharts.Axis\n         * @apioption xAxis.events.afterSetExtremes\n         */\n        /**\n         * An event fired when a break from this axis occurs on a point.\n         *\n         * @see [breaks](#xAxis.breaks)\n         *\n         * @sample {highcharts} highcharts/axisbreak/break-visualized/\n         *         Visualization of a Break\n         *\n         * @type      {Highcharts.AxisPointBreakEventCallbackFunction}\n         * @since     4.1.0\n         * @product   highcharts gantt\n         * @context   Highcharts.Axis\n         * @apioption xAxis.events.pointBreak\n         */\n        /**\n         * An event fired when a point falls inside a break from this axis.\n         *\n         * @type      {Highcharts.AxisPointBreakEventCallbackFunction}\n         * @product   highcharts highstock gantt\n         * @context   Highcharts.Axis\n         * @apioption xAxis.events.pointInBreak\n         */\n        /**\n         * An event fired when a point is outside a break after zoom.\n         *\n         * @type      {Highcharts.AxisPointBreakEventCallbackFunction}\n         * @product   highcharts highstock gantt\n         * @context   Highcharts.Axis\n         * @apioption xAxis.events.pointBreakOut\n         */\n        /**\n         * Fires when the minimum and maximum is set for the axis, either by\n         * calling the `.setExtremes()` method or by selecting an area in the\n         * chart. One parameter, `event`, is passed to the function,\n         * containing common event information.\n         *\n         * The new user set minimum and maximum values can be found by\n         * `event.min` and `event.max`. These reflect the axis minimum and\n         * maximum in data values. When an axis is zoomed all the way out from\n         * the \"Reset zoom\" button, `event.min` and `event.max` are null, and\n         * the new extremes are set based on `this.dataMin` and `this.dataMax`.\n         *\n         * @sample {highstock} stock/xaxis/events-setextremes/\n         *         Log new extremes on x axis\n         *\n         * @type      {Highcharts.AxisSetExtremesEventCallbackFunction}\n         * @since     1.2.0\n         * @context   Highcharts.Axis\n         * @apioption xAxis.events.setExtremes\n         */\n        /**\n         * The lowest allowed value for automatically computed axis extremes.\n         *\n         * @see [ceiling](#yAxis.ceiling)\n         *\n         * @sample {highcharts} highcharts/yaxis/floor-ceiling/\n         *         Floor and ceiling\n         * @sample {highstock} stock/demo/lazy-loading/\n         *         Prevent negative stock price on Y axis\n         *\n         * @type      {number}\n         * @since     4.0\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.floor\n         */\n        /**\n         * The dash or dot style of the grid lines. For possible values, see\n         * [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).\n         *\n         * @sample {highcharts} highcharts/yaxis/gridlinedashstyle/\n         *         Long dashes\n         * @sample {highstock} stock/xaxis/gridlinedashstyle/\n         *         Long dashes\n         *\n         * @type      {Highcharts.DashStyleValue}\n         * @since     1.2\n         */\n        gridLineDashStyle: 'Solid',\n        /**\n         * The Z index of the grid lines.\n         *\n         * @sample {highcharts|highstock} highcharts/xaxis/gridzindex/\n         *         A Z index of 4 renders the grid above the graph\n         *\n         * @product   highcharts highstock gantt\n         *\n         * @see [axis.zIndex](#xAxis.zIndex)\n         * @see [axis.labels.zIndex](#xAxis.labels.zIndex)\n         */\n        gridZIndex: 1,\n        /**\n         * An id for the axis. This can be used after render time to get\n         * a pointer to the axis object through `chart.get()`.\n         *\n         * @sample {highcharts} highcharts/xaxis/id/\n         *         Get the object\n         * @sample {highstock} stock/xaxis/id/\n         *         Get the object\n         *\n         * @type      {string}\n         * @since     1.2.0\n         * @apioption xAxis.id\n         */\n        /**\n         * The axis labels show the number or category for each tick.\n         *\n         * Since v8.0.0: Labels are animated in categorized x-axis with\n         * updating data if `tickInterval` and `step` is set to 1.\n         *\n         * @productdesc {highmaps}\n         * X and Y axis labels are by default disabled in Highmaps, but the\n         * functionality is inherited from Highcharts and used on `colorAxis`,\n         * and can be enabled on X and Y axes too.\n         */\n        labels: {\n            /**\n             * What part of the string the given position is anchored to.\n             * If `left`, the left side of the string is at the axis position.\n             * Can be one of `\"left\"`, `\"center\"` or `\"right\"`. Defaults to\n             * an intelligent guess based on which side of the chart the axis\n             * is on and the rotation of the label.\n             *\n             * @see [reserveSpace](#xAxis.labels.reserveSpace)\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-align-left/\n             *         Left\n             * @sample {highcharts} highcharts/xaxis/labels-align-right/\n             *         Right\n             * @sample {highcharts} highcharts/xaxis/labels-reservespace-true/\n             *         Left-aligned labels on a vertical category axis\n             *\n             * @type      {Highcharts.AlignValue}\n             * @apioption xAxis.labels.align\n             */\n            /**\n             * Whether to allow the axis labels to overlap. When false,\n             * overlapping labels are hidden.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-allowoverlap-true/\n             *         X axis labels overlap enabled\n             *\n             * @type      {boolean}\n             * @default   false\n             * @apioption xAxis.labels.allowOverlap\n             */\n            /**\n             * For horizontal axes, the allowed degrees of label rotation\n             * to prevent overlapping labels. If there is enough space,\n             * labels are not rotated. As the chart gets narrower, it\n             * will start rotating the labels -45 degrees, then remove\n             * every second label and try again with rotations 0 and -45 etc.\n             * Set it to `undefined` to disable rotation, which will\n             * cause the labels to word-wrap if possible. Defaults to `[-45]``\n             * on bottom and top axes, `undefined` on left and right axes.\n             *\n             * @sample {highcharts|highstock} highcharts/xaxis/labels-autorotation-default/\n             *         Default auto rotation of 0 or -45\n             * @sample {highcharts|highstock} highcharts/xaxis/labels-autorotation-0-90/\n             *         Custom graded auto rotation\n             *\n             * @type      {Array<number>}\n             * @default   undefined\n             * @since     4.1.0\n             * @product   highcharts highstock gantt\n             * @apioption xAxis.labels.autoRotation\n             */\n            /**\n             * When each category width is more than this many pixels, we don't\n             * apply auto rotation. Instead, we lay out the axis label with word\n             * wrap. A lower limit makes sense when the label contains multiple\n             * short words that don't extend the available horizontal space for\n             * each label.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-autorotationlimit/\n             *         Lower limit\n             *\n             * @since     4.1.5\n             * @product   highcharts gantt\n             */\n            autoRotationLimit: 80,\n            /**\n             * The label's pixel distance from the perimeter of the plot area.\n             * On cartesian charts, this is overridden if the `labels.y` setting\n             * is set.\n             *\n             * @sample {highcharts} highcharts/yaxis/labels-distance/\n             *         Polar chart, labels centered under the arc\n             *\n             * @type      {number}\n             * @product   highcharts gantt\n             */\n            distance: 15,\n            /**\n             * Enable or disable the axis labels.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-enabled/\n             *         X axis labels disabled\n             * @sample {highstock} stock/xaxis/labels-enabled/\n             *         X axis labels disabled\n             *\n             */\n            enabled: true,\n            /**\n             * A format string for the axis label. The context is available as\n             * format string variables. For example, you can use `{text}` to\n             * insert the default formatted text. The recommended way of adding\n             * units for the label is using `text`, for example `{text} km`.\n             *\n             * To add custom numeric or datetime formatting, use `{value}` with\n             * formatting, for example `{value:.1f}` or `{value:%Y-%m-%d}`.\n             *\n             * See\n             * [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)\n             * for more examples of formatting.\n             *\n             * The default value is not specified due to the dynamic\n             * nature of the default implementation.\n             *\n             * @sample {highcharts|highstock} highcharts/yaxis/labels-format/\n             *         Add units to Y axis label\n             * @sample {highcharts} highcharts/xaxis/labels-format-linked/\n             *         Linked category names\n             * @sample {highcharts} highcharts/xaxis/labels-format-custom/\n             *         Custom number format\n             *\n             * @type      {string}\n             * @since     3.0\n             * @apioption xAxis.labels.format\n             */\n            /**\n             * Callback JavaScript function to format the label. The value\n             * is given by `this.value`. Additional properties for `this` are\n             * `axis`, `chart`, `isFirst`, `isLast` and `text` which holds the\n             * value of the default formatter.\n             *\n             * Defaults to a built in function returning a formatted string\n             * depending on whether the axis is `category`, `datetime`,\n             * `numeric` or other.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-formatter-linked/\n             *         Linked category names\n             * @sample {highcharts} highcharts/xaxis/labels-formatter-extended/\n             *         Modified numeric labels\n             * @sample {highstock} stock/xaxis/labels-formatter/\n             *         Added units on Y axis\n             *\n             * @type      {Highcharts.AxisLabelsFormatterCallbackFunction}\n             * @apioption xAxis.labels.formatter\n             */\n            /**\n             * The number of pixels to indent the labels per level in a treegrid\n             * axis.\n             *\n             * @sample gantt/treegrid-axis/demo\n             *         Indentation 10px by default.\n             * @sample gantt/treegrid-axis/indentation-0px\n             *         Indentation set to 0px.\n             *\n             * @product gantt\n             */\n            indentation: 10,\n            /**\n             * Horizontal axis only. When `staggerLines` is not set,\n             * `maxStaggerLines` defines how many lines the axis is allowed to\n             * add to automatically avoid overlapping X labels. Set to `1` to\n             * disable overlap detection.\n             *\n             * @deprecated\n             * @type      {number}\n             * @default   5\n             * @since     1.3.3\n             * @apioption xAxis.labels.maxStaggerLines\n             */\n            /**\n             * How to handle overflowing labels on horizontal axis. If set to\n             * `\"allow\"`, it will not be aligned at all. By default it\n             * `\"justify\"` labels inside the chart area. If there is room to\n             * move it, it will be aligned to the edge, else it will be removed.\n             *\n             * @since      2.2.5\n             * @validvalue [\"allow\", \"justify\"]\n             */\n            overflow: 'justify',\n            /**\n             * The pixel padding for axis labels, to ensure white space between\n             * them. Defaults to 4 for horizontal axes, 1 for vertical.\n             *\n             * @type      {number}\n             * @default   undefined\n             * @product   highcharts gantt\n             * @apioption xAxis.labels.padding\n             */\n            /**\n             * Whether to reserve space for the labels. By default, space is\n             * reserved for the labels in these cases:\n             *\n             * * On all horizontal axes.\n             * * On vertical axes if `label.align` is `right` on a left-side\n             * axis or `left` on a right-side axis.\n             * * On vertical axes if `label.align` is `center`.\n             *\n             * This can be turned off when for example the labels are rendered\n             * inside the plot area instead of outside.\n             *\n             * @see [labels.align](#xAxis.labels.align)\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-reservespace/\n             *         No reserved space, labels inside plot\n             * @sample {highcharts} highcharts/xaxis/labels-reservespace-true/\n             *         Left-aligned labels on a vertical category axis\n             *\n             * @type      {boolean}\n             * @since     4.1.10\n             * @product   highcharts highstock gantt\n             * @apioption xAxis.labels.reserveSpace\n             */\n            reserveSpace: void 0,\n            /**\n             * Rotation of the labels in degrees. When `undefined`, the\n             * `autoRotation` option takes precedence.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-rotation/\n             *         X axis labels rotated 90°\n             *\n             * @type      {number}\n             * @default   0\n             * @apioption xAxis.labels.rotation\n             */\n            rotation: void 0,\n            /**\n             * Horizontal axes only. The number of lines to spread the labels\n             * over to make room or tighter labels. 0 disables staggering.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-staggerlines/\n             *         Show labels over two lines\n             * @sample {highstock} stock/xaxis/labels-staggerlines/\n             *         Show labels over two lines\n             *\n             * @since     2.1\n             */\n            staggerLines: 0,\n            /**\n             * To show only every _n_'th label on the axis, set the step to _n_.\n             * Setting the step to 2 shows every other label.\n             *\n             * By default, when 0, the step is calculated automatically to avoid\n             * overlap. To prevent this, set it to 1\\. This usually only\n             * happens on a category axis, and is often a sign that you have\n             * chosen the wrong axis type.\n             *\n             * Read more at\n             * [Axis docs](https://www.highcharts.com/docs/chart-concepts/axes)\n             * => What axis should I use?\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-step/\n             *         Showing only every other axis label on a categorized\n             *         x-axis\n             * @sample {highcharts} highcharts/xaxis/labels-step-auto/\n             *         Auto steps on a category axis\n             *\n             * @since     2.1\n             */\n            step: 0,\n            /**\n             * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n             * to render the labels.\n             */\n            useHTML: false,\n            /**\n             * The x position offset of all labels relative to the tick\n             * positions on the axis. Overrides the `labels.distance` option.\n             *\n             * @type      {number}\n             * @apioption xAxis.labels.x\n             */\n            /**\n             * The y position offset of all labels relative to the tick\n             * positions on the axis. Overrides the `labels.distance` option.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-x/\n             *         X axis labels placed on grid lines\n             *\n             * @type      {number}\n             * @apioption xAxis.labels.y\n             */\n            /**\n             * The Z index for the axis labels.\n             *\n             * @see [axis.zIndex](#xAxis.zIndex)\n             * @see [axis.gridZIndex](#xAxis.gridZIndex)\n             */\n            zIndex: 7,\n            /**\n             * CSS styles for the label. Use `lineClamp` to control wrapping of\n             * category labels. Use `textOverflow: 'none'` to prevent ellipsis\n             * (dots).\n             *\n             * In styled mode, the labels are styled with the\n             * `.highcharts-axis-labels` class.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-style/\n             *         Red X axis labels\n             *\n             * @type      {Highcharts.CSSObject}\n             */\n            style: {\n                /** @internal */\n                color: \"#333333\" /* Palette.neutralColor80 */,\n                /** @internal */\n                cursor: 'default',\n                /**\n                 * @type {number|string}\n                 */\n                fontSize: '0.8em',\n                /** @internal */\n                textOverflow: 'ellipsis'\n            }\n        },\n        /**\n         * The left position as the horizontal axis. If it's a number, it is\n         * interpreted as pixel position relative to the chart.\n         *\n         * Since Highcharts v5.0.13: If it's a percentage string, it is\n         * interpreted as percentages of the plot width, offset from plot area\n         * left.\n         *\n         * @sample {highcharts} highcharts/xaxis/axis-position-properties\n         *         Different axis position properties\n         *\n         * @type      {number|string}\n         * @product   highcharts highstock\n         * @apioption xAxis.left\n         */\n        /**\n         * The top position as the vertical axis. If it's a number, it is\n         * interpreted as pixel position relative to the chart.\n         *\n         * Since Highcharts 2: If it's a percentage string, it is interpreted\n         * as percentages of the plot height, offset from plot area top.\n         *\n         * @sample {highcharts} highcharts/xaxis/axis-position-properties\n         *         Different axis position properties\n         *\n         * @type      {number|string}\n         * @product   highcharts highstock\n         * @apioption xAxis.top\n         */\n        /**\n         * Index of another axis that this axis is linked to. When an axis is\n         * linked to a master axis, it will take the same extremes as\n         * the master, but as assigned by min or max or by setExtremes.\n         * It can be used to show additional info, or to ease reading the\n         * chart by duplicating the scales.\n         *\n         * @sample {highcharts} highcharts/xaxis/linkedto/\n         *         Different string formats of the same date\n         * @sample {highcharts} highcharts/yaxis/linkedto/\n         *         Y values on both sides\n         *\n         * @type      {number}\n         * @since     2.0.2\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.linkedTo\n         */\n        /**\n         * The maximum value of the axis. If `undefined`, the max value is\n         * automatically calculated.\n         *\n         * If a datetime string is passed, it is parsed into epoch time\n         * according to the time zone given in [time.timezone](#time.timezone).\n         *\n         * If the [endOnTick](#yAxis.endOnTick) option is true, the `max` value\n         * might be rounded up.\n         *\n         * If a [tickAmount](#yAxis.tickAmount) is set, the axis may be extended\n         * beyond the set max in order to reach the given number of ticks. The\n         * same may happen in a chart with multiple axes, determined by [chart.\n         * alignTicks](#chart), where a `tickAmount` is applied internally.\n         *\n         * @sample {highcharts} highcharts/yaxis/max-200/\n         *         Y axis max of 200\n         * @sample {highcharts} highcharts/yaxis/max-logarithmic/\n         *         Y axis max on logarithmic axis\n         * @sample {highstock} stock/xaxis/min-max/\n         *         Fixed min and max on X axis\n         *\n         * @type      {number|string|null}\n         * @apioption xAxis.max\n         */\n        /**\n         * Padding of the max value relative to the length of the axis. A\n         * padding of 0.05 will make a 100px axis 5px longer. This is useful\n         * when you don't want the highest data value to appear on the edge\n         * of the plot area. When the axis' `max` option is set or a max extreme\n         * is set using `axis.setExtremes()`, the maxPadding will be ignored.\n         *\n         * @productdesc {highstock}\n         * For an [ordinal](#xAxis.ordinal) axis, `minPadding` and `maxPadding`\n         * are ignored. Use [overscroll](#xAxis.overscroll) instead.\n         *\n         * @sample {highcharts} highcharts/yaxis/maxpadding/\n         *         Max padding of 0.25 on y axis\n         * @sample {highstock} stock/xaxis/minpadding-maxpadding/\n         *         Greater min- and maxPadding\n         * @sample {highmaps} maps/chart/plotbackgroundcolor-gradient/\n         *         Add some padding\n         *\n         * @default   {highcharts} 0.01\n         * @default   {highstock|highmaps} 0\n         * @since     1.2.0\n         */\n        maxPadding: 0.01,\n        /**\n         * Deprecated. Use `minRange` instead.\n         *\n         * @deprecated\n         * @type      {number}\n         * @product   highcharts highstock\n         * @apioption xAxis.maxZoom\n         */\n        /**\n         * The minimum value of the axis. If `undefined`, the min value is\n         * automatically calculated.\n         *\n         * If a datetime string is passed, it is parsed into epoch time\n         * according to the time zone given in [time.timezone](#time.timezone).\n         *\n         * If the [startOnTick](#yAxis.startOnTick) option is true (default),\n         * the `min` value might be rounded down.\n         *\n         * The automatically calculated minimum value is also affected by\n         * [floor](#yAxis.floor), [softMin](#yAxis.softMin),\n         * [minPadding](#yAxis.minPadding), [minRange](#yAxis.minRange)\n         * as well as [series.threshold](#plotOptions.series.threshold)\n         * and [series.softThreshold](#plotOptions.series.softThreshold).\n         *\n         * @sample {highcharts} highcharts/yaxis/min-startontick-false/\n         *         -50 with startOnTick to false\n         * @sample {highcharts} highcharts/yaxis/min-startontick-true/\n         *         -50 with startOnTick true by default\n         * @sample {highstock} stock/xaxis/min-max/\n         *         Set min and max on X axis\n         *\n         * @type      {number|string|null}\n         * @apioption xAxis.min\n         */\n        /**\n         * The dash or dot style of the minor grid lines. For possible values,\n         * see [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).\n         *\n         * @sample {highcharts} highcharts/yaxis/minorgridlinedashstyle/\n         *         Long dashes on minor grid lines\n         * @sample {highstock} stock/xaxis/minorgridlinedashstyle/\n         *         Long dashes on minor grid lines\n         *\n         * @type      {Highcharts.DashStyleValue}\n         * @since     1.2\n         */\n        minorGridLineDashStyle: 'Solid',\n        /**\n         * Specific tick interval in axis units for the minor ticks. On a linear\n         * axis, if `\"auto\"`, the minor tick interval is calculated as a fifth\n         * of the tickInterval. If `undefined`, minor ticks are not shown.\n         *\n         * On logarithmic axes, the unit is the power of the value. For example,\n         * setting the minorTickInterval to 1 puts one tick on each of 0.1, 1,\n         * 10, 100 etc. Setting the minorTickInterval to 0.1 produces 9 ticks\n         * between 1 and 10, 10 and 100 etc.\n         *\n         * If user settings dictate minor ticks to become too dense, they don't\n         * make sense, and will be ignored to prevent performance problems.\n         *\n         * @sample {highcharts} highcharts/yaxis/minortickinterval-null/\n         *         Undefined by default\n         * @sample {highcharts} highcharts/yaxis/minortickinterval-5/ 5 units\n         * @sample {highcharts} highcharts/yaxis/minortickinterval-log-auto/\n         *         \"auto\"\n         * @sample {highcharts} highcharts/yaxis/minortickinterval-log/ 0.1\n         * @sample {highstock} stock/demo/basic-line/ Null by default\n         * @sample {highstock} stock/xaxis/minortickinterval-auto/ \"auto\"\n         *\n         * @type      {number|'auto'}\n         * @apioption xAxis.minorTickInterval\n         */\n        /**\n         * The pixel length of the minor tick marks.\n         *\n         * @sample {highcharts} highcharts/yaxis/minorticklength/\n         *         10px on Y axis\n         * @sample {highstock} stock/xaxis/minorticks/\n         *         10px on Y axis\n         */\n        minorTickLength: 2,\n        /**\n         * The position of the minor tick marks relative to the axis line.\n         *  Can be one of `inside` and `outside`.\n         *\n         * @sample {highcharts} highcharts/yaxis/minortickposition-outside/\n         *         Outside by default\n         * @sample {highcharts} highcharts/yaxis/minortickposition-inside/\n         *         Inside\n         * @sample {highstock} stock/xaxis/minorticks/\n         *         Inside\n         *\n         * @validvalue [\"inside\", \"outside\"]\n         */\n        minorTickPosition: 'outside',\n        /**\n         * Enable or disable minor ticks. The interval between the minor ticks\n         * can be controlled either by the\n         * [minorTicksPerMajor](#xAxis.minorTicksPerMajor) setting, or as an\n         * absolute [minorTickInterval](#xAxis.minorTickInterval) value.\n         *\n         * On a logarithmic axis, minor ticks are laid out based on a best\n         * guess, attempting to enter an approximate number of minor ticks\n         * between each major tick based on\n         * [minorTicksPerMajor](#xAxis.minorTicksPerMajor).\n         *\n         * Prior to v6.0.0, ticks were enabled in auto layout by setting\n         * `minorTickInterval` to `\"auto\"`.\n         *\n         * @productdesc {highcharts} On axes using\n         * [categories](#xAxis.categories), minor ticks are not supported.\n         *\n         * @sample {highcharts} highcharts/yaxis/minorticks-true/ Enabled on\n         *         linear Y axis\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     6.0.0\n         * @apioption xAxis.minorTicks\n         */\n        /**\n         * The number of minor ticks per major tick. Works for `linear`,\n         * `logarithmic` and `datetime` axes.\n         *\n         * @sample {highcharts} highcharts/yaxis/minortickspermajor/\n         *         2 minor ticks per major tick on Y axis\n         *\n         * @since  11.0.0\n         *\n         * @type {number}\n         */\n        minorTicksPerMajor: 5,\n        /**\n         * The pixel width of the minor tick mark.\n         *\n         * @sample {highcharts} highcharts/yaxis/minortickwidth/\n         *         3px width\n         * @sample {highstock} stock/xaxis/minorticks/\n         *         1px width\n         *\n         * @type      {number}\n         * @default   0\n         * @apioption xAxis.minorTickWidth\n         */\n        /**\n         * Padding of the min value relative to the length of the axis. A\n         * padding of 0.05 will make a 100px axis 5px longer. This is useful\n         * when you don't want the lowest data value to appear on the edge\n         * of the plot area. When the axis' `min` option is set or a min extreme\n         * is set using `axis.setExtremes()`, the minPadding will be ignored.\n         *\n         * @productdesc {highstock}\n         * For an [ordinal](#xAxis.ordinal) axis, `minPadding` and `maxPadding`\n         * are ignored. Use [overscroll](#xAxis.overscroll) instead.\n         *\n         * @sample {highcharts} highcharts/yaxis/minpadding/\n         *         Min padding of 0.2\n         * @sample {highstock} stock/xaxis/minpadding-maxpadding/\n         *         Greater min- and maxPadding\n         * @sample {highmaps} maps/chart/plotbackgroundcolor-gradient/\n         *         Add some padding\n         *\n         * @default    {highcharts} 0.01\n         * @default    {highstock|highmaps} 0\n         * @since      1.2.0\n         * @product    highcharts highstock gantt\n         */\n        minPadding: 0.01,\n        /**\n         * The minimum range to display on this axis. The entire axis will not\n         * be allowed to span over a smaller interval than this. For example,\n         * for a datetime axis the main unit is milliseconds. If minRange is\n         * set to 3600000, you can't zoom in more than to one hour.\n         *\n         * The default minRange for the x axis is five times the smallest\n         * interval between any of the data points.\n         *\n         * On a logarithmic axis, the unit for the minimum range is the power.\n         * So a minRange of 1 means that the axis can be zoomed to 10-100,\n         * 100-1000, 1000-10000 etc.\n         *\n         * **Note**: The `minPadding`, `maxPadding`, `startOnTick` and\n         * `endOnTick` settings also affect how the extremes of the axis\n         * are computed.\n         *\n         * @sample {highcharts} highcharts/xaxis/minrange/\n         *         Minimum range of 5\n         * @sample {highstock} stock/xaxis/minrange/\n         *         Max zoom of 6 months overrides user selections\n         *\n         * @type      {number}\n         * @apioption xAxis.minRange\n         */\n        /**\n         * The minimum tick interval allowed in axis values. For example on\n         * zooming in on an axis with daily data, this can be used to prevent\n         * the axis from showing hours. Defaults to the closest distance between\n         * two points on the axis.\n         *\n         * @type      {number}\n         * @since     2.3.0\n         * @apioption xAxis.minTickInterval\n         */\n        /**\n         * The distance in pixels from the plot area to the axis line.\n         * A positive offset moves the axis with it's line, labels and ticks\n         * away from the plot area. This is typically used when two or more\n         * axes are displayed on the same side of the plot. With multiple\n         * axes the offset is dynamically adjusted to avoid collision, this\n         * can be overridden by setting offset explicitly.\n         *\n         * @sample {highcharts} highcharts/yaxis/offset/\n         *         Y axis offset of 70\n         * @sample {highcharts} highcharts/yaxis/offset-centered/\n         *         Axes positioned in the center of the plot\n         * @sample {highstock} stock/xaxis/offset/\n         *         Y axis offset by 70 px\n         *\n         * @type {number}\n         */\n        offset: void 0,\n        /**\n         * Whether to display the axis on the opposite side of the normal. The\n         * normal is on the left side for vertical axes and bottom for\n         * horizontal, so the opposite sides will be right and top respectively.\n         * This is typically used with dual or multiple axes.\n         *\n         * @sample {highcharts} highcharts/yaxis/opposite/\n         *         Secondary Y axis opposite\n         * @sample {highstock} stock/xaxis/opposite/\n         *         Y axis on left side\n         *\n         * @default   {highcharts|highstock|highmaps} false\n         * @default   {gantt} true\n         * @type      Boolean\n         * @apioption xAxis.opposite\n         */\n        /**\n         * In an ordinal axis, the points are equally spaced in the chart\n         * regardless of the actual time or x distance between them. This means\n         * that missing data periods (e.g. nights or weekends for a stock chart)\n         * will not take up space in the chart.\n         * Having `ordinal: false` will show any gaps created by the `gapSize`\n         * setting proportionate to their duration.\n         *\n         * In stock charts the X axis is ordinal by default, unless\n         * the boost module is used and at least one of the series' data length\n         * exceeds the [boostThreshold](#series.line.boostThreshold).\n         *\n         * For an ordinal axis, `minPadding` and `maxPadding` are ignored. Use\n         * [overscroll](#xAxis.overscroll) instead.\n         *\n         * @sample {highstock} stock/xaxis/ordinal-true/\n         *         True by default\n         * @sample {highstock} stock/xaxis/ordinal-false/\n         *         False\n         *\n         * @see [overscroll](#xAxis.overscroll)\n         *\n         * @type      {boolean}\n         * @default   true\n         * @since     1.1\n         * @product   highstock\n         * @apioption xAxis.ordinal\n         */\n        /**\n         * Additional range on the right side of the xAxis. Works similar to\n         * `xAxis.maxPadding`, but the value is set in terms of axis values,\n         * percentage or pixels.\n         *\n         * If it's a number, it is interpreted as axis values, which in a\n         * datetime axis equals milliseconds.\n         *\n         * If it's a percentage string, is interpreted as percentages of axis\n         * length. An overscroll of 50% will make a 100px axis 50px longer.\n         *\n         * If it's a pixel string, it is interpreted as a fixed pixel value, but\n         * limited to 90% of the axis length.\n         *\n         * @sample {highstock} stock/xaxis/overscroll/ One minute overscroll\n         *         with live data\n         * @sample {highstock} stock/xaxis/overscroll-percent/ Overscroll set in\n         *         percentage\n         * @sample {highstock} stock/xaxis/overscroll-pixel/ Overscroll set in\n         *         pixels\n         *\n         * @type      {number | string}\n         * @default   0\n         * @since     6.0.0\n         * @product   highstock\n         * @apioption xAxis.overscroll\n         */\n        /**\n         * Refers to the index in the [panes](#panes) array. Used for circular\n         * gauges and polar charts. When the option is not set then first pane\n         * will be used.\n         *\n         * @sample highcharts/demo/gauge-vu-meter\n         *         Two gauges with different center\n         *\n         * @type      {number}\n         * @product   highcharts\n         * @apioption xAxis.pane\n         */\n        /**\n         * The zoomed range to display when only defining one or none of `min`\n         * or `max`. For example, to show the latest month, a range of one month\n         * can be set.\n         *\n         * @sample {highstock} stock/xaxis/range/\n         *         Setting a zoomed range when the rangeSelector is disabled\n         *\n         * @type      {number}\n         * @product   highstock\n         * @apioption xAxis.range\n         */\n        /**\n         * Whether to reverse the axis so that the highest number is closest\n         * to the origin. If the chart is inverted, the x axis is reversed by\n         * default.\n         *\n         * @sample {highcharts} highcharts/yaxis/reversed/\n         *         Reversed Y axis\n         * @sample {highstock} stock/xaxis/reversed/\n         *         Reversed Y axis\n         *\n         * @type      {boolean}\n         * @default   undefined\n         * @apioption xAxis.reversed\n         */\n        reversed: void 0,\n        /**\n         * This option determines how stacks should be ordered within a group.\n         * For example reversed xAxis also reverses stacks, so first series\n         * comes last in a group. To keep order like for non-reversed xAxis\n         * enable this option.\n         *\n         * @sample {highcharts} highcharts/xaxis/reversedstacks/\n         *         Reversed stacks comparison\n         * @sample {highstock} highcharts/xaxis/reversedstacks/\n         *         Reversed stacks comparison\n         *\n         * @since     6.1.1\n         * @product   highcharts highstock\n         */\n        reversedStacks: false,\n        /**\n         * An optional scrollbar to display on the X axis in response to\n         * limiting the minimum and maximum of the axis values.\n         *\n         * In styled mode, all the presentational options for the scrollbar are\n         * replaced by the classes `.highcharts-scrollbar-thumb`,\n         * `.highcharts-scrollbar-arrow`, `.highcharts-scrollbar-button`,\n         * `.highcharts-scrollbar-rifles` and `.highcharts-scrollbar-track`.\n         *\n         * @sample {highstock} stock/yaxis/heatmap-scrollbars/\n         *         Heatmap with both scrollbars\n         *\n         * @extends   scrollbar\n         * @since     4.2.6\n         * @product   highstock\n         * @apioption xAxis.scrollbar\n         */\n        /**\n         * Whether to show the axis line and title when the axis has no data.\n         *\n         * @sample {highcharts} highcharts/yaxis/showempty/\n         *         When clicking the legend to hide series, one axis preserves\n         *         line and title, the other doesn't\n         * @sample {highstock} highcharts/yaxis/showempty/\n         *         When clicking the legend to hide series, one axis preserves\n         *         line and title, the other doesn't\n         *\n         * @since     1.1\n         */\n        showEmpty: true,\n        /**\n         * Whether to show the first tick label.\n         *\n         * @sample {highcharts} highcharts/xaxis/showfirstlabel-false/\n         *         Set to false on X axis\n         * @sample {highstock} stock/xaxis/showfirstlabel/\n         *         Labels below plot lines on Y axis\n         */\n        showFirstLabel: true,\n        /**\n         * Whether to show the last tick label. Defaults to `true` on cartesian\n         * charts, and `false` on polar charts.\n         *\n         * @sample {highcharts} highcharts/xaxis/showlastlabel-true/\n         *         Set to true on X axis\n         * @sample {highstock} stock/xaxis/showfirstlabel/\n         *         Labels below plot lines on Y axis\n         *\n         * @type    {boolean}\n         * @default undefined\n         * @product highcharts highstock gantt\n         */\n        showLastLabel: true,\n        /**\n         * A soft maximum for the axis. If the series data maximum is less than\n         * this, the axis will stay at this maximum, but if the series data\n         * maximum is higher, the axis will flex to show all data.\n         *\n         * @sample highcharts/yaxis/softmin-softmax/\n         *         Soft min and max\n         *\n         * @type      {number}\n         * @since     5.0.1\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.softMax\n         */\n        /**\n         * A soft minimum for the axis. If the series data minimum is greater\n         * than this, the axis will stay at this minimum, but if the series\n         * data minimum is lower, the axis will flex to show all data.\n         *\n         * @sample highcharts/yaxis/softmin-softmax/\n         *         Soft min and max\n         *\n         * @type      {number}\n         * @since     5.0.1\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.softMin\n         */\n        /**\n         * For datetime axes, this decides where to put the tick between weeks.\n         *  0 = Sunday, 1 = Monday.\n         *\n         * @sample {highcharts} highcharts/xaxis/startofweek-monday/\n         *         Monday by default\n         * @sample {highcharts} highcharts/xaxis/startofweek-sunday/\n         *         Sunday\n         * @sample {highstock} stock/xaxis/startofweek-1\n         *         Monday by default\n         * @sample {highstock} stock/xaxis/startofweek-0\n         *         Sunday\n         *\n         * @product highcharts highstock gantt\n         */\n        startOfWeek: 1,\n        /**\n         * Whether to force the axis to start on a tick. Use this option with\n         * the `minPadding` option to control the axis start.\n         *\n         * @productdesc {highstock}\n         * In Highcharts Stock, `startOnTick` is always `false` when\n         * the navigator is enabled, to prevent jumpy scrolling.\n         *\n         * @sample {highcharts} highcharts/xaxis/startontick-false/\n         *         False by default\n         * @sample {highcharts} highcharts/xaxis/startontick-true/\n         *         True\n         *\n         * @since 1.2.0\n         */\n        startOnTick: false,\n        /**\n         * The amount of ticks to draw on the axis. This opens up for aligning\n         * the ticks of multiple charts or panes within a chart. This option\n         * overrides the `tickPixelInterval` option.\n         *\n         * This option only has an effect on linear axes. Datetime, logarithmic\n         * or category axes are not affected.\n         *\n         * @sample {highcharts} highcharts/yaxis/tickamount/\n         *         8 ticks on Y axis\n         * @sample {highstock} highcharts/yaxis/tickamount/\n         *         8 ticks on Y axis\n         *\n         * @type      {number}\n         * @since     4.1.0\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.tickAmount\n         */\n        /**\n         * The interval of the tick marks in axis units. When `undefined`, the\n         * tick interval is computed to approximately follow the\n         * [tickPixelInterval](#xAxis.tickPixelInterval) on linear and datetime\n         * axes. On categorized axes, a `undefined` tickInterval will default to\n         * 1, one category. Note that datetime axes are based on milliseconds,\n         * so for example an interval of one day is expressed as\n         * `24 * 3600 * 1000`.\n         *\n         * On logarithmic axes, the tickInterval is based on powers, so a\n         * tickInterval of 1 means one tick on each of 0.1, 1, 10, 100 etc. A\n         * tickInterval of 2 means a tick of 0.1, 10, 1000 etc. A tickInterval\n         * of 0.2 puts a tick on 0.1, 0.2, 0.4, 0.6, 0.8, 1, 2, 4, 6, 8, 10, 20,\n         * 40 etc.\n         *\n         *\n         * If the tickInterval is too dense for labels to be drawn, Highcharts\n         * may remove ticks.\n         *\n         * If the chart has multiple axes, the [alignTicks](#chart.alignTicks)\n         * option may interfere with the `tickInterval` setting.\n         *\n         * @see [tickPixelInterval](#xAxis.tickPixelInterval)\n         * @see [tickPositions](#xAxis.tickPositions)\n         * @see [tickPositioner](#xAxis.tickPositioner)\n         *\n         * @sample {highcharts} highcharts/xaxis/tickinterval-5/\n         *         Tick interval of 5 on a linear axis\n         * @sample {highstock} stock/xaxis/tickinterval/\n         *         Tick interval of 0.01 on Y axis\n         *\n         * @type      {number}\n         * @apioption xAxis.tickInterval\n         */\n        /**\n         * The pixel length of the main tick marks.\n         *\n         * @sample {highcharts} highcharts/xaxis/ticklength/\n         *         20 px tick length on the X axis\n         * @sample {highstock} stock/xaxis/ticks/\n         *         Formatted ticks on X axis\n         */\n        tickLength: 10,\n        /**\n         * If tickInterval is `null` this option sets the approximate pixel\n         * interval of the tick marks. Not applicable to categorized axis.\n         *\n         * The tick interval is also influenced by the [minTickInterval](\n         * #xAxis.minTickInterval) option, that, by default prevents ticks from\n         * being denser than the data points.\n         *\n         * @see [tickInterval](#xAxis.tickInterval)\n         * @see [tickPositioner](#xAxis.tickPositioner)\n         * @see [tickPositions](#xAxis.tickPositions)\n         *\n         * @sample {highcharts} highcharts/xaxis/tickpixelinterval-50/\n         *         50 px on X axis\n         * @sample {highstock} stock/xaxis/tickpixelinterval/\n         *         200 px on X axis\n         */\n        tickPixelInterval: 100,\n        /**\n         * For categorized axes only. If `on` the tick mark is placed in the\n         * center of the category, if `between` the tick mark is placed between\n         * categories. The default is `between` if the `tickInterval` is 1, else\n         * `on`. In order to render tick marks on a category axis it is necessary\n         * to provide a [tickWidth](#xAxis.tickWidth).\n         *\n         * @sample {highcharts} highcharts/xaxis/tickmarkplacement-between/\n         *         \"between\" by default\n         * @sample {highcharts} highcharts/xaxis/tickmarkplacement-on/\n         *         \"on\"\n         *\n         * @product    highcharts gantt\n         * @validvalue [\"on\", \"between\"]\n         */\n        tickmarkPlacement: 'between',\n        /**\n         * The position of the major tick marks relative to the axis line.\n         * Can be one of `inside` and `outside`.\n         *\n         * @sample {highcharts} highcharts/xaxis/tickposition-outside/\n         *         \"outside\" by default\n         * @sample {highcharts} highcharts/xaxis/tickposition-inside/\n         *         \"inside\"\n         * @sample {highstock} stock/xaxis/ticks/\n         *         Formatted ticks on X axis\n         *\n         * @validvalue [\"inside\", \"outside\"]\n         */\n        tickPosition: 'outside',\n        /**\n         * A callback function returning array defining where the ticks are\n         * laid out on the axis. This overrides the default behaviour of\n         * [tickPixelInterval](#xAxis.tickPixelInterval) and [tickInterval](\n         * #xAxis.tickInterval). The automatic tick positions are accessible\n         * through `this.tickPositions` and can be modified by the callback.\n         *\n         * @see [tickPositions](#xAxis.tickPositions)\n         *\n         * @sample {highcharts} highcharts/xaxis/tickpositions-tickpositioner/\n         *         Demo of tickPositions and tickPositioner\n         * @sample {highstock} highcharts/xaxis/tickpositions-tickpositioner/\n         *         Demo of tickPositions and tickPositioner\n         *\n         * @type      {Highcharts.AxisTickPositionerCallbackFunction}\n         * @apioption xAxis.tickPositioner\n         */\n        /**\n         * An array defining where the ticks are laid out on the axis. This\n         * overrides the default behaviour of [tickPixelInterval](\n         * #xAxis.tickPixelInterval) and [tickInterval](#xAxis.tickInterval).\n         *\n         * @see [tickPositioner](#xAxis.tickPositioner)\n         *\n         * @sample {highcharts} highcharts/xaxis/tickpositions-tickpositioner/\n         *         Demo of tickPositions and tickPositioner\n         * @sample {highstock} highcharts/xaxis/tickpositions-tickpositioner/\n         *         Demo of tickPositions and tickPositioner\n         *\n         * @type      {Array<number>}\n         * @apioption xAxis.tickPositions\n         */\n        /**\n         * The pixel width of the major tick marks. Defaults to 0 on category\n         * axes, otherwise 1.\n         *\n         * In styled mode, the stroke width is given in the `.highcharts-tick`\n         * class, but in order for the element to be generated on category axes,\n         * the option must be explicitly set to 1.\n         *\n         * @sample {highcharts} highcharts/xaxis/tickwidth/\n         *         10 px width\n         * @sample {highcharts} highcharts/css/axis-grid/\n         *         Styled mode\n         * @sample {highstock} stock/xaxis/ticks/\n         *         Formatted ticks on X axis\n         * @sample {highstock} highcharts/css/axis-grid/\n         *         Styled mode\n         *\n         * @type      {undefined|number}\n         * @default   {highstock} 1\n         * @default   {highmaps} 0\n         * @apioption xAxis.tickWidth\n         */\n        /**\n         * The axis title, showing next to the axis line.\n         *\n         * @productdesc {highmaps}\n         * In Highmaps, the axis is hidden by default, but adding an axis title\n         * is still possible. X axis and Y axis titles will appear at the bottom\n         * and left by default.\n         */\n        title: {\n            /**\n             * Alignment of the title relative to the axis values. Possible\n             * values are \"low\", \"middle\" or \"high\".\n             *\n             * @sample {highcharts} highcharts/xaxis/title-align-low/\n             *         \"low\"\n             * @sample {highcharts} highcharts/xaxis/title-align-center/\n             *         \"middle\" by default\n             * @sample {highcharts} highcharts/xaxis/title-align-high/\n             *         \"high\"\n             * @sample {highcharts} highcharts/yaxis/title-offset/\n             *         Place the Y axis title on top of the axis\n             * @sample {highstock} stock/xaxis/title-align/\n             *         Aligned to \"high\" value\n             *\n             * @type {Highcharts.AxisTitleAlignValue}\n             */\n            align: 'middle',\n            /**\n             * Deprecated. Set the `text` to `undefined` to disable the title.\n             *\n             * @deprecated\n             * @type      {boolean}\n             * @product   highcharts\n             * @apioption xAxis.title.enabled\n             */\n            /**\n             * The pixel distance between the axis labels or line and the title.\n             * Defaults to 0 for horizontal axes, 10 for vertical\n             *\n             * @sample {highcharts} highcharts/xaxis/title-margin/\n             *         Y axis title margin of 60\n             *\n             * @type      {number}\n             * @apioption xAxis.title.margin\n             */\n            /**\n             * The distance of the axis title from the axis line. By default,\n             * this distance is computed from the offset width of the labels,\n             * the labels' distance from the axis and the title's margin.\n             * However when the offset option is set, it overrides all this.\n             *\n             * @sample {highcharts} highcharts/yaxis/title-offset/\n             *         Place the axis title on top of the axis\n             * @sample {highstock} highcharts/yaxis/title-offset/\n             *         Place the axis title on top of the Y axis\n             *\n             * @type      {number}\n             * @since     2.2.0\n             * @apioption xAxis.title.offset\n             */\n            /**\n             * Whether to reserve space for the title when laying out the axis.\n             *\n             * @type      {boolean}\n             * @default   true\n             * @since     5.0.11\n             * @product   highcharts highstock gantt\n             * @apioption xAxis.title.reserveSpace\n             */\n            /**\n             * The rotation of the text in degrees. 0 is horizontal, 270 is\n             * vertical reading from bottom to top. Defaults to 0 for horizontal\n             * axes, 270 for left-side axes and 90 for right-side axes.\n             *\n             * @sample    {highcharts} highcharts/yaxis/title-offset/\n             *            Horizontal\n             *\n             * @type      {number}\n             * @default   undefined\n             * @apioption xAxis.title.rotation\n             */\n            /**\n             * The actual text of the axis title. It can contain basic HTML tags\n             * like `b`, `i` and `span` with style.\n             *\n             * @sample {highcharts} highcharts/xaxis/title-text/\n             *         Custom HTML\n             * @sample {highstock} stock/xaxis/title-text/\n             *         Titles for both axes\n             *\n             * @type      {string|null}\n             * @apioption xAxis.title.text\n             */\n            /**\n             * Alignment of the text, can be `\"left\"`, `\"right\"` or `\"center\"`.\n             * Default alignment depends on the\n             * [title.align](xAxis.title.align):\n             *\n             * Horizontal axes:\n             * - for `align` = `\"low\"`, `textAlign` is set to `left`\n             * - for `align` = `\"middle\"`, `textAlign` is set to `center`\n             * - for `align` = `\"high\"`, `textAlign` is set to `right`\n             *\n             * Vertical axes:\n             * - for `align` = `\"low\"` and `opposite` = `true`, `textAlign` is\n             *   set to `right`\n             * - for `align` = `\"low\"` and `opposite` = `false`, `textAlign` is\n             *   set to `left`\n             * - for `align` = `\"middle\"`, `textAlign` is set to `center`\n             * - for `align` = `\"high\"` and `opposite` = `true` `textAlign` is\n             *   set to `left`\n             * - for `align` = `\"high\"` and `opposite` = `false` `textAlign` is\n             *   set to `right`\n             *\n             * @type      {Highcharts.AlignValue}\n             * @apioption xAxis.title.textAlign\n             */\n            /**\n             * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n             * to render the axis title.\n             *\n             * @product   highcharts highstock gantt\n             */\n            useHTML: false,\n            /**\n             * Horizontal pixel offset of the title position.\n             *\n             * @since     4.1.6\n             * @product   highcharts highstock gantt\n             */\n            x: 0,\n            /**\n             * Vertical pixel offset of the title position.\n             *\n             * @product   highcharts highstock gantt\n             */\n            y: 0,\n            /**\n             * CSS styles for the title. If the title text is longer than the\n             * axis length, it will wrap to multiple lines by default. This can\n             * be customized by setting the `lineClamp` property, by setting a\n             * specific `width` or by setting `whiteSpace: 'nowrap'`.\n             *\n             * In styled mode, the stroke width is given in the\n             * `.highcharts-axis-title` class.\n             *\n             * @sample {highcharts} highcharts/xaxis/title-style/\n             *         Red\n             * @sample {highcharts} highcharts/css/axis/\n             *         Styled mode\n             *\n             * @type    {Highcharts.CSSObject}\n             */\n            style: {\n                /** @internal */\n                color: \"#666666\" /* Palette.neutralColor60 */,\n                /**\n                 * @type {number|string}\n                 */\n                fontSize: '0.8em'\n            }\n        },\n        /**\n         * The type of axis. Can be one of `linear`, `logarithmic`, `datetime`\n         * or `category`. In a datetime axis, the numbers are given in\n         * milliseconds, and tick marks are placed on appropriate values like\n         * full hours or days. In a category axis, the\n         * [point names](#series.line.data.name) of the chart's series are used\n         * for categories, if not a [categories](#xAxis.categories) array is\n         * defined.\n         *\n         * @sample {highcharts} highcharts/xaxis/type-linear/\n         *         Linear\n         * @sample {highcharts} highcharts/yaxis/type-log/\n         *         Logarithmic\n         * @sample {highcharts} highcharts/yaxis/type-log-minorgrid/\n         *         Logarithmic with minor grid lines\n         * @sample {highcharts} highcharts/xaxis/type-log-both/\n         *         Logarithmic on two axes\n         * @sample {highcharts} highcharts/yaxis/type-log-negative/\n         *         Logarithmic with extension to emulate negative values\n         *\n         * @type    {Highcharts.AxisTypeValue}\n         * @default linear\n         * @product highcharts gantt\n         * @apioption xAxis.type\n         */\n        /**\n         * If there are multiple axes on the same side of the chart, the pixel\n         * margin between the axes. Defaults to 0 on vertical axes, 15 on\n         * horizontal axes.\n         *\n         * @type      {number}\n         * @since     7.0.3\n         * @apioption xAxis.margin\n         */\n        /**\n         * Applies only when the axis `type` is `category`. When `uniqueNames`\n         * is true, points are placed on the X axis according to their names.\n         * If the same point name is repeated in the same or another series,\n         * the point is placed on the same X position as other points of the\n         * same name. When `uniqueNames` is false, the points are laid out in\n         * increasing X positions regardless of their names, and the X axis\n         * category will take the name of the last point in each position.\n         *\n         * @sample {highcharts} highcharts/xaxis/uniquenames-true/\n         *         True by default\n         * @sample {highcharts} highcharts/xaxis/uniquenames-false/\n         *         False\n         *\n         * @since     4.2.7\n         * @product   highcharts gantt\n         * @type      {boolean}\n         * @default   true\n         * @apioption xAxis.uniqueNames\n         */\n        /**\n         * Datetime axis only. An array determining what time intervals the\n         * ticks are allowed to fall on. Each array item is an array where the\n         * first value is the time unit and the second value another array of\n         * allowed multiples.\n         *\n         * Defaults to:\n         * ```js\n         * units: [[\n         *     'millisecond', // unit name\n         *     [1, 2, 5, 10, 20, 25, 50, 100, 200, 500] // allowed multiples\n         * ], [\n         *     'second',\n         *     [1, 2, 5, 10, 15, 30]\n         * ], [\n         *     'minute',\n         *     [1, 2, 5, 10, 15, 30]\n         * ], [\n         *     'hour',\n         *     [1, 2, 3, 4, 6, 8, 12]\n         * ], [\n         *     'day',\n         *     [1, 2]\n         * ], [\n         *     'week',\n         *     [1, 2]\n         * ], [\n         *     'month',\n         *     [1, 2, 3, 4, 6]\n         * ], [\n         *     'year',\n         *     null\n         * ]]\n         * ```\n         *\n         * @sample {highcharts} highcharts/xaxis/units/\n         *         Axis units demonstrated\n         *\n         * @type      {Array<Array<string,(Array<number>|null)>>}\n         * @product   highcharts highstock gantt\n         * @apioption xAxis.units\n         */\n        /**\n         * Whether axis, including axis title, line, ticks and labels, should\n         * be visible.\n         *\n         * @since     4.1.9\n         * @product   highcharts highstock gantt\n         */\n        visible: true,\n        /**\n         * Color of the minor, secondary grid lines.\n         *\n         * In styled mode, the stroke width is given in the\n         * `.highcharts-minor-grid-line` class.\n         *\n         * @sample {highcharts} highcharts/yaxis/minorgridlinecolor/\n         *         Bright grey lines from Y axis\n         * @sample {highcharts|highstock} highcharts/css/axis-grid/\n         *         Styled mode\n         * @sample {highstock} stock/xaxis/minorgridlinecolor/\n         *         Bright grey lines from Y axis\n         *\n         * @type    {Highcharts.ColorType}\n         * @default #f2f2f2\n         */\n        minorGridLineColor: \"#f2f2f2\" /* Palette.neutralColor5 */,\n        /**\n         * Width of the minor, secondary grid lines.\n         *\n         * In styled mode, the stroke width is given in the\n         * `.highcharts-grid-line` class.\n         *\n         * @sample {highcharts} highcharts/yaxis/minorgridlinewidth/\n         *         2px lines from Y axis\n         * @sample {highcharts|highstock} highcharts/css/axis-grid/\n         *         Styled mode\n         * @sample {highstock} stock/xaxis/minorgridlinewidth/\n         *         2px lines from Y axis\n         */\n        minorGridLineWidth: 1,\n        /**\n         * Color for the minor tick marks.\n         *\n         * @sample {highcharts} highcharts/yaxis/minortickcolor/\n         *         Black tick marks on Y axis\n         * @sample {highstock} stock/xaxis/minorticks/\n         *         Black tick marks on Y axis\n         *\n         * @type    {Highcharts.ColorType}\n         * @default #999999\n         */\n        minorTickColor: \"#999999\" /* Palette.neutralColor40 */,\n        /**\n         * The color of the line marking the axis itself.\n         *\n         * In styled mode, the line stroke is given in the\n         * `.highcharts-axis-line` or `.highcharts-xaxis-line` class.\n         *\n         * @sample {highcharts} highcharts/yaxis/linecolor/\n         *         A red line on Y axis\n         * @sample {highcharts|highstock} highcharts/css/axis/\n         *         Axes in styled mode\n         * @sample {highstock} stock/xaxis/linecolor/\n         *         A red line on X axis\n         *\n         * @type    {Highcharts.ColorType}\n         */\n        lineColor: \"#333333\" /* Palette.neutralColor80 */,\n        /**\n         * The width of the line marking the axis itself.\n         *\n         * In styled mode, the stroke width is given in the\n         * `.highcharts-axis-line` or `.highcharts-xaxis-line` class.\n         *\n         * @sample {highcharts} highcharts/yaxis/linecolor/\n         *         A 1px line on Y axis\n         * @sample {highcharts|highstock} highcharts/css/axis/\n         *         Axes in styled mode\n         * @sample {highstock} stock/xaxis/linewidth/\n         *         A 2px line on X axis\n         *\n         * @default {highcharts|highstock} 1\n         * @default {highmaps} 0\n         */\n        lineWidth: 1,\n        /**\n         * Color of the grid lines extending the ticks across the plot area.\n         *\n         * In styled mode, the stroke is given in the `.highcharts-grid-line`\n         * class.\n         *\n         * @productdesc {highmaps}\n         * In Highmaps, the grid lines are hidden by default.\n         *\n         * @sample {highcharts} highcharts/yaxis/gridlinecolor/\n         *         Green lines\n         * @sample {highcharts|highstock} highcharts/css/axis-grid/\n         *         Styled mode\n         * @sample {highstock} stock/xaxis/gridlinecolor/\n         *         Green lines\n         *\n         * @type    {Highcharts.ColorType}\n         * @default #e6e6e6\n         */\n        gridLineColor: \"#e6e6e6\" /* Palette.neutralColor10 */,\n        /**\n         * The width of the grid lines extending the ticks across the plot area.\n         * Defaults to 1 on the Y axis and 0 on the X axis, except for 3d\n         * charts.\n         *\n         * In styled mode, the stroke width is given in the\n         * `.highcharts-grid-line` class.\n         *\n         * @sample {highcharts} highcharts/yaxis/gridlinewidth/\n         *         2px lines\n         * @sample {highcharts|highstock} highcharts/css/axis-grid/\n         *         Styled mode\n         * @sample {highstock} stock/xaxis/gridlinewidth/\n         *         2px lines\n         *\n         * @type      {number}\n         * @apioption xAxis.gridLineWidth\n         */\n        gridLineWidth: void 0,\n        /**\n         * The height as the vertical axis. If it's a number, it is\n         * interpreted as pixels.\n         *\n         * Since Highcharts 2: If it's a percentage string, it is interpreted\n         * as percentages of the total plot height.\n         *\n         * @sample {highcharts} highcharts/xaxis/axis-position-properties\n         *         Different axis position properties\n         *\n         * @type      {number|string}\n         * @product   highcharts highstock\n         * @apioption xAxis.height\n         */\n        /**\n         * The width as the horizontal axis. If it's a number, it is interpreted\n         * as pixels.\n         *\n         * Since Highcharts v5.0.13: If it's a percentage string, it is\n         * interpreted as percentages of the total plot width.\n         *\n         * @sample {highcharts} highcharts/xaxis/axis-position-properties\n         *         Different axis position properties\n         *\n         * @type      {number|string}\n         * @product   highcharts highstock\n         * @apioption xAxis.width\n         */\n        /**\n         * Color for the main tick marks.\n         *\n         * In styled mode, the stroke is given in the `.highcharts-tick`\n         * class.\n         *\n         * @sample {highcharts} highcharts/xaxis/tickcolor/\n         *         Red ticks on X axis\n         * @sample {highcharts|highstock} highcharts/css/axis-grid/\n         *         Styled mode\n         * @sample {highstock} stock/xaxis/ticks/\n         *         Formatted ticks on X axis\n         *\n         * @type    {Highcharts.ColorType}\n         */\n        tickColor: \"#333333\" /* Palette.neutralColor80 */\n        // `tickWidth: 1`\n    };\n    /**\n     * The Z axis or depth axis for 3D plots.\n     *\n     * See the [Axis class](/class-reference/Highcharts.Axis) for programmatic\n     * access to the axis.\n     *\n     * @sample {highcharts} highcharts/3d/scatter-zaxis-categories/\n     *         Z-Axis with Categories\n     * @sample {highcharts} highcharts/3d/scatter-zaxis-grid/\n     *         Z-Axis with styling\n     *\n     * @type      {*|Array<*>}\n     * @extends   xAxis\n     * @since     5.0.0\n     * @product   highcharts\n     * @excluding breaks, crosshair, height, left, lineColor, lineWidth,\n     *            nameToX, showEmpty, top, width\n     * @apioption zAxis\n     */\n    /**\n     * The Y axis or value axis. Normally this is the vertical axis,\n     * though if the chart is inverted this is the horizontal axis.\n     * In case of multiple axes, the yAxis node is an array of\n     * configuration objects.\n     *\n     * See [the Axis object](/class-reference/Highcharts.Axis) for programmatic\n     * access to the axis.\n     *\n     * @type         {*|Array<*>}\n     * @extends      xAxis\n     * @excluding    currentDateIndicator,ordinal,overscroll\n     * @optionparent yAxis\n     */\n    AxisDefaults.yAxis = {\n        /**\n         * The type of axis. Can be one of `linear`, `logarithmic`, `datetime`,\n         * `category` or `treegrid`. Defaults to `treegrid` for Gantt charts,\n         * `linear` for other chart types.\n         *\n         * In a datetime axis, the numbers are given in milliseconds, and tick\n         * marks are placed on appropriate values, like full hours or days. In a\n         * category or treegrid axis, the [point names](#series.line.data.name)\n         * of the chart's series are used for categories, if a\n         * [categories](#xAxis.categories) array is not defined.\n         *\n         * @sample {highcharts} highcharts/yaxis/type-log-minorgrid/\n         *         Logarithmic with minor grid lines\n         * @sample {highcharts} highcharts/yaxis/type-log-negative/\n         *         Logarithmic with extension to emulate negative values\n         * @sample {gantt} gantt/treegrid-axis/demo\n         *         Treegrid axis\n         *\n         * @type      {Highcharts.AxisTypeValue}\n         * @default   {highcharts} linear\n         * @default   {gantt} treegrid\n         * @product   highcharts gantt\n         * @apioption yAxis.type\n         */\n        /**\n         * The height of the Y axis. If it's a number, it is interpreted as\n         * pixels.\n         *\n         * Since Highcharts 2: If it's a percentage string, it is interpreted as\n         * percentages of the total plot height.\n         *\n         * @see [yAxis.top](#yAxis.top)\n         *\n         * @sample {highstock} stock/demo/candlestick-and-volume/\n         *         Percentage height panes\n         *\n         * @type      {number|string}\n         * @product   highcharts highstock\n         * @apioption yAxis.height\n         */\n        /**\n         * Solid gauge only. Unless [stops](#yAxis.stops) are set, the color\n         * to represent the maximum value of the Y axis.\n         *\n         * @sample {highcharts} highcharts/yaxis/mincolor-maxcolor/\n         *         Min and max colors\n         *\n         * @type      {Highcharts.ColorType}\n         * @default   #003399\n         * @since     4.0\n         * @product   highcharts\n         * @apioption yAxis.maxColor\n         */\n        /**\n         * Solid gauge only. Unless [stops](#yAxis.stops) are set, the color\n         * to represent the minimum value of the Y axis.\n         *\n         * @sample {highcharts} highcharts/yaxis/mincolor-maxcolor/\n         *         Min and max color\n         *\n         * @type      {Highcharts.ColorType}\n         * @default   #e6ebf5\n         * @since     4.0\n         * @product   highcharts\n         * @apioption yAxis.minColor\n         */\n        /**\n         * Whether to reverse the axis so that the highest number is closest\n         * to the origin.\n         *\n         * @sample {highcharts} highcharts/yaxis/reversed/\n         *         Reversed Y axis\n         * @sample {highstock} stock/xaxis/reversed/\n         *         Reversed Y axis\n         *\n         * @type      {boolean}\n         * @default   {highcharts} false\n         * @default   {highstock} false\n         * @default   {highmaps} true\n         * @default   {gantt} true\n         * @apioption yAxis.reversed\n         */\n        /**\n         * If `true`, the first series in a stack will be drawn on top in a\n         * positive, non-reversed Y axis. If `false`, the first series is in\n         * the base of the stack.\n         *\n         * @sample {highcharts} highcharts/yaxis/reversedstacks-false/\n         *         Non-reversed stacks\n         * @sample {highstock} highcharts/yaxis/reversedstacks-false/\n         *         Non-reversed stacks\n         *\n         * @type      {boolean}\n         * @default   true\n         * @since     3.0.10\n         * @product   highcharts highstock\n         * @apioption yAxis.reversedStacks\n         */\n        reversedStacks: true,\n        /**\n         * Solid gauge series only. Color stops for the solid gauge. Use this\n         * in cases where a linear gradient between a `minColor` and `maxColor`\n         * is not sufficient. The stops is an array of tuples, where the first\n         * item is a float between 0 and 1 assigning the relative position in\n         * the gradient, and the second item is the color.\n         *\n         * For solid gauges, the Y axis also inherits the concept of\n         * [data classes](https://api.highcharts.com/highmaps#colorAxis.dataClasses)\n         * from the Highmaps color axis.\n         *\n         * @sample {highcharts} highcharts/demo/gauge-solid/\n         *         Gauge with stops\n         *\n         * @see [minColor](#yAxis.minColor)\n         * @see [maxColor](#yAxis.maxColor)\n         *\n         * @type      {Array<Array<number,Highcharts.ColorType>>}\n         * @since     4.0\n         * @product   highcharts\n         * @apioption yAxis.stops\n         */\n        /**\n         * The pixel width of the major tick marks.\n         *\n         * @sample {highcharts} highcharts/xaxis/tickwidth/ 10 px width\n         * @sample {highstock} stock/xaxis/ticks/ Formatted ticks on X axis\n         *\n         * @type      {number}\n         * @default   0\n         * @product   highcharts highstock gantt\n         * @apioption yAxis.tickWidth\n         */\n        /**\n         * Whether to force the axis to end on a tick. Use this option with\n         * the `maxPadding` option to control the axis end.\n         *\n         * This option is always disabled, when panning type is\n         * either `y` or `xy`.\n         *\n         * @see [type](#chart.panning.type)\n         *\n         *\n         * @sample {highcharts} highcharts/yaxis/endontick/\n         *         True by default\n         * @sample {highcharts} highcharts/yaxis/endontick-false/\n         *         False\n         * @sample {highstock} stock/demo/basic-line/\n         *         True by default\n         * @sample {highstock} stock/xaxis/endontick/\n         *         False for Y axis\n         *\n         * @since 1.2.0\n         */\n        endOnTick: true,\n        /**\n         * Padding of the max value relative to the length of the axis. A\n         * padding of 0.05 will make a 100px axis 5px longer. This is useful\n         * when you don't want the highest data value to appear on the edge\n         * of the plot area. When the axis' `max` option is set or a max extreme\n         * is set using `axis.setExtremes()`, the maxPadding will be ignored.\n         *\n         * Also the `softThreshold` option takes precedence over `maxPadding`,\n         * so if the data is tangent to the threshold, `maxPadding` may not\n         * apply unless `softThreshold` is set to false.\n         *\n         * @sample {highcharts} highcharts/yaxis/maxpadding-02/\n         *         Max padding of 0.2\n         * @sample {highstock} stock/xaxis/minpadding-maxpadding/\n         *         Greater min- and maxPadding\n         *\n         * @since   1.2.0\n         * @product highcharts highstock gantt\n         */\n        maxPadding: 0.05,\n        /**\n         * Padding of the min value relative to the length of the axis. A\n         * padding of 0.05 will make a 100px axis 5px longer. This is useful\n         * when you don't want the lowest data value to appear on the edge\n         * of the plot area. When the axis' `min` option is set or a max extreme\n         * is set using `axis.setExtremes()`, the maxPadding will be ignored.\n         *\n         * Also the `softThreshold` option takes precedence over `minPadding`,\n         * so if the data is tangent to the threshold, `minPadding` may not\n         * apply unless `softThreshold` is set to false.\n         *\n         * @sample {highcharts} highcharts/yaxis/minpadding/\n         *         Min padding of 0.2\n         * @sample {highstock} stock/xaxis/minpadding-maxpadding/\n         *         Greater min- and maxPadding\n         *\n         * @since   1.2.0\n         * @product highcharts highstock gantt\n         */\n        minPadding: 0.05,\n        /**\n         * @productdesc {highstock}\n         * In Highcharts Stock 1.x, the Y axis was placed\n         * on the left side by default.\n         *\n         * @sample {highcharts} highcharts/yaxis/opposite/\n         *         Secondary Y axis opposite\n         * @sample {highstock} stock/xaxis/opposite/\n         *         Y axis on left side\n         *\n         * @type      {boolean}\n         * @default   {highstock} true\n         * @default   {highcharts} false\n         * @product   highstock highcharts gantt\n         * @apioption yAxis.opposite\n         */\n        /**\n         * @see [tickInterval](#xAxis.tickInterval)\n         * @see [tickPositioner](#xAxis.tickPositioner)\n         * @see [tickPositions](#xAxis.tickPositions)\n         */\n        tickPixelInterval: 72,\n        /**\n         * Whether to show the last tick label.\n         *\n         * @productdesc {highcharts|gantt}\n         * Defaults to `true` on cartesian charts, and `false` on polar charts.\n         *\n         * @productdesc {highstock}\n         * Defaults to `true` for categorized yAxis and `false` for other types\n         * of yAxis.\n         *\n         * @default undefined\n         */\n        showLastLabel: true,\n        /**\n         * @extends xAxis.labels\n         */\n        labels: {\n            /**\n             * The label's pixel distance from the perimeter of the plot area.\n             * On cartesian charts, this is overridden if the `labels.y` setting\n             * is set.\n             *\n             * On polar charts, if it's a percentage string, it is interpreted\n             * the same as [series.radius](#plotOptions.gauge.radius), so the\n             * label can be aligned under the gauge's shape.\n             *\n             * @sample {highcharts} highcharts/yaxis/labels-distance/\n             *         Polar chart, labels centered under the arc\n             *\n             * @type      {number|string}\n             * @product   highcharts\n             * @apioption yAxis.labels.distance\n             */\n            /**\n             * The y position offset of all labels relative to the tick\n             * positions on the axis. For polar and radial axis consider the use\n             * of the [distance](#yAxis.labels.distance) option.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-x/\n             *         Y axis labels placed on grid lines\n             *\n             * @type      {number}\n             * @default   {highcharts} 3\n             * @default   {highstock} -2\n             * @default   {highmaps} 3\n             * @apioption yAxis.labels.y\n             */\n            /**\n             * What part of the string the given position is anchored to. Can\n             * be one of `\"left\"`, `\"center\"` or `\"right\"`. The exact position\n             * also depends on the `labels.x` setting.\n             *\n             * Angular gauges and solid gauges defaults to `\"center\"`.\n             * Solid gauges with two labels have additional option `\"auto\"`\n             * for automatic horizontal and vertical alignment.\n             *\n             * @sample {highcharts} highcharts/yaxis/labels-align-left/\n             *         Left\n             * @sample {highcharts} highcharts/series-solidgauge/labels-auto-aligned/\n             *         Solid gauge labels auto aligned\n             *\n             * @type       {Highcharts.AlignValue}\n             * @default    {highstock} right\n             * @apioption  yAxis.labels.align\n             */\n            /**\n             * The x position offset of all labels relative to the tick\n             * positions on the axis. Defaults to -15 for left axis, 15 for\n             * right axis.\n             *\n             * @sample {highcharts} highcharts/xaxis/labels-x/\n             *         Y axis labels placed on grid lines\n             *\n             * @type {number}\n             */\n            x: void 0\n        },\n        /**\n         * @sample {highcharts} highcharts/yaxis/max-200/\n         *         Y axis max of 200\n         * @sample {highcharts} highcharts/yaxis/max-logarithmic/\n         *         Y axis max on logarithmic axis\n         * @sample {highstock} stock/yaxis/min-max/\n         *         Fixed min and max on Y axis\n         *\n         * @apioption yAxis.max\n         */\n        /**\n         * @sample {highcharts} highcharts/yaxis/min-startontick-false/\n         *         -50 with startOnTick to false\n         * @sample {highcharts} highcharts/yaxis/min-startontick-true/\n         *         -50 with startOnTick true by default\n         * @sample {highstock} stock/yaxis/min-max/\n         *         Fixed min and max on Y axis\n         *\n         * @apioption yAxis.min\n         */\n        /**\n         * An optional scrollbar to display on the Y axis in response to\n         * limiting the minimum an maximum of the axis values.\n         *\n         * In styled mode, all the presentational options for the scrollbar\n         * are replaced by the classes `.highcharts-scrollbar-thumb`,\n         * `.highcharts-scrollbar-arrow`, `.highcharts-scrollbar-button`,\n         * `.highcharts-scrollbar-rifles` and `.highcharts-scrollbar-track`.\n         *\n         * @sample {highstock} stock/yaxis/scrollbar/\n         *         Scrollbar on the Y axis\n         *\n         * @extends   scrollbar\n         * @since     4.2.6\n         * @product   highstock\n         * @excluding height\n         * @apioption yAxis.scrollbar\n         */\n        /**\n         * Enable the scrollbar on the Y axis.\n         *\n         * @sample {highstock} stock/yaxis/scrollbar/\n         *         Enabled on Y axis\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     4.2.6\n         * @product   highstock\n         * @apioption yAxis.scrollbar.enabled\n         */\n        /**\n         * Pixel margin between the scrollbar and the axis elements.\n         *\n         * @type      {number}\n         * @default   10\n         * @since     4.2.6\n         * @product   highstock\n         * @apioption yAxis.scrollbar.margin\n         */\n        /* eslint-disable highcharts/doclet-apioption-last */\n        /**\n         * Defines the position of the scrollbar. By default, it is positioned\n         * on the opposite of the main axis (right side of the chart).\n         * However, in the case of RTL languages could be set to `false`\n         * which positions the scrollbar on the left.\n         *\n         * Works only for vertical axes.\n         * This means yAxis in a non-inverted chart and xAxis in the inverted.\n         *\n         * @sample stock/yaxis/scrollbar-opposite/\n         *         A scrollbar not on the opposite side\n         *\n         * @type      {boolean}\n         * @default   true\n         * @since 9.3.0\n         *\n         * @apioption yAxis.scrollbar.opposite\n         * @apioption xAxis.scrollbar.opposite\n         *\n         */\n        /* eslint-enable highcharts/doclet-apioption-last */\n        /**\n         * Whether to show the scrollbar when it is fully zoomed out at max\n         * range. Setting it to `false` on the Y axis makes the scrollbar stay\n         * hidden until the user zooms in, like common in browsers.\n         *\n         * @type      {boolean}\n         * @default   true\n         * @since     4.2.6\n         * @product   highstock\n         * @apioption yAxis.scrollbar.showFull\n         */\n        /**\n         * The width of a vertical scrollbar or height of a horizontal\n         * scrollbar. Defaults to 20 on touch devices.\n         *\n         * @type      {number}\n         * @default   14\n         * @since     4.2.6\n         * @product   highstock\n         * @apioption yAxis.scrollbar.size\n         */\n        /**\n         * Z index of the scrollbar elements.\n         *\n         * @type      {number}\n         * @default   3\n         * @since     4.2.6\n         * @product   highstock\n         * @apioption yAxis.scrollbar.zIndex\n         */\n        /**\n         * A soft maximum for the axis. If the series data maximum is less\n         * than this, the axis will stay at this maximum, but if the series\n         * data maximum is higher, the axis will flex to show all data.\n         *\n         * **Note**: The [series.softThreshold](\n         * #plotOptions.series.softThreshold) option takes precedence over this\n         * option.\n         *\n         * @sample highcharts/yaxis/softmin-softmax/\n         *         Soft min and max\n         *\n         * @type      {number}\n         * @since     5.0.1\n         * @product   highcharts highstock gantt\n         * @apioption yAxis.softMax\n         */\n        /**\n         * A soft minimum for the axis. If the series data minimum is greater\n         * than this, the axis will stay at this minimum, but if the series\n         * data minimum is lower, the axis will flex to show all data.\n         *\n         * **Note**: The [series.softThreshold](\n         * #plotOptions.series.softThreshold) option takes precedence over this\n         * option.\n         *\n         * @sample highcharts/yaxis/softmin-softmax/\n         *         Soft min and max\n         *\n         * @type      {number}\n         * @since     5.0.1\n         * @product   highcharts highstock gantt\n         * @apioption yAxis.softMin\n         */\n        /**\n         * Defines the horizontal alignment of the stack total label. Can be one\n         * of `\"left\"`, `\"center\"` or `\"right\"`. The default value is calculated\n         * at runtime and depends on orientation and whether the stack is\n         * positive or negative.\n         *\n         * @sample {highcharts} highcharts/yaxis/stacklabels-align-left/\n         *         Aligned to the left\n         * @sample {highcharts} highcharts/yaxis/stacklabels-align-center/\n         *         Aligned in center\n         * @sample {highcharts} highcharts/yaxis/stacklabels-align-right/\n         *         Aligned to the right\n         *\n         * @type      {Highcharts.AlignValue}\n         * @since     2.1.5\n         * @product   highcharts\n         * @apioption yAxis.stackLabels.align\n         */\n        /**\n         * A format string for the data label. Available variables are the same\n         * as for `formatter`.\n         *\n         * @type      {string}\n         * @default   {total}\n         * @since     3.0.2\n         * @product   highcharts highstock\n         * @apioption yAxis.stackLabels.format\n         */\n        /**\n         * Rotation of the labels in degrees.\n         *\n         * @sample {highcharts} highcharts/yaxis/stacklabels-rotation/\n         *         Labels rotated 45°\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.1.5\n         * @product   highcharts\n         * @apioption yAxis.stackLabels.rotation\n         */\n        /**\n         * The text alignment for the label. While `align` determines where the\n         * texts anchor point is placed with regards to the stack, `textAlign`\n         * determines how the text is aligned against its anchor point. Possible\n         * values are `\"left\"`, `\"center\"` and `\"right\"`. The default value is\n         * calculated at runtime and depends on orientation and whether the\n         * stack is positive or negative.\n         *\n         * @sample {highcharts} highcharts/yaxis/stacklabels-textalign-left/\n         *         Label in center position but text-aligned left\n         *\n         * @type      {Highcharts.AlignValue}\n         * @since     2.1.5\n         * @product   highcharts\n         * @apioption yAxis.stackLabels.textAlign\n         */\n        /**\n         * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n         * to render the labels.\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     3.0\n         * @product   highcharts highstock\n         * @apioption yAxis.stackLabels.useHTML\n         */\n        /**\n         * Defines the vertical alignment of the stack total label. Can be one\n         * of `\"top\"`, `\"middle\"` or `\"bottom\"`. The default value is calculated\n         * at runtime and depends on orientation and whether the stack is\n         * positive or negative.\n         *\n         * @sample {highcharts} highcharts/yaxis/stacklabels-verticalalign-top/\n         *         Vertically aligned top\n         * @sample {highcharts} highcharts/yaxis/stacklabels-verticalalign-middle/\n         *         Vertically aligned middle\n         * @sample {highcharts} highcharts/yaxis/stacklabels-verticalalign-bottom/\n         *         Vertically aligned bottom\n         *\n         * @type      {Highcharts.VerticalAlignValue}\n         * @since     2.1.5\n         * @product   highcharts\n         * @apioption yAxis.stackLabels.verticalAlign\n         */\n        /**\n         * The x position offset of the label relative to the left of the\n         * stacked bar. The default value is calculated at runtime and depends\n         * on orientation and whether the stack is positive or negative.\n         *\n         * @sample {highcharts} highcharts/yaxis/stacklabels-x/\n         *         Stack total labels with x offset\n         *\n         * @type      {number}\n         * @since     2.1.5\n         * @product   highcharts\n         * @apioption yAxis.stackLabels.x\n         */\n        /**\n         * The y position offset of the label relative to the tick position\n         * on the axis. The default value is calculated at runtime and depends\n         * on orientation and whether the stack is positive or negative.\n         *\n         * @sample {highcharts} highcharts/yaxis/stacklabels-y/\n         *         Stack total labels with y offset\n         *\n         * @type      {number}\n         * @since     2.1.5\n         * @product   highcharts\n         * @apioption yAxis.stackLabels.y\n         */\n        /**\n         * Whether to force the axis to start on a tick. Use this option with\n         * the `maxPadding` option to control the axis start.\n         *\n         * This option is always disabled, when panning type is\n         * either `y` or `xy`.\n         *\n         * @see [type](#chart.panning.type)\n         *\n         * @sample {highcharts} highcharts/xaxis/startontick-false/\n         *         False by default\n         * @sample {highcharts} highcharts/xaxis/startontick-true/\n         *         True\n         * @sample {highstock} stock/xaxis/endontick/\n         *         False for Y axis\n         *\n         * @since   1.2.0\n         * @product highcharts highstock gantt\n         */\n        startOnTick: true,\n        title: {\n            /**\n             * The pixel distance between the axis labels and the title.\n             * Positive values are outside the axis line, negative are inside.\n             *\n             * @sample {highcharts} highcharts/xaxis/title-margin/\n             *         Y axis title margin of 60\n             *\n             * @type      {number}\n             * @default   40\n             * @apioption yAxis.title.margin\n             */\n            /**\n             * The actual text of the axis title. Horizontal texts can contain\n             * HTML, but rotated texts are painted using vector techniques and\n             * must be clean text. The Y axis title is disabled by setting the\n             * `text` option to `undefined`.\n             *\n             * @sample {highcharts} highcharts/xaxis/title-text/\n             *         Custom HTML\n             *\n             * @type    {string|null}\n             * @default {highcharts} Values\n             * @default {highstock} undefined\n             * @product highcharts highstock gantt\n             */\n            text: 'Values'\n        },\n        /**\n         * The top position of the Y axis. If it's a number, it is interpreted\n         * as pixel position relative to the chart.\n         *\n         * Since Highcharts 2: If it's a percentage string, it is interpreted as\n         * percentages of the plot height, offset from plot area top.\n         *\n         * @see [yAxis.height](#yAxis.height)\n         *\n         * @sample {highstock} stock/demo/candlestick-and-volume/\n         *         Percentage height panes\n         *\n         * @type      {number|string}\n         * @product   highcharts highstock\n         * @apioption yAxis.top\n         */\n        /**\n         * The stack labels show the total value for each bar in a stacked\n         * column or bar chart. The label will be placed on top of positive\n         * columns and below negative columns. In case of an inverted column\n         * chart or a bar chart the label is placed to the right of positive\n         * bars and to the left of negative bars.\n         *\n         * @product highcharts\n         */\n        stackLabels: {\n            /**\n             * Enable or disable the initial animation when a series is\n             * displayed for the `stackLabels`. The animation can also be set as\n             * a configuration object. Please note that this option only\n             * applies to the initial animation.\n             * For other animations, see [chart.animation](#chart.animation)\n             * and the animation parameter under the API methods.\n             * The following properties are supported:\n             *\n             * - `defer`: The animation delay time in milliseconds.\n             *\n             * @sample {highcharts} highcharts/plotoptions/animation-defer/\n             *          Animation defer settings\n             * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}\n             * @since 8.2.0\n             * @apioption yAxis.stackLabels.animation\n             */\n            animation: {},\n            /**\n             * The animation delay time in milliseconds.\n             * Set to `0` renders stackLabel immediately.\n             * As `undefined` inherits defer time from the [series.animation.defer](#plotOptions.series.animation.defer).\n             *\n             * @type      {number}\n             * @since 8.2.0\n             * @apioption yAxis.stackLabels.animation.defer\n             */\n            /**\n             * Allow the stack labels to overlap.\n             *\n             * @sample {highcharts} highcharts/yaxis/stacklabels-allowoverlap-false/\n             *         Default false\n             *\n             * @since   5.0.13\n             * @product highcharts\n             */\n            allowOverlap: false,\n            /**\n             * The background color or gradient for the stack label.\n             *\n             * @sample {highcharts} highcharts/yaxis/stacklabels-box/\n             *          Stack labels box options\n             * @type      {Highcharts.ColorType}\n             * @since 8.1.0\n             * @apioption yAxis.stackLabels.backgroundColor\n             */\n            /**\n             * The border color for the stack label. Defaults to `undefined`.\n             *\n             * @sample {highcharts} highcharts/yaxis/stacklabels-box/\n             *          Stack labels box options\n             * @type      {Highcharts.ColorType}\n             * @since 8.1.0\n             * @apioption yAxis.stackLabels.borderColor\n             */\n            /**\n             * The border radius in pixels for the stack label.\n             *\n             * @sample {highcharts} highcharts/yaxis/stacklabels-box/\n             *          Stack labels box options\n             * @type      {number}\n             * @default   0\n             * @since 8.1.0\n             * @apioption yAxis.stackLabels.borderRadius\n             */\n            /**\n             * The border width in pixels for the stack label.\n             *\n             * @sample {highcharts} highcharts/yaxis/stacklabels-box/\n             *          Stack labels box options\n             * @type      {number}\n             * @default   0\n             * @since 8.1.0\n             * @apioption yAxis.stackLabels.borderWidth\n             */\n            /**\n             * Enable or disable the stack total labels.\n             *\n             * @sample {highcharts} highcharts/yaxis/stacklabels-enabled/\n             *         Enabled stack total labels\n             * @sample {highcharts} highcharts/yaxis/stacklabels-enabled-waterfall/\n             *         Enabled stack labels in waterfall chart\n             *\n             * @since   2.1.5\n             * @product highcharts\n             */\n            enabled: false,\n            /**\n             * Whether to hide stack labels that are outside the plot area.\n             * By default, the stack label is moved\n             * inside the plot area according to the\n             * [overflow](/highcharts/#yAxis/stackLabels/overflow)\n             * option.\n             *\n             * @type  {boolean}\n             * @since 7.1.3\n             */\n            crop: true,\n            /**\n             * How to handle stack total labels that flow outside the plot area.\n             * The default is set to `\"justify\"`,\n             * which aligns them inside the plot area.\n             * For columns and bars, this means it will be moved inside the bar.\n             * To display stack labels outside the plot area,\n             * set `crop` to `false` and `overflow` to `\"allow\"`.\n             *\n             * @sample highcharts/yaxis/stacklabels-overflow/\n             *         Stack labels flows outside the plot area.\n             *\n             * @type  {Highcharts.DataLabelsOverflowValue}\n             * @since 7.1.3\n             */\n            overflow: 'justify',\n            /* eslint-disable valid-jsdoc */\n            /**\n             * Callback JavaScript function to format the label. The value is\n             * given by `this.total`.\n             *\n             * @sample {highcharts} highcharts/yaxis/stacklabels-formatter/\n             *         Added units to stack total value\n             *\n             * @type    {Highcharts.FormatterCallbackFunction<Highcharts.StackItemObject>}\n             * @since   2.1.5\n             * @product highcharts\n             */\n            formatter: function () {\n                const { numberFormatter } = this.axis.chart;\n                /* eslint-enable valid-jsdoc */\n                return numberFormatter(this.total || 0, -1);\n            },\n            /**\n             * CSS styles for the label.\n             *\n             * In styled mode, the styles are set in the\n             * `.highcharts-stack-label` class.\n             *\n             * @sample {highcharts} highcharts/yaxis/stacklabels-style/\n             *         Red stack total labels\n             *\n             * @type    {Highcharts.CSSObject}\n             * @since   2.1.5\n             * @product highcharts\n             */\n            style: {\n                /** @internal */\n                color: \"#000000\" /* Palette.neutralColor100 */,\n                /**\n                 * @type {number|string}\n                 */\n                fontSize: '0.7em',\n                /** @internal */\n                fontWeight: 'bold',\n                /** @internal */\n                textOutline: '1px contrast'\n            }\n        },\n        gridLineWidth: 1,\n        lineWidth: 0\n    };\n})(AxisDefaults || (AxisDefaults = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Axis_AxisDefaults = (AxisDefaults);\n\n;// ./code/es-modules/Core/Foundation.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { addEvent: Foundation_addEvent, isFunction: Foundation_isFunction, objectEach: Foundation_objectEach, removeEvent: Foundation_removeEvent } = Core_Utilities;\n/* *\n *\n *  Class Namespace\n *\n * */\nvar Foundation;\n(function (Foundation) {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Register event options. If an event handler is set on the options, it\n     * should be subject to Chart.update, Axis.update and Series.update. This is\n     * contrary to general handlers that are set directly using addEvent either\n     * on the class or on the instance. #6538, #6943, #10861.\n     * @private\n     */\n    function registerEventOptions(component, options) {\n        // A lookup over those events that are added by _options_ (not\n        // programmatically). These are updated through .update()\n        component.eventOptions = component.eventOptions || {};\n        // Register event listeners\n        Foundation_objectEach(options.events, function (event, eventType) {\n            // If event does not exist, or is changed by the .update()\n            // function\n            if (component.eventOptions[eventType] !== event) {\n                // Remove existing if set by option\n                if (component.eventOptions[eventType]) {\n                    Foundation_removeEvent(component, eventType, component.eventOptions[eventType]);\n                    delete component.eventOptions[eventType];\n                }\n                if (Foundation_isFunction(event)) {\n                    component.eventOptions[eventType] = event;\n                    Foundation_addEvent(component, eventType, event, {\n                        order: 0 // #14080 fire those events as firsts\n                    });\n                }\n            }\n        });\n    }\n    Foundation.registerEventOptions = registerEventOptions;\n})(Foundation || (Foundation = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Core_Foundation = (Foundation);\n\n;// ./code/es-modules/Core/Axis/Tick.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { deg2rad: Tick_deg2rad } = Core_Globals;\n\nconst { clamp: Tick_clamp, correctFloat: Tick_correctFloat, defined: Tick_defined, destroyObjectProperties: Tick_destroyObjectProperties, extend: Tick_extend, fireEvent: Tick_fireEvent, getAlignFactor: Tick_getAlignFactor, isNumber: Tick_isNumber, merge: Tick_merge, objectEach: Tick_objectEach, pick: Tick_pick } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/**\n * The Tick class.\n *\n * @class\n * @name Highcharts.Tick\n *\n * @param {Highcharts.Axis} axis\n * The axis of the tick.\n *\n * @param {number} pos\n * The position of the tick on the axis in terms of axis values.\n *\n * @param {string} [type]\n * The type of tick, either 'minor' or an empty string\n *\n * @param {boolean} [noLabel=false]\n * Whether to disable the label or not. Defaults to false.\n *\n * @param {Object} [parameters]\n * Optional parameters for the tick.\n */\nclass Tick {\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(axis, pos, type, noLabel, parameters) {\n        this.isNew = true;\n        this.isNewLabel = true;\n        /**\n         * The related axis of the tick.\n         * @name Highcharts.Tick#axis\n         * @type {Highcharts.Axis}\n         */\n        this.axis = axis;\n        /**\n         * The logical position of the tick on the axis in terms of axis values.\n         * @name Highcharts.Tick#pos\n         * @type {number}\n         */\n        this.pos = pos;\n        /**\n         * The tick type, which can be `\"minor\"`, or an empty string.\n         * @name Highcharts.Tick#type\n         * @type {string}\n         */\n        this.type = type || '';\n        this.parameters = parameters || {};\n        /**\n         * The mark offset of the tick on the axis. Usually `undefined`, numeric\n         * for grid axes.\n         * @name Highcharts.Tick#tickmarkOffset\n         * @type {number|undefined}\n         */\n        this.tickmarkOffset = this.parameters.tickmarkOffset;\n        this.options = this.parameters.options;\n        Tick_fireEvent(this, 'init');\n        if (!type && !noLabel) {\n            this.addLabel();\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Write the tick label.\n     *\n     * @private\n     * @function Highcharts.Tick#addLabel\n     */\n    addLabel() {\n        const tick = this, axis = tick.axis, options = axis.options, chart = axis.chart, categories = axis.categories, log = axis.logarithmic, names = axis.names, pos = tick.pos, labelOptions = Tick_pick(tick.options && tick.options.labels, options.labels), tickPositions = axis.tickPositions, isFirst = pos === tickPositions[0], isLast = pos === tickPositions[tickPositions.length - 1], animateLabels = (!labelOptions.step || labelOptions.step === 1) &&\n            axis.tickInterval === 1, tickPositionInfo = tickPositions.info;\n        let label = tick.label, dateTimeLabelFormat, dateTimeLabelFormats, i;\n        // The context value\n        let value = this.parameters.category || (categories ?\n            Tick_pick(categories[pos], names[pos], pos) :\n            pos);\n        if (log && Tick_isNumber(value)) {\n            value = Tick_correctFloat(log.lin2log(value));\n        }\n        // Set the datetime label format. If a higher rank is set for this\n        // position, use that. If not, use the general format.\n        if (axis.dateTime) {\n            if (tickPositionInfo) {\n                dateTimeLabelFormats = chart.time.resolveDTLFormat(options.dateTimeLabelFormats[(!options.grid &&\n                    tickPositionInfo.higherRanks[pos]) ||\n                    tickPositionInfo.unitName]);\n                dateTimeLabelFormat = dateTimeLabelFormats.main;\n            }\n            else if (Tick_isNumber(value)) { // #1441\n                dateTimeLabelFormat = axis.dateTime.getXDateFormat(value, options.dateTimeLabelFormats ||\n                    {});\n            }\n        }\n        // Set properties for access in render method\n        /**\n         * True if the tick is the first one on the axis.\n         * @name Highcharts.Tick#isFirst\n         * @readonly\n         * @type {boolean|undefined}\n         */\n        tick.isFirst = isFirst;\n        /**\n         * True if the tick is the last one on the axis.\n         * @name Highcharts.Tick#isLast\n         * @readonly\n         * @type {boolean|undefined}\n         */\n        tick.isLast = isLast;\n        // Get the string\n        const ctx = {\n            axis,\n            chart,\n            dateTimeLabelFormat: dateTimeLabelFormat,\n            isFirst,\n            isLast,\n            pos,\n            tick: tick,\n            tickPositionInfo,\n            value\n        };\n        // Fire an event that allows modifying the context for use in\n        // `labels.format` and `labels.formatter`.\n        Tick_fireEvent(this, 'labelFormat', ctx);\n        // Label formatting. When `labels.format` is given, we first run the\n        // defaultFormatter and append the result to the context as `text`.\n        // Handy for adding prefix or suffix while keeping default number\n        // formatting.\n        const labelFormatter = (ctx) => {\n            if (labelOptions.formatter) {\n                return labelOptions.formatter.call(ctx, ctx);\n            }\n            if (labelOptions.format) {\n                ctx.text = axis.defaultLabelFormatter.call(ctx);\n                return Core_Templating.format(labelOptions.format, ctx, chart);\n            }\n            return axis.defaultLabelFormatter.call(ctx);\n        };\n        const str = labelFormatter.call(ctx, ctx);\n        // Set up conditional formatting based on the format list if existing.\n        const list = dateTimeLabelFormats && dateTimeLabelFormats.list;\n        if (list) {\n            tick.shortenLabel = function () {\n                for (i = 0; i < list.length; i++) {\n                    Tick_extend(ctx, { dateTimeLabelFormat: list[i] });\n                    label.attr({\n                        text: labelFormatter.call(ctx, ctx)\n                    });\n                    if (label.getBBox().width <\n                        axis.getSlotWidth(tick) - 2 *\n                            (labelOptions.padding || 0)) {\n                        return;\n                    }\n                }\n                label.attr({\n                    text: ''\n                });\n            };\n        }\n        else {\n            // #15692\n            tick.shortenLabel = void 0;\n        }\n        // Call only after first render\n        if (animateLabels && axis._addedPlotLB) {\n            tick.moveLabel(str, labelOptions);\n        }\n        // First call\n        if (!Tick_defined(label) && !tick.movedLabel) {\n            /**\n             * The rendered text label of the tick.\n             * @name Highcharts.Tick#label\n             * @type {Highcharts.SVGElement|undefined}\n             */\n            tick.label = label = tick.createLabel(str, labelOptions);\n            // Base value to detect change for new calls to getBBox\n            tick.rotation = 0;\n            // Update\n        }\n        else if (label && label.textStr !== str && !animateLabels) {\n            // When resetting text, also reset the width if dynamically set\n            // (#8809)\n            if (label.textWidth &&\n                !labelOptions.style.width &&\n                !label.styles.width) {\n                label.css({ width: null });\n            }\n            label.attr({ text: str });\n            label.textPxLength = label.getBBox().width;\n        }\n    }\n    /**\n     * Render and return the label of the tick.\n     *\n     * @private\n     * @function Highcharts.Tick#createLabel\n     */\n    createLabel(str, labelOptions, xy) {\n        const axis = this.axis, { renderer, styledMode } = axis.chart, label = Tick_defined(str) && labelOptions.enabled ?\n            renderer\n                .text(str, xy?.x, xy?.y, labelOptions.useHTML)\n                .add(axis.labelGroup) :\n            void 0;\n        // Un-rotated length\n        if (label) {\n            const whiteSpace = labelOptions.style.whiteSpace || 'normal';\n            // Without position absolute, IE export sometimes is wrong\n            if (!styledMode) {\n                label.css(Tick_merge(labelOptions.style, { whiteSpace: 'nowrap' }));\n            }\n            label.textPxLength = label.getBBox().width;\n            if (!styledMode) {\n                label.css({ whiteSpace });\n            }\n        }\n        return label;\n    }\n    /**\n     * Destructor for the tick prototype\n     *\n     * @private\n     * @function Highcharts.Tick#destroy\n     */\n    destroy() {\n        Tick_destroyObjectProperties(this, this.axis);\n    }\n    /**\n     * Gets the x and y positions for ticks in terms of pixels.\n     *\n     * @private\n     * @function Highcharts.Tick#getPosition\n     *\n     * @param {boolean} horiz\n     * Whether the tick is on an horizontal axis or not.\n     *\n     * @param {number} tickPos\n     * Position of the tick.\n     *\n     * @param {number} tickmarkOffset\n     * Tickmark offset for all ticks.\n     *\n     * @param {boolean} [old]\n     * Whether the axis has changed or not.\n     *\n     * @return {Highcharts.PositionObject}\n     * The tick position.\n     *\n     * @emits Highcharts.Tick#event:afterGetPosition\n     */\n    getPosition(horiz, tickPos, tickmarkOffset, old) {\n        const axis = this.axis, chart = axis.chart, cHeight = (old && chart.oldChartHeight) || chart.chartHeight, pos = {\n            x: horiz ?\n                Tick_correctFloat(axis.translate(tickPos + tickmarkOffset, void 0, void 0, old) +\n                    axis.transB) :\n                (axis.left +\n                    axis.offset +\n                    (axis.opposite ?\n                        (((old && chart.oldChartWidth) ||\n                            chart.chartWidth) -\n                            axis.right -\n                            axis.left) :\n                        0)),\n            y: horiz ?\n                (cHeight -\n                    axis.bottom +\n                    axis.offset -\n                    (axis.opposite ? axis.height : 0)) :\n                Tick_correctFloat(cHeight -\n                    axis.translate(tickPos + tickmarkOffset, void 0, void 0, old) -\n                    axis.transB)\n        };\n        // Chrome workaround for #10516\n        pos.y = Tick_clamp(pos.y, -1e9, 1e9);\n        Tick_fireEvent(this, 'afterGetPosition', { pos: pos });\n        return pos;\n    }\n    /**\n     * Get the x, y position of the tick label\n     * @private\n     */\n    getLabelPosition(x, y, label, horiz, labelOptions, tickmarkOffset, index, step) {\n        const axis = this.axis, transA = axis.transA, reversed = ( // #7911\n        axis.isLinked && axis.linkedParent ?\n            axis.linkedParent.reversed :\n            axis.reversed), staggerLines = axis.staggerLines, rotCorr = axis.tickRotCorr || { x: 0, y: 0 }, \n        // Adjust for label alignment if we use reserveSpace: true (#5286)\n        labelOffsetCorrection = (!horiz && !axis.reserveSpaceDefault ?\n            -axis.labelOffset * (axis.labelAlign === 'center' ? 0.5 : 1) :\n            0), distance = labelOptions.distance, pos = {};\n        let yOffset, line;\n        if (axis.side === 0) {\n            yOffset = label.rotation ? -distance : -label.getBBox().height;\n        }\n        else if (axis.side === 2) {\n            yOffset = rotCorr.y + distance;\n        }\n        else {\n            // #3140, #3140\n            yOffset = Math.cos(label.rotation * Tick_deg2rad) *\n                (rotCorr.y - label.getBBox(false, 0).height / 2);\n        }\n        if (Tick_defined(labelOptions.y)) {\n            yOffset = axis.side === 0 && axis.horiz ?\n                labelOptions.y + yOffset :\n                labelOptions.y;\n        }\n        x = x +\n            Tick_pick(labelOptions.x, [0, 1, 0, -1][axis.side] * distance) +\n            labelOffsetCorrection +\n            rotCorr.x -\n            (tickmarkOffset && horiz ?\n                tickmarkOffset * transA * (reversed ? -1 : 1) :\n                0);\n        y = y + yOffset - (tickmarkOffset && !horiz ?\n            tickmarkOffset * transA * (reversed ? 1 : -1) : 0);\n        // Correct for staggered labels\n        if (staggerLines) {\n            line = (index / (step || 1) % staggerLines);\n            if (axis.opposite) {\n                line = staggerLines - line - 1;\n            }\n            y += line * (axis.labelOffset / staggerLines);\n        }\n        pos.x = x;\n        pos.y = Math.round(y);\n        Tick_fireEvent(this, 'afterGetLabelPosition', { pos: pos, tickmarkOffset: tickmarkOffset, index: index });\n        return pos;\n    }\n    /**\n     * Get the offset height or width of the label\n     *\n     * @private\n     * @function Highcharts.Tick#getLabelSize\n     */\n    getLabelSize() {\n        return this.label ?\n            this.label.getBBox()[this.axis.horiz ? 'height' : 'width'] :\n            0;\n    }\n    /**\n     * Extendible method to return the path of the marker\n     * @private\n     */\n    getMarkPath(x, y, tickLength, tickWidth, horiz = false, renderer) {\n        return renderer.crispLine([[\n                'M',\n                x,\n                y\n            ], [\n                'L',\n                x + (horiz ? 0 : -tickLength),\n                y + (horiz ? tickLength : 0)\n            ]], tickWidth);\n    }\n    /**\n     * Handle the label overflow by adjusting the labels to the left and right\n     * edge, or hide them if they collide into the neighbour label.\n     *\n     * @private\n     * @function Highcharts.Tick#handleOverflow\n     */\n    handleOverflow(xy) {\n        const tick = this, axis = this.axis, labelOptions = axis.options.labels, pxPos = xy.x, chartWidth = axis.chart.chartWidth, spacing = axis.chart.spacing, leftBound = Tick_pick(axis.labelLeft, Math.min(axis.pos, spacing[3])), rightBound = Tick_pick(axis.labelRight, Math.max(!axis.isRadial ? axis.pos + axis.len : 0, chartWidth - spacing[1])), label = this.label, rotation = this.rotation, factor = Tick_getAlignFactor(axis.labelAlign || label.attr('align')), labelWidth = label.getBBox().width, slotWidth = axis.getSlotWidth(tick), xCorrection = factor, css = {};\n        let modifiedSlotWidth = slotWidth, goRight = 1, leftPos, rightPos, textWidth;\n        // Check if the label overshoots the chart spacing box. If it does, move\n        // it. If it now overshoots the slotWidth, add ellipsis.\n        if (!rotation && labelOptions.overflow === 'justify') {\n            leftPos = pxPos - factor * labelWidth;\n            rightPos = pxPos + (1 - factor) * labelWidth;\n            if (leftPos < leftBound) {\n                modifiedSlotWidth =\n                    xy.x + modifiedSlotWidth * (1 - factor) - leftBound;\n            }\n            else if (rightPos > rightBound) {\n                modifiedSlotWidth =\n                    rightBound - xy.x + modifiedSlotWidth * factor;\n                goRight = -1;\n            }\n            modifiedSlotWidth = Math.min(slotWidth, modifiedSlotWidth); // #4177\n            if (modifiedSlotWidth < slotWidth && axis.labelAlign === 'center') {\n                xy.x += (goRight *\n                    (slotWidth -\n                        modifiedSlotWidth -\n                        xCorrection * (slotWidth - Math.min(labelWidth, modifiedSlotWidth))));\n            }\n            // If the label width exceeds the available space, set a text width\n            // to be picked up below. Also, if a width has been set before, we\n            // need to set a new one because the reported labelWidth will be\n            // limited by the box (#3938).\n            if (labelWidth > modifiedSlotWidth ||\n                (axis.autoRotation && (label.styles || {}).width)) {\n                textWidth = modifiedSlotWidth;\n            }\n            // Add ellipsis to prevent rotated labels to be clipped against the edge\n            // of the chart\n        }\n        else if (rotation < 0 &&\n            pxPos - factor * labelWidth < leftBound) {\n            textWidth = Math.round(pxPos / Math.cos(rotation * Tick_deg2rad) - leftBound);\n        }\n        else if (rotation > 0 &&\n            pxPos + factor * labelWidth > rightBound) {\n            textWidth = Math.round((chartWidth - pxPos) /\n                Math.cos(rotation * Tick_deg2rad));\n        }\n        if (textWidth && label) {\n            if (tick.shortenLabel) {\n                tick.shortenLabel();\n            }\n            else {\n                label.css(Tick_extend(css, {\n                    width: Math.floor(textWidth) + 'px',\n                    lineClamp: axis.isRadial ? 0 : 1\n                }));\n            }\n        }\n    }\n    /**\n     * Try to replace the label if the same one already exists.\n     *\n     * @private\n     * @function Highcharts.Tick#moveLabel\n     */\n    moveLabel(str, labelOptions) {\n        const tick = this, label = tick.label, axis = tick.axis;\n        let moved = false, labelPos;\n        if (label && label.textStr === str) {\n            tick.movedLabel = label;\n            moved = true;\n            delete tick.label;\n        }\n        else { // Find a label with the same string\n            Tick_objectEach(axis.ticks, function (currentTick) {\n                if (!moved &&\n                    !currentTick.isNew &&\n                    currentTick !== tick &&\n                    currentTick.label &&\n                    currentTick.label.textStr === str) {\n                    tick.movedLabel = currentTick.label;\n                    moved = true;\n                    currentTick.labelPos = tick.movedLabel.xy;\n                    delete currentTick.label;\n                }\n            });\n        }\n        // Create new label if the actual one is moved\n        if (!moved && (tick.labelPos || label)) {\n            labelPos = tick.labelPos || label.xy;\n            tick.movedLabel = tick.createLabel(str, labelOptions, labelPos);\n            if (tick.movedLabel) {\n                tick.movedLabel.attr({ opacity: 0 });\n            }\n        }\n    }\n    /**\n     * Put everything in place\n     *\n     * @private\n     * @param {number} index\n     *\n     * @param {boolean} [old]\n     * Use old coordinates to prepare an animation into new position\n     *\n     * @param {number} [opacity]\n     */\n    render(index, old, opacity) {\n        const tick = this, axis = tick.axis, horiz = axis.horiz, pos = tick.pos, tickmarkOffset = Tick_pick(tick.tickmarkOffset, axis.tickmarkOffset), xy = tick.getPosition(horiz, pos, tickmarkOffset, old), x = xy.x, y = xy.y, axisStart = axis.pos, axisEnd = axisStart + axis.len, pxPos = horiz ? x : y;\n        // Anything that is not between `axis.pos` and `axis.pos + axis.length`\n        // should not be visible (#20166). The `correctFloat` is for reversed\n        // axes in Safari.\n        if (!axis.chart.polar &&\n            tick.isNew &&\n            (Tick_correctFloat(pxPos) < axisStart || pxPos > axisEnd)) {\n            opacity = 0;\n        }\n        const labelOpacity = Tick_pick(opacity, tick.label && tick.label.newOpacity, // #15528\n        1);\n        opacity = Tick_pick(opacity, 1);\n        this.isActive = true;\n        // Create the grid line\n        this.renderGridLine(old, opacity);\n        // Create the tick mark\n        this.renderMark(xy, opacity);\n        // The label is created on init - now move it into place\n        this.renderLabel(xy, old, labelOpacity, index);\n        tick.isNew = false;\n        Tick_fireEvent(this, 'afterRender');\n    }\n    /**\n     * Renders the gridLine.\n     *\n     * @private\n     * @function Highcharts.Tick#renderGridLine\n     * @param {boolean} old  Whether or not the tick is old\n     * @param {number} opacity  The opacity of the grid line\n     */\n    renderGridLine(old, opacity) {\n        const tick = this, axis = tick.axis, options = axis.options, attribs = {}, pos = tick.pos, type = tick.type, tickmarkOffset = Tick_pick(tick.tickmarkOffset, axis.tickmarkOffset), renderer = axis.chart.renderer;\n        let gridLine = tick.gridLine, gridLinePath, gridLineWidth = options.gridLineWidth, gridLineColor = options.gridLineColor, dashStyle = options.gridLineDashStyle;\n        if (tick.type === 'minor') {\n            gridLineWidth = options.minorGridLineWidth;\n            gridLineColor = options.minorGridLineColor;\n            dashStyle = options.minorGridLineDashStyle;\n        }\n        if (!gridLine) {\n            if (!axis.chart.styledMode) {\n                attribs.stroke = gridLineColor;\n                attribs['stroke-width'] = gridLineWidth || 0;\n                attribs.dashstyle = dashStyle;\n            }\n            if (!type) {\n                attribs.zIndex = 1;\n            }\n            if (old) {\n                opacity = 0;\n            }\n            /**\n             * The rendered grid line of the tick.\n             * @name Highcharts.Tick#gridLine\n             * @type {Highcharts.SVGElement|undefined}\n             */\n            tick.gridLine = gridLine = renderer.path()\n                .attr(attribs)\n                .addClass('highcharts-' + (type ? type + '-' : '') + 'grid-line')\n                .add(axis.gridGroup);\n        }\n        if (gridLine) {\n            gridLinePath = axis.getPlotLinePath({\n                value: pos + tickmarkOffset,\n                lineWidth: gridLine.strokeWidth(),\n                force: 'pass',\n                old: old,\n                acrossPanes: false // #18025\n            });\n            // If the parameter 'old' is set, the current call will be followed\n            // by another call, therefore do not do any animations this time\n            if (gridLinePath) {\n                gridLine[old || tick.isNew ? 'attr' : 'animate']({\n                    d: gridLinePath,\n                    opacity: opacity\n                });\n            }\n        }\n    }\n    /**\n     * Renders the tick mark.\n     *\n     * @private\n     * @function Highcharts.Tick#renderMark\n     * @param {Highcharts.PositionObject} xy  The position vector of the mark\n     * @param {number} opacity  The opacity of the mark\n     */\n    renderMark(xy, opacity) {\n        const tick = this, axis = tick.axis, options = axis.options, renderer = axis.chart.renderer, type = tick.type, tickSize = axis.tickSize(type ? type + 'Tick' : 'tick'), x = xy.x, y = xy.y, tickWidth = Tick_pick(options[type !== 'minor' ? 'tickWidth' : 'minorTickWidth'], !type && axis.isXAxis ? 1 : 0), // X axis defaults to 1\n        tickColor = options[type !== 'minor' ? 'tickColor' : 'minorTickColor'];\n        let mark = tick.mark;\n        const isNewMark = !mark;\n        if (tickSize) {\n            // Negate the length\n            if (axis.opposite) {\n                tickSize[0] = -tickSize[0];\n            }\n            // First time, create it\n            if (!mark) {\n                /**\n                 * The rendered mark of the tick.\n                 * @name Highcharts.Tick#mark\n                 * @type {Highcharts.SVGElement|undefined}\n                 */\n                tick.mark = mark = renderer.path()\n                    .addClass('highcharts-' + (type ? type + '-' : '') + 'tick')\n                    .add(axis.axisGroup);\n                if (!axis.chart.styledMode) {\n                    mark.attr({\n                        stroke: tickColor,\n                        'stroke-width': tickWidth\n                    });\n                }\n            }\n            mark[isNewMark ? 'attr' : 'animate']({\n                d: tick.getMarkPath(x, y, tickSize[0], mark.strokeWidth(), axis.horiz, renderer),\n                opacity: opacity\n            });\n        }\n    }\n    /**\n     * Renders the tick label.\n     * Note: The label should already be created in init(), so it should only\n     * have to be moved into place.\n     *\n     * @private\n     * @function Highcharts.Tick#renderLabel\n     * @param {Highcharts.PositionObject} xy  The position vector of the label\n     * @param {boolean} old  Whether or not the tick is old\n     * @param {number} opacity  The opacity of the label\n     * @param {number} index  The index of the tick\n     */\n    renderLabel(xy, old, opacity, index) {\n        const tick = this, axis = tick.axis, horiz = axis.horiz, options = axis.options, label = tick.label, labelOptions = options.labels, step = labelOptions.step, tickmarkOffset = Tick_pick(tick.tickmarkOffset, axis.tickmarkOffset), x = xy.x, y = xy.y;\n        let show = true;\n        if (label && Tick_isNumber(x)) {\n            label.xy = xy = tick.getLabelPosition(x, y, label, horiz, labelOptions, tickmarkOffset, index, step);\n            // Apply show first and show last. If the tick is both first and\n            // last, it is a single centered tick, in which case we show the\n            // label anyway (#2100).\n            if ((tick.isFirst &&\n                !tick.isLast &&\n                !options.showFirstLabel) ||\n                (tick.isLast &&\n                    !tick.isFirst &&\n                    !options.showLastLabel)) {\n                show = false;\n                // Handle label overflow and show or hide accordingly\n            }\n            else if (horiz &&\n                !labelOptions.step &&\n                !labelOptions.rotation &&\n                !old &&\n                opacity !== 0) {\n                tick.handleOverflow(xy);\n            }\n            // Apply step\n            if (step && index % step) {\n                // Show those indices dividable by step\n                show = false;\n            }\n            // Set the new position, and show or hide\n            if (show && Tick_isNumber(xy.y)) {\n                xy.opacity = opacity;\n                label[tick.isNewLabel ? 'attr' : 'animate'](xy).show(true);\n                tick.isNewLabel = false;\n            }\n            else {\n                label.hide(); // #1338, #15863\n                tick.isNewLabel = true;\n            }\n        }\n    }\n    /**\n     * Replace labels with the moved ones to perform animation. Additionally\n     * destroy unused labels.\n     *\n     * @private\n     * @function Highcharts.Tick#replaceMovedLabel\n     */\n    replaceMovedLabel() {\n        const tick = this, label = tick.label, axis = tick.axis;\n        // Animate and destroy\n        if (label && !tick.isNew) {\n            label.animate({ opacity: 0 }, void 0, label.destroy);\n            delete tick.label;\n        }\n        axis.isDirty = true;\n        tick.label = tick.movedLabel;\n        delete tick.movedLabel;\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Axis_Tick = (Tick);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Optional parameters for the tick.\n * @private\n * @interface Highcharts.TickParametersObject\n */ /**\n* Set category for the tick.\n* @name Highcharts.TickParametersObject#category\n* @type {string|undefined}\n*/ /**\n* @name Highcharts.TickParametersObject#options\n* @type {Highcharts.Dictionary<any>|undefined}\n*/ /**\n* Set tickmarkOffset for the tick.\n* @name Highcharts.TickParametersObject#tickmarkOffset\n* @type {number|undefined}\n*/\n/**\n * Additional time tick information.\n *\n * @interface Highcharts.TimeTicksInfoObject\n * @extends Highcharts.TimeNormalizedObject\n */ /**\n* @name Highcharts.TimeTicksInfoObject#higherRanks\n* @type {Array<string>}\n*/ /**\n* @name Highcharts.TimeTicksInfoObject#totalRange\n* @type {number}\n*/\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Axis/Axis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject: Axis_animObject } = AnimationUtilities;\n\nconst { xAxis, yAxis } = Axis_AxisDefaults;\n\n\nconst { defaultOptions: Axis_defaultOptions } = Defaults;\n\nconst { registerEventOptions } = Core_Foundation;\n\nconst { deg2rad: Axis_deg2rad } = Core_Globals;\n\n\nconst { arrayMax: Axis_arrayMax, arrayMin: Axis_arrayMin, clamp: Axis_clamp, correctFloat: Axis_correctFloat, defined: Axis_defined, destroyObjectProperties: Axis_destroyObjectProperties, erase: Axis_erase, error: Axis_error, extend: Axis_extend, fireEvent: Axis_fireEvent, getClosestDistance: Axis_getClosestDistance, insertItem: Axis_insertItem, isArray: Axis_isArray, isNumber: Axis_isNumber, isString: Axis_isString, merge: Axis_merge, normalizeTickInterval: Axis_normalizeTickInterval, objectEach: Axis_objectEach, pick: Axis_pick, relativeLength: Axis_relativeLength, removeEvent: Axis_removeEvent, splat: Axis_splat, syncTimeout: Axis_syncTimeout } = Core_Utilities;\nconst getNormalizedTickInterval = (axis, tickInterval) => Axis_normalizeTickInterval(tickInterval, void 0, void 0, Axis_pick(axis.options.allowDecimals, \n// If the tick interval is greater than 0.5, avoid decimals, as\n// linear axes are often used to render discrete values (#3363). If\n// a tick amount is set, allow decimals by default, as it increases\n// the chances for a good fit.\ntickInterval < 0.5 || axis.tickAmount !== void 0), !!axis.tickAmount);\nAxis_extend(Axis_defaultOptions, { xAxis, yAxis: Axis_merge(xAxis, yAxis) });\n/* *\n *\n *  Class\n *\n * */\n/**\n * Create a new axis object. Called internally when instantiating a new chart or\n * adding axes by {@link Highcharts.Chart#addAxis}.\n *\n * A chart can have from 0 axes (pie chart) to multiples. In a normal, single\n * series cartesian chart, there is one X axis and one Y axis.\n *\n * The X axis or axes are referenced by {@link Highcharts.Chart.xAxis}, which is\n * an array of Axis objects. If there is only one axis, it can be referenced\n * through `chart.xAxis[0]`, and multiple axes have increasing indices. The same\n * pattern goes for Y axes.\n *\n * If you need to get the axes from a series object, use the `series.xAxis` and\n * `series.yAxis` properties. These are not arrays, as one series can only be\n * associated to one X and one Y axis.\n *\n * A third way to reference the axis programmatically is by `id`. Add an `id` in\n * the axis configuration options, and get the axis by\n * {@link Highcharts.Chart#get}.\n *\n * Configuration options for the axes are given in options.xAxis and\n * options.yAxis.\n *\n * @class\n * @name Highcharts.Axis\n *\n * @param {Highcharts.Chart} chart\n * The Chart instance to apply the axis on.\n *\n * @param {Highcharts.AxisOptions} userOptions\n * Axis options\n */\nclass Axis {\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(chart, userOptions, coll) {\n        this.init(chart, userOptions, coll);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Overrideable function to initialize the axis.\n     *\n     * @see {@link Axis}\n     *\n     * @function Highcharts.Axis#init\n     *\n     * @param {Highcharts.Chart} chart\n     * The Chart instance to apply the axis on.\n     *\n     * @param {AxisOptions} userOptions\n     * Axis options.\n     *\n     * @emits Highcharts.Axis#event:afterInit\n     * @emits Highcharts.Axis#event:init\n     */\n    init(chart, userOptions, coll = this.coll) {\n        const isXAxis = coll === 'xAxis', axis = this, horiz = axis.isZAxis || (chart.inverted ? !isXAxis : isXAxis);\n        /**\n         * The Chart that the axis belongs to.\n         *\n         * @name Highcharts.Axis#chart\n         * @type {Highcharts.Chart}\n         */\n        axis.chart = chart;\n        /**\n         * Whether the axis is horizontal.\n         *\n         * @name Highcharts.Axis#horiz\n         * @type {boolean|undefined}\n         */\n        axis.horiz = horiz;\n        /**\n         * Whether the axis is the x-axis.\n         *\n         * @name Highcharts.Axis#isXAxis\n         * @type {boolean|undefined}\n         */\n        axis.isXAxis = isXAxis;\n        /**\n         * The collection where the axis belongs, for example `xAxis`, `yAxis`\n         * or `colorAxis`. Corresponds to properties on Chart, for example\n         * {@link Chart.xAxis}.\n         *\n         * @name Highcharts.Axis#coll\n         * @type {string}\n         */\n        axis.coll = coll;\n        Axis_fireEvent(this, 'init', { userOptions: userOptions });\n        // Needed in setOptions\n        axis.opposite = Axis_pick(userOptions.opposite, axis.opposite);\n        /**\n         * The side on which the axis is rendered. 0 is top, 1 is right, 2\n         * is bottom and 3 is left.\n         *\n         * @name Highcharts.Axis#side\n         * @type {number}\n         */\n        axis.side = Axis_pick(userOptions.side, axis.side, (horiz ?\n            (axis.opposite ? 0 : 2) : // Top : bottom\n            (axis.opposite ? 1 : 3)) // Right : left\n        );\n        /**\n         * Current options for the axis after merge of defaults and user's\n         * options.\n         *\n         * @name Highcharts.Axis#options\n         * @type {Highcharts.AxisOptions}\n         */\n        axis.setOptions(userOptions);\n        const options = axis.options, labelsOptions = options.labels;\n        // Set the type and fire an event\n        axis.type ?? (axis.type = options.type || 'linear');\n        axis.uniqueNames ?? (axis.uniqueNames = options.uniqueNames ?? true);\n        Axis_fireEvent(axis, 'afterSetType');\n        /**\n         * User's options for this axis without defaults.\n         *\n         * @name Highcharts.Axis#userOptions\n         * @type {Highcharts.AxisOptions}\n         */\n        axis.userOptions = userOptions;\n        axis.minPixelPadding = 0;\n        /**\n         * Whether the axis is reversed. Based on the `axis.reversed`,\n         * option, but inverted charts have reversed xAxis by default.\n         *\n         * @name Highcharts.Axis#reversed\n         * @type {boolean}\n         */\n        axis.reversed = Axis_pick(options.reversed, axis.reversed);\n        axis.visible = options.visible;\n        axis.zoomEnabled = options.zoomEnabled;\n        // Initial categories\n        axis.hasNames = this.type === 'category' || options.categories === true;\n        /**\n         * If categories are present for the axis, names are used instead of\n         * numbers for that axis.\n         *\n         * Since Highcharts 3.0, categories can also be extracted by giving each\n         * point a name and setting axis type to `category`. However, if you\n         * have multiple series, best practice remains defining the `categories`\n         * array.\n         *\n         * @see [xAxis.categories](/highcharts/xAxis.categories)\n         *\n         * @name Highcharts.Axis#categories\n         * @type {Array<string>}\n         * @readonly\n         */\n        axis.categories = (Axis_isArray(options.categories) && options.categories) ||\n            (axis.hasNames ? [] : void 0);\n        if (!axis.names) { // Preserve on update (#3830)\n            axis.names = [];\n            axis.names.keys = {};\n        }\n        // Placeholder for plotlines and plotbands groups\n        axis.plotLinesAndBandsGroups = {};\n        // Shorthand types\n        axis.positiveValuesOnly = !!axis.logarithmic;\n        // Flag, if axis is linked to another axis\n        axis.isLinked = Axis_defined(options.linkedTo);\n        /**\n         * List of major ticks mapped by position on axis.\n         *\n         * @see {@link Highcharts.Tick}\n         *\n         * @name Highcharts.Axis#ticks\n         * @type {Highcharts.Dictionary<Highcharts.Tick>}\n         */\n        axis.ticks = {};\n        axis.labelEdge = [];\n        /**\n         * List of minor ticks mapped by position on the axis.\n         *\n         * @see {@link Highcharts.Tick}\n         *\n         * @name Highcharts.Axis#minorTicks\n         * @type {Highcharts.Dictionary<Highcharts.Tick>}\n         */\n        axis.minorTicks = {};\n        // List of plotLines/Bands\n        axis.plotLinesAndBands = [];\n        // Alternate bands\n        axis.alternateBands = {};\n        /**\n         * The length of the axis in terms of pixels.\n         *\n         * @name Highcharts.Axis#len\n         * @type {number}\n         */\n        axis.len ?? (axis.len = 0);\n        axis.minRange = axis.userMinRange = options.minRange || options.maxZoom;\n        axis.range = options.range;\n        axis.offset = options.offset || 0;\n        /**\n         * The maximum value of the axis. In a logarithmic axis, this is the\n         * logarithm of the real value, and the real value can be obtained from\n         * {@link Axis#getExtremes}.\n         *\n         * @name Highcharts.Axis#max\n         * @type {number|undefined}\n         */\n        axis.max = void 0;\n        /**\n         * The minimum value of the axis. In a logarithmic axis, this is the\n         * logarithm of the real value, and the real value can be obtained from\n         * {@link Axis#getExtremes}.\n         *\n         * @name Highcharts.Axis#min\n         * @type {number|undefined}\n         */\n        axis.min = void 0;\n        /**\n         * The processed crosshair options.\n         *\n         * @name Highcharts.Axis#crosshair\n         * @type {boolean|Highcharts.AxisCrosshairOptions}\n         */\n        const crosshair = Axis_pick(options.crosshair, Axis_splat(chart.options.tooltip.crosshairs)[isXAxis ? 0 : 1]);\n        axis.crosshair = crosshair === true ? {} : crosshair;\n        // Register. Don't add it again on Axis.update().\n        if (chart.axes.indexOf(axis) === -1) { //\n            if (isXAxis) { // #2713\n                chart.axes.splice(chart.xAxis.length, 0, axis);\n            }\n            else {\n                chart.axes.push(axis);\n            }\n            Axis_insertItem(this, chart[this.coll]);\n        }\n        chart.orderItems(axis.coll);\n        /**\n         * All series associated to the axis.\n         *\n         * @name Highcharts.Axis#series\n         * @type {Array<Highcharts.Series>}\n         */\n        axis.series = axis.series || []; // Populated by Series\n        // Reversed axis\n        if (chart.inverted &&\n            !axis.isZAxis &&\n            isXAxis &&\n            !Axis_defined(axis.reversed)) {\n            axis.reversed = true;\n        }\n        axis.labelRotation = Axis_isNumber(labelsOptions.rotation) ?\n            labelsOptions.rotation :\n            void 0;\n        // Register event listeners\n        registerEventOptions(axis, options);\n        Axis_fireEvent(this, 'afterInit');\n    }\n    /**\n     * Merge and set options.\n     *\n     * @private\n     * @function Highcharts.Axis#setOptions\n     *\n     * @param {Highcharts.AxisOptions} userOptions\n     * Axis options.\n     *\n     * @emits Highcharts.Axis#event:afterSetOptions\n     */\n    setOptions(userOptions) {\n        const sideSpecific = this.horiz ?\n            // Top and bottom axis defaults\n            {\n                labels: {\n                    autoRotation: [-45],\n                    padding: 3\n                },\n                margin: 15\n            } :\n            // Left and right axis, title rotated 90 or 270 degrees\n            // respectively\n            {\n                labels: {\n                    padding: 1\n                },\n                title: {\n                    rotation: 90 * this.side\n                }\n            };\n        this.options = Axis_merge(sideSpecific, Axis_defaultOptions[this.coll], userOptions);\n        Axis_fireEvent(this, 'afterSetOptions', { userOptions });\n    }\n    /**\n     * The default label formatter. The context is a special config object for\n     * the label. In apps, use the\n     * [labels.formatter](https://api.highcharts.com/highcharts/xAxis.labels.formatter)\n     * instead, except when a modification is needed.\n     *\n     * @function Highcharts.Axis#defaultLabelFormatter\n     *\n     * @param {Highcharts.AxisLabelsFormatterContextObject} this\n     * Formatter context of axis label.\n     *\n     * @param {Highcharts.AxisLabelsFormatterContextObject} [ctx]\n     * Formatter context of axis label.\n     *\n     * @return {string}\n     * The formatted label content.\n     */\n    defaultLabelFormatter() {\n        const axis = this.axis, chart = this.chart, { numberFormatter } = chart, value = Axis_isNumber(this.value) ? this.value : NaN, time = axis.chart.time, categories = axis.categories, dateTimeLabelFormat = this.dateTimeLabelFormat, lang = Axis_defaultOptions.lang, numericSymbols = lang.numericSymbols, numSymMagnitude = lang.numericSymbolMagnitude || 1000, \n        // Make sure the same symbol is added for all labels on a linear\n        // axis\n        numericSymbolDetector = axis.logarithmic ?\n            Math.abs(value) :\n            axis.tickInterval;\n        let i = numericSymbols && numericSymbols.length, multi, ret;\n        if (categories) {\n            ret = `${this.value}`;\n        }\n        else if (dateTimeLabelFormat) { // Datetime axis\n            ret = time.dateFormat(dateTimeLabelFormat, value, true);\n        }\n        else if (i &&\n            numericSymbols &&\n            numericSymbolDetector >= 1000) {\n            // Decide whether we should add a numeric symbol like k (thousands)\n            // or M (millions). If we are to enable this in tooltip or other\n            // places as well, we can move this logic to the numberFormatter and\n            // enable it by a parameter.\n            while (i-- && typeof ret === 'undefined') {\n                multi = Math.pow(numSymMagnitude, i + 1);\n                if (\n                // Only accept a numeric symbol when the distance is more\n                // than a full unit. So for example if the symbol is k, we\n                // don't accept numbers like 0.5k.\n                numericSymbolDetector >= multi &&\n                    // Accept one decimal before the symbol. Accepts 0.5k but\n                    // not 0.25k. How does this work with the previous?\n                    (value * 10) % multi === 0 &&\n                    numericSymbols[i] !== null &&\n                    value !== 0) { // #5480\n                    ret = numberFormatter(value / multi, -1) + numericSymbols[i];\n                }\n            }\n        }\n        if (typeof ret === 'undefined') {\n            if (Math.abs(value) >= 10000) { // Add thousands separators\n                ret = numberFormatter(value, -1);\n            }\n            else { // Small numbers\n                ret = numberFormatter(value, -1, void 0, ''); // #2466\n            }\n        }\n        return ret;\n    }\n    /**\n     * Get the minimum and maximum for the series of each axis. The function\n     * analyzes the axis series and updates `this.dataMin` and `this.dataMax`.\n     *\n     * @private\n     * @function Highcharts.Axis#getSeriesExtremes\n     *\n     * @emits Highcharts.Axis#event:afterGetSeriesExtremes\n     * @emits Highcharts.Axis#event:getSeriesExtremes\n     */\n    getSeriesExtremes() {\n        const axis = this;\n        let xExtremes;\n        Axis_fireEvent(this, 'getSeriesExtremes', null, function () {\n            axis.hasVisibleSeries = false;\n            // Reset properties in case we're redrawing (#3353)\n            axis.dataMin = axis.dataMax = axis.threshold = void 0;\n            axis.softThreshold = !axis.isXAxis;\n            // Loop through this axis' series\n            axis.series.forEach((series) => {\n                if (series.reserveSpace()) {\n                    const seriesOptions = series.options;\n                    let xData, threshold = seriesOptions.threshold, seriesDataMin, seriesDataMax;\n                    axis.hasVisibleSeries = true;\n                    // Validate threshold in logarithmic axes\n                    if (axis.positiveValuesOnly && (threshold || 0) <= 0) {\n                        threshold = void 0;\n                    }\n                    // Get dataMin and dataMax for X axes\n                    if (axis.isXAxis) {\n                        xData = series.getColumn('x');\n                        if (xData.length) {\n                            xData = axis.logarithmic ?\n                                xData.filter((x) => x > 0) :\n                                xData;\n                            xExtremes = series.getXExtremes(xData);\n                            // If xData contains values which is not numbers,\n                            // then filter them out. To prevent performance hit,\n                            // we only do this after we have already found\n                            // seriesDataMin because in most cases all data is\n                            // valid. #5234.\n                            seriesDataMin = xExtremes.min;\n                            seriesDataMax = xExtremes.max;\n                            if (!Axis_isNumber(seriesDataMin) &&\n                                // #5010:\n                                !(seriesDataMin instanceof Date)) {\n                                xData = xData.filter(Axis_isNumber);\n                                xExtremes = series.getXExtremes(xData);\n                                // Do it again with valid data\n                                seriesDataMin = xExtremes.min;\n                                seriesDataMax = xExtremes.max;\n                            }\n                            if (xData.length) {\n                                axis.dataMin = Math.min(Axis_pick(axis.dataMin, seriesDataMin), seriesDataMin);\n                                axis.dataMax = Math.max(Axis_pick(axis.dataMax, seriesDataMax), seriesDataMax);\n                            }\n                        }\n                        // Get dataMin and dataMax for Y axes, as well as handle\n                        // stacking and processed data\n                    }\n                    else {\n                        // Get this particular series extremes\n                        const dataExtremes = series.applyExtremes();\n                        // Get the dataMin and dataMax so far. If percentage is\n                        // used, the min and max are always 0 and 100. If\n                        // seriesDataMin and seriesDataMax is null, then series\n                        // doesn't have active y data, we continue with nulls\n                        if (Axis_isNumber(dataExtremes.dataMin)) {\n                            seriesDataMin = dataExtremes.dataMin;\n                            axis.dataMin = Math.min(Axis_pick(axis.dataMin, seriesDataMin), seriesDataMin);\n                        }\n                        if (Axis_isNumber(dataExtremes.dataMax)) {\n                            seriesDataMax = dataExtremes.dataMax;\n                            axis.dataMax = Math.max(Axis_pick(axis.dataMax, seriesDataMax), seriesDataMax);\n                        }\n                        // Adjust to threshold\n                        if (Axis_defined(threshold)) {\n                            axis.threshold = threshold;\n                        }\n                        // If any series has a hard threshold, it takes\n                        // precedence\n                        if (!seriesOptions.softThreshold ||\n                            axis.positiveValuesOnly) {\n                            axis.softThreshold = false;\n                        }\n                    }\n                }\n            });\n        });\n        Axis_fireEvent(this, 'afterGetSeriesExtremes');\n    }\n    /**\n     * Translate from axis value to pixel position on the chart, or back. Use\n     * the `toPixels` and `toValue` functions in applications.\n     *\n     * @private\n     * @function Highcharts.Axis#translate\n     */\n    translate(val, backwards, cvsCoord, old, handleLog, pointPlacement) {\n        const axis = (this.linkedParent || this), // #1417\n        localMin = (old && axis.old ? axis.old.min : axis.min);\n        if (!Axis_isNumber(localMin)) {\n            return NaN;\n        }\n        const minPixelPadding = axis.minPixelPadding, doPostTranslate = (axis.isOrdinal ||\n            axis.brokenAxis?.hasBreaks ||\n            (axis.logarithmic && handleLog)) && axis.lin2val;\n        let sign = 1, cvsOffset = 0, localA = old && axis.old ? axis.old.transA : axis.transA, returnValue = 0;\n        if (!localA) {\n            localA = axis.transA;\n        }\n        // In vertical axes, the canvas coordinates start from 0 at the top like\n        // in SVG.\n        if (cvsCoord) {\n            sign *= -1; // Canvas coordinates inverts the value\n            cvsOffset = axis.len;\n        }\n        // Handle reversed axis\n        if (axis.reversed) {\n            sign *= -1;\n            cvsOffset -= sign * (axis.sector || axis.len);\n        }\n        // From pixels to value\n        if (backwards) { // Reverse translation\n            val = val * sign + cvsOffset;\n            val -= minPixelPadding;\n            // From chart pixel to value:\n            returnValue = val / localA + localMin;\n            if (doPostTranslate) { // Log, ordinal and broken axis\n                returnValue = axis.lin2val(returnValue);\n            }\n            // From value to pixels\n        }\n        else {\n            if (doPostTranslate) { // Log, ordinal and broken axis\n                val = axis.val2lin(val);\n            }\n            const value = sign * (val - localMin) * localA;\n            returnValue = value +\n                cvsOffset +\n                (sign * minPixelPadding) +\n                (Axis_isNumber(pointPlacement) ? localA * pointPlacement : 0);\n            if (!axis.isRadial) {\n                returnValue = Axis_correctFloat(returnValue);\n            }\n        }\n        return returnValue;\n    }\n    /**\n     * Translate a value in terms of axis units into pixels within the chart.\n     *\n     * @function Highcharts.Axis#toPixels\n     *\n     * @param {number|string} value\n     * A value in terms of axis units. For datetime axes, a timestamp or\n     * date/time string is accepted.\n     *\n     * @param {boolean} [paneCoordinates=false]\n     * Whether to return the pixel coordinate relative to the chart or just the\n     * axis/pane itself.\n     *\n     * @return {number}\n     * Pixel position of the value on the chart or axis.\n     */\n    toPixels(value, paneCoordinates) {\n        return this.translate(this.chart?.time.parse(value) ?? NaN, false, !this.horiz, void 0, true) + (paneCoordinates ? 0 : this.pos);\n    }\n    /**\n     * Translate a pixel position along the axis to a value in terms of axis\n     * units.\n     *\n     * @function Highcharts.Axis#toValue\n     *\n     * @param {number} pixel\n     * The pixel value coordinate.\n     *\n     * @param {boolean} [paneCoordinates=false]\n     * Whether the input pixel is relative to the chart or just the axis/pane\n     * itself.\n     *\n     * @return {number}\n     * The axis value.\n     */\n    toValue(pixel, paneCoordinates) {\n        return this.translate(pixel - (paneCoordinates ? 0 : this.pos), true, !this.horiz, void 0, true);\n    }\n    /**\n     * Create the path for a plot line that goes from the given value on\n     * this axis, across the plot to the opposite side. Also used internally for\n     * grid lines and crosshairs.\n     *\n     * @function Highcharts.Axis#getPlotLinePath\n     *\n     * @param {Highcharts.AxisPlotLinePathOptionsObject} options\n     * Options for the path.\n     *\n     * @return {Highcharts.SVGPathArray|null}\n     * The SVG path definition for the plot line.\n     */\n    getPlotLinePath(options) {\n        const axis = this, chart = axis.chart, axisLeft = axis.left, axisTop = axis.top, old = options.old, value = options.value, lineWidth = options.lineWidth, cHeight = (old && chart.oldChartHeight) || chart.chartHeight, cWidth = (old && chart.oldChartWidth) || chart.chartWidth, transB = axis.transB;\n        let translatedValue = options.translatedValue, force = options.force, x1, y1, x2, y2, skip;\n        // eslint-disable-next-line valid-jsdoc\n        /**\n         * Check if x is between a and b. If not, either move to a/b\n         * or skip, depending on the force parameter.\n         * @private\n         */\n        function between(x, a, b) {\n            if (force !== 'pass' && (x < a || x > b)) {\n                if (force) {\n                    x = Axis_clamp(x, a, b);\n                }\n                else {\n                    skip = true;\n                }\n            }\n            return x;\n        }\n        const evt = {\n            value,\n            lineWidth,\n            old,\n            force,\n            acrossPanes: options.acrossPanes,\n            translatedValue\n        };\n        Axis_fireEvent(this, 'getPlotLinePath', evt, function (e) {\n            translatedValue = Axis_pick(translatedValue, axis.translate(value, void 0, void 0, old));\n            // Keep the translated value within sane bounds, and avoid Infinity\n            // to fail the isNumber test (#7709).\n            translatedValue = Axis_clamp(translatedValue, -1e9, 1e9);\n            x1 = x2 = translatedValue + transB;\n            y1 = y2 = cHeight - translatedValue - transB;\n            if (!Axis_isNumber(translatedValue)) { // No min or max\n                skip = true;\n                force = false; // #7175, don't force it when path is invalid\n            }\n            else if (axis.horiz) {\n                y1 = axisTop;\n                y2 = cHeight - axis.bottom + (axis.options.isInternal ?\n                    0 :\n                    (chart.scrollablePixelsY || 0)); // #20354, scrollablePixelsY shouldn't be used for navigator\n                x1 = x2 = between(x1, axisLeft, axisLeft + axis.width);\n            }\n            else {\n                x1 = axisLeft;\n                x2 = cWidth - axis.right + (chart.scrollablePixelsX || 0);\n                y1 = y2 = between(y1, axisTop, axisTop + axis.height);\n            }\n            e.path = skip && !force ?\n                void 0 :\n                chart.renderer.crispLine([['M', x1, y1], ['L', x2, y2]], lineWidth || 1);\n        });\n        return evt.path;\n    }\n    /**\n     * Internal function to get the tick positions of a linear axis to round\n     * values like whole tens or every five.\n     *\n     * @function Highcharts.Axis#getLinearTickPositions\n     *\n     * @param {number} tickInterval\n     * The normalized tick interval.\n     *\n     * @param {number} min\n     * Axis minimum.\n     *\n     * @param {number} max\n     * Axis maximum.\n     *\n     * @return {Array<number>}\n     * An array of axis values where ticks should be placed.\n     */\n    getLinearTickPositions(tickInterval, min, max) {\n        const roundedMin = Axis_correctFloat(Math.floor(min / tickInterval) * tickInterval), roundedMax = Axis_correctFloat(Math.ceil(max / tickInterval) * tickInterval), tickPositions = [];\n        let pos, lastPos, precision;\n        // When the precision is higher than what we filter out in\n        // correctFloat, skip it (#6183).\n        if (Axis_correctFloat(roundedMin + tickInterval) === roundedMin) {\n            precision = 20;\n        }\n        // For single points, add a tick regardless of the relative position\n        // (#2662, #6274)\n        if (this.single) {\n            return [min];\n        }\n        // Populate the intermediate values\n        pos = roundedMin;\n        while (pos <= roundedMax) {\n            // Place the tick on the rounded value\n            tickPositions.push(pos);\n            // Always add the raw tickInterval, not the corrected one.\n            pos = Axis_correctFloat(pos + tickInterval, precision);\n            // If the interval is not big enough in the current min - max range\n            // to actually increase the loop variable, we need to break out to\n            // prevent endless loop. Issue #619\n            if (pos === lastPos) {\n                break;\n            }\n            // Record the last value\n            lastPos = pos;\n        }\n        return tickPositions;\n    }\n    /**\n     * Resolve the new minorTicks/minorTickInterval options into the legacy\n     * loosely typed minorTickInterval option.\n     *\n     * @function Highcharts.Axis#getMinorTickInterval\n     *\n     * @return {number|\"auto\"|null}\n     * Legacy option\n     */\n    getMinorTickInterval() {\n        const { minorTicks, minorTickInterval } = this.options;\n        if (minorTicks === true) {\n            return Axis_pick(minorTickInterval, 'auto');\n        }\n        if (minorTicks === false) {\n            return;\n        }\n        return minorTickInterval;\n    }\n    /**\n     * Internal function to return the minor tick positions. For logarithmic\n     * axes, the same logic as for major ticks is reused.\n     *\n     * @function Highcharts.Axis#getMinorTickPositions\n     *\n     * @return {Array<number>}\n     * An array of axis values where ticks should be placed.\n     */\n    getMinorTickPositions() {\n        const axis = this, options = axis.options, tickPositions = axis.tickPositions, minorTickInterval = axis.minorTickInterval, pointRangePadding = axis.pointRangePadding || 0, min = (axis.min || 0) - pointRangePadding, // #1498\n        max = (axis.max || 0) + pointRangePadding, // #1498\n        range = axis.brokenAxis?.hasBreaks ?\n            axis.brokenAxis.unitLength : max - min;\n        let minorTickPositions = [], pos;\n        // If minor ticks get too dense, they are hard to read, and may cause\n        // long running script. So we don't draw them.\n        if (range && range / minorTickInterval < axis.len / 3) { // #3875\n            const logarithmic = axis.logarithmic;\n            if (logarithmic) {\n                // For each interval in the major ticks, compute the minor ticks\n                // separately.\n                this.paddedTicks.forEach(function (_pos, i, paddedTicks) {\n                    if (i) {\n                        minorTickPositions.push.apply(minorTickPositions, logarithmic.getLogTickPositions(minorTickInterval, paddedTicks[i - 1], paddedTicks[i], true));\n                    }\n                });\n            }\n            else if (axis.dateTime &&\n                this.getMinorTickInterval() === 'auto') { // #1314\n                minorTickPositions = minorTickPositions.concat(axis.getTimeTicks(axis.dateTime.normalizeTimeTickInterval(minorTickInterval), min, max, options.startOfWeek));\n            }\n            else {\n                for (pos = min + (tickPositions[0] - min) % minorTickInterval; pos <= max; pos += minorTickInterval) {\n                    // Very, very, tight grid lines (#5771)\n                    if (pos === minorTickPositions[0]) {\n                        break;\n                    }\n                    minorTickPositions.push(pos);\n                }\n            }\n        }\n        if (minorTickPositions.length !== 0) {\n            axis.trimTicks(minorTickPositions); // #3652 #3743 #1498 #6330\n        }\n        return minorTickPositions;\n    }\n    /**\n     * Adjust the min and max for the minimum range. Keep in mind that the\n     * series data is not yet processed, so we don't have information on data\n     * cropping and grouping, or updated `axis.pointRange` or\n     * `series.pointRange`. The data can't be processed until we have finally\n     * established min and max.\n     *\n     * @private\n     * @function Highcharts.Axis#adjustForMinRange\n     */\n    adjustForMinRange() {\n        const axis = this, options = axis.options, logarithmic = axis.logarithmic, time = axis.chart.time;\n        let { max, min, minRange } = axis, zoomOffset, spaceAvailable, closestDataRange, minArgs, maxArgs;\n        // Set the automatic minimum range based on the closest point distance\n        if (axis.isXAxis &&\n            typeof minRange === 'undefined' &&\n            !logarithmic) {\n            if (Axis_defined(options.min) ||\n                Axis_defined(options.max) ||\n                Axis_defined(options.floor) ||\n                Axis_defined(options.ceiling)) {\n                // Setting it to null, as opposed to undefined, signals we don't\n                // run this block again as per the condition above.\n                minRange = null;\n            }\n            else {\n                // Find the closest distance between raw data points, as opposed\n                // to closestPointRange that applies to processed points\n                // (cropped and grouped)\n                closestDataRange = Axis_getClosestDistance(axis.series.map((s) => {\n                    const xData = s.getColumn('x');\n                    // If xIncrement, we only need to measure the two first\n                    // points to get the distance. Saves processing time.\n                    return s.xIncrement ? xData.slice(0, 2) : xData;\n                })) || 0;\n                minRange = Math.min(closestDataRange * 5, axis.dataMax - axis.dataMin);\n            }\n        }\n        // If minRange is exceeded, adjust\n        if (Axis_isNumber(max) &&\n            Axis_isNumber(min) &&\n            Axis_isNumber(minRange) &&\n            max - min < minRange) {\n            spaceAvailable =\n                axis.dataMax - axis.dataMin >=\n                    minRange;\n            zoomOffset = (minRange - max + min) / 2;\n            // If min and max options have been set, don't go beyond it\n            minArgs = [\n                min - zoomOffset,\n                time.parse(options.min) ?? (min - zoomOffset)\n            ];\n            // If space is available, stay within the data range\n            if (spaceAvailable) {\n                minArgs[2] = logarithmic ?\n                    logarithmic.log2lin(axis.dataMin) :\n                    axis.dataMin;\n            }\n            min = Axis_arrayMax(minArgs);\n            maxArgs = [\n                min + minRange,\n                time.parse(options.max) ?? (min + minRange)\n            ];\n            // If space is available, stay within the data range\n            if (spaceAvailable) {\n                maxArgs[2] = logarithmic ?\n                    logarithmic.log2lin(axis.dataMax) :\n                    axis.dataMax;\n            }\n            max = Axis_arrayMin(maxArgs);\n            // Now if the max is adjusted, adjust the min back\n            if (max - min < minRange) {\n                minArgs[0] = max - minRange;\n                minArgs[1] = time.parse(options.min) ?? (max - minRange);\n                min = Axis_arrayMax(minArgs);\n            }\n        }\n        // Record modified extremes\n        axis.minRange = minRange;\n        axis.min = min;\n        axis.max = max;\n    }\n    /**\n     * Find the closestPointRange across all series, including the single data\n     * series.\n     *\n     * @private\n     * @function Highcharts.Axis#getClosest\n     */\n    getClosest() {\n        let closestSingleDistance, closestDistance;\n        if (this.categories) {\n            closestDistance = 1;\n        }\n        else {\n            const singleXs = [];\n            this.series.forEach(function (series) {\n                const seriesClosest = series.closestPointRange, xData = series.getColumn('x');\n                if (xData.length === 1) {\n                    singleXs.push(xData[0]);\n                }\n                else if (series.sorted &&\n                    Axis_defined(seriesClosest) &&\n                    series.reserveSpace()) {\n                    closestDistance = Axis_defined(closestDistance) ?\n                        Math.min(closestDistance, seriesClosest) :\n                        seriesClosest;\n                }\n            });\n            if (singleXs.length) {\n                singleXs.sort((a, b) => a - b);\n                closestSingleDistance = Axis_getClosestDistance([singleXs]);\n            }\n        }\n        if (closestSingleDistance && closestDistance) {\n            return Math.min(closestSingleDistance, closestDistance);\n        }\n        return closestSingleDistance || closestDistance;\n    }\n    /**\n     * When a point name is given and no x, search for the name in the existing\n     * categories, or if categories aren't provided, search names or create a\n     * new category (#2522).\n     *\n     * @private\n     * @function Highcharts.Axis#nameToX\n     *\n     * @param {Highcharts.Point} point\n     * The point to inspect.\n     *\n     * @return {number}\n     * The X value that the point is given.\n     */\n    nameToX(point) {\n        const explicitCategories = Axis_isArray(this.options.categories), names = explicitCategories ? this.categories : this.names;\n        let nameX = point.options.x, x;\n        point.series.requireSorting = false;\n        if (!Axis_defined(nameX)) {\n            nameX = this.uniqueNames && names ?\n                (explicitCategories ?\n                    names.indexOf(point.name) :\n                    Axis_pick(names.keys[point.name], -1)) :\n                point.series.autoIncrement();\n        }\n        if (nameX === -1) { // Not found in current categories\n            if (!explicitCategories && names) {\n                x = names.length;\n            }\n        }\n        else if (Axis_isNumber(nameX)) {\n            x = nameX;\n        }\n        // Write the last point's name to the names array\n        if (typeof x !== 'undefined') {\n            this.names[x] = point.name;\n            // Backwards mapping is much faster than array searching (#7725)\n            this.names.keys[point.name] = x;\n        }\n        else if (point.x) {\n            x = point.x; // #17438\n        }\n        return x;\n    }\n    /**\n     * When changes have been done to series data, update the axis.names.\n     *\n     * @private\n     * @function Highcharts.Axis#updateNames\n     */\n    updateNames() {\n        const axis = this, names = this.names, i = names.length;\n        if (i > 0) {\n            Object.keys(names.keys).forEach(function (key) {\n                delete (names.keys)[key];\n            });\n            names.length = 0;\n            this.minRange = this.userMinRange; // Reset\n            (this.series || []).forEach((series) => {\n                // Reset incrementer (#5928)\n                series.xIncrement = null;\n                // When adding a series, points are not yet generated\n                if (!series.points || series.isDirtyData) {\n                    // When we're updating the series with data that is longer\n                    // than it was, and cropThreshold is passed, we need to make\n                    // sure that the axis.max is increased _before_ running the\n                    // premature processData. Otherwise this early iteration of\n                    // processData will crop the points to axis.max, and the\n                    // names array will be too short (#5857).\n                    axis.max = Math.max(axis.max || 0, series.dataTable.rowCount - 1);\n                    series.processData();\n                    series.generatePoints();\n                }\n                const xData = series.getColumn('x').slice();\n                series.data.forEach((point, i) => {\n                    let x = xData[i];\n                    if (point?.options &&\n                        typeof point.name !== 'undefined' // #9562\n                    ) {\n                        x = axis.nameToX(point);\n                        if (typeof x !== 'undefined' && x !== point.x) {\n                            xData[i] = point.x = x;\n                        }\n                    }\n                });\n                series.dataTable.setColumn('x', xData);\n            });\n        }\n    }\n    /**\n     * Update translation information.\n     *\n     * @private\n     * @function Highcharts.Axis#setAxisTranslation\n     *\n     * @emits Highcharts.Axis#event:afterSetAxisTranslation\n     */\n    setAxisTranslation() {\n        const axis = this, range = axis.max - axis.min, linkedParent = axis.linkedParent, hasCategories = !!axis.categories, isXAxis = axis.isXAxis;\n        let pointRange = axis.axisPointRange || 0, closestPointRange, minPointOffset = 0, pointRangePadding = 0, ordinalCorrection, transA = axis.transA;\n        // Adjust translation for padding. Y axis with categories need to go\n        // through the same (#1784).\n        if (isXAxis || hasCategories || pointRange) {\n            // Get the closest points\n            closestPointRange = axis.getClosest();\n            if (linkedParent) {\n                minPointOffset = linkedParent.minPointOffset;\n                pointRangePadding = linkedParent.pointRangePadding;\n            }\n            else {\n                axis.series.forEach(function (series) {\n                    const seriesPointRange = hasCategories ?\n                        1 :\n                        (isXAxis ?\n                            Axis_pick(series.options.pointRange, closestPointRange, 0) :\n                            (axis.axisPointRange || 0)), // #2806\n                    pointPlacement = series.options.pointPlacement;\n                    pointRange = Math.max(pointRange, seriesPointRange);\n                    if (!axis.single || hasCategories) {\n                        // TODO: series should internally set x- and y-\n                        // pointPlacement to simplify this logic.\n                        const isPointPlacementAxis = series.is('xrange') ?\n                            !isXAxis :\n                            isXAxis;\n                        // The `minPointOffset` is the value padding to the left\n                        // of the axis in order to make room for points with a\n                        // pointRange, typically columns, or line/scatter points\n                        // on a category axis. When the `pointPlacement` option\n                        // is 'between' or 'on', this padding does not apply.\n                        minPointOffset = Math.max(minPointOffset, isPointPlacementAxis && Axis_isString(pointPlacement) ?\n                            0 :\n                            seriesPointRange / 2);\n                        // Determine the total padding needed to the length of\n                        // the axis to make room for the pointRange. If the\n                        // series' pointPlacement is 'on', no padding is added.\n                        pointRangePadding = Math.max(pointRangePadding, isPointPlacementAxis && pointPlacement === 'on' ?\n                            0 :\n                            seriesPointRange);\n                    }\n                });\n            }\n            // Record minPointOffset and pointRangePadding\n            ordinalCorrection = (axis.ordinal && axis.ordinal.slope && closestPointRange) ?\n                axis.ordinal.slope / closestPointRange :\n                1; // #988, #1853\n            axis.minPointOffset = minPointOffset =\n                minPointOffset * ordinalCorrection;\n            axis.pointRangePadding =\n                pointRangePadding = pointRangePadding * ordinalCorrection;\n            // The `pointRange` is the width reserved for each point, like in a\n            // column chart\n            axis.pointRange = Math.min(pointRange, axis.single && hasCategories ? 1 : range);\n            // The `closestPointRange` is the closest distance between points.\n            // In columns it is mostly equal to pointRange, but in lines\n            // pointRange is 0 while closestPointRange is some other value\n            if (isXAxis && closestPointRange) {\n                axis.closestPointRange = closestPointRange;\n            }\n        }\n        // Secondary values\n        axis.translationSlope = axis.transA = transA =\n            axis.staticScale ||\n                axis.len / ((range + pointRangePadding) || 1);\n        // Translation addend\n        axis.transB = axis.horiz ? axis.left : axis.bottom;\n        axis.minPixelPadding = transA * minPointOffset;\n        Axis_fireEvent(this, 'afterSetAxisTranslation');\n    }\n    /**\n     * @private\n     * @function Highcharts.Axis#minFromRange\n     */\n    minFromRange() {\n        const { max, min } = this;\n        return Axis_isNumber(max) && Axis_isNumber(min) && max - min || void 0;\n    }\n    /**\n     * Set the tick positions to round values and optionally extend the extremes\n     * to the nearest tick.\n     *\n     * @private\n     * @function Highcharts.Axis#setTickInterval\n     *\n     * @param {boolean} secondPass\n     * TO-DO: parameter description\n     *\n     * @emits Highcharts.Axis#event:foundExtremes\n     */\n    setTickInterval(secondPass) {\n        const axis = this, { categories, chart, dataMax, dataMin, dateTime, isXAxis, logarithmic, options, softThreshold } = axis, time = chart.time, threshold = Axis_isNumber(axis.threshold) ? axis.threshold : void 0, minRange = axis.minRange || 0, { ceiling, floor, linkedTo, softMax, softMin } = options, linkedParent = Axis_isNumber(linkedTo) && chart[axis.coll]?.[linkedTo], tickPixelIntervalOption = options.tickPixelInterval;\n        let maxPadding = options.maxPadding, minPadding = options.minPadding, range = 0, linkedParentExtremes, \n        // Only non-negative tickInterval is valid, #12961\n        tickIntervalOption = Axis_isNumber(options.tickInterval) && options.tickInterval >= 0 ?\n            options.tickInterval : void 0, thresholdMin, thresholdMax, hardMin, hardMax;\n        if (!dateTime && !categories && !linkedParent) {\n            this.getTickAmount();\n        }\n        // Min or max set either by zooming/setExtremes or initial options\n        hardMin = Axis_pick(axis.userMin, time.parse(options.min));\n        hardMax = Axis_pick(axis.userMax, time.parse(options.max));\n        // Linked axis gets the extremes from the parent axis\n        if (linkedParent) {\n            axis.linkedParent = linkedParent;\n            linkedParentExtremes = linkedParent.getExtremes();\n            axis.min = Axis_pick(linkedParentExtremes.min, linkedParentExtremes.dataMin);\n            axis.max = Axis_pick(linkedParentExtremes.max, linkedParentExtremes.dataMax);\n            if (this.type !== linkedParent.type) {\n                // Can't link axes of different type\n                Axis_error(11, true, chart);\n            }\n            // Initial min and max from the extreme data values\n        }\n        else {\n            // Adjust to hard threshold\n            if (softThreshold &&\n                Axis_defined(threshold) &&\n                Axis_isNumber(dataMax) &&\n                Axis_isNumber(dataMin)) {\n                if (dataMin >= threshold) {\n                    thresholdMin = threshold;\n                    minPadding = 0;\n                }\n                else if (dataMax <= threshold) {\n                    thresholdMax = threshold;\n                    maxPadding = 0;\n                }\n            }\n            axis.min = Axis_pick(hardMin, thresholdMin, dataMin);\n            axis.max = Axis_pick(hardMax, thresholdMax, dataMax);\n        }\n        if (Axis_isNumber(axis.max) && Axis_isNumber(axis.min)) {\n            if (logarithmic) {\n                if (axis.positiveValuesOnly &&\n                    !secondPass &&\n                    Math.min(axis.min, Axis_pick(dataMin, axis.min)) <= 0) { // #978\n                    // Can't plot negative values on log axis\n                    Axis_error(10, true, chart);\n                }\n                // The correctFloat cures #934, float errors on full tens. But\n                // it was too aggressive for #4360 because of conversion back to\n                // lin, therefore use precision 15.\n                axis.min = Axis_correctFloat(logarithmic.log2lin(axis.min), 16);\n                axis.max = Axis_correctFloat(logarithmic.log2lin(axis.max), 16);\n            }\n            // Handle zoomed range\n            if (axis.range && Axis_isNumber(dataMin)) {\n                // #618, #6773:\n                axis.userMin = axis.min = hardMin = Math.max(dataMin, axis.minFromRange() || 0);\n                axis.userMax = hardMax = axis.max;\n                axis.range = void 0; // Don't use it when running setExtremes\n            }\n        }\n        // Hook for Highcharts Stock Scroller and bubble axis padding\n        Axis_fireEvent(axis, 'foundExtremes');\n        // Adjust min and max for the minimum range\n        axis.adjustForMinRange();\n        if (Axis_isNumber(axis.min) && Axis_isNumber(axis.max)) {\n            // Handle options for floor, ceiling, softMin and softMax (#6359)\n            if (!Axis_isNumber(axis.userMin) &&\n                Axis_isNumber(softMin) &&\n                softMin < axis.min) {\n                axis.min = hardMin = softMin; // #6894\n            }\n            if (!Axis_isNumber(axis.userMax) &&\n                Axis_isNumber(softMax) &&\n                softMax > axis.max) {\n                axis.max = hardMax = softMax; // #6894\n            }\n            // Pad the values to get clear of the chart's edges. To avoid\n            // tickInterval taking the padding into account, we do this after\n            // computing tick interval (#1337).\n            if (!categories &&\n                !axis.axisPointRange &&\n                !axis.stacking?.usePercentage &&\n                !linkedParent) {\n                range = axis.max - axis.min;\n                if (range) {\n                    if (!Axis_defined(hardMin) && minPadding) {\n                        axis.min -= range * minPadding;\n                    }\n                    if (!Axis_defined(hardMax) && maxPadding) {\n                        axis.max += range * maxPadding;\n                    }\n                }\n            }\n            if (!Axis_isNumber(axis.userMin) && Axis_isNumber(floor)) {\n                axis.min = Math.max(axis.min, floor);\n            }\n            if (!Axis_isNumber(axis.userMax) && Axis_isNumber(ceiling)) {\n                axis.max = Math.min(axis.max, ceiling);\n            }\n            // When the threshold is soft, adjust the extreme value only if the\n            // data extreme and the padded extreme land on either side of the\n            // threshold. For example, a series of [0, 1, 2, 3] would make the\n            // yAxis add a tick for -1 because of the default `minPadding` and\n            // `startOnTick` options. This is prevented by the `softThreshold`\n            // option.\n            if (softThreshold &&\n                Axis_isNumber(dataMin) &&\n                Axis_isNumber(dataMax)) {\n                const numThreshold = threshold || 0;\n                if (!Axis_defined(hardMin) &&\n                    axis.min < numThreshold &&\n                    dataMin >= numThreshold) {\n                    axis.min = options.minRange ?\n                        Math.min(numThreshold, axis.max - minRange) :\n                        numThreshold;\n                }\n                else if (!Axis_defined(hardMax) &&\n                    axis.max > numThreshold &&\n                    dataMax <= numThreshold) {\n                    axis.max = options.minRange ?\n                        Math.max(numThreshold, axis.min + minRange) :\n                        numThreshold;\n                }\n            }\n            // If min is bigger than highest, or if max less than lowest value,\n            // the chart should not render points. (#14417)\n            if (!chart.polar && axis.min > axis.max) {\n                if (Axis_defined(options.min)) {\n                    axis.max = axis.min;\n                }\n                else if (Axis_defined(options.max)) {\n                    axis.min = axis.max;\n                }\n            }\n            range = axis.max - axis.min;\n        }\n        // Get tickInterval\n        if (axis.min === axis.max ||\n            !Axis_isNumber(axis.min) ||\n            !Axis_isNumber(axis.max)) {\n            axis.tickInterval = 1;\n        }\n        else if (linkedParent &&\n            !tickIntervalOption &&\n            tickPixelIntervalOption === linkedParent.options.tickPixelInterval) {\n            axis.tickInterval = tickIntervalOption = linkedParent.tickInterval;\n        }\n        else {\n            axis.tickInterval = Axis_pick(tickIntervalOption, this.tickAmount ?\n                range / Math.max(this.tickAmount - 1, 1) :\n                void 0, \n            // For categorized axis, 1 is default, for linear axis use\n            // tickPix\n            categories ?\n                1 :\n                // Don't let it be more than the data range\n                range * tickPixelIntervalOption /\n                    Math.max(axis.len, tickPixelIntervalOption));\n        }\n        // Now we're finished detecting min and max, crop and group series data.\n        // This is in turn needed in order to find tick positions in ordinal\n        // axes.\n        if (isXAxis && !secondPass) {\n            const hasExtremesChanged = axis.min !== axis.old?.min ||\n                axis.max !== axis.old?.max;\n            // First process all series assigned to that axis.\n            axis.series.forEach(function (series) {\n                // Allows filtering out points outside the plot area.\n                series.forceCrop = series.forceCropping?.();\n                series.processData(hasExtremesChanged);\n            });\n            // Then apply grouping if needed. The hasExtremesChanged helps to\n            // decide if the data grouping should be skipped in the further\n            // calculations #16319.\n            Axis_fireEvent(this, 'postProcessData', { hasExtremesChanged });\n        }\n        // Set the translation factor used in translate function\n        axis.setAxisTranslation();\n        // Hook for ordinal axes and radial axes\n        Axis_fireEvent(this, 'initialAxisTranslation');\n        // In column-like charts, don't cramp in more ticks than there are\n        // points (#1943, #4184)\n        if (axis.pointRange && !tickIntervalOption) {\n            axis.tickInterval = Math.max(axis.pointRange, axis.tickInterval);\n        }\n        // Before normalizing the tick interval, handle minimum tick interval.\n        // This applies only if tickInterval is not defined.\n        const minTickInterval = Axis_pick(options.minTickInterval, \n        // In datetime axes, don't go below the data interval, except when\n        // there are scatter-like series involved (#13369).\n        dateTime &&\n            !axis.series.some((s) => !s.sorted) ?\n            axis.closestPointRange : 0);\n        if (!tickIntervalOption && axis.tickInterval < minTickInterval) {\n            axis.tickInterval = minTickInterval;\n        }\n        // For linear axes, normalize the interval\n        if (!dateTime && !logarithmic && !tickIntervalOption) {\n            axis.tickInterval = getNormalizedTickInterval(axis, axis.tickInterval);\n        }\n        // Prevent ticks from getting so close that we can't draw the labels\n        if (!this.tickAmount) {\n            axis.tickInterval = axis.unsquish();\n        }\n        this.setTickPositions();\n    }\n    /**\n     * Now we have computed the normalized tickInterval, get the tick positions.\n     *\n     * @private\n     * @function Highcharts.Axis#setTickPositions\n     *\n     * @emits Highcharts.Axis#event:afterSetTickPositions\n     */\n    setTickPositions() {\n        const axis = this, options = this.options, tickPositionsOption = options.tickPositions, tickPositioner = options.tickPositioner, minorTickIntervalOption = this.getMinorTickInterval(), allowEndOnTick = !this.isPanning, startOnTick = allowEndOnTick && options.startOnTick, endOnTick = allowEndOnTick && options.endOnTick;\n        let tickPositions = [], tickPositionerResult;\n        // Set the tickmarkOffset\n        this.tickmarkOffset = (this.categories &&\n            options.tickmarkPlacement === 'between' &&\n            this.tickInterval === 1) ? 0.5 : 0; // #3202\n        // When there is only one point, or all points have the same value on\n        // this axis, then min and max are equal and tickPositions.length is 0\n        // or 1. In this case, add some padding in order to center the point,\n        // but leave it with one tick. #1337.\n        this.single =\n            this.min === this.max &&\n                Axis_defined(this.min) &&\n                !this.tickAmount &&\n                (\n                // Data is on integer (#6563)\n                this.min % 1 === 0 ||\n                    // Between integers and decimals are not allowed (#6274)\n                    options.allowDecimals !== false);\n        /**\n         * Contains the current positions that are laid out on the axis. The\n         * positions are numbers in terms of axis values. In a category axis\n         * they are integers, in a datetime axis they are also integers, but\n         * designating milliseconds.\n         *\n         * This property is read only - for modifying the tick positions, use\n         * the `tickPositioner` callback or [axis.tickPositions(\n         * https://api.highcharts.com/highcharts/xAxis.tickPositions) option\n         * instead.\n         *\n         * @name Highcharts.Axis#tickPositions\n         * @type {Highcharts.AxisTickPositionsArray|undefined}\n         */\n        if (tickPositionsOption) {\n            // Find the tick positions. Work on a copy (#1565)\n            tickPositions = tickPositionsOption.slice();\n        }\n        else if (Axis_isNumber(this.min) && Axis_isNumber(this.max)) {\n            // Too many ticks (#6405). Create a friendly warning and provide two\n            // ticks so at least we can show the data series.\n            if (!axis.ordinal?.positions &&\n                ((this.max - this.min) /\n                    this.tickInterval >\n                    Math.max(2 * this.len, 200))) {\n                tickPositions = [this.min, this.max];\n                Axis_error(19, false, this.chart);\n            }\n            else if (axis.dateTime) {\n                tickPositions = axis.getTimeTicks(axis.dateTime.normalizeTimeTickInterval(this.tickInterval, options.units), this.min, this.max, options.startOfWeek, axis.ordinal?.positions, this.closestPointRange, true);\n            }\n            else if (axis.logarithmic) {\n                tickPositions = axis.logarithmic.getLogTickPositions(this.tickInterval, this.min, this.max);\n            }\n            else {\n                const startingTickInterval = this.tickInterval;\n                let adjustedTickInterval = startingTickInterval;\n                while (adjustedTickInterval <= startingTickInterval * 2) {\n                    tickPositions = this.getLinearTickPositions(this.tickInterval, this.min, this.max);\n                    // If there are more tick positions than the set tickAmount,\n                    // increase the tickInterval and continue until it fits.\n                    // (#17100)\n                    if (this.tickAmount &&\n                        tickPositions.length > this.tickAmount) {\n                        this.tickInterval = getNormalizedTickInterval(this, adjustedTickInterval *= 1.1);\n                    }\n                    else {\n                        break;\n                    }\n                }\n            }\n            // Too dense ticks, keep only the first and last (#4477)\n            if (tickPositions.length > this.len) {\n                tickPositions = [\n                    tickPositions[0],\n                    tickPositions[tickPositions.length - 1]\n                ];\n                // Reduce doubled value (#7339)\n                if (tickPositions[0] === tickPositions[1]) {\n                    tickPositions.length = 1;\n                }\n            }\n            // Run the tick positioner callback, that allows modifying auto tick\n            // positions.\n            if (tickPositioner) {\n                // Make it available to the positioner\n                this.tickPositions = tickPositions;\n                tickPositionerResult = tickPositioner.apply(axis, [this.min, this.max]);\n                if (tickPositionerResult) {\n                    tickPositions = tickPositionerResult;\n                }\n            }\n        }\n        this.tickPositions = tickPositions;\n        // Get minorTickInterval\n        this.minorTickInterval =\n            minorTickIntervalOption === 'auto' && this.tickInterval ?\n                this.tickInterval / options.minorTicksPerMajor :\n                minorTickIntervalOption;\n        // Reset min/max or remove extremes based on start/end on tick\n        this.paddedTicks = tickPositions.slice(0); // Used for logarithmic minor\n        this.trimTicks(tickPositions, startOnTick, endOnTick);\n        if (!this.isLinked && Axis_isNumber(this.min) && Axis_isNumber(this.max)) {\n            // Substract half a unit (#2619, #2846, #2515, #3390), but not in\n            // case of multiple ticks (#6897)\n            if (this.single &&\n                tickPositions.length < 2 &&\n                !this.categories &&\n                !this.series.some((s) => (s.is('heatmap') && s.options.pointPlacement === 'between'))) {\n                this.min -= 0.5;\n                this.max += 0.5;\n            }\n            if (!tickPositionsOption && !tickPositionerResult) {\n                this.adjustTickAmount();\n            }\n        }\n        Axis_fireEvent(this, 'afterSetTickPositions');\n    }\n    /**\n     * Handle startOnTick and endOnTick by either adapting to padding min/max or\n     * rounded min/max. Also handle single data points.\n     *\n     * @private\n     * @function Highcharts.Axis#trimTicks\n     *\n     * @param {Array<number>} tickPositions\n     * TO-DO: parameter description\n     *\n     * @param {boolean} [startOnTick]\n     * TO-DO: parameter description\n     *\n     * @param {boolean} [endOnTick]\n     * TO-DO: parameter description\n     */\n    trimTicks(tickPositions, startOnTick, endOnTick) {\n        const roundedMin = tickPositions[0], roundedMax = tickPositions[tickPositions.length - 1], minPointOffset = (!this.isOrdinal && this.minPointOffset) || 0; // (#12716)\n        Axis_fireEvent(this, 'trimTicks');\n        if (!this.isLinked) {\n            if (startOnTick && roundedMin !== -Infinity) { // #6502\n                this.min = roundedMin;\n            }\n            else {\n                while (this.min - minPointOffset > tickPositions[0]) {\n                    tickPositions.shift();\n                }\n            }\n            if (endOnTick) {\n                this.max = roundedMax;\n            }\n            else {\n                while (this.max + minPointOffset <\n                    tickPositions[tickPositions.length - 1]) {\n                    tickPositions.pop();\n                }\n            }\n            // If no tick are left, set one tick in the middle (#3195)\n            if (tickPositions.length === 0 &&\n                Axis_defined(roundedMin) &&\n                !this.options.tickPositions) {\n                tickPositions.push((roundedMax + roundedMin) / 2);\n            }\n        }\n    }\n    /**\n     * Check if there are multiple axes in the same pane.\n     *\n     * @private\n     * @function Highcharts.Axis#alignToOthers\n     *\n     * @return {boolean|undefined}\n     * True if there are other axes.\n     */\n    alignToOthers() {\n        const axis = this, chart = axis.chart, alignedAxes = [this], options = axis.options, chartOptions = chart.options.chart, alignThresholds = (this.coll === 'yAxis' &&\n            chartOptions.alignThresholds), thresholdAlignments = [];\n        let hasOther;\n        axis.thresholdAlignment = void 0;\n        if ((\n        // Only if alignTicks or alignThresholds is true\n        (chartOptions.alignTicks !== false && options.alignTicks) ||\n            alignThresholds) &&\n            // Disabled when startOnTick or endOnTick are false (#7604)\n            options.startOnTick !== false &&\n            options.endOnTick !== false &&\n            // Don't try to align ticks on a log axis, they are not evenly\n            // spaced (#6021)\n            !axis.logarithmic) {\n            // Get a key identifying which pane the axis belongs to\n            const getKey = (axis) => {\n                const { horiz, options } = axis;\n                return [\n                    horiz ? options.left : options.top,\n                    options.width,\n                    options.height,\n                    options.pane\n                ].join(',');\n            };\n            const thisKey = getKey(this);\n            chart[this.coll].forEach(function (otherAxis) {\n                const { series } = otherAxis;\n                if (\n                // #4442\n                series.length &&\n                    series.some((s) => s.visible) &&\n                    otherAxis !== axis &&\n                    getKey(otherAxis) === thisKey) {\n                    hasOther = true; // #4201\n                    alignedAxes.push(otherAxis);\n                }\n            });\n        }\n        if (hasOther && alignThresholds) {\n            // Handle alignThresholds. The `thresholdAlignments` array keeps\n            // records of where each axis in the group wants its threshold, from\n            // 0 which is on `axis.min`, to 1 which is on `axis.max`.\n            alignedAxes.forEach((otherAxis) => {\n                const threshAlign = otherAxis.getThresholdAlignment(axis);\n                if (Axis_isNumber(threshAlign)) {\n                    thresholdAlignments.push(threshAlign);\n                }\n            });\n            // For each of the axes in the group, record the average\n            // `thresholdAlignment`.\n            const thresholdAlignment = thresholdAlignments.length > 1 ?\n                thresholdAlignments.reduce((sum, n) => (sum += n), 0) / thresholdAlignments.length :\n                void 0;\n            alignedAxes.forEach((axis) => {\n                axis.thresholdAlignment = thresholdAlignment;\n            });\n        }\n        return hasOther;\n    }\n    /**\n     * Where the axis wants its threshold, from 0 which is on `axis.min`, to 1 which\n     * is on `axis.max`.\n     *\n     * @private\n     * @function Highcharts.Axis#getThresholdAlignment\n     */\n    getThresholdAlignment(callerAxis) {\n        if (!Axis_isNumber(this.dataMin) ||\n            (this !== callerAxis &&\n                this.series.some((s) => (s.isDirty || s.isDirtyData)))) {\n            this.getSeriesExtremes();\n        }\n        if (Axis_isNumber(this.threshold)) {\n            let thresholdAlignment = Axis_clamp(((this.threshold - (this.dataMin || 0)) /\n                ((this.dataMax || 0) - (this.dataMin || 0))), 0, 1);\n            if (this.options.reversed) {\n                thresholdAlignment = 1 - thresholdAlignment;\n            }\n            return thresholdAlignment;\n        }\n    }\n    /**\n     * Find the max ticks of either the x and y axis collection, and record it\n     * in `this.tickAmount`.\n     *\n     * @private\n     * @function Highcharts.Axis#getTickAmount\n     */\n    getTickAmount() {\n        const axis = this, options = this.options, tickPixelInterval = options.tickPixelInterval;\n        let tickAmount = options.tickAmount;\n        if (!Axis_defined(options.tickInterval) &&\n            !tickAmount &&\n            this.len < tickPixelInterval &&\n            !this.isRadial &&\n            !axis.logarithmic &&\n            options.startOnTick &&\n            options.endOnTick) {\n            tickAmount = 2;\n        }\n        if (!tickAmount && this.alignToOthers()) {\n            // Add 1 because 4 tick intervals require 5 ticks (including first\n            // and last)\n            tickAmount = Math.ceil(this.len / tickPixelInterval) + 1;\n        }\n        // For tick amounts of 2 and 3, compute five ticks and remove the\n        // intermediate ones. This prevents the axis from adding ticks that are\n        // too far away from the data extremes.\n        if (tickAmount < 4) {\n            this.finalTickAmt = tickAmount;\n            tickAmount = 5;\n        }\n        this.tickAmount = tickAmount;\n    }\n    /**\n     * When using multiple axes, adjust the number of ticks to match the highest\n     * number of ticks in that group.\n     *\n     * @private\n     * @function Highcharts.Axis#adjustTickAmount\n     */\n    adjustTickAmount() {\n        const axis = this, { finalTickAmt, max, min, options, tickPositions, tickAmount, thresholdAlignment } = axis, currentTickAmount = tickPositions?.length, threshold = Axis_pick(axis.threshold, axis.softThreshold ? 0 : null);\n        let len, i, tickInterval = axis.tickInterval, thresholdTickIndex;\n        const \n        // Extend the tickPositions by appending a position\n        append = () => tickPositions.push(Axis_correctFloat(tickPositions[tickPositions.length - 1] +\n            tickInterval)), \n        // Extend the tickPositions by prepending a position\n        prepend = () => tickPositions.unshift(Axis_correctFloat(tickPositions[0] - tickInterval));\n        // If `thresholdAlignment` is a number, it means the `alignThresholds`\n        // option is true. The `thresholdAlignment` is a scalar value between 0\n        // and 1 for where the threshold should be relative to `axis.min` and\n        // `axis.max`. Now that we know the tick amount, convert this to the\n        // tick index. Unless `thresholdAlignment` is exactly 0 or 1, avoid the\n        // first or last tick because that would lead to series being clipped.\n        if (Axis_isNumber(thresholdAlignment)) {\n            thresholdTickIndex = thresholdAlignment < 0.5 ?\n                Math.ceil(thresholdAlignment * (tickAmount - 1)) :\n                Math.floor(thresholdAlignment * (tickAmount - 1));\n            if (options.reversed) {\n                thresholdTickIndex = tickAmount - 1 - thresholdTickIndex;\n            }\n        }\n        if (axis.hasData() && Axis_isNumber(min) && Axis_isNumber(max)) { // #14769\n            // Adjust extremes and translation to the modified tick positions\n            const adjustExtremes = () => {\n                axis.transA *= (currentTickAmount - 1) / (tickAmount - 1);\n                // Do not crop when ticks are not extremes (#9841)\n                axis.min = options.startOnTick ?\n                    tickPositions[0] :\n                    Math.min(min, tickPositions[0]);\n                axis.max = options.endOnTick ?\n                    tickPositions[tickPositions.length - 1] :\n                    Math.max(max, tickPositions[tickPositions.length - 1]);\n            };\n            // When the axis is subject to the alignThresholds option. Use\n            // axis.threshold because the local threshold includes the\n            // `softThreshold`.\n            if (Axis_isNumber(thresholdTickIndex) && Axis_isNumber(axis.threshold)) {\n                // Throw away the previously computed tickPositions and start\n                // from scratch with only the threshold itself, then add ticks\n                // below the threshold first, then fill up above the threshold.\n                // If we are not able to fill up to axis.max, double the\n                // tickInterval and run again.\n                while (tickPositions[thresholdTickIndex] !== threshold ||\n                    tickPositions.length !== tickAmount ||\n                    tickPositions[0] > min ||\n                    tickPositions[tickPositions.length - 1] < max) {\n                    tickPositions.length = 0;\n                    tickPositions.push(axis.threshold);\n                    while (tickPositions.length < tickAmount) {\n                        if (\n                        // Start by prepending positions until the threshold\n                        // is at the required index...\n                        tickPositions[thresholdTickIndex] === void 0 ||\n                            tickPositions[thresholdTickIndex] > axis.threshold) {\n                            prepend();\n                        }\n                        else {\n                            // ... then append positions until we have the\n                            // required length\n                            append();\n                        }\n                    }\n                    // Safety vent\n                    if (tickInterval > axis.tickInterval * 8) {\n                        break;\n                    }\n                    tickInterval *= 2;\n                }\n                adjustExtremes();\n            }\n            else if (currentTickAmount < tickAmount) {\n                while (tickPositions.length < tickAmount) {\n                    // Extend evenly for both sides unless we're on the\n                    // threshold (#3965)\n                    if (tickPositions.length % 2 || min === threshold) {\n                        append();\n                    }\n                    else {\n                        prepend();\n                    }\n                }\n                adjustExtremes();\n            }\n            // The finalTickAmt property is set in getTickAmount\n            if (Axis_defined(finalTickAmt)) {\n                i = len = tickPositions.length;\n                while (i--) {\n                    if (\n                    // Remove every other tick\n                    (finalTickAmt === 3 && i % 2 === 1) ||\n                        // Remove all but first and last\n                        (finalTickAmt <= 2 && i > 0 && i < len - 1)) {\n                        tickPositions.splice(i, 1);\n                    }\n                }\n                axis.finalTickAmt = void 0;\n            }\n        }\n    }\n    /**\n     * Set the scale based on data min and max, user set min and max or options.\n     *\n     * @private\n     * @function Highcharts.Axis#setScale\n     *\n     * @emits Highcharts.Axis#event:afterSetScale\n     */\n    setScale() {\n        const axis = this, { coll, stacking } = axis;\n        let isDirtyData = false, isXAxisDirty = false;\n        axis.series.forEach((series) => {\n            isDirtyData = isDirtyData || series.isDirtyData || series.isDirty;\n            // When x axis is dirty, we need new data extremes for y as\n            // well:\n            isXAxisDirty = (isXAxisDirty ||\n                (series.xAxis && series.xAxis.isDirty) ||\n                false);\n        });\n        // Set the new axisLength\n        axis.setAxisSize();\n        const isDirtyAxisLength = axis.len !== (axis.old && axis.old.len);\n        // Do we really need to go through all this?\n        if (isDirtyAxisLength ||\n            isDirtyData ||\n            isXAxisDirty ||\n            axis.isLinked ||\n            axis.forceRedraw ||\n            axis.userMin !== (axis.old && axis.old.userMin) ||\n            axis.userMax !== (axis.old && axis.old.userMax) ||\n            axis.alignToOthers()) {\n            if (stacking && coll === 'yAxis') {\n                stacking.buildStacks();\n            }\n            axis.forceRedraw = false;\n            // #18066 delete minRange property to ensure that it will be\n            // calculated again after dirty data in series\n            if (!axis.userMinRange) {\n                axis.minRange = void 0;\n            }\n            // Get data extremes if needed\n            axis.getSeriesExtremes();\n            // Get fixed positions based on tickInterval\n            axis.setTickInterval();\n            if (stacking && coll === 'xAxis') {\n                stacking.buildStacks();\n            }\n            // Mark as dirty if it is not already set to dirty and extremes have\n            // changed. #595.\n            if (!axis.isDirty) {\n                axis.isDirty =\n                    isDirtyAxisLength ||\n                        axis.min !== axis.old?.min ||\n                        axis.max !== axis.old?.max;\n            }\n        }\n        else if (stacking) {\n            stacking.cleanStacks();\n        }\n        // Recalculate all extremes object when the data has changed. It is\n        // required when vertical panning is enabled.\n        if (isDirtyData) {\n            delete axis.allExtremes;\n        }\n        Axis_fireEvent(this, 'afterSetScale');\n    }\n    /**\n     * Set the minimum and maximum of the axes after render time. If the\n     * `startOnTick` and `endOnTick` options are true, the minimum and maximum\n     * values are rounded off to the nearest tick. To prevent this, these\n     * options can be set to false before calling setExtremes. Also, setExtremes\n     * will not allow a range lower than the `minRange` option, which by default\n     * is the range of five points.\n     *\n     * @sample highcharts/members/axis-setextremes/\n     *         Set extremes from a button\n     * @sample highcharts/members/axis-setextremes-datetime/\n     *         Set extremes on a datetime axis\n     * @sample highcharts/members/axis-setextremes-off-ticks/\n     *         Set extremes off ticks\n     * @sample stock/members/axis-setextremes/\n     *         Set extremes in Highcharts Stock\n     *\n     * @function Highcharts.Axis#setExtremes\n     *\n     * @param {number|string} [newMin]\n     * The new minimum value. For datetime axes, date strings are accepted.\n     *\n     * @param {number|string} [newMax]\n     * The new maximum value. For datetime axes, date strings are accepted.\n     *\n     * @param {boolean} [redraw=true]\n     * Whether to redraw the chart or wait for an explicit call to\n     * {@link Highcharts.Chart#redraw}\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation=true]\n     * Enable or modify animations.\n     *\n     * @param {*} [eventArguments]\n     * Arguments to be accessed in event handler.\n     *\n     * @emits Highcharts.Axis#event:setExtremes\n     */\n    setExtremes(min, max, redraw = true, animation, eventArguments) {\n        const chart = this.chart;\n        this.series.forEach((serie) => {\n            delete serie.kdTree;\n        });\n        min = chart.time.parse(min);\n        max = chart.time.parse(max);\n        // Extend the arguments with min and max\n        eventArguments = Axis_extend(eventArguments, { min, max });\n        // Fire the event\n        Axis_fireEvent(this, 'setExtremes', eventArguments, (e) => {\n            this.userMin = e.min;\n            this.userMax = e.max;\n            this.eventArgs = e;\n            if (redraw) {\n                chart.redraw(animation);\n            }\n        });\n    }\n    /**\n     * Update the axis metrics.\n     *\n     * @private\n     * @function Highcharts.Axis#setAxisSize\n     */\n    setAxisSize() {\n        const chart = this.chart, options = this.options, \n        // [top, right, bottom, left]\n        offsets = options.offsets || [0, 0, 0, 0], horiz = this.horiz, \n        // Check for percentage based input values. Rounding fixes problems\n        // with column overflow and plot line filtering (#4898, #4899)\n        width = this.width = Math.round(Axis_relativeLength(Axis_pick(options.width, chart.plotWidth - offsets[3] + offsets[1]), chart.plotWidth)), height = this.height = Math.round(Axis_relativeLength(Axis_pick(options.height, chart.plotHeight - offsets[0] + offsets[2]), chart.plotHeight)), top = this.top = Math.round(Axis_relativeLength(Axis_pick(options.top, chart.plotTop + offsets[0]), chart.plotHeight, chart.plotTop)), left = this.left = Math.round(Axis_relativeLength(Axis_pick(options.left, chart.plotLeft + offsets[3]), chart.plotWidth, chart.plotLeft));\n        // Expose basic values to use in Series object and navigator\n        this.bottom = chart.chartHeight - height - top;\n        this.right = chart.chartWidth - width - left;\n        // Direction agnostic properties\n        this.len = Math.max(horiz ? width : height, 0); // Math.max fixes #905\n        /**\n         * The position of the axis in terms of pixels, compared to the chart\n         * edge. In a horizontal axis it is the same as `chart.plotLeft` unless\n         * the axis is explicitly positioned, and in a default vertical axis it\n         * is the same as `chart.plotTop`.\n         *\n         * @name Highcharts.Axis#pos\n         * @type {number}\n         */\n        this.pos = horiz ? left : top; // Distance from SVG origin\n    }\n    /**\n     * Get the current extremes for the axis.\n     *\n     * @sample highcharts/members/axis-getextremes/\n     *         Report extremes by click on a button\n     *\n     * @function Highcharts.Axis#getExtremes\n     *\n     * @return {Highcharts.ExtremesObject}\n     * An object containing extremes information.\n     */\n    getExtremes() {\n        const axis = this, log = axis.logarithmic;\n        return {\n            min: log ?\n                Axis_correctFloat(log.lin2log(axis.min)) :\n                axis.min,\n            max: log ?\n                Axis_correctFloat(log.lin2log(axis.max)) :\n                axis.max,\n            dataMin: axis.dataMin,\n            dataMax: axis.dataMax,\n            userMin: axis.userMin,\n            userMax: axis.userMax\n        };\n    }\n    /**\n     * Get the zero plane either based on zero or on the min or max value.\n     * Used in bar and area plots.\n     *\n     * @function Highcharts.Axis#getThreshold\n     *\n     * @param {number} threshold\n     * The threshold in axis values.\n     *\n     * @return {number}\n     * The translated threshold position in terms of pixels, and corrected to\n     * stay within the axis bounds.\n     */\n    getThreshold(threshold) {\n        const axis = this, log = axis.logarithmic, realMin = log ? log.lin2log(axis.min) : axis.min, realMax = log ? log.lin2log(axis.max) : axis.max;\n        if (threshold === null || threshold === -Infinity) {\n            threshold = realMin;\n        }\n        else if (threshold === Infinity) {\n            threshold = realMax;\n        }\n        else if (realMin > threshold) {\n            threshold = realMin;\n        }\n        else if (realMax < threshold) {\n            threshold = realMax;\n        }\n        return axis.translate(threshold, 0, 1, 0, 1);\n    }\n    /**\n     * Compute auto alignment for the axis label based on which side the axis is\n     * on and the given rotation for the label.\n     *\n     * @private\n     * @function Highcharts.Axis#autoLabelAlign\n     *\n     * @param {number} rotation\n     * The rotation in degrees as set by either the `rotation` or `autoRotation`\n     * options.\n     *\n     * @return {Highcharts.AlignValue}\n     * Can be `\"center\"`, `\"left\"` or `\"right\"`.\n     */\n    autoLabelAlign(rotation) {\n        const angle = (Axis_pick(rotation, 0) - (this.side * 90) + 720) % 360, evt = { align: 'center' };\n        Axis_fireEvent(this, 'autoLabelAlign', evt, function (e) {\n            if (angle > 15 && angle < 165) {\n                e.align = 'right';\n            }\n            else if (angle > 195 && angle < 345) {\n                e.align = 'left';\n            }\n        });\n        return evt.align;\n    }\n    /**\n     * Get the tick length and width for the axis based on axis options.\n     *\n     * @private\n     * @function Highcharts.Axis#tickSize\n     *\n     * @param {string} [prefix]\n     * 'tick' or 'minorTick'\n     *\n     * @return {Array<number,number>|undefined}\n     * An array of tickLength and tickWidth\n     */\n    tickSize(prefix) {\n        const options = this.options, tickWidth = Axis_pick(options[prefix === 'tick' ? 'tickWidth' : 'minorTickWidth'], \n        // Default to 1 on linear and datetime X axes\n        prefix === 'tick' && this.isXAxis && !this.categories ? 1 : 0);\n        let tickLength = options[prefix === 'tick' ? 'tickLength' : 'minorTickLength'], tickSize;\n        if (tickWidth && tickLength) {\n            // Negate the length\n            if (options[prefix + 'Position'] === 'inside') {\n                tickLength = -tickLength;\n            }\n            tickSize = [tickLength, tickWidth];\n        }\n        const e = { tickSize };\n        Axis_fireEvent(this, 'afterTickSize', e);\n        return e.tickSize;\n    }\n    /**\n     * Return the size of the labels.\n     *\n     * @private\n     * @function Highcharts.Axis#labelMetrics\n     */\n    labelMetrics() {\n        const renderer = this.chart.renderer, ticks = this.ticks, tick = ticks[Object.keys(ticks)[0]] || {};\n        return this.chart.renderer.fontMetrics(tick.label ||\n            tick.movedLabel ||\n            renderer.box);\n    }\n    /**\n     * Prevent the ticks from getting so close we can't draw the labels. On a\n     * horizontal axis, this is handled by rotating the labels, removing ticks\n     * and adding ellipsis. On a vertical axis remove ticks and add ellipsis.\n     *\n     * @private\n     * @function Highcharts.Axis#unsquish\n     */\n    unsquish() {\n        const labelOptions = this.options.labels, padding = labelOptions.padding || 0, horiz = this.horiz, tickInterval = this.tickInterval, slotSize = this.len / (((this.categories ? 1 : 0) +\n            this.max -\n            this.min) /\n            tickInterval), rotationOption = labelOptions.rotation, \n        // We don't know the actual rendered line height at this point, but\n        // it defaults to 0.8em\n        lineHeight = Axis_correctFloat(this.labelMetrics().h * 0.8), range = Math.max(this.max - this.min, 0), \n        // Return the multiple of tickInterval that is needed to avoid\n        // collision\n        getStep = function (spaceNeeded) {\n            let step = (spaceNeeded + 2 * padding) / (slotSize || 1);\n            step = step > 1 ? Math.ceil(step) : 1;\n            // Guard for very small or negative angles (#9835)\n            if (step * tickInterval > range &&\n                spaceNeeded !== Infinity &&\n                slotSize !== Infinity &&\n                range) {\n                step = Math.ceil(range / tickInterval);\n            }\n            return Axis_correctFloat(step * tickInterval);\n        };\n        let newTickInterval = tickInterval, rotation, bestScore = Number.MAX_VALUE, autoRotation;\n        if (horiz) {\n            if (!labelOptions.staggerLines) {\n                if (Axis_isNumber(rotationOption)) {\n                    autoRotation = [rotationOption];\n                }\n                else if (slotSize < labelOptions.autoRotationLimit) {\n                    autoRotation = labelOptions.autoRotation;\n                }\n            }\n            if (autoRotation) {\n                let step, score;\n                // Loop over the given autoRotation options, and determine which\n                // gives the best score. The best score is that with the lowest\n                // number of steps and a rotation closest to horizontal.\n                for (const rot of autoRotation) {\n                    if (rot === rotationOption ||\n                        (rot && rot >= -90 && rot <= 90)) { // #3891\n                        step = getStep(Math.abs(lineHeight / Math.sin(Axis_deg2rad * rot)));\n                        score = step + Math.abs(rot / 360);\n                        if (score < bestScore) {\n                            bestScore = score;\n                            rotation = rot;\n                            newTickInterval = step;\n                        }\n                    }\n                }\n            }\n        }\n        else { // #4411\n            newTickInterval = getStep(lineHeight * 0.75);\n        }\n        this.autoRotation = autoRotation;\n        this.labelRotation = Axis_pick(rotation, Axis_isNumber(rotationOption) ? rotationOption : 0);\n        return labelOptions.step ? tickInterval : newTickInterval;\n    }\n    /**\n     * Get the general slot width for labels/categories on this axis. This may\n     * change between the pre-render (from Axis.getOffset) and the final tick\n     * rendering and placement.\n     *\n     * @private\n     * @function Highcharts.Axis#getSlotWidth\n     *\n     * @param {Highcharts.Tick} [tick] Optionally, calculate the slot width\n     * basing on tick label. It is used in highcharts-3d module, where the slots\n     * has different widths depending on perspective angles.\n     *\n     * @return {number}\n     * The pixel width allocated to each axis label.\n     */\n    getSlotWidth(tick) {\n        // #5086, #1580, #1931\n        const chart = this.chart, horiz = this.horiz, labelOptions = this.options.labels, slotCount = Math.max(this.tickPositions.length - (this.categories ? 0 : 1), 1), marginLeft = chart.margin[3];\n        // Used by grid axis\n        if (tick && Axis_isNumber(tick.slotWidth)) { // #13221, can be 0\n            return tick.slotWidth;\n        }\n        if (horiz && labelOptions.step < 2 && !this.isRadial) {\n            if (labelOptions.rotation) { // #4415\n                return 0;\n            }\n            return ((this.staggerLines || 1) * this.len) / slotCount;\n        }\n        if (!horiz) {\n            // #7028\n            const cssWidth = labelOptions.style.width;\n            if (cssWidth !== void 0) {\n                return parseInt(String(cssWidth), 10);\n            }\n            if (marginLeft) {\n                return marginLeft - chart.spacing[3];\n            }\n        }\n        // Last resort, a fraction of the available size\n        return chart.chartWidth * 0.33;\n    }\n    /**\n     * Render the axis labels and determine whether ellipsis or rotation need to\n     * be applied.\n     *\n     * @private\n     * @function Highcharts.Axis#renderUnsquish\n     */\n    renderUnsquish() {\n        const chart = this.chart, renderer = chart.renderer, tickPositions = this.tickPositions, ticks = this.ticks, labelOptions = this.options.labels, labelStyleOptions = labelOptions.style, horiz = this.horiz, slotWidth = this.getSlotWidth(), innerWidth = Math.max(1, Math.round(slotWidth - (horiz ?\n            2 * (labelOptions.padding || 0) :\n            labelOptions.distance || 0 // #21172\n        ))), attr = {}, labelMetrics = this.labelMetrics(), lineClampOption = labelStyleOptions.lineClamp;\n        let commonWidth, lineClamp = lineClampOption ?? (Math.floor(this.len / (tickPositions.length * labelMetrics.h)) || 1), maxLabelLength = 0;\n        // Set rotation option unless it is \"auto\", like in gauges\n        if (!Axis_isString(labelOptions.rotation)) {\n            // #4443\n            attr.rotation = labelOptions.rotation || 0;\n        }\n        // Get the longest label length\n        tickPositions.forEach(function (tickPosition) {\n            const tick = ticks[tickPosition];\n            // Replace label - sorting animation\n            if (tick.movedLabel) {\n                tick.replaceMovedLabel();\n            }\n            const textPxLength = tick.label?.textPxLength || 0;\n            if (textPxLength > maxLabelLength) {\n                maxLabelLength = textPxLength;\n            }\n        });\n        this.maxLabelLength = maxLabelLength;\n        // Handle auto rotation on horizontal axis\n        if (this.autoRotation) {\n            // Apply rotation only if the label is too wide for the slot, and\n            // the label is wider than its height.\n            if (maxLabelLength > innerWidth &&\n                maxLabelLength > labelMetrics.h) {\n                attr.rotation = this.labelRotation;\n            }\n            else {\n                this.labelRotation = 0;\n            }\n            // Handle word-wrap or ellipsis on vertical axis\n        }\n        else if (slotWidth) {\n            // For word-wrap or ellipsis\n            commonWidth = innerWidth;\n        }\n        // Add ellipsis if the label length is significantly longer than ideal\n        if (attr.rotation) {\n            commonWidth = (maxLabelLength > chart.chartHeight * 0.5 ?\n                chart.chartHeight * 0.33 :\n                maxLabelLength);\n            if (!lineClampOption) {\n                lineClamp = 1;\n            }\n        }\n        // Set the explicit or automatic label alignment\n        this.labelAlign = labelOptions.align ||\n            this.autoLabelAlign(this.labelRotation);\n        if (this.labelAlign) {\n            attr.align = this.labelAlign;\n        }\n        // Apply general and specific CSS\n        tickPositions.forEach(function (pos) {\n            const tick = ticks[pos], label = tick && tick.label, widthOption = labelStyleOptions.width, css = {};\n            if (label) {\n                // This needs to go before the CSS in old IE (#4502)\n                label.attr(attr);\n                if (tick.shortenLabel) {\n                    tick.shortenLabel();\n                }\n                else if (commonWidth &&\n                    !widthOption &&\n                    // Setting width in this case messes with the bounding box\n                    // (#7975)\n                    labelStyleOptions.whiteSpace !== 'nowrap' &&\n                    (\n                    // Speed optimizing, #7656\n                    commonWidth < (label.textPxLength || 0) ||\n                        // Resetting CSS, #4928\n                        label.element.tagName === 'SPAN')) {\n                    label.css(Axis_extend(css, {\n                        width: `${commonWidth}px`,\n                        lineClamp\n                    }));\n                    // Reset previously shortened label (#8210)\n                }\n                else if (label.styles.width && !css.width && !widthOption) {\n                    label.css({ width: 'auto' });\n                }\n                tick.rotation = attr.rotation;\n            }\n        }, this);\n        // Note: Why is this not part of getLabelPosition?\n        this.tickRotCorr = renderer.rotCorr(labelMetrics.b, this.labelRotation || 0, this.side !== 0);\n    }\n    /**\n     * Return true if the axis has associated data.\n     *\n     * @function Highcharts.Axis#hasData\n     *\n     * @return {boolean}\n     * True if the axis has associated visible series and those series have\n     * either valid data points or explicit `min` and `max` settings.\n     */\n    hasData() {\n        return this.series.some(function (s) {\n            return s.hasData();\n        }) ||\n            (this.options.showEmpty &&\n                Axis_defined(this.min) &&\n                Axis_defined(this.max));\n    }\n    /**\n     * Adds the title defined in axis.options.title.\n     *\n     * @function Highcharts.Axis#addTitle\n     *\n     * @param {boolean} [display]\n     * Whether or not to display the title.\n     */\n    addTitle(display) {\n        const axis = this, renderer = axis.chart.renderer, horiz = axis.horiz, opposite = axis.opposite, options = axis.options, axisTitleOptions = options.title, styledMode = axis.chart.styledMode;\n        let textAlign;\n        if (!axis.axisTitle) {\n            textAlign = axisTitleOptions.textAlign;\n            if (!textAlign) {\n                textAlign = (horiz ? {\n                    low: 'left',\n                    middle: 'center',\n                    high: 'right'\n                } : {\n                    low: opposite ? 'right' : 'left',\n                    middle: 'center',\n                    high: opposite ? 'left' : 'right'\n                })[axisTitleOptions.align];\n            }\n            axis.axisTitle = renderer\n                .text(axisTitleOptions.text || '', 0, 0, axisTitleOptions.useHTML)\n                .attr({\n                zIndex: 7,\n                rotation: axisTitleOptions.rotation || 0,\n                align: textAlign\n            })\n                .addClass('highcharts-axis-title');\n            // #7814, don't mutate style option\n            if (!styledMode) {\n                axis.axisTitle.css(Axis_merge(axisTitleOptions.style));\n            }\n            axis.axisTitle.add(axis.axisGroup);\n            axis.axisTitle.isNew = true;\n        }\n        // Max width defaults to the length of the axis\n        if (!styledMode &&\n            !axisTitleOptions.style.width &&\n            !axis.isRadial) {\n            axis.axisTitle.css({\n                width: axis.len + 'px'\n            });\n        }\n        // Hide or show the title depending on whether showEmpty is set\n        axis.axisTitle[display ? 'show' : 'hide'](display);\n    }\n    /**\n     * Generates a tick for initial positioning.\n     *\n     * @private\n     * @function Highcharts.Axis#generateTick\n     *\n     * @param {number} pos\n     * The tick position in axis values.\n     *\n     * @param {number} [i]\n     * The index of the tick in {@link Axis.tickPositions}.\n     */\n    generateTick(pos) {\n        const axis = this, ticks = axis.ticks;\n        if (!ticks[pos]) {\n            ticks[pos] = new Axis_Tick(axis, pos);\n        }\n        else {\n            ticks[pos].addLabel(); // Update labels depending on tick interval\n        }\n    }\n    /**\n     * Create the axisGroup and gridGroup elements on first iteration.\n     *\n     * @private\n     * @function Highcharts.Axis#getOffset\n     *\n     * @emits Highcharts.Axis#event:afterGetOffset\n     */\n    createGroups() {\n        const { axisParent, // Used in color axis\n        chart, coll, options } = this, renderer = chart.renderer;\n        const createGroup = (name, suffix, zIndex) => renderer.g(name)\n            .attr({ zIndex })\n            .addClass(`highcharts-${coll.toLowerCase()}${suffix} ` +\n            (this.isRadial ? `highcharts-radial-axis${suffix} ` : '') +\n            (options.className || ''))\n            .add(axisParent);\n        if (!this.axisGroup) {\n            this.gridGroup = createGroup('grid', '-grid', options.gridZIndex);\n            this.axisGroup = createGroup('axis', '', options.zIndex);\n            this.labelGroup = createGroup('axis-labels', '-labels', options.labels.zIndex);\n        }\n    }\n    /**\n     * Render the tick labels to a preliminary position to get their sizes\n     *\n     * @private\n     * @function Highcharts.Axis#getOffset\n     *\n     * @emits Highcharts.Axis#event:afterGetOffset\n     */\n    getOffset() {\n        const axis = this, { chart, horiz, options, side, ticks, tickPositions, coll } = axis, invertedSide = (chart.inverted && !axis.isZAxis ?\n            [1, 0, 3, 2][side] :\n            side), hasData = axis.hasData(), axisTitleOptions = options.title, labelOptions = options.labels, hasCrossing = Axis_isNumber(options.crossing), axisOffset = chart.axisOffset, clipOffset = chart.clipOffset, directionFactor = [-1, 1, 1, -1][side];\n        let showAxis, titleOffset = 0, titleOffsetOption, titleMargin = 0, labelOffset = 0, // Reset\n        labelOffsetPadded, lineHeightCorrection;\n        // For reuse in Axis.render\n        axis.showAxis = showAxis = hasData || options.showEmpty;\n        // Set/reset staggerLines\n        axis.staggerLines = (axis.horiz && labelOptions.staggerLines) || void 0;\n        axis.createGroups();\n        if (hasData || axis.isLinked) {\n            // Generate ticks\n            tickPositions.forEach(function (pos) {\n                axis.generateTick(pos);\n            });\n            axis.renderUnsquish();\n            // Left side must be align: right and right side must\n            // have align: left for labels\n            axis.reserveSpaceDefault = (side === 0 ||\n                side === 2 ||\n                { 1: 'left', 3: 'right' }[side] === axis.labelAlign);\n            if (Axis_pick(labelOptions.reserveSpace, hasCrossing ? false : null, axis.labelAlign === 'center' ? true : null, axis.reserveSpaceDefault)) {\n                tickPositions.forEach(function (pos) {\n                    // Get the highest offset\n                    labelOffset = Math.max(ticks[pos].getLabelSize(), labelOffset);\n                });\n            }\n            if (axis.staggerLines) {\n                labelOffset *= axis.staggerLines;\n            }\n            axis.labelOffset = labelOffset * (axis.opposite ? -1 : 1);\n        }\n        else { // Doesn't have data\n            Axis_objectEach(ticks, function (tick, n) {\n                tick.destroy();\n                delete ticks[n];\n            });\n        }\n        if (axisTitleOptions?.text &&\n            axisTitleOptions.enabled !== false) {\n            axis.addTitle(showAxis);\n            if (showAxis &&\n                !hasCrossing &&\n                axisTitleOptions.reserveSpace !== false) {\n                axis.titleOffset = titleOffset =\n                    axis.axisTitle.getBBox()[horiz ? 'height' : 'width'];\n                titleOffsetOption = axisTitleOptions.offset;\n                titleMargin = Axis_defined(titleOffsetOption) ?\n                    0 :\n                    Axis_pick(axisTitleOptions.margin, horiz ? 5 : 10);\n            }\n        }\n        // Render the axis line\n        axis.renderLine();\n        // Handle automatic or user set offset\n        axis.offset = directionFactor * Axis_pick(options.offset, axisOffset[side] ? axisOffset[side] + (options.margin || 0) : 0);\n        axis.tickRotCorr = axis.tickRotCorr || { x: 0, y: 0 }; // Polar\n        if (side === 0) {\n            lineHeightCorrection = -axis.labelMetrics().h;\n        }\n        else if (side === 2) {\n            lineHeightCorrection = axis.tickRotCorr.y;\n        }\n        else {\n            lineHeightCorrection = 0;\n        }\n        // Find the padded label offset\n        labelOffsetPadded = Math.abs(labelOffset) + titleMargin;\n        if (labelOffset) {\n            labelOffsetPadded -= lineHeightCorrection;\n            labelOffsetPadded += directionFactor * (horiz ?\n                Axis_pick(labelOptions.y, axis.tickRotCorr.y +\n                    directionFactor * labelOptions.distance) :\n                Axis_pick(labelOptions.x, directionFactor * labelOptions.distance));\n        }\n        axis.axisTitleMargin = Axis_pick(titleOffsetOption, labelOffsetPadded);\n        if (axis.getMaxLabelDimensions) {\n            axis.maxLabelDimensions = axis.getMaxLabelDimensions(ticks, tickPositions);\n        }\n        // Due to GridAxis.tickSize, tickSize should be calculated after ticks\n        // has rendered.\n        if (coll !== 'colorAxis' && clipOffset) {\n            const tickSize = this.tickSize('tick');\n            axisOffset[side] = Math.max(axisOffset[side], (axis.axisTitleMargin || 0) + titleOffset +\n                directionFactor * axis.offset, labelOffsetPadded, // #3027\n            tickPositions && tickPositions.length && tickSize ?\n                tickSize[0] + directionFactor * axis.offset :\n                0 // #4866\n            );\n            // Decide the clipping needed to keep the graph inside\n            // the plot area and axis lines\n            const clip = !axis.axisLine || options.offset ?\n                0 :\n                // #4308, #4371\n                axis.axisLine.strokeWidth() / 2;\n            clipOffset[invertedSide] = Math.max(clipOffset[invertedSide], clip);\n        }\n        Axis_fireEvent(this, 'afterGetOffset');\n    }\n    /**\n     * Internal function to get the path for the axis line. Extended for polar\n     * charts.\n     *\n     * @function Highcharts.Axis#getLinePath\n     *\n     * @param {number} lineWidth\n     * The line width in pixels.\n     *\n     * @return {Highcharts.SVGPathArray}\n     * The SVG path definition in array form.\n     */\n    getLinePath(lineWidth) {\n        const chart = this.chart, opposite = this.opposite, offset = this.offset, horiz = this.horiz, lineLeft = this.left + (opposite ? this.width : 0) + offset, lineTop = chart.chartHeight - this.bottom -\n            (opposite ? this.height : 0) + offset;\n        if (opposite) {\n            lineWidth *= -1; // Crispify the other way - #1480, #1687\n        }\n        return chart.renderer\n            .crispLine([\n            [\n                'M',\n                horiz ?\n                    this.left :\n                    lineLeft,\n                horiz ?\n                    lineTop :\n                    this.top\n            ],\n            [\n                'L',\n                horiz ?\n                    chart.chartWidth - this.right :\n                    lineLeft,\n                horiz ?\n                    lineTop :\n                    chart.chartHeight - this.bottom\n            ]\n        ], lineWidth);\n    }\n    /**\n     * Render the axis line. Called internally when rendering and redrawing the\n     * axis.\n     *\n     * @function Highcharts.Axis#renderLine\n     */\n    renderLine() {\n        if (!this.axisLine) {\n            this.axisLine = this.chart.renderer.path()\n                .addClass('highcharts-axis-line')\n                .add(this.axisGroup);\n            if (!this.chart.styledMode) {\n                this.axisLine.attr({\n                    stroke: this.options.lineColor,\n                    'stroke-width': this.options.lineWidth,\n                    zIndex: 7\n                });\n            }\n        }\n    }\n    /**\n     * Position the axis title.\n     *\n     * @private\n     * @function Highcharts.Axis#getTitlePosition\n     *\n     * @return {Highcharts.PositionObject}\n     * X and Y positions for the title.\n     */\n    getTitlePosition(axisTitle) {\n        // Compute anchor points for each of the title align options\n        const horiz = this.horiz, axisLeft = this.left, axisTop = this.top, axisLength = this.len, axisTitleOptions = this.options.title, margin = horiz ? axisLeft : axisTop, opposite = this.opposite, offset = this.offset, xOption = axisTitleOptions.x, yOption = axisTitleOptions.y, fontMetrics = this.chart.renderer.fontMetrics(axisTitle), \n        // The part of a multiline text that is below the baseline of the\n        // first line. Subtract 1 to preserve pixel-perfectness from the\n        // old behaviour (v5.0.12), where only one line was allowed.\n        textHeightOvershoot = axisTitle ? Math.max(axisTitle.getBBox(false, 0).height - fontMetrics.h - 1, 0) : 0, \n        // The position in the length direction of the axis\n        alongAxis = ({\n            low: margin + (horiz ? 0 : axisLength),\n            middle: margin + axisLength / 2,\n            high: margin + (horiz ? axisLength : 0)\n        })[axisTitleOptions.align], \n        // The position in the perpendicular direction of the axis\n        offAxis = (horiz ? axisTop + this.height : axisLeft) +\n            (horiz ? 1 : -1) * // Horizontal axis reverses the margin\n                (opposite ? -1 : 1) * // So does opposite axes\n                (this.axisTitleMargin || 0) +\n            [\n                -textHeightOvershoot, // Top\n                textHeightOvershoot, // Right\n                fontMetrics.f, // Bottom\n                -textHeightOvershoot // Left\n            ][this.side], titlePosition = {\n            x: horiz ?\n                alongAxis + xOption :\n                offAxis + (opposite ? this.width : 0) + offset + xOption,\n            y: horiz ?\n                offAxis + yOption - (opposite ? this.height : 0) + offset :\n                alongAxis + yOption\n        };\n        Axis_fireEvent(this, 'afterGetTitlePosition', { titlePosition: titlePosition });\n        return titlePosition;\n    }\n    /**\n     * Render a minor tick into the given position. If a minor tick already\n     * exists in this position, move it.\n     *\n     * @function Highcharts.Axis#renderMinorTick\n     *\n     * @param {number} pos\n     * The position in axis values.\n     *\n     * @param {boolean} slideIn\n     * Whether the tick should animate in from last computed position\n     */\n    renderMinorTick(pos, slideIn) {\n        const axis = this;\n        const minorTicks = axis.minorTicks;\n        if (!minorTicks[pos]) {\n            minorTicks[pos] = new Axis_Tick(axis, pos, 'minor');\n        }\n        // Render new ticks in old position\n        if (slideIn && minorTicks[pos].isNew) {\n            minorTicks[pos].render(null, true);\n        }\n        minorTicks[pos].render(null, false, 1);\n    }\n    /**\n     * Render a major tick into the given position. If a tick already exists\n     * in this position, move it.\n     *\n     * @function Highcharts.Axis#renderTick\n     *\n     * @param {number} pos\n     * The position in axis values.\n     *\n     * @param {number} i\n     * The tick index.\n     *\n     * @param {boolean} slideIn\n     * Whether the tick should animate in from last computed position\n     */\n    renderTick(pos, i, slideIn) {\n        const axis = this, isLinked = axis.isLinked, ticks = axis.ticks;\n        // Linked axes need an extra check to find out if\n        if (!isLinked ||\n            (pos >= axis.min && pos <= axis.max) ||\n            (axis.grid && axis.grid.isColumn)) {\n            if (!ticks[pos]) {\n                ticks[pos] = new Axis_Tick(axis, pos);\n            }\n            // NOTE this seems like overkill. Could be handled in tick.render by\n            // setting old position in attr, then set new position in animate.\n            // render new ticks in old position\n            if (slideIn && ticks[pos].isNew) {\n                // Start with negative opacity so that it is visible from\n                // halfway into the animation\n                ticks[pos].render(i, true, -1);\n            }\n            ticks[pos].render(i);\n        }\n    }\n    /**\n     * Render the axis.\n     *\n     * @private\n     * @function Highcharts.Axis#render\n     *\n     * @emits Highcharts.Axis#event:afterRender\n     */\n    render() {\n        const axis = this, chart = axis.chart, log = axis.logarithmic, renderer = chart.renderer, options = axis.options, isLinked = axis.isLinked, tickPositions = axis.tickPositions, axisTitle = axis.axisTitle, ticks = axis.ticks, minorTicks = axis.minorTicks, alternateBands = axis.alternateBands, stackLabelOptions = options.stackLabels, alternateGridColor = options.alternateGridColor, crossing = options.crossing, tickmarkOffset = axis.tickmarkOffset, axisLine = axis.axisLine, showAxis = axis.showAxis, animation = Axis_animObject(renderer.globalAnimation);\n        let from, to;\n        // Reset\n        axis.labelEdge.length = 0;\n        axis.overlap = false;\n        // Mark all elements inActive before we go over and mark the active ones\n        [ticks, minorTicks, alternateBands].forEach(function (coll) {\n            Axis_objectEach(coll, function (tick) {\n                tick.isActive = false;\n            });\n        });\n        // Crossing\n        if (Axis_isNumber(crossing)) {\n            const otherAxis = this.isXAxis ? chart.yAxis[0] : chart.xAxis[0], directionFactor = [1, -1, -1, 1][this.side];\n            if (otherAxis) {\n                let px = otherAxis.toPixels(crossing, true);\n                if (axis.horiz) {\n                    px = otherAxis.len - px;\n                }\n                axis.offset = directionFactor * px;\n            }\n        }\n        // If the series has data draw the ticks. Else only the line and title\n        if (axis.hasData() || isLinked) {\n            const slideInTicks = axis.chart.hasRendered &&\n                axis.old && Axis_isNumber(axis.old.min);\n            // Minor ticks\n            if (axis.minorTickInterval && !axis.categories) {\n                axis.getMinorTickPositions().forEach(function (pos) {\n                    axis.renderMinorTick(pos, slideInTicks);\n                });\n            }\n            // Major ticks. Pull out the first item and render it last so that\n            // we can get the position of the neighbour label. #808.\n            if (tickPositions.length) { // #1300\n                tickPositions.forEach(function (pos, i) {\n                    axis.renderTick(pos, i, slideInTicks);\n                });\n                // In a categorized axis, the tick marks are displayed\n                // between labels. So we need to add a tick mark and\n                // grid line at the left edge of the X axis.\n                if (tickmarkOffset && (axis.min === 0 || axis.single)) {\n                    if (!ticks[-1]) {\n                        ticks[-1] = new Axis_Tick(axis, -1, null, true);\n                    }\n                    ticks[-1].render(-1);\n                }\n            }\n            // Alternate grid color\n            if (alternateGridColor) {\n                tickPositions.forEach(function (pos, i) {\n                    to = typeof tickPositions[i + 1] !== 'undefined' ?\n                        tickPositions[i + 1] + tickmarkOffset :\n                        axis.max - tickmarkOffset;\n                    if (i % 2 === 0 &&\n                        pos < axis.max &&\n                        to <= axis.max + (chart.polar ?\n                            -tickmarkOffset :\n                            tickmarkOffset)) { // #2248, #4660\n                        if (!alternateBands[pos]) {\n                            // Should be imported from PlotLineOrBand.js, but\n                            // the dependency cycle with axis is a problem\n                            alternateBands[pos] = new Core_Globals.PlotLineOrBand(axis, {});\n                        }\n                        from = pos + tickmarkOffset; // #949\n                        alternateBands[pos].options = {\n                            from: log ? log.lin2log(from) : from,\n                            to: log ? log.lin2log(to) : to,\n                            color: alternateGridColor,\n                            className: 'highcharts-alternate-grid'\n                        };\n                        alternateBands[pos].render();\n                        alternateBands[pos].isActive = true;\n                    }\n                });\n            }\n            // Custom plot lines and bands\n            if (!axis._addedPlotLB) { // Only first time\n                axis._addedPlotLB = true;\n                (options.plotLines || [])\n                    .concat(options.plotBands || [])\n                    .forEach(function (plotLineOptions) {\n                    axis\n                        .addPlotBandOrLine(plotLineOptions);\n                });\n            }\n        } // End if hasData\n        // Remove inactive ticks\n        [ticks, minorTicks, alternateBands].forEach(function (coll) {\n            const forDestruction = [], delay = animation.duration, destroyInactiveItems = function () {\n                let i = forDestruction.length;\n                while (i--) {\n                    // When resizing rapidly, the same items\n                    // may be destroyed in different timeouts,\n                    // or the may be reactivated\n                    if (coll[forDestruction[i]] &&\n                        !coll[forDestruction[i]].isActive) {\n                        coll[forDestruction[i]].destroy();\n                        delete coll[forDestruction[i]];\n                    }\n                }\n            };\n            Axis_objectEach(coll, function (tick, pos) {\n                if (!tick.isActive) {\n                    // Render to zero opacity\n                    tick.render(pos, false, 0);\n                    tick.isActive = false;\n                    forDestruction.push(pos);\n                }\n            });\n            // When the objects are finished fading out, destroy them\n            Axis_syncTimeout(destroyInactiveItems, coll === alternateBands ||\n                !chart.hasRendered ||\n                !delay ?\n                0 :\n                delay);\n        });\n        // Set the axis line path\n        if (axisLine) {\n            axisLine[axisLine.isPlaced ? 'animate' : 'attr']({\n                d: this.getLinePath(axisLine.strokeWidth())\n            });\n            axisLine.isPlaced = true;\n            // Show or hide the line depending on options.showEmpty\n            axisLine[showAxis ? 'show' : 'hide'](showAxis);\n        }\n        if (axisTitle && showAxis) {\n            axisTitle[axisTitle.isNew ? 'attr' : 'animate'](axis.getTitlePosition(axisTitle));\n            axisTitle.isNew = false;\n        }\n        // Stacked totals:\n        if (stackLabelOptions && stackLabelOptions.enabled && axis.stacking) {\n            axis.stacking.renderStackTotals();\n        }\n        // End stacked totals\n        // Record old scaling for updating/animation. Pinch base must be\n        // preserved until the pinch ends.\n        axis.old = {\n            len: axis.len,\n            max: axis.max,\n            min: axis.min,\n            transA: axis.transA,\n            userMax: axis.userMax,\n            userMin: axis.userMin\n        };\n        axis.isDirty = false;\n        Axis_fireEvent(this, 'afterRender');\n    }\n    /**\n     * Redraw the axis to reflect changes in the data or axis extremes. Called\n     * internally from Highcharts.Chart#redraw.\n     *\n     * @private\n     * @function Highcharts.Axis#redraw\n     */\n    redraw() {\n        if (this.visible) {\n            // Render the axis\n            this.render();\n            // Move plot lines and bands\n            this.plotLinesAndBands.forEach(function (plotLine) {\n                plotLine.render();\n            });\n        }\n        // Mark associated series as dirty and ready for redraw\n        this.series.forEach(function (series) {\n            series.isDirty = true;\n        });\n    }\n    /**\n     * Returns an array of axis properties, that should be untouched during\n     * reinitialization.\n     *\n     * @private\n     * @function Highcharts.Axis#getKeepProps\n     */\n    getKeepProps() {\n        return (this.keepProps || Axis.keepProps);\n    }\n    /**\n     * Destroys an Axis instance. See {@link Axis#remove} for the API endpoint\n     * to fully remove the axis.\n     *\n     * @private\n     * @function Highcharts.Axis#destroy\n     *\n     * @param {boolean} [keepEvents]\n     * Whether to preserve events, used internally in Axis.update.\n     */\n    destroy(keepEvents) {\n        const axis = this, plotLinesAndBands = axis.plotLinesAndBands, eventOptions = this.eventOptions;\n        Axis_fireEvent(this, 'destroy', { keepEvents: keepEvents });\n        // Remove the events\n        if (!keepEvents) {\n            Axis_removeEvent(axis);\n        }\n        // Destroy collections\n        [axis.ticks, axis.minorTicks, axis.alternateBands].forEach(function (coll) {\n            Axis_destroyObjectProperties(coll);\n        });\n        if (plotLinesAndBands) {\n            let i = plotLinesAndBands.length;\n            while (i--) { // #1975\n                plotLinesAndBands[i].destroy();\n            }\n        }\n        // Destroy elements\n        [\n            'axisLine', 'axisTitle', 'axisGroup',\n            'gridGroup', 'labelGroup', 'cross', 'scrollbar'\n        ].forEach(function (prop) {\n            if (axis[prop]) {\n                axis[prop] = axis[prop].destroy();\n            }\n        });\n        // Destroy each generated group for plotlines and plotbands\n        for (const plotGroup in axis.plotLinesAndBandsGroups) { // eslint-disable-line guard-for-in\n            axis.plotLinesAndBandsGroups[plotGroup] =\n                axis.plotLinesAndBandsGroups[plotGroup].destroy();\n        }\n        // Delete all properties and fall back to the prototype.\n        Axis_objectEach(axis, function (val, key) {\n            if (axis.getKeepProps().indexOf(key) === -1) {\n                delete axis[key];\n            }\n        });\n        this.eventOptions = eventOptions;\n    }\n    /**\n     * Internal function to draw a crosshair.\n     *\n     * @function Highcharts.Axis#drawCrosshair\n     *\n     * @param {Highcharts.PointerEventObject} [e]\n     * The event arguments from the modified pointer event, extended with\n     * `chartX` and `chartY`\n     *\n     * @param {Highcharts.Point} [point]\n     * The Point object if the crosshair snaps to points.\n     *\n     * @emits Highcharts.Axis#event:afterDrawCrosshair\n     * @emits Highcharts.Axis#event:drawCrosshair\n     */\n    drawCrosshair(e, point) {\n        const options = this.crosshair, snap = Axis_pick(options && options.snap, true), chart = this.chart;\n        let path, pos, categorized, graphic = this.cross, crossOptions;\n        Axis_fireEvent(this, 'drawCrosshair', { e: e, point: point });\n        // Use last available event when updating non-snapped crosshairs without\n        // mouse interaction (#5287)\n        if (!e) {\n            e = this.cross && this.cross.e;\n        }\n        if (\n        // Disabled in options\n        !options ||\n            // Snap\n            ((Axis_defined(point) || !snap) === false)) {\n            this.hideCrosshair();\n        }\n        else {\n            // Get the path\n            if (!snap) {\n                pos = e &&\n                    (this.horiz ?\n                        e.chartX - this.pos :\n                        this.len - e.chartY + this.pos);\n            }\n            else if (Axis_defined(point)) {\n                // #3834\n                pos = Axis_pick(this.coll !== 'colorAxis' ?\n                    point.crosshairPos : // 3D axis extension\n                    null, this.isXAxis ?\n                    point.plotX :\n                    this.len - point.plotY);\n            }\n            if (Axis_defined(pos)) {\n                crossOptions = {\n                    // Value, only used on radial\n                    value: point && (this.isXAxis ?\n                        point.x :\n                        Axis_pick(point.stackY, point.y)),\n                    translatedValue: pos\n                };\n                if (chart.polar) {\n                    // Additional information required for crosshairs in\n                    // polar chart\n                    Axis_extend(crossOptions, {\n                        isCrosshair: true,\n                        chartX: e && e.chartX,\n                        chartY: e && e.chartY,\n                        point: point\n                    });\n                }\n                path = this.getPlotLinePath(crossOptions) ||\n                    null; // #3189\n            }\n            if (!Axis_defined(path)) {\n                this.hideCrosshair();\n                return;\n            }\n            categorized = this.categories && !this.isRadial;\n            // Draw the cross\n            if (!graphic) {\n                this.cross = graphic = chart.renderer\n                    .path()\n                    .addClass('highcharts-crosshair highcharts-crosshair-' +\n                    (categorized ? 'category ' : 'thin ') +\n                    (options.className || ''))\n                    .attr({\n                    zIndex: Axis_pick(options.zIndex, 2)\n                })\n                    .add();\n                // Presentational attributes\n                if (!chart.styledMode) {\n                    graphic.attr({\n                        stroke: options.color ||\n                            (categorized ?\n                                Color_Color\n                                    .parse(\"#ccd3ff\" /* Palette.highlightColor20 */)\n                                    .setOpacity(0.25)\n                                    .get() :\n                                \"#cccccc\" /* Palette.neutralColor20 */),\n                        'stroke-width': Axis_pick(options.width, 1)\n                    }).css({\n                        'pointer-events': 'none'\n                    });\n                    if (options.dashStyle) {\n                        graphic.attr({\n                            dashstyle: options.dashStyle\n                        });\n                    }\n                }\n            }\n            graphic.show().attr({\n                d: path\n            });\n            if (categorized && !options.width) {\n                graphic.attr({\n                    'stroke-width': this.transA\n                });\n            }\n            this.cross.e = e;\n        }\n        Axis_fireEvent(this, 'afterDrawCrosshair', { e: e, point: point });\n    }\n    /**\n     * Hide the crosshair if visible.\n     *\n     * @function Highcharts.Axis#hideCrosshair\n     */\n    hideCrosshair() {\n        if (this.cross) {\n            this.cross.hide();\n        }\n        Axis_fireEvent(this, 'afterHideCrosshair');\n    }\n    /**\n     * Update an axis object with a new set of options. The options are merged\n     * with the existing options, so only new or altered options need to be\n     * specified.\n     *\n     * @sample highcharts/members/axis-update/\n     *         Axis update demo\n     *\n     * @function Highcharts.Axis#update\n     *\n     * @param {Highcharts.AxisOptions} options\n     * The new options that will be merged in with existing options on the axis.\n     *\n     * @param {boolean} [redraw=true]\n     * Whether to redraw the chart after the axis is altered. If doing more\n     * operations on the chart, it is a good idea to set redraw to false and\n     * call {@link Chart#redraw} after.\n     */\n    update(options, redraw) {\n        const chart = this.chart;\n        options = Axis_merge(this.userOptions, options);\n        this.destroy(true);\n        this.init(chart, options);\n        chart.isDirtyBox = true;\n        if (Axis_pick(redraw, true)) {\n            chart.redraw();\n        }\n    }\n    /**\n     * Remove the axis from the chart.\n     *\n     * @sample highcharts/members/chart-addaxis/\n     *         Add and remove axes\n     *\n     * @function Highcharts.Axis#remove\n     *\n     * @param {boolean} [redraw=true]\n     * Whether to redraw the chart following the remove.\n     */\n    remove(redraw) {\n        const chart = this.chart, coll = this.coll, axisSeries = this.series;\n        let i = axisSeries.length;\n        // Remove associated series (#2687)\n        while (i--) {\n            if (axisSeries[i]) {\n                axisSeries[i].remove(false);\n            }\n        }\n        // Remove the axis\n        Axis_erase(chart.axes, this);\n        Axis_erase(chart[coll] || [], this);\n        chart.orderItems(coll);\n        this.destroy();\n        chart.isDirtyBox = true;\n        if (Axis_pick(redraw, true)) {\n            chart.redraw();\n        }\n    }\n    /**\n     * Update the axis title by options after render time.\n     *\n     * @sample highcharts/members/axis-settitle/\n     *         Set a new Y axis title\n     *\n     * @function Highcharts.Axis#setTitle\n     *\n     * @param {Highcharts.AxisTitleOptions} titleOptions\n     * The additional title options.\n     *\n     * @param {boolean} [redraw=true]\n     * Whether to redraw the chart after setting the title.\n     */\n    setTitle(titleOptions, redraw) {\n        this.update({ title: titleOptions }, redraw);\n    }\n    /**\n     * Set new axis categories and optionally redraw.\n     *\n     * @sample highcharts/members/axis-setcategories/\n     *         Set categories by click on a button\n     *\n     * @function Highcharts.Axis#setCategories\n     *\n     * @param {Array<string>} categories\n     * The new categories.\n     *\n     * @param {boolean} [redraw=true]\n     * Whether to redraw the chart.\n     */\n    setCategories(categories, redraw) {\n        this.update({ categories: categories }, redraw);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\n// Properties to survive after destroy, needed for Axis.update (#4317,\n// #5773, #5881).\nAxis.keepProps = [\n    'coll',\n    'extKey',\n    'hcEvents',\n    'len',\n    'names',\n    'series',\n    'userMax',\n    'userMin'\n];\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Axis_Axis = (Axis);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Options for the path on the Axis to be calculated.\n * @interface Highcharts.AxisPlotLinePathOptionsObject\n */ /**\n* Axis value.\n* @name Highcharts.AxisPlotLinePathOptionsObject#value\n* @type {number|undefined}\n*/ /**\n* Line width used for calculation crisp line coordinates. Defaults to 1.\n* @name Highcharts.AxisPlotLinePathOptionsObject#lineWidth\n* @type {number|undefined}\n*/ /**\n* If `false`, the function will return null when it falls outside the axis\n* bounds. If `true`, the function will return a path aligned to the plot area\n* sides if it falls outside. If `pass`, it will return a path outside.\n* @name Highcharts.AxisPlotLinePathOptionsObject#force\n* @type {string|boolean|undefined}\n*/ /**\n* Used in Highcharts Stock. When `true`, plot paths\n* (crosshair, plotLines, gridLines)\n* will be rendered on all axes when defined on the first axis.\n* @name Highcharts.AxisPlotLinePathOptionsObject#acrossPanes\n* @type {boolean|undefined}\n*/ /**\n* Use old coordinates (for resizing and rescaling).\n* If not set, defaults to `false`.\n* @name Highcharts.AxisPlotLinePathOptionsObject#old\n* @type {boolean|undefined}\n*/ /**\n* If given, return the plot line path of a pixel position on the axis.\n* @name Highcharts.AxisPlotLinePathOptionsObject#translatedValue\n* @type {number|undefined}\n*/ /**\n* Used in Polar axes. Reverse the positions for concatenation of polygonal\n* plot bands\n* @name Highcharts.AxisPlotLinePathOptionsObject#reverse\n* @type {boolean|undefined}\n*/\n/**\n * Options for crosshairs on axes.\n *\n * @product highstock\n *\n * @typedef {Highcharts.XAxisCrosshairOptions|Highcharts.YAxisCrosshairOptions} Highcharts.AxisCrosshairOptions\n */\n/**\n * @typedef {\"navigator\"|\"pan\"|\"rangeSelectorButton\"|\"rangeSelectorInput\"|\"scrollbar\"|\"traverseUpButton\"|\"zoom\"} Highcharts.AxisExtremesTriggerValue\n */\n/**\n * @callback Highcharts.AxisEventCallbackFunction\n *\n * @param {Highcharts.Axis} this\n */\n/**\n * @callback Highcharts.AxisLabelsFormatterCallbackFunction\n *\n * @param {Highcharts.AxisLabelsFormatterContextObject} this\n *\n * @param {Highcharts.AxisLabelsFormatterContextObject} ctx\n *\n * @return {string}\n */\n/**\n * @interface Highcharts.AxisLabelsFormatterContextObject\n */ /**\n* The axis item of the label\n* @name Highcharts.AxisLabelsFormatterContextObject#axis\n* @type {Highcharts.Axis}\n*/ /**\n* The chart instance.\n* @name Highcharts.AxisLabelsFormatterContextObject#chart\n* @type {Highcharts.Chart}\n*/ /**\n* Default formatting of date/time labels.\n* @name Highcharts.AxisLabelsFormatterContextObject#dateTimeLabelFormat\n* @type {string|undefined}\n*/ /**\n* Whether the label belongs to the first tick on the axis.\n* @name Highcharts.AxisLabelsFormatterContextObject#isFirst\n* @type {boolean}\n*/ /**\n* Whether the label belongs to the last tick on the axis.\n* @name Highcharts.AxisLabelsFormatterContextObject#isLast\n* @type {boolean}\n*/ /**\n* The position on the axis in terms of axis values. For category axes, a\n* zero-based index. For datetime axes, the JavaScript time in milliseconds\n* since 1970.\n* @name Highcharts.AxisLabelsFormatterContextObject#pos\n* @type {number}\n*/ /**\n* The preformatted text as the result of the default formatting. For example\n* dates will be formatted as strings, and numbers with language-specific comma\n* separators, thousands separators and numeric symbols like `k` or `M`.\n* @name Highcharts.AxisLabelsFormatterContextObject#text\n* @type {string|undefined}\n*/ /**\n* The Tick instance.\n* @name Highcharts.AxisLabelsFormatterContextObject#tick\n* @type {Highcharts.Tick}\n*/ /**\n* This can be either a numeric value or a category string.\n* @name Highcharts.AxisLabelsFormatterContextObject#value\n* @type {number|string}\n*/\n/**\n * Options for axes.\n *\n * @typedef {Highcharts.XAxisOptions|Highcharts.YAxisOptions|Highcharts.ZAxisOptions} Highcharts.AxisOptions\n */\n/**\n * @callback Highcharts.AxisPointBreakEventCallbackFunction\n *\n * @param {Highcharts.Axis} this\n *\n * @param {Highcharts.AxisPointBreakEventObject} evt\n */\n/**\n * @interface Highcharts.AxisPointBreakEventObject\n */ /**\n* @name Highcharts.AxisPointBreakEventObject#brk\n* @type {Highcharts.Dictionary<number>}\n*/ /**\n* @name Highcharts.AxisPointBreakEventObject#point\n* @type {Highcharts.Point}\n*/ /**\n* @name Highcharts.AxisPointBreakEventObject#preventDefault\n* @type {Function}\n*/ /**\n* @name Highcharts.AxisPointBreakEventObject#target\n* @type {Highcharts.SVGElement}\n*/ /**\n* @name Highcharts.AxisPointBreakEventObject#type\n* @type {\"pointBreak\"|\"pointInBreak\"}\n*/\n/**\n * @callback Highcharts.AxisSetExtremesEventCallbackFunction\n *\n * @param {Highcharts.Axis} this\n *\n * @param {Highcharts.AxisSetExtremesEventObject} evt\n */\n/**\n * @interface Highcharts.AxisSetExtremesEventObject\n * @extends Highcharts.ExtremesObject\n */ /**\n* @name Highcharts.AxisSetExtremesEventObject#preventDefault\n* @type {Function}\n*/ /**\n* @name Highcharts.AxisSetExtremesEventObject#target\n* @type {Highcharts.SVGElement}\n*/ /**\n* @name Highcharts.AxisSetExtremesEventObject#trigger\n* @type {Highcharts.AxisExtremesTriggerValue|string}\n*/ /**\n* @name Highcharts.AxisSetExtremesEventObject#type\n* @type {\"setExtremes\"}\n*/\n/**\n * @callback Highcharts.AxisTickPositionerCallbackFunction\n *\n * @param {Highcharts.Axis} this\n *\n * @return {Highcharts.AxisTickPositionsArray}\n */\n/**\n * @interface Highcharts.AxisTickPositionsArray\n * @augments Array<number>\n */\n/**\n * @typedef {\"high\"|\"low\"|\"middle\"} Highcharts.AxisTitleAlignValue\n */\n/**\n * @typedef {Highcharts.XAxisTitleOptions|Highcharts.YAxisTitleOptions|Highcharts.ZAxisTitleOptions} Highcharts.AxisTitleOptions\n */\n/**\n * @typedef {\"linear\"|\"logarithmic\"|\"datetime\"|\"category\"|\"treegrid\"} Highcharts.AxisTypeValue\n */\n/**\n * The returned object literal from the {@link Highcharts.Axis#getExtremes}\n * function.\n *\n * @interface Highcharts.ExtremesObject\n */ /**\n* The maximum value of the axis' associated series.\n* @name Highcharts.ExtremesObject#dataMax\n* @type {number}\n*/ /**\n* The minimum value of the axis' associated series.\n* @name Highcharts.ExtremesObject#dataMin\n* @type {number}\n*/ /**\n* The maximum axis value, either automatic or set manually. If the `max` option\n* is not set, `maxPadding` is 0 and `endOnTick` is false, this value will be\n* the same as `dataMax`.\n* @name Highcharts.ExtremesObject#max\n* @type {number}\n*/ /**\n* The minimum axis value, either automatic or set manually. If the `min` option\n* is not set, `minPadding` is 0 and `startOnTick` is false, this value will be\n* the same as `dataMin`.\n* @name Highcharts.ExtremesObject#min\n* @type {number}\n*/ /**\n* The user defined maximum, either from the `max` option or from a zoom or\n* `setExtremes` action.\n* @name Highcharts.ExtremesObject#userMax\n* @type {number|undefined}\n*/ /**\n* The user defined minimum, either from the `min` option or from a zoom or\n* `setExtremes` action.\n* @name Highcharts.ExtremesObject#userMin\n* @type {number|undefined}\n*/\n/**\n * Formatter function for the text of a crosshair label.\n *\n * @callback Highcharts.XAxisCrosshairLabelFormatterCallbackFunction\n *\n * @param {Highcharts.Axis} this\n * Axis context\n *\n * @param {number} value\n * Y value of the data point\n *\n * @return {string}\n */\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Axis/DateTimeAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { addEvent: DateTimeAxis_addEvent, getMagnitude: DateTimeAxis_getMagnitude, normalizeTickInterval: DateTimeAxis_normalizeTickInterval, timeUnits: DateTimeAxis_timeUnits } = Core_Utilities;\n/* *\n *\n *  Composition\n *\n * */\n/* eslint-disable valid-jsdoc */\nvar DateTimeAxis;\n(function (DateTimeAxis) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Extends axis class with date and time support.\n     * @private\n     */\n    function compose(AxisClass) {\n        if (!AxisClass.keepProps.includes('dateTime')) {\n            AxisClass.keepProps.push('dateTime');\n            const axisProto = AxisClass.prototype;\n            axisProto.getTimeTicks = getTimeTicks;\n            DateTimeAxis_addEvent(AxisClass, 'afterSetType', onAfterSetType);\n        }\n        return AxisClass;\n    }\n    DateTimeAxis.compose = compose;\n    /**\n     * Set the tick positions to a time unit that makes sense, for example\n     * on the first of each month or on every Monday. Return an array with\n     * the time positions. Used in datetime axes as well as for grouping\n     * data on a datetime axis.\n     *\n     * @private\n     * @function Highcharts.Axis#getTimeTicks\n     * @param {Highcharts.TimeNormalizeObject} normalizedInterval\n     * The interval in axis values (ms) and the count.\n     * @param {number} min\n     * The minimum in axis values.\n     * @param {number} max\n     * The maximum in axis values.\n     */\n    function getTimeTicks() {\n        return this.chart.time.getTimeTicks.apply(this.chart.time, arguments);\n    }\n    /**\n     * @private\n     */\n    function onAfterSetType() {\n        if (this.type !== 'datetime') {\n            this.dateTime = void 0;\n            return;\n        }\n        if (!this.dateTime) {\n            this.dateTime = new Additions(this);\n        }\n    }\n    /* *\n     *\n     *  Classes\n     *\n     * */\n    class Additions {\n        /* *\n         *\n         *  Constructors\n         *\n         * */\n        constructor(axis) {\n            this.axis = axis;\n        }\n        /* *\n         *\n         *  Functions\n         *\n         * */\n        /**\n         * Get a normalized tick interval for dates. Returns a configuration\n         * object with unit range (interval), count and name. Used to prepare\n         * data for `getTimeTicks`. Previously this logic was part of\n         * getTimeTicks, but as `getTimeTicks` now runs of segments in stock\n         * charts, the normalizing logic was extracted in order to prevent it\n         * for running over again for each segment having the same interval.\n         * #662, #697.\n         * @private\n         */\n        normalizeTimeTickInterval(tickInterval, unitsOption) {\n            const units = (unitsOption || [[\n                    // Unit name\n                    'millisecond',\n                    // Allowed multiples\n                    [1, 2, 5, 10, 20, 25, 50, 100, 200, 500]\n                ], [\n                    'second',\n                    [1, 2, 5, 10, 15, 30]\n                ], [\n                    'minute',\n                    [1, 2, 5, 10, 15, 30]\n                ], [\n                    'hour',\n                    [1, 2, 3, 4, 6, 8, 12]\n                ], [\n                    'day',\n                    [1, 2]\n                ], [\n                    'week',\n                    [1, 2]\n                ], [\n                    'month',\n                    [1, 2, 3, 4, 6]\n                ], [\n                    'year',\n                    null\n                ]]);\n            let unit = units[units.length - 1], // Default unit is years\n            interval = DateTimeAxis_timeUnits[unit[0]], multiples = unit[1], i;\n            // Loop through the units to find the one that best fits the\n            // tickInterval\n            for (i = 0; i < units.length; i++) {\n                unit = units[i];\n                interval = DateTimeAxis_timeUnits[unit[0]];\n                multiples = unit[1];\n                if (units[i + 1]) {\n                    // `lessThan` is in the middle between the highest multiple\n                    // and the next unit.\n                    const lessThan = (interval *\n                        multiples[multiples.length - 1] +\n                        DateTimeAxis_timeUnits[units[i + 1][0]]) / 2;\n                    // Break and keep the current unit\n                    if (tickInterval <= lessThan) {\n                        break;\n                    }\n                }\n            }\n            // Prevent 2.5 years intervals, though 25, 250 etc. are allowed\n            if (interval === DateTimeAxis_timeUnits.year && tickInterval < 5 * interval) {\n                multiples = [1, 2, 5];\n            }\n            // Get the count\n            const count = DateTimeAxis_normalizeTickInterval(tickInterval / interval, multiples, unit[0] === 'year' ? // #1913, #2360\n                Math.max(DateTimeAxis_getMagnitude(tickInterval / interval), 1) :\n                1);\n            return {\n                unitRange: interval,\n                count: count,\n                unitName: unit[0]\n            };\n        }\n        /**\n         * Get the best date format for a specific X value based on the closest\n         * point range on the axis.\n         *\n         * @private\n         */\n        getXDateFormat(x, dateTimeLabelFormats) {\n            const { axis } = this, time = axis.chart.time;\n            return axis.closestPointRange ?\n                time.getDateFormat(axis.closestPointRange, x, axis.options.startOfWeek, dateTimeLabelFormats) ||\n                    // #2546, 2581\n                    time.resolveDTLFormat(dateTimeLabelFormats.year).main :\n                time.resolveDTLFormat(dateTimeLabelFormats.day).main;\n        }\n    }\n    DateTimeAxis.Additions = Additions;\n})(DateTimeAxis || (DateTimeAxis = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Axis_DateTimeAxis = (DateTimeAxis);\n\n;// ./code/es-modules/Core/Axis/LogarithmicAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { addEvent: LogarithmicAxis_addEvent, normalizeTickInterval: LogarithmicAxis_normalizeTickInterval, pick: LogarithmicAxis_pick } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n */\nvar LogarithmicAxis;\n(function (LogarithmicAxis) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Provides logarithmic support for axes.\n     * @private\n     */\n    function compose(AxisClass) {\n        if (!AxisClass.keepProps.includes('logarithmic')) {\n            AxisClass.keepProps.push('logarithmic');\n            LogarithmicAxis_addEvent(AxisClass, 'afterSetType', onAfterSetType);\n            LogarithmicAxis_addEvent(AxisClass, 'afterInit', onAfterInit);\n        }\n        return AxisClass;\n    }\n    LogarithmicAxis.compose = compose;\n    /**\n     * @private\n     */\n    function onAfterSetType() {\n        if (this.type !== 'logarithmic') {\n            this.logarithmic = void 0;\n        }\n        else {\n            this.logarithmic ?? (this.logarithmic = new Additions(this));\n        }\n    }\n    /**\n     * @private\n     */\n    function onAfterInit() {\n        const axis = this;\n        const log = axis.logarithmic;\n        // Extend logarithmic axis\n        if (log) {\n            axis.lin2val = function (num) {\n                return log.lin2log(num);\n            };\n            axis.val2lin = function (num) {\n                return log.log2lin(num);\n            };\n        }\n    }\n    /* *\n     *\n     *  Class\n     *\n     * */\n    /**\n     * Provides logarithmic support for axes.\n     * @private\n     * @class\n     */\n    class Additions {\n        /* *\n        *\n        *  Constructors\n        *\n        * */\n        constructor(axis) {\n            this.axis = axis;\n        }\n        /* *\n        *\n        *  Functions\n        *\n        * */\n        /**\n         * Set the tick positions of a logarithmic axis.\n         */\n        getLogTickPositions(interval, min, max, minor) {\n            const log = this;\n            const axis = log.axis;\n            const axisLength = axis.len;\n            const options = axis.options;\n            // Since we use this method for both major and minor ticks,\n            // use a local variable and return the result\n            let positions = [];\n            // Reset\n            if (!minor) {\n                log.minorAutoInterval = void 0;\n            }\n            // First case: All ticks fall on whole logarithms: 1, 10, 100 etc.\n            if (interval >= 0.5) {\n                interval = Math.round(interval);\n                positions = axis.getLinearTickPositions(interval, min, max);\n                // Second case: We need intermediary ticks. For example\n                // 1, 2, 4, 6, 8, 10, 20, 40 etc.\n            }\n            else if (interval >= 0.08) {\n                const roundedMin = Math.floor(min);\n                let intermediate, i, j, len, pos, lastPos, break2;\n                if (interval > 0.3) {\n                    intermediate = [1, 2, 4];\n                    // 0.2 equals five minor ticks per 1, 10, 100 etc\n                }\n                else if (interval > 0.15) {\n                    intermediate = [1, 2, 4, 6, 8];\n                }\n                else { // 0.1 equals ten minor ticks per 1, 10, 100 etc\n                    intermediate = [1, 2, 3, 4, 5, 6, 7, 8, 9];\n                }\n                for (i = roundedMin; i < max + 1 && !break2; i++) {\n                    len = intermediate.length;\n                    for (j = 0; j < len && !break2; j++) {\n                        pos = log.log2lin(log.lin2log(i) * intermediate[j]);\n                        // #1670, lastPos is #3113\n                        if (pos > min &&\n                            (!minor || lastPos <= max) &&\n                            typeof lastPos !== 'undefined') {\n                            positions.push(lastPos);\n                        }\n                        if (lastPos > max) {\n                            break2 = true;\n                        }\n                        lastPos = pos;\n                    }\n                }\n                // Third case: We are so deep in between whole logarithmic values,\n                // that we might as well handle the tick positions like a linear\n                // axis. For example 1.01, 1.02, 1.03, 1.04.\n            }\n            else {\n                const realMin = log.lin2log(min), realMax = log.lin2log(max), tickIntervalOption = minor ?\n                    axis.getMinorTickInterval() :\n                    options.tickInterval, filteredTickIntervalOption = tickIntervalOption === 'auto' ?\n                    null :\n                    tickIntervalOption, tickPixelIntervalOption = options.tickPixelInterval / (minor ? 5 : 1), totalPixelLength = minor ?\n                    axisLength / axis.tickPositions.length :\n                    axisLength;\n                interval = LogarithmicAxis_pick(filteredTickIntervalOption, log.minorAutoInterval, (realMax - realMin) *\n                    tickPixelIntervalOption / (totalPixelLength || 1));\n                interval = LogarithmicAxis_normalizeTickInterval(interval);\n                positions = axis.getLinearTickPositions(interval, realMin, realMax).map(log.log2lin);\n                if (!minor) {\n                    log.minorAutoInterval = interval / 5;\n                }\n            }\n            // Set the axis-level tickInterval variable\n            if (!minor) {\n                axis.tickInterval = interval;\n            }\n            return positions;\n        }\n        lin2log(num) {\n            return Math.pow(10, num);\n        }\n        log2lin(num) {\n            return Math.log(num) / Math.LN10;\n        }\n    }\n    LogarithmicAxis.Additions = Additions;\n})(LogarithmicAxis || (LogarithmicAxis = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Axis_LogarithmicAxis = (LogarithmicAxis);\n\n;// ./code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { erase: PlotLineOrBandAxis_erase, extend: PlotLineOrBandAxis_extend, isNumber: PlotLineOrBandAxis_isNumber } = Core_Utilities;\n/* *\n *\n *  Composition\n *\n * */\nvar PlotLineOrBandAxis;\n(function (PlotLineOrBandAxis) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let PlotLineOrBandClass;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Add a plot band after render time.\n     *\n     * @sample highcharts/members/axis-addplotband/\n     *         Toggle the plot band from a button\n     *\n     * @function Highcharts.Axis#addPlotBand\n     *\n     * @param {Highcharts.AxisPlotBandsOptions} options\n     * A configuration object for the plot band, as defined in\n     * [xAxis.plotBands](https://api.highcharts.com/highcharts/xAxis.plotBands).\n     *\n     * @return {Highcharts.PlotLineOrBand|undefined}\n     * The added plot band, or `undefined` if the options are not valid.\n     */\n    function addPlotBand(options) {\n        return this.addPlotBandOrLine(options, 'plotBands');\n    }\n    /**\n     * Add a plot band or plot line after render time. Called from\n     * addPlotBand and addPlotLine internally.\n     *\n     * @private\n     * @function Highcharts.Axis#addPlotBandOrLine\n     * @param {Highcharts.AxisPlotBandsOptions|Highcharts.AxisPlotLinesOptions} options\n     * The plotBand or plotLine configuration object.\n     */\n    function addPlotBandOrLine(options, coll) {\n        const userOptions = this.userOptions;\n        let obj = new PlotLineOrBandClass(this, options);\n        if (this.visible) {\n            obj = obj.render();\n        }\n        if (obj) { // #2189\n            if (!this._addedPlotLB) {\n                this._addedPlotLB = true;\n                (userOptions.plotLines || [])\n                    .concat(userOptions.plotBands || [])\n                    .forEach((plotLineOptions) => {\n                    this.addPlotBandOrLine(plotLineOptions);\n                });\n            }\n            // Add it to the user options for exporting and Axis.update\n            if (coll) {\n                // Workaround Microsoft/TypeScript issue #32693\n                const updatedOptions = (userOptions[coll] || []);\n                updatedOptions.push(options);\n                userOptions[coll] = updatedOptions;\n            }\n            this.plotLinesAndBands.push(obj);\n        }\n        return obj;\n    }\n    /**\n     * Add a plot line after render time.\n     *\n     * @sample highcharts/members/axis-addplotline/\n     *         Toggle the plot line from a button\n     *\n     * @function Highcharts.Axis#addPlotLine\n     *\n     * @param {Highcharts.AxisPlotLinesOptions} options\n     * A configuration object for the plot line, as defined in\n     * [xAxis.plotLines](https://api.highcharts.com/highcharts/xAxis.plotLines).\n     *\n     * @return {Highcharts.PlotLineOrBand|undefined}\n     * The added plot line, or `undefined` if the options are not valid.\n     */\n    function addPlotLine(options) {\n        return this.addPlotBandOrLine(options, 'plotLines');\n    }\n    /**\n     * @private\n     */\n    function compose(PlotLineOrBandType, AxisClass) {\n        const axisProto = AxisClass.prototype;\n        if (!axisProto.addPlotBand) {\n            PlotLineOrBandClass = PlotLineOrBandType;\n            PlotLineOrBandAxis_extend(axisProto, {\n                addPlotBand,\n                addPlotLine,\n                addPlotBandOrLine,\n                getPlotBandPath,\n                removePlotBand,\n                removePlotLine,\n                removePlotBandOrLine\n            });\n        }\n        return AxisClass;\n    }\n    PlotLineOrBandAxis.compose = compose;\n    /**\n     * Internal function to create the SVG path definition for a plot band.\n     *\n     * @function Highcharts.Axis#getPlotBandPath\n     *\n     * @param {number} from\n     * The axis value to start from.\n     *\n     * @param {number} to\n     * The axis value to end on.\n     *\n     * @param {Highcharts.AxisPlotBandsOptions|Highcharts.AxisPlotLinesOptions} options\n     * The plotBand or plotLine configuration object.\n     *\n     * @return {Highcharts.SVGPathArray}\n     * The SVG path definition in array form.\n     */\n    function getPlotBandPath(from, to, options) {\n        options = options || this.options;\n        const toPath = this.getPlotLinePath({\n            value: to,\n            force: true,\n            acrossPanes: options.acrossPanes\n        }), result = [], horiz = this.horiz, outside = !PlotLineOrBandAxis_isNumber(this.min) ||\n            !PlotLineOrBandAxis_isNumber(this.max) ||\n            (from < this.min && to < this.min) ||\n            (from > this.max && to > this.max), path = this.getPlotLinePath({\n            value: from,\n            force: true,\n            acrossPanes: options.acrossPanes\n        });\n        let i, \n        // #4964 check if chart is inverted or plotband is on yAxis\n        plus = 1, isFlat;\n        if (path && toPath) {\n            // Flat paths don't need labels (#3836)\n            if (outside) {\n                isFlat = path.toString() === toPath.toString();\n                plus = 0;\n            }\n            // Go over each subpath - for panes in Highcharts Stock\n            for (i = 0; i < path.length; i += 2) {\n                const pathStart = path[i], pathEnd = path[i + 1], toPathStart = toPath[i], toPathEnd = toPath[i + 1];\n                // Type checking all affected path segments. Consider\n                // something smarter.\n                if ((pathStart[0] === 'M' || pathStart[0] === 'L') &&\n                    (pathEnd[0] === 'M' || pathEnd[0] === 'L') &&\n                    (toPathStart[0] === 'M' || toPathStart[0] === 'L') &&\n                    (toPathEnd[0] === 'M' || toPathEnd[0] === 'L')) {\n                    // Add 1 pixel when coordinates are the same\n                    if (horiz && toPathStart[1] === pathStart[1]) {\n                        toPathStart[1] += plus;\n                        toPathEnd[1] += plus;\n                    }\n                    else if (!horiz && toPathStart[2] === pathStart[2]) {\n                        toPathStart[2] += plus;\n                        toPathEnd[2] += plus;\n                    }\n                    result.push(['M', pathStart[1], pathStart[2]], ['L', pathEnd[1], pathEnd[2]], ['L', toPathEnd[1], toPathEnd[2]], ['L', toPathStart[1], toPathStart[2]], ['Z']);\n                }\n                result.isFlat = isFlat;\n            }\n        }\n        return result;\n    }\n    /**\n     * Remove a plot band by its id.\n     *\n     * @sample highcharts/members/axis-removeplotband/\n     *         Remove plot band by id\n     * @sample highcharts/members/axis-addplotband/\n     *         Toggle the plot band from a button\n     *\n     * @function Highcharts.Axis#removePlotBand\n     *\n     * @param {string} id\n     *        The plot band's `id` as given in the original configuration\n     *        object or in the `addPlotBand` option.\n     */\n    function removePlotBand(id) {\n        this.removePlotBandOrLine(id);\n    }\n    /**\n     * Remove a plot band or plot line from the chart by id. Called\n     * internally from `removePlotBand` and `removePlotLine`.\n     * @private\n     * @function Highcharts.Axis#removePlotBandOrLine\n     */\n    function removePlotBandOrLine(id) {\n        const plotLinesAndBands = this.plotLinesAndBands, options = this.options, userOptions = this.userOptions;\n        if (plotLinesAndBands) { // #15639\n            let i = plotLinesAndBands.length;\n            while (i--) {\n                if (plotLinesAndBands[i].id === id) {\n                    plotLinesAndBands[i].destroy();\n                }\n            }\n            ([\n                options.plotLines || [],\n                userOptions.plotLines || [],\n                options.plotBands || [],\n                userOptions.plotBands || []\n            ]).forEach(function (arr) {\n                i = arr.length;\n                while (i--) {\n                    if ((arr[i] || {}).id === id) {\n                        PlotLineOrBandAxis_erase(arr, arr[i]);\n                    }\n                }\n            });\n        }\n    }\n    /**\n     * Remove a plot line by its id.\n     *\n     * @sample highcharts/xaxis/plotlines-id/\n     *         Remove plot line by id\n     * @sample highcharts/members/axis-addplotline/\n     *         Toggle the plot line from a button\n     *\n     * @function Highcharts.Axis#removePlotLine\n     *\n     * @param {string} id\n     *        The plot line's `id` as given in the original configuration\n     *        object or in the `addPlotLine` option.\n     */\n    function removePlotLine(id) {\n        this.removePlotBandOrLine(id);\n    }\n})(PlotLineOrBandAxis || (PlotLineOrBandAxis = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const PlotLineOrBand_PlotLineOrBandAxis = (PlotLineOrBandAxis);\n\n;// ./code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { addEvent: PlotLineOrBand_addEvent, arrayMax: PlotLineOrBand_arrayMax, arrayMin: PlotLineOrBand_arrayMin, defined: PlotLineOrBand_defined, destroyObjectProperties: PlotLineOrBand_destroyObjectProperties, erase: PlotLineOrBand_erase, fireEvent: PlotLineOrBand_fireEvent, merge: PlotLineOrBand_merge, objectEach: PlotLineOrBand_objectEach, pick: PlotLineOrBand_pick } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * The object wrapper for plot lines and plot bands\n *\n * @class\n * @name Highcharts.PlotLineOrBand\n *\n * @param {Highcharts.Axis} axis\n * Related axis.\n *\n * @param {Highcharts.AxisPlotLinesOptions|Highcharts.AxisPlotBandsOptions} [options]\n * Options to use.\n */\nclass PlotLineOrBand {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(ChartClass, AxisClass) {\n        PlotLineOrBand_addEvent(ChartClass, 'afterInit', function () {\n            this.labelCollectors.push(() => {\n                const labels = [];\n                for (const axis of this.axes) {\n                    for (const { label, options } of axis.plotLinesAndBands) {\n                        if (label && !options?.label?.allowOverlap) {\n                            labels.push(label);\n                        }\n                    }\n                }\n                return labels;\n            });\n        });\n        return PlotLineOrBand_PlotLineOrBandAxis.compose(PlotLineOrBand, AxisClass);\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(axis, options) {\n        /**\n         * Related axis.\n         *\n         * @name Highcharts.PlotLineOrBand#axis\n         * @type {Highcharts.Axis}\n         */\n        this.axis = axis;\n        /**\n         * Options of the plot line or band.\n         *\n         * @name Highcharts.PlotLineOrBand#options\n         * @type {AxisPlotBandsOptions|AxisPlotLinesOptions}\n         */\n        this.options = options;\n        this.id = options.id;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable no-invalid-this, valid-jsdoc */\n    /**\n     * Render the plot line or plot band. If it is already existing,\n     * move it.\n     * @private\n     * @function Highcharts.PlotLineOrBand#render\n     */\n    render() {\n        PlotLineOrBand_fireEvent(this, 'render');\n        const { axis, options } = this, { horiz, logarithmic } = axis, { color, events, zIndex = 0 } = options, { renderer, time } = axis.chart, groupAttribs = {}, \n        // These properties only exist on either band or line\n        to = time.parse(options.to), from = time.parse(options.from), value = time.parse(options.value), borderWidth = options.borderWidth;\n        let optionsLabel = options.label, { label, svgElem } = this, path = [], group;\n        const isBand = PlotLineOrBand_defined(from) && PlotLineOrBand_defined(to), isLine = PlotLineOrBand_defined(value), isNew = !svgElem, attribs = {\n            'class': 'highcharts-plot-' + (isBand ? 'band ' : 'line ') +\n                (options.className || '')\n        };\n        let groupName = isBand ? 'bands' : 'lines';\n        // Set the presentational attributes\n        if (!axis.chart.styledMode) {\n            if (isLine) {\n                attribs.stroke = color || \"#999999\" /* Palette.neutralColor40 */;\n                attribs['stroke-width'] = PlotLineOrBand_pick(options.width, 1);\n                if (options.dashStyle) {\n                    attribs.dashstyle = options.dashStyle;\n                }\n            }\n            else if (isBand) { // Plot band\n                attribs.fill = color || \"#e6e9ff\" /* Palette.highlightColor10 */;\n                if (borderWidth) {\n                    attribs.stroke = options.borderColor;\n                    attribs['stroke-width'] = borderWidth;\n                }\n            }\n        }\n        // Grouping and zIndex\n        groupAttribs.zIndex = zIndex;\n        groupName += '-' + zIndex;\n        group = axis.plotLinesAndBandsGroups[groupName];\n        if (!group) {\n            axis.plotLinesAndBandsGroups[groupName] = group =\n                renderer.g('plot-' + groupName)\n                    .attr(groupAttribs).add();\n        }\n        // Create the path\n        if (!svgElem) {\n            /**\n             * SVG element of the plot line or band.\n             *\n             * @name Highcharts.PlotLineOrBand#svgElem\n             * @type {Highcharts.SVGElement}\n             */\n            this.svgElem = svgElem = renderer\n                .path()\n                .attr(attribs)\n                .add(group);\n        }\n        // Set the path or return\n        if (PlotLineOrBand_defined(value)) { // Plot line\n            path = axis.getPlotLinePath({\n                value: logarithmic?.log2lin(value) ?? value,\n                lineWidth: svgElem.strokeWidth(),\n                acrossPanes: options.acrossPanes\n            });\n        }\n        else if (PlotLineOrBand_defined(from) && PlotLineOrBand_defined(to)) { // Plot band\n            path = axis.getPlotBandPath(logarithmic?.log2lin(from) ?? from, logarithmic?.log2lin(to) ?? to, options);\n        }\n        else {\n            return;\n        }\n        // Common for lines and bands. Add events only if they were not added\n        // before.\n        if (!this.eventsAdded && events) {\n            PlotLineOrBand_objectEach(events, (event, eventType) => {\n                svgElem?.on(eventType, (e) => {\n                    events[eventType].apply(this, [e]);\n                });\n            });\n            this.eventsAdded = true;\n        }\n        if ((isNew || !svgElem.d) && path?.length) {\n            svgElem.attr({ d: path });\n        }\n        else if (svgElem) {\n            if (path) {\n                svgElem.show();\n                svgElem.animate({ d: path });\n            }\n            else if (svgElem.d) {\n                svgElem.hide();\n                if (label) {\n                    this.label = label = label.destroy();\n                }\n            }\n        }\n        // The plot band/line label\n        if (optionsLabel &&\n            (PlotLineOrBand_defined(optionsLabel.text) || PlotLineOrBand_defined(optionsLabel.formatter)) &&\n            path?.length &&\n            axis.width > 0 &&\n            axis.height > 0 &&\n            !path.isFlat) {\n            // Apply defaults\n            optionsLabel = PlotLineOrBand_merge({\n                align: horiz && isBand ? 'center' : void 0,\n                x: horiz ? !isBand && 4 : 10,\n                verticalAlign: !horiz && isBand ? 'middle' : void 0,\n                y: horiz ? isBand ? 16 : 10 : isBand ? 6 : -4,\n                rotation: horiz && !isBand ? 90 : 0,\n                ...(isBand ? { inside: true } : {})\n            }, optionsLabel);\n            this.renderLabel(optionsLabel, path, isBand, zIndex);\n            // Move out of sight\n        }\n        else if (label) {\n            label.hide();\n        }\n        // Chainable\n        return this;\n    }\n    /**\n     * Render and align label for plot line or band.\n     * @private\n     * @function Highcharts.PlotLineOrBand#renderLabel\n     */\n    renderLabel(optionsLabel, path, isBand, zIndex) {\n        const plotLine = this, axis = plotLine.axis, renderer = axis.chart.renderer, inside = optionsLabel.inside;\n        let label = plotLine.label;\n        // Add the SVG element\n        if (!label) {\n            /**\n             * SVG element of the label.\n             *\n             * @name Highcharts.PlotLineOrBand#label\n             * @type {Highcharts.SVGElement}\n             */\n            plotLine.label = label = renderer\n                .text(this.getLabelText(optionsLabel), 0, 0, optionsLabel.useHTML)\n                .attr({\n                align: optionsLabel.textAlign || optionsLabel.align,\n                rotation: optionsLabel.rotation,\n                'class': 'highcharts-plot-' + (isBand ? 'band' : 'line') +\n                    '-label ' + (optionsLabel.className || ''),\n                zIndex\n            });\n            if (!axis.chart.styledMode) {\n                label.css(PlotLineOrBand_merge({\n                    fontSize: '0.8em',\n                    textOverflow: (isBand && !inside) ? '' : 'ellipsis'\n                }, optionsLabel.style));\n            }\n            label.add();\n        }\n        // Get the bounding box and align the label\n        // #3000 changed to better handle choice between plotband or plotline\n        const xBounds = path.xBounds ||\n            [path[0][1], path[1][1], (isBand ? path[2][1] : path[0][1])], yBounds = path.yBounds ||\n            [path[0][2], path[1][2], (isBand ? path[2][2] : path[0][2])], x = PlotLineOrBand_arrayMin(xBounds), y = PlotLineOrBand_arrayMin(yBounds), bBoxWidth = PlotLineOrBand_arrayMax(xBounds) - x;\n        label.align(optionsLabel, false, {\n            x,\n            y,\n            width: bBoxWidth,\n            height: PlotLineOrBand_arrayMax(yBounds) - y\n        });\n        if (!label.alignValue ||\n            label.alignValue === 'left' ||\n            PlotLineOrBand_defined(inside)) {\n            label.css({\n                width: (optionsLabel.style?.width || ((!isBand ||\n                    !inside) ? (label.rotation === 90 ?\n                    axis.height - (label.alignAttr.y -\n                        axis.top) : (optionsLabel.clip ?\n                    axis.width :\n                    axis.chart.chartWidth) - (label.alignAttr.x - axis.left)) :\n                    bBoxWidth)) + 'px'\n            });\n        }\n        label.show(true);\n    }\n    /**\n     * Get label's text content.\n     * @private\n     * @function Highcharts.PlotLineOrBand#getLabelText\n     */\n    getLabelText(optionsLabel) {\n        return PlotLineOrBand_defined(optionsLabel.formatter) ?\n            optionsLabel.formatter\n                .call(this) :\n            optionsLabel.text;\n    }\n    /**\n     * Remove the plot line or band.\n     *\n     * @function Highcharts.PlotLineOrBand#destroy\n     */\n    destroy() {\n        // Remove it from the lookup\n        PlotLineOrBand_erase(this.axis.plotLinesAndBands, this);\n        delete this.axis;\n        PlotLineOrBand_destroyObjectProperties(this);\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const PlotLineOrBand_PlotLineOrBand = (PlotLineOrBand);\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Options for plot bands on axes.\n *\n * @typedef {Highcharts.XAxisPlotBandsOptions|Highcharts.YAxisPlotBandsOptions|Highcharts.ZAxisPlotBandsOptions} Highcharts.AxisPlotBandsOptions\n */\n/**\n * Options for plot band labels on axes.\n *\n * @typedef {Highcharts.XAxisPlotBandsLabelOptions|Highcharts.YAxisPlotBandsLabelOptions|Highcharts.ZAxisPlotBandsLabelOptions} Highcharts.AxisPlotBandsLabelOptions\n */\n/**\n * Options for plot lines on axes.\n *\n * @typedef {Highcharts.XAxisPlotLinesOptions|Highcharts.YAxisPlotLinesOptions|Highcharts.ZAxisPlotLinesOptions} Highcharts.AxisPlotLinesOptions\n */\n/**\n * Options for plot line labels on axes.\n *\n * @typedef {Highcharts.XAxisPlotLinesLabelOptions|Highcharts.YAxisPlotLinesLabelOptions|Highcharts.ZAxisPlotLinesLabelOptions} Highcharts.AxisPlotLinesLabelOptions\n */\n('');\n/* *\n *\n *  API Options\n *\n * */\n/**\n * An array of colored bands stretching across the plot area marking an\n * interval on the axis.\n *\n * In styled mode, the plot bands are styled by the `.highcharts-plot-band`\n * class in addition to the `className` option.\n *\n * @productdesc {highcharts}\n * In a gauge, a plot band on the Y axis (value axis) will stretch along the\n * perimeter of the gauge.\n *\n * @type      {Array<*>}\n * @product   highcharts highstock gantt\n * @apioption xAxis.plotBands\n */\n/**\n * Flag to decide if plotBand should be rendered across all panes.\n *\n * @since     7.1.2\n * @product   highstock\n * @type      {boolean}\n * @default   true\n * @apioption xAxis.plotBands.acrossPanes\n */\n/**\n * Border color for the plot band. Also requires `borderWidth` to be set.\n *\n * @type      {Highcharts.ColorString}\n * @apioption xAxis.plotBands.borderColor\n */\n/**\n * Border radius for the plot band. Applies only to gauges. Can be a pixel\n * value or a percentage, for example `50%`.\n *\n * @type      {number|string}\n * @since 11.4.2\n * @sample    {highcharts} highcharts/xaxis/plotbands-gauge-borderradius\n *            Angular gauge with rounded plot bands\n * @apioption xAxis.plotBands.borderRadius\n */\n/**\n * Border width for the plot band. Also requires `borderColor` to be set.\n *\n * @type      {number}\n * @default   0\n * @apioption xAxis.plotBands.borderWidth\n */\n/**\n * A custom class name, in addition to the default `highcharts-plot-band`,\n * to apply to each individual band.\n *\n * @type      {string}\n * @since     5.0.0\n * @apioption xAxis.plotBands.className\n */\n/**\n * The color of the plot band.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-color/\n *         Color band\n * @sample {highstock} stock/xaxis/plotbands/\n *         Plot band on Y axis\n *\n * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @default   ${palette.highlightColor10}\n * @apioption xAxis.plotBands.color\n */\n/**\n * An object defining mouse events for the plot band. Supported properties\n * are `click`, `mouseover`, `mouseout`, `mousemove`.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-events/\n *         Mouse events demonstrated\n *\n * @since     1.2\n * @apioption xAxis.plotBands.events\n */\n/**\n * Click event on a plot band.\n *\n * @type      {Highcharts.EventCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotBands.events.click\n */\n/**\n * Mouse move event on a plot band.\n *\n * @type      {Highcharts.EventCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotBands.events.mousemove\n */\n/**\n * Mouse out event on the corner of a plot band.\n *\n * @type      {Highcharts.EventCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotBands.events.mouseout\n */\n/**\n * Mouse over event on a plot band.\n *\n * @type      {Highcharts.EventCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotBands.events.mouseover\n */\n/**\n * The start position of the plot band in axis units.\n *\n * On datetime axes, the value can be given as a timestamp or a date string.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-color/\n *         Datetime axis\n * @sample {highcharts} highcharts/xaxis/plotbands-from/\n *         Categorized axis\n * @sample {highstock} stock/xaxis/plotbands/\n *         Plot band on Y axis\n *\n * @type      {number|string}\n * @apioption xAxis.plotBands.from\n */\n/**\n * An id used for identifying the plot band in Axis.removePlotBand.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-id/\n *         Remove plot band by id\n * @sample {highstock} highcharts/xaxis/plotbands-id/\n *         Remove plot band by id\n *\n * @type      {string}\n * @apioption xAxis.plotBands.id\n */\n/**\n * The end position of the plot band in axis units.\n *\n * On datetime axes, the value can be given as a timestamp or a date string.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-color/\n *         Datetime axis\n * @sample {highcharts} highcharts/xaxis/plotbands-from/\n *         Categorized axis\n * @sample {highstock} stock/xaxis/plotbands/\n *         Plot band on Y axis\n *\n * @type      {number|string}\n * @apioption xAxis.plotBands.to\n */\n/**\n * The z index of the plot band within the chart, relative to other\n * elements. Using the same z index as another element may give\n * unpredictable results, as the last rendered element will be on top.\n * Values from 0 to 20 make sense.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-color/\n *         Behind plot lines by default\n * @sample {highcharts} highcharts/xaxis/plotbands-zindex/\n *         Above plot lines\n * @sample {highcharts} highcharts/xaxis/plotbands-zindex-above-series/\n *         Above plot lines and series\n *\n * @type      {number}\n * @since     1.2\n * @apioption xAxis.plotBands.zIndex\n */\n/**\n * Text labels for the plot bands\n *\n * @product   highcharts highstock gantt\n * @apioption xAxis.plotBands.label\n */\n/**\n * Horizontal alignment of the label. Can be one of \"left\", \"center\" or\n * \"right\".\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-label-align/\n *         Aligned to the right\n * @sample {highstock} stock/xaxis/plotbands-label/\n *         Plot band with labels\n *\n * @type      {Highcharts.AlignValue}\n * @default   center\n * @since     2.1\n * @apioption xAxis.plotBands.label.align\n */\n/**\n * Whether or not the label can be hidden if it overlaps with another label.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-label-allowoverlap/\n *         A Plotband label overlapping another\n *\n * @type      {boolean}\n * @default   undefined\n * @since     11.4.8\n * @apioption xAxis.plotBands.label.allowOverlap\n */\n/**\n * Wether or not the text of the label can exceed the width of the label.\n *\n * @type      {boolean}\n * @product   highcharts highstock gantt\n * @sample {highcharts} highcharts/xaxis/plotbands-label-textwidth/\n *         Displaying text with text-wrapping/ellipsis, or the full text.\n *\n * @default   true\n * @since     11.4.6\n * @apioption xAxis.plotBands.label.inside\n */\n/**\n * Rotation of the text label in degrees .\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-label-rotation/\n *         Vertical text\n *\n * @type      {number}\n * @default   0\n * @since     2.1\n * @apioption xAxis.plotBands.label.rotation\n */\n/**\n * CSS styles for the text label.\n *\n * In styled mode, the labels are styled by the\n * `.highcharts-plot-band-label` class.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-label-style/\n *         Blue and bold label\n *\n * @type      {Highcharts.CSSObject}\n * @since     2.1\n * @apioption xAxis.plotBands.label.style\n */\n/**\n * The string text itself. A subset of HTML is supported.\n *\n * @type      {string}\n * @since     2.1\n * @apioption xAxis.plotBands.label.text\n */\n/**\n * The text alignment for the label. While `align` determines where the\n * texts anchor point is placed within the plot band, `textAlign` determines\n * how the text is aligned against its anchor point. Possible values are\n * \"left\", \"center\" and \"right\". Defaults to the same as the `align` option.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-label-rotation/\n *         Vertical text in center position but text-aligned left\n *\n * @type       {Highcharts.AlignValue}\n * @since      2.1\n * @apioption  xAxis.plotBands.label.textAlign\n */\n/**\n * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n * to render the labels.\n *\n * @type      {boolean}\n * @default   false\n * @since     3.0.3\n * @apioption xAxis.plotBands.label.useHTML\n */\n/**\n * Vertical alignment of the label relative to the plot band. Can be one of\n * \"top\", \"middle\" or \"bottom\".\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-label-verticalalign/\n *         Vertically centered label\n * @sample {highstock} stock/xaxis/plotbands-label/\n *         Plot band with labels\n *\n * @type       {Highcharts.VerticalAlignValue}\n * @default    top\n * @since      2.1\n * @apioption  xAxis.plotBands.label.verticalAlign\n */\n/**\n * Horizontal position relative the alignment. Default varies by\n * orientation.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-label-align/\n *         Aligned 10px from the right edge\n * @sample {highstock} stock/xaxis/plotbands-label/\n *         Plot band with labels\n *\n * @type      {number}\n * @since     2.1\n * @apioption xAxis.plotBands.label.x\n */\n/**\n * Vertical position of the text baseline relative to the alignment. Default\n * varies by orientation.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-label-y/\n *         Label on x axis\n * @sample {highstock} stock/xaxis/plotbands-label/\n *         Plot band with labels\n *\n * @type      {number}\n * @since     2.1\n * @apioption xAxis.plotBands.label.y\n */\n/**\n * An array of lines stretching across the plot area, marking a specific\n * value on one of the axes.\n *\n * In styled mode, the plot lines are styled by the\n * `.highcharts-plot-line` class in addition to the `className` option.\n *\n * @type      {Array<*>}\n * @product   highcharts highstock gantt\n * @sample {highcharts} highcharts/xaxis/plotlines-color/\n *         Basic plot line\n * @sample {highcharts} highcharts/series-solidgauge/labels-auto-aligned/\n *         Solid gauge plot line\n * @apioption xAxis.plotLines\n */\n/**\n * Flag to decide if plotLine should be rendered across all panes.\n *\n * @sample {highstock} stock/xaxis/plotlines-acrosspanes/\n *         Plot lines on different panes\n *\n * @since     7.1.2\n * @product   highstock\n * @type      {boolean}\n * @default   true\n * @apioption xAxis.plotLines.acrossPanes\n */\n/**\n * A custom class name, in addition to the default `highcharts-plot-line`,\n * to apply to each individual line.\n *\n * @type      {string}\n * @since     5.0.0\n * @apioption xAxis.plotLines.className\n */\n/**\n * The color of the line.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-color/\n *         A red line from X axis\n * @sample {highstock} stock/xaxis/plotlines/\n *         Plot line on Y axis\n *\n * @type      {Highcharts.ColorString}\n * @default   ${palette.neutralColor40}\n * @apioption xAxis.plotLines.color\n */\n/**\n * The dashing or dot style for the plot line. For possible values see\n * [this overview](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-dashstyle/\n *         Dash and dot pattern\n * @sample {highstock} stock/xaxis/plotlines/\n *         Plot line on Y axis\n *\n * @type      {Highcharts.DashStyleValue}\n * @default   Solid\n * @since     1.2\n * @apioption xAxis.plotLines.dashStyle\n */\n/**\n * An object defining mouse events for the plot line. Supported\n * properties are `click`, `mouseover`, `mouseout`, `mousemove`.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-events/\n *         Mouse events demonstrated\n *\n * @since     1.2\n * @apioption xAxis.plotLines.events\n */\n/**\n * Click event on a plot band.\n *\n * @type      {Highcharts.EventCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotLines.events.click\n */\n/**\n * Mouse move event on a plot band.\n *\n * @type      {Highcharts.EventCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotLines.events.mousemove\n */\n/**\n * Mouse out event on the corner of a plot band.\n *\n * @type      {Highcharts.EventCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotLines.events.mouseout\n */\n/**\n * Mouse over event on a plot band.\n *\n * @type      {Highcharts.EventCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotLines.events.mouseover\n */\n/**\n * An id used for identifying the plot line in Axis.removePlotLine.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-id/\n *         Remove plot line by id\n *\n * @type      {string}\n * @apioption xAxis.plotLines.id\n */\n/**\n * The position of the line in axis units.\n *\n * On datetime axes, the value can be given as a timestamp or a date string.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-color/\n *         Between two categories on X axis\n * @sample {highstock} stock/xaxis/plotlines/\n *         Plot line on Y axis\n *\n * @type      {number|string}\n * @apioption xAxis.plotLines.value\n */\n/**\n * The width or thickness of the plot line.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-color/\n *         2px wide line from X axis\n * @sample {highstock} stock/xaxis/plotlines/\n *         Plot line on Y axis\n *\n * @type      {number}\n * @default   2\n * @apioption xAxis.plotLines.width\n */\n/**\n * The z index of the plot line within the chart.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-zindex-behind/\n *         Behind plot lines by default\n * @sample {highcharts} highcharts/xaxis/plotlines-zindex-above/\n *         Above plot lines\n * @sample {highcharts} highcharts/xaxis/plotlines-zindex-above-all/\n *         Above plot lines and series\n *\n * @type      {number}\n * @since     1.2\n * @apioption xAxis.plotLines.zIndex\n */\n/**\n * Text labels for the plot bands\n *\n * @apioption xAxis.plotLines.label\n */\n/**\n * Horizontal alignment of the label. Can be one of \"left\", \"center\" or\n * \"right\".\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-label-align-right/\n *         Aligned to the right\n * @sample {highstock} stock/xaxis/plotlines/\n *         Plot line on Y axis\n *\n * @type       {Highcharts.AlignValue}\n * @default    left\n * @since      2.1\n * @apioption  xAxis.plotLines.label.align\n */\n/**\n * Whether to hide labels that are outside the plot area.\n *\n * @type      {boolean}\n * @default   false\n * @since 10.3.3\n * @apioption xAxis.plotLines.labels.clip\n */\n/**\n * Callback JavaScript function to format the label. Useful properties like\n * the value of plot line or the range of plot band (`from` & `to`\n * properties) can be found in `this.options` object.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-plotbands-label-formatter\n *         Label formatters for plot line and plot band.\n * @type      {Highcharts.FormatterCallbackFunction<Highcharts.PlotLineOrBand>}\n * @apioption xAxis.plotLines.label.formatter\n */\n/**\n * Rotation of the text label in degrees. Defaults to 0 for horizontal plot\n * lines and 90 for vertical lines.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-label-verticalalign-middle/\n *         Slanted text\n *\n * @type      {number}\n * @since     2.1\n * @apioption xAxis.plotLines.label.rotation\n */\n/**\n * CSS styles for the text label.\n *\n * In styled mode, the labels are styled by the\n * `.highcharts-plot-line-label` class.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-label-style/\n *         Blue and bold label\n *\n * @type      {Highcharts.CSSObject}\n * @since     2.1\n * @apioption xAxis.plotLines.label.style\n */\n/**\n * The text itself. A subset of HTML is supported.\n *\n * @type      {string}\n * @since     2.1\n * @apioption xAxis.plotLines.label.text\n */\n/**\n * The text alignment for the label. While `align` determines where the\n * texts anchor point is placed within the plot band, `textAlign` determines\n * how the text is aligned against its anchor point. Possible values are\n * \"left\", \"center\" and \"right\". Defaults to the same as the `align` option.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-label-textalign/\n *         Text label in bottom position\n *\n * @type      {Highcharts.AlignValue}\n * @since     2.1\n * @apioption xAxis.plotLines.label.textAlign\n */\n/**\n * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n * to render the labels.\n *\n * @type      {boolean}\n * @default   false\n * @since     3.0.3\n * @apioption xAxis.plotLines.label.useHTML\n */\n/**\n * Vertical alignment of the label relative to the plot line. Can be\n * one of \"top\", \"middle\" or \"bottom\".\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-label-verticalalign-middle/\n *         Vertically centered label\n *\n * @type       {Highcharts.VerticalAlignValue}\n * @default    {highcharts} top\n * @default    {highstock} top\n * @since      2.1\n * @apioption  xAxis.plotLines.label.verticalAlign\n */\n/**\n * Horizontal position relative the alignment. Default varies by\n * orientation.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-label-align-right/\n *         Aligned 10px from the right edge\n * @sample {highstock} stock/xaxis/plotlines/\n *         Plot line on Y axis\n *\n * @type      {number}\n * @since     2.1\n * @apioption xAxis.plotLines.label.x\n */\n/**\n * Vertical position of the text baseline relative to the alignment. Default\n * varies by orientation.\n *\n * @sample {highcharts} highcharts/xaxis/plotlines-label-y/\n *         Label below the plot line\n * @sample {highstock} stock/xaxis/plotlines/\n *         Plot line on Y axis\n *\n * @type      {number}\n * @since     2.1\n * @apioption xAxis.plotLines.label.y\n */\n/**\n * @type      {Array<*>}\n * @extends   xAxis.plotBands\n * @apioption yAxis.plotBands\n */\n/**\n * In a gauge chart, this option determines the inner radius of the\n * plot band that stretches along the perimeter. It can be given as\n * a percentage string, like `\"100%\"`, or as a pixel number, like `100`.\n * By default, the inner radius is controlled by the [thickness](\n * #yAxis.plotBands.thickness) option.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-gauge\n *         Gauge plot band\n *\n * @type      {number|string}\n * @since     2.3\n * @product   highcharts\n * @apioption yAxis.plotBands.innerRadius\n */\n/**\n * In a gauge chart, this option determines the outer radius of the\n * plot band that stretches along the perimeter. It can be given as\n * a percentage string, like `\"100%\"`, or as a pixel number, like `100`.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-gauge\n *         Gauge plot band\n *\n * @type      {number|string}\n * @default   100%\n * @since     2.3\n * @product   highcharts\n * @apioption yAxis.plotBands.outerRadius\n */\n/**\n * In a gauge chart, this option sets the width of the plot band\n * stretching along the perimeter. It can be given as a percentage\n * string, like `\"10%\"`, or as a pixel number, like `10`. The default\n * value 10 is the same as the default [tickLength](#yAxis.tickLength),\n * thus making the plot band act as a background for the tick markers.\n *\n * @sample {highcharts} highcharts/xaxis/plotbands-gauge\n *         Gauge plot band\n *\n * @type      {number|string}\n * @default   10\n * @since     2.3\n * @product   highcharts\n * @apioption yAxis.plotBands.thickness\n */\n/**\n * @type      {Array<*>}\n * @extends   xAxis.plotLines\n * @apioption yAxis.plotLines\n */\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Tooltip.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject: Tooltip_animObject } = AnimationUtilities;\n\nconst { format: Tooltip_format } = Core_Templating;\n\nconst { composed: Tooltip_composed, dateFormats, doc: Tooltip_doc, isSafari } = Core_Globals;\n\nconst { distribute } = Renderer_RendererUtilities;\n\n\nconst { addEvent: Tooltip_addEvent, clamp: Tooltip_clamp, css: Tooltip_css, discardElement: Tooltip_discardElement, extend: Tooltip_extend, fireEvent: Tooltip_fireEvent, isArray: Tooltip_isArray, isNumber: Tooltip_isNumber, isObject: Tooltip_isObject, isString: Tooltip_isString, merge: Tooltip_merge, pick: Tooltip_pick, pushUnique: Tooltip_pushUnique, splat: Tooltip_splat, syncTimeout: Tooltip_syncTimeout } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/**\n * Tooltip of a chart.\n *\n * @class\n * @name Highcharts.Tooltip\n *\n * @param {Highcharts.Chart} chart\n * The chart instance.\n *\n * @param {Highcharts.TooltipOptions} options\n * Tooltip options.\n *\n * @param {Highcharts.Pointer} pointer\n * The pointer instance.\n */\nclass Tooltip {\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(chart, options, pointer) {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this.allowShared = true;\n        this.crosshairs = [];\n        this.distance = 0;\n        this.isHidden = true;\n        this.isSticky = false;\n        this.options = {};\n        this.outside = false;\n        this.chart = chart;\n        this.init(chart, options);\n        this.pointer = pointer;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Build the body (lines) of the tooltip by iterating over the items and\n     * returning one entry for each item, abstracting this functionality allows\n     * to easily overwrite and extend it.\n     *\n     * @private\n     * @function Highcharts.Tooltip#bodyFormatter\n     */\n    bodyFormatter(points) {\n        return points.map((point) => {\n            const tooltipOptions = point.series.tooltipOptions, formatPrefix = point.formatPrefix || 'point';\n            return (tooltipOptions[formatPrefix + 'Formatter'] ||\n                point.tooltipFormatter).call(point, tooltipOptions[formatPrefix + 'Format'] || '');\n        });\n    }\n    /**\n     * Destroy the single tooltips in a split tooltip.\n     * If the tooltip is active then it is not destroyed, unless forced to.\n     *\n     * @private\n     * @function Highcharts.Tooltip#cleanSplit\n     *\n     * @param {boolean} [force]\n     * Force destroy all tooltips.\n     */\n    cleanSplit(force) {\n        this.chart.series.forEach(function (series) {\n            const tt = series && series.tt;\n            if (tt) {\n                if (!tt.isActive || force) {\n                    series.tt = tt.destroy();\n                }\n                else {\n                    tt.isActive = false;\n                }\n            }\n        });\n    }\n    /**\n     * In case no user defined formatter is given, this will be used. Note that\n     * the context here is an object holding point, series, x, y etc.\n     *\n     * @function Highcharts.Tooltip#defaultFormatter\n     *\n     * @param {Highcharts.Tooltip} tooltip\n     *\n     * @return {string|Array<string>}\n     * Returns a string (single tooltip and shared)\n     * or an array of strings (split tooltip)\n     */\n    defaultFormatter(tooltip) {\n        const hoverPoints = this.points || Tooltip_splat(this);\n        let s;\n        // Build the header\n        s = [tooltip.headerFooterFormatter(hoverPoints[0])];\n        // Build the values\n        s = s.concat(tooltip.bodyFormatter(hoverPoints));\n        // Footer\n        s.push(tooltip.headerFooterFormatter(hoverPoints[0], true));\n        return s;\n    }\n    /**\n     * Removes and destroys the tooltip and its elements.\n     *\n     * @function Highcharts.Tooltip#destroy\n     */\n    destroy() {\n        // Destroy and clear local variables\n        if (this.label) {\n            this.label = this.label.destroy();\n        }\n        if (this.split) {\n            this.cleanSplit(true);\n            if (this.tt) {\n                this.tt = this.tt.destroy();\n            }\n        }\n        if (this.renderer) {\n            this.renderer = this.renderer.destroy();\n            Tooltip_discardElement(this.container);\n        }\n        Core_Utilities.clearTimeout(this.hideTimer);\n    }\n    /**\n     * Extendable method to get the anchor position of the tooltip\n     * from a point or set of points\n     *\n     * @private\n     * @function Highcharts.Tooltip#getAnchor\n     */\n    getAnchor(points, mouseEvent) {\n        const { chart, pointer } = this, inverted = chart.inverted, plotTop = chart.plotTop, plotLeft = chart.plotLeft;\n        let ret;\n        points = Tooltip_splat(points);\n        // If reversedStacks are false the tooltip position should be taken from\n        // the last point (#17948)\n        if (points[0].series &&\n            points[0].series.yAxis &&\n            !points[0].series.yAxis.options.reversedStacks) {\n            points = points.slice().reverse();\n        }\n        // When tooltip follows mouse, relate the position to the mouse\n        if (this.followPointer && mouseEvent) {\n            if (typeof mouseEvent.chartX === 'undefined') {\n                mouseEvent = pointer.normalize(mouseEvent);\n            }\n            ret = [\n                mouseEvent.chartX - plotLeft,\n                mouseEvent.chartY - plotTop\n            ];\n            // Some series types use a specificly calculated tooltip position for\n            // each point\n        }\n        else if (points[0].tooltipPos) {\n            ret = points[0].tooltipPos;\n            // Calculate the average position and adjust for axis positions\n        }\n        else {\n            let chartX = 0, chartY = 0;\n            points.forEach(function (point) {\n                const pos = point.pos(true);\n                if (pos) {\n                    chartX += pos[0];\n                    chartY += pos[1];\n                }\n            });\n            chartX /= points.length;\n            chartY /= points.length;\n            // When shared, place the tooltip next to the mouse (#424)\n            if (this.shared && points.length > 1 && mouseEvent) {\n                if (inverted) {\n                    chartX = mouseEvent.chartX;\n                }\n                else {\n                    chartY = mouseEvent.chartY;\n                }\n            }\n            // Use the average position for multiple points\n            ret = [chartX - plotLeft, chartY - plotTop];\n        }\n        return ret.map(Math.round);\n    }\n    /**\n     * Get the CSS class names for the tooltip's label. Styles the label\n     * by `colorIndex` or user-defined CSS.\n     *\n     * @function Highcharts.Tooltip#getClassName\n     *\n     * @return {string}\n     *         The class names.\n     */\n    getClassName(point, isSplit, isHeader) {\n        const options = this.options, series = point.series, seriesOptions = series.options;\n        return [\n            options.className,\n            'highcharts-label',\n            isHeader && 'highcharts-tooltip-header',\n            isSplit ? 'highcharts-tooltip-box' : 'highcharts-tooltip',\n            !isHeader && 'highcharts-color-' + Tooltip_pick(point.colorIndex, series.colorIndex),\n            (seriesOptions && seriesOptions.className)\n        ].filter(Tooltip_isString).join(' ');\n    }\n    /**\n     * Creates the Tooltip label element if it does not exist, then returns it.\n     *\n     * @function Highcharts.Tooltip#getLabel\n     *\n     * @return {Highcharts.SVGElement}\n     * Tooltip label\n     */\n    getLabel({ anchorX, anchorY } = { anchorX: 0, anchorY: 0 }) {\n        const tooltip = this, styledMode = this.chart.styledMode, options = this.options, doSplit = this.split && this.allowShared;\n        let container = this.container, renderer = this.chart.renderer;\n        // If changing from a split tooltip to a non-split tooltip, we must\n        // destroy it in order to get the SVG right. #13868.\n        if (this.label) {\n            const wasSplit = !this.label.hasClass('highcharts-label');\n            if ((!doSplit && wasSplit) || (doSplit && !wasSplit)) {\n                this.destroy();\n            }\n        }\n        if (!this.label) {\n            if (this.outside) {\n                const chart = this.chart, chartStyle = chart.options.chart.style, Renderer = Renderer_RendererRegistry.getRendererType();\n                /**\n                 * Reference to the tooltip's container, when\n                 * [Highcharts.Tooltip#outside] is set to true, otherwise\n                 * it's undefined.\n                 *\n                 * @name Highcharts.Tooltip#container\n                 * @type {Highcharts.HTMLDOMElement|undefined}\n                 */\n                this.container = container = Core_Globals.doc.createElement('div');\n                container.className = ('highcharts-tooltip-container ' +\n                    (chart.renderTo.className.match(/(highcharts[a-zA-Z0-9-]+)\\s?/gm) || [].join(' ')));\n                // We need to set pointerEvents = 'none' as otherwise it makes\n                // the area under the tooltip non-hoverable even after the\n                // tooltip disappears, #19035.\n                Tooltip_css(container, {\n                    position: 'absolute',\n                    top: '1px',\n                    pointerEvents: 'none',\n                    zIndex: Math.max(this.options.style.zIndex || 0, (chartStyle && chartStyle.zIndex || 0) + 3)\n                });\n                /**\n                 * Reference to the tooltip's renderer, when\n                 * [Highcharts.Tooltip#outside] is set to true, otherwise\n                 * it's undefined.\n                 *\n                 * @name Highcharts.Tooltip#renderer\n                 * @type {Highcharts.SVGRenderer|undefined}\n                 */\n                this.renderer = renderer = new Renderer(container, 0, 0, chartStyle, void 0, void 0, renderer.styledMode);\n            }\n            // Create the label\n            if (doSplit) {\n                this.label = renderer.g('tooltip');\n            }\n            else {\n                this.label = renderer\n                    .label('', anchorX, anchorY, options.shape, void 0, void 0, options.useHTML, void 0, 'tooltip')\n                    .attr({\n                    padding: options.padding,\n                    r: options.borderRadius\n                });\n                if (!styledMode) {\n                    this.label\n                        .attr({\n                        fill: options.backgroundColor,\n                        'stroke-width': options.borderWidth || 0\n                    })\n                        // #2301, #2657\n                        .css(options.style)\n                        .css({\n                        pointerEvents: (options.style.pointerEvents ||\n                            (this.shouldStickOnContact() ? 'auto' : 'none'))\n                    });\n                }\n            }\n            // Split tooltip use updateTooltipContainer to position the tooltip\n            // container.\n            if (tooltip.outside) {\n                const label = this.label;\n                [label.xSetter, label.ySetter].forEach((setter, i) => {\n                    label[i ? 'ySetter' : 'xSetter'] = (value) => {\n                        setter.call(label, tooltip.distance);\n                        label[i ? 'y' : 'x'] = value;\n                        if (container) {\n                            container.style[i ? 'top' : 'left'] = `${value}px`;\n                        }\n                    };\n                });\n            }\n            this.label\n                .attr({ zIndex: 8 })\n                .shadow(options.shadow)\n                .add();\n        }\n        if (container && !container.parentElement) {\n            Core_Globals.doc.body.appendChild(container);\n        }\n        return this.label;\n    }\n    /**\n     * Get the total area available area to place the tooltip\n     *\n     * @private\n     */\n    getPlayingField() {\n        const { body, documentElement } = Tooltip_doc, { chart, distance, outside } = this;\n        return {\n            width: outside ?\n                // Subtract distance to prevent scrollbars\n                Math.max(body.scrollWidth, documentElement.scrollWidth, body.offsetWidth, documentElement.offsetWidth, documentElement.clientWidth) - (2 * distance) - 2 :\n                chart.chartWidth,\n            height: outside ?\n                Math.max(body.scrollHeight, documentElement.scrollHeight, body.offsetHeight, documentElement.offsetHeight, documentElement.clientHeight) :\n                chart.chartHeight\n        };\n    }\n    /**\n     * Place the tooltip in a chart without spilling over and not covering the\n     * point itself.\n     *\n     * @function Highcharts.Tooltip#getPosition\n     *\n     * @param {number} boxWidth\n     *        Width of the tooltip box.\n     *\n     * @param {number} boxHeight\n     *        Height of the tooltip box.\n     *\n     * @param {Highcharts.Point} point\n     *        Tooltip related point.\n     *\n     * @return {Highcharts.PositionObject}\n     *         Recommended position of the tooltip.\n     */\n    getPosition(boxWidth, boxHeight, point) {\n        const { distance, chart, outside, pointer } = this, { inverted, plotLeft, plotTop, polar } = chart, { plotX = 0, plotY = 0 } = point, ret = {}, \n        // Don't use h if chart isn't inverted (#7242) ???\n        h = (inverted && point.h) || 0, // #4117 ???\n        { height: outerHeight, width: outerWidth } = this.getPlayingField(), chartPosition = pointer.getChartPosition(), scaleX = (val) => (val * chartPosition.scaleX), scaleY = (val) => (val * chartPosition.scaleY), \n        // Build parameter arrays for firstDimension()/secondDimension()\n        buildDimensionArray = (dim) => {\n            const isX = dim === 'x';\n            return [\n                dim, // Dimension - x or y\n                isX ? outerWidth : outerHeight,\n                isX ? boxWidth : boxHeight\n            ].concat(outside ? [\n                // If we are using tooltip.outside, we need to scale the\n                // position to match scaling of the container in case there\n                // is a transform/zoom on the container. #11329\n                isX ? scaleX(boxWidth) : scaleY(boxHeight),\n                isX ? chartPosition.left - distance +\n                    scaleX(plotX + plotLeft) :\n                    chartPosition.top - distance +\n                        scaleY(plotY + plotTop),\n                0,\n                isX ? outerWidth : outerHeight\n            ] : [\n                // Not outside, no scaling is needed\n                isX ? boxWidth : boxHeight,\n                isX ? plotX + plotLeft : plotY + plotTop,\n                isX ? plotLeft : plotTop,\n                isX ? plotLeft + chart.plotWidth :\n                    plotTop + chart.plotHeight\n            ]);\n        };\n        let first = buildDimensionArray('y'), second = buildDimensionArray('x'), swapped;\n        // Handle negative points or reversed axis (#13780)\n        let flipped = !!point.negative;\n        if (!polar &&\n            chart.hoverSeries?.yAxis?.reversed) {\n            flipped = !flipped;\n        }\n        // The far side is right or bottom\n        const preferFarSide = !this.followPointer &&\n            Tooltip_pick(point.ttBelow, polar ? false : !inverted === flipped), // #4984\n        /*\n         * Handle the preferred dimension. When the preferred dimension is\n         * tooltip on top or bottom of the point, it will look for space\n         * there.\n         *\n         * @private\n         */\n        firstDimension = function (dim, outerSize, innerSize, scaledInnerSize, // #11329\n        point, min, max) {\n            const scaledDist = outside ?\n                (dim === 'y' ? scaleY(distance) : scaleX(distance)) :\n                distance, scaleDiff = (innerSize - scaledInnerSize) / 2, roomLeft = scaledInnerSize < point - distance, roomRight = point + distance + scaledInnerSize < outerSize, alignedLeft = point - scaledDist - innerSize + scaleDiff, alignedRight = point + scaledDist - scaleDiff;\n            if (preferFarSide && roomRight) {\n                ret[dim] = alignedRight;\n            }\n            else if (!preferFarSide && roomLeft) {\n                ret[dim] = alignedLeft;\n            }\n            else if (roomLeft) {\n                ret[dim] = Math.min(max - scaledInnerSize, alignedLeft - h < 0 ? alignedLeft : alignedLeft - h);\n            }\n            else if (roomRight) {\n                ret[dim] = Math.max(min, alignedRight + h + innerSize > outerSize ?\n                    alignedRight :\n                    alignedRight + h);\n            }\n            else {\n                return false;\n            }\n        }, \n        /*\n         * Handle the secondary dimension. If the preferred dimension is\n         * tooltip on top or bottom of the point, the second dimension is to\n         * align the tooltip above the point, trying to align center but\n         * allowing left or right align within the chart box.\n         *\n         * @private\n         */\n        secondDimension = function (dim, outerSize, innerSize, scaledInnerSize, // #11329\n        point) {\n            // Too close to the edge, return false and swap dimensions\n            if (point < distance || point > outerSize - distance) {\n                return false;\n            }\n            // Align left/top\n            if (point < innerSize / 2) {\n                ret[dim] = 1;\n                // Align right/bottom\n            }\n            else if (point > outerSize - scaledInnerSize / 2) {\n                ret[dim] = outerSize - scaledInnerSize - 2;\n                // Align center\n            }\n            else {\n                ret[dim] = point - innerSize / 2;\n            }\n        }, \n        /*\n         * Swap the dimensions\n         */\n        swap = function (count) {\n            [first, second] = [second, first];\n            swapped = count;\n        }, run = () => {\n            if (firstDimension.apply(0, first) !== false) {\n                if (secondDimension.apply(0, second) === false &&\n                    !swapped) {\n                    swap(true);\n                    run();\n                }\n            }\n            else if (!swapped) {\n                swap(true);\n                run();\n            }\n            else {\n                ret.x = ret.y = 0;\n            }\n        };\n        // Under these conditions, prefer the tooltip on the side of the point\n        if ((inverted && !polar) || this.len > 1) {\n            swap();\n        }\n        run();\n        return ret;\n    }\n    /**\n     * Hides the tooltip with a fade out animation.\n     *\n     * @function Highcharts.Tooltip#hide\n     *\n     * @param {number} [delay]\n     *        The fade out in milliseconds. If no value is provided the value\n     *        of the tooltip.hideDelay option is used. A value of 0 disables\n     *        the fade out animation.\n     */\n    hide(delay) {\n        const tooltip = this;\n        // Disallow duplicate timers (#1728, #1766)\n        Core_Utilities.clearTimeout(this.hideTimer);\n        delay = Tooltip_pick(delay, this.options.hideDelay);\n        if (!this.isHidden) {\n            this.hideTimer = Tooltip_syncTimeout(function () {\n                const label = tooltip.getLabel();\n                // If there is a delay, fade out with the default duration. If\n                // the hideDelay is 0, we assume no animation is wanted, so we\n                // pass 0 duration. #12994.\n                tooltip.getLabel().animate({\n                    opacity: 0\n                }, {\n                    duration: delay ? 150 : delay,\n                    complete: () => {\n                        // #3088, assuming we're only using this for tooltips\n                        label.hide();\n                        // Clear the container for outside tooltip (#18490)\n                        if (tooltip.container) {\n                            tooltip.container.remove();\n                        }\n                    }\n                });\n                tooltip.isHidden = true;\n            }, delay);\n        }\n    }\n    /**\n     * Initialize tooltip.\n     *\n     * @private\n     * @function Highcharts.Tooltip#init\n     *\n     * @param {Highcharts.Chart} chart\n     *        The chart instance.\n     *\n     * @param {Highcharts.TooltipOptions} options\n     *        Tooltip options.\n     */\n    init(chart, options) {\n        /**\n         * Chart of the tooltip.\n         *\n         * @readonly\n         * @name Highcharts.Tooltip#chart\n         * @type {Highcharts.Chart}\n         */\n        this.chart = chart;\n        /**\n         * Used tooltip options.\n         *\n         * @readonly\n         * @name Highcharts.Tooltip#options\n         * @type {Highcharts.TooltipOptions}\n         */\n        this.options = options;\n        /**\n         * List of crosshairs.\n         *\n         * @private\n         * @readonly\n         * @name Highcharts.Tooltip#crosshairs\n         * @type {Array<null>}\n         */\n        this.crosshairs = [];\n        /**\n         * Tooltips are initially hidden.\n         *\n         * @private\n         * @readonly\n         * @name Highcharts.Tooltip#isHidden\n         * @type {boolean}\n         */\n        this.isHidden = true;\n        /**\n         * True, if the tooltip is split into one label per series, with the\n         * header close to the axis.\n         *\n         * @readonly\n         * @name Highcharts.Tooltip#split\n         * @type {boolean|undefined}\n         */\n        this.split = options.split && !chart.inverted && !chart.polar;\n        /**\n         * When the tooltip is shared, the entire plot area will capture mouse\n         * movement or touch events.\n         *\n         * @readonly\n         * @name Highcharts.Tooltip#shared\n         * @type {boolean|undefined}\n         */\n        this.shared = options.shared || this.split;\n        /**\n         * Whether to allow the tooltip to render outside the chart's SVG\n         * element box. By default (false), the tooltip is rendered within the\n         * chart's SVG element, which results in the tooltip being aligned\n         * inside the chart area.\n         *\n         * @readonly\n         * @name Highcharts.Tooltip#outside\n         * @type {boolean}\n         *\n         * @todo\n         * Split tooltip does not support outside in the first iteration. Should\n         * not be too complicated to implement.\n         */\n        this.outside = Tooltip_pick(options.outside, Boolean(chart.scrollablePixelsX || chart.scrollablePixelsY));\n    }\n    shouldStickOnContact(pointerEvent) {\n        return !!(!this.followPointer &&\n            this.options.stickOnContact &&\n            (!pointerEvent || this.pointer.inClass(pointerEvent.target, 'highcharts-tooltip')));\n    }\n    /**\n     * Moves the tooltip with a soft animation to a new position.\n     *\n     * @private\n     * @function Highcharts.Tooltip#move\n     *\n     * @param {number} x\n     *\n     * @param {number} y\n     *\n     * @param {number} anchorX\n     *\n     * @param {number} anchorY\n     */\n    move(x, y, anchorX, anchorY) {\n        const tooltip = this, animation = Tooltip_animObject(!tooltip.isHidden && tooltip.options.animation), skipAnchor = tooltip.followPointer || (tooltip.len || 0) > 1, attr = { x, y };\n        if (!skipAnchor) {\n            attr.anchorX = anchorX;\n            attr.anchorY = anchorY;\n        }\n        animation.step = () => tooltip.drawTracker();\n        tooltip.getLabel().animate(attr, animation);\n    }\n    /**\n     * Refresh the tooltip's text and position.\n     *\n     * @function Highcharts.Tooltip#refresh\n     *\n     * @param {Highcharts.Point|Array<Highcharts.Point>} pointOrPoints\n     *        Either a point or an array of points.\n     *\n     * @param {Highcharts.PointerEventObject} [mouseEvent]\n     *        Mouse event, that is responsible for the refresh and should be\n     *        used for the tooltip update.\n     */\n    refresh(pointOrPoints, mouseEvent) {\n        const tooltip = this, { chart, options, pointer, shared } = this, points = Tooltip_splat(pointOrPoints), point = points[0], formatString = options.format, formatter = options.formatter || tooltip.defaultFormatter, styledMode = chart.styledMode;\n        let wasShared = tooltip.allowShared;\n        if (!options.enabled || !point.series) { // #16820\n            return;\n        }\n        Core_Utilities.clearTimeout(this.hideTimer);\n        // A switch saying if this specific tooltip configuration allows shared\n        // or split modes\n        tooltip.allowShared = !(!Tooltip_isArray(pointOrPoints) &&\n            pointOrPoints.series &&\n            pointOrPoints.series.noSharedTooltip);\n        wasShared = wasShared && !tooltip.allowShared;\n        // Get the reference point coordinates (pie charts use tooltipPos)\n        tooltip.followPointer = (!tooltip.split && point.series.tooltipOptions.followPointer);\n        const anchor = tooltip.getAnchor(pointOrPoints, mouseEvent), x = anchor[0], y = anchor[1];\n        // Shared tooltip, array is sent over\n        if (shared && tooltip.allowShared) {\n            pointer.applyInactiveState(points);\n            // Now set hover state for the chosen ones:\n            points.forEach((item) => item.setState('hover'));\n            point.points = points;\n        }\n        this.len = points.length; // #6128\n        const text = Tooltip_isString(formatString) ?\n            Tooltip_format(formatString, point, chart) :\n            formatter.call(point, tooltip);\n        // Reset the preliminary circular references\n        point.points = void 0;\n        // Register the current series\n        const currentSeries = point.series;\n        this.distance = Tooltip_pick(currentSeries.tooltipOptions.distance, 16);\n        // Update the inner HTML\n        if (text === false) {\n            this.hide();\n        }\n        else {\n            // Update text\n            if (tooltip.split && tooltip.allowShared) { // #13868\n                this.renderSplit(text, points);\n            }\n            else {\n                let checkX = x;\n                let checkY = y;\n                if (mouseEvent && pointer.isDirectTouch) {\n                    checkX = mouseEvent.chartX - chart.plotLeft;\n                    checkY = mouseEvent.chartY - chart.plotTop;\n                }\n                // #11493, #13095\n                if (chart.polar ||\n                    currentSeries.options.clip === false ||\n                    points.some((p) => // #16004\n                     pointer.isDirectTouch || // ##17929\n                        p.series.shouldShowTooltip(checkX, checkY))) {\n                    const label = tooltip.getLabel(wasShared && tooltip.tt || {});\n                    // Prevent the tooltip from flowing over the chart box\n                    // (#6659)\n                    if (!options.style.width || styledMode) {\n                        label.css({\n                            width: (this.outside ?\n                                this.getPlayingField() :\n                                chart.spacingBox).width + 'px'\n                        });\n                    }\n                    label.attr({\n                        // Add class before the label BBox calculation (#21035)\n                        'class': tooltip.getClassName(point),\n                        text: text && text.join ?\n                            text.join('') :\n                            text\n                    });\n                    // When the length of the label has increased, immediately\n                    // update the x position to prevent tooltip from flowing\n                    // outside the viewport during animation (#21371)\n                    if (this.outside) {\n                        label.attr({\n                            x: Tooltip_clamp(label.x || 0, 0, this.getPlayingField().width -\n                                (label.width || 0) -\n                                1)\n                        });\n                    }\n                    if (!styledMode) {\n                        label.attr({\n                            stroke: (options.borderColor ||\n                                point.color ||\n                                currentSeries.color ||\n                                \"#666666\" /* Palette.neutralColor60 */)\n                        });\n                    }\n                    tooltip.updatePosition({\n                        plotX: x,\n                        plotY: y,\n                        negative: point.negative,\n                        ttBelow: point.ttBelow,\n                        h: anchor[2] || 0\n                    });\n                }\n                else {\n                    tooltip.hide();\n                    return;\n                }\n            }\n            // Show it\n            if (tooltip.isHidden && tooltip.label) {\n                tooltip.label.attr({\n                    opacity: 1\n                }).show();\n            }\n            tooltip.isHidden = false;\n        }\n        Tooltip_fireEvent(this, 'refresh');\n    }\n    /**\n     * Render the split tooltip. Loops over each point's text and adds\n     * a label next to the point, then uses the distribute function to\n     * find best non-overlapping positions.\n     *\n     * @private\n     * @function Highcharts.Tooltip#renderSplit\n     *\n     * @param {string|Array<(boolean|string)>} labels\n     *\n     * @param {Array<Highcharts.Point>} points\n     */\n    renderSplit(labels, points) {\n        const tooltip = this;\n        const { chart, chart: { chartWidth, chartHeight, plotHeight, plotLeft, plotTop, scrollablePixelsY = 0, scrollablePixelsX, styledMode }, distance, options, options: { positioner }, pointer } = tooltip;\n        const { scrollLeft = 0, scrollTop = 0 } = chart.scrollablePlotArea?.scrollingContainer || {};\n        // The area which the tooltip should be limited to. Limit to scrollable\n        // plot area if enabled, otherwise limit to the chart container. If\n        // outside is true it should be the whole viewport\n        const bounds = (tooltip.outside &&\n            typeof scrollablePixelsX !== 'number') ?\n            Tooltip_doc.documentElement.getBoundingClientRect() : {\n            left: scrollLeft,\n            right: scrollLeft + chartWidth,\n            top: scrollTop,\n            bottom: scrollTop + chartHeight\n        };\n        const tooltipLabel = tooltip.getLabel();\n        const ren = this.renderer || chart.renderer;\n        const headerTop = Boolean(chart.xAxis[0] && chart.xAxis[0].opposite);\n        const { left: chartLeft, top: chartTop } = pointer.getChartPosition();\n        let distributionBoxTop = plotTop + scrollTop;\n        let headerHeight = 0;\n        let adjustedPlotHeight = plotHeight - scrollablePixelsY;\n        /**\n         * Calculates the anchor position for the partial tooltip\n         *\n         * @private\n         * @param {Highcharts.Point} point The point related to the tooltip\n         * @return {Object} Returns an object with anchorX and anchorY\n         */\n        function getAnchor(point) {\n            const { isHeader, plotX = 0, plotY = 0, series } = point;\n            let anchorX;\n            let anchorY;\n            if (isHeader) {\n                // Set anchorX to plotX\n                anchorX = Math.max(plotLeft + plotX, plotLeft);\n                // Set anchorY to center of visible plot area.\n                anchorY = plotTop + plotHeight / 2;\n            }\n            else {\n                const { xAxis, yAxis } = series;\n                // Set anchorX to plotX. Limit to within xAxis.\n                anchorX = xAxis.pos + Tooltip_clamp(plotX, -distance, xAxis.len + distance);\n                // Set anchorY, limit to the scrollable plot area\n                if (series.shouldShowTooltip(0, yAxis.pos - plotTop + plotY, {\n                    ignoreX: true\n                })) {\n                    anchorY = yAxis.pos + plotY;\n                }\n            }\n            // Limit values to plot area\n            anchorX = Tooltip_clamp(anchorX, bounds.left - distance, bounds.right + distance);\n            return { anchorX, anchorY };\n        }\n        /**\n         * Calculates the position of the partial tooltip\n         *\n         * @private\n         * @param {number} anchorX\n         * The partial tooltip anchor x position\n         *\n         * @param {number} anchorY\n         * The partial tooltip anchor y position\n         *\n         * @param {boolean|undefined} isHeader\n         * Whether the partial tooltip is a header\n         *\n         * @param {number} boxWidth\n         * Width of the partial tooltip\n         *\n         * @return {Highcharts.PositionObject}\n         * Returns the partial tooltip x and y position\n         */\n        function defaultPositioner(anchorX, anchorY, isHeader, boxWidth, alignedLeft = true) {\n            let y;\n            let x;\n            if (isHeader) {\n                y = headerTop ? 0 : adjustedPlotHeight;\n                x = Tooltip_clamp(anchorX - (boxWidth / 2), bounds.left, bounds.right - boxWidth - (tooltip.outside ? chartLeft : 0));\n            }\n            else {\n                y = anchorY - distributionBoxTop;\n                x = alignedLeft ?\n                    anchorX - boxWidth - distance :\n                    anchorX + distance;\n                x = Tooltip_clamp(x, alignedLeft ? x : bounds.left, bounds.right);\n            }\n            // NOTE: y is relative to distributionBoxTop\n            return { x, y };\n        }\n        /**\n         * Updates the attributes and styling of the partial tooltip. Creates a\n         * new partial tooltip if it does not exists.\n         *\n         * @private\n         * @param {Highcharts.SVGElement|undefined} partialTooltip\n         *  The partial tooltip to update\n         * @param {Highcharts.Point} point\n         *  The point related to the partial tooltip\n         * @param {boolean|string} str The text for the partial tooltip\n         * @return {Highcharts.SVGElement} Returns the updated partial tooltip\n         */\n        function updatePartialTooltip(partialTooltip, point, str) {\n            let tt = partialTooltip;\n            const { isHeader, series } = point;\n            if (!tt) {\n                const attribs = {\n                    padding: options.padding,\n                    r: options.borderRadius\n                };\n                if (!styledMode) {\n                    attribs.fill = options.backgroundColor;\n                    attribs['stroke-width'] = options.borderWidth ?? 1;\n                }\n                tt = ren\n                    .label('', 0, 0, (options[isHeader ? 'headerShape' : 'shape']), void 0, void 0, options.useHTML)\n                    .addClass(tooltip.getClassName(point, true, isHeader))\n                    .attr(attribs)\n                    .add(tooltipLabel);\n            }\n            tt.isActive = true;\n            tt.attr({\n                text: str\n            });\n            if (!styledMode) {\n                tt.css(options.style)\n                    .attr({\n                    stroke: (options.borderColor ||\n                        point.color ||\n                        series.color ||\n                        \"#333333\" /* Palette.neutralColor80 */)\n                });\n            }\n            return tt;\n        }\n        // Graceful degradation for legacy formatters\n        if (Tooltip_isString(labels)) {\n            labels = [false, labels];\n        }\n        // Create the individual labels for header and points, ignore footer\n        let boxes = labels.slice(0, points.length + 1).reduce(function (boxes, str, i) {\n            if (str !== false && str !== '') {\n                const point = (points[i - 1] ||\n                    {\n                        // Item 0 is the header. Instead of this, we could also\n                        // use the crosshair label\n                        isHeader: true,\n                        plotX: points[0].plotX,\n                        plotY: plotHeight,\n                        series: {}\n                    });\n                const isHeader = point.isHeader;\n                // Store the tooltip label reference on the series\n                const owner = isHeader ? tooltip : point.series;\n                const tt = owner.tt = updatePartialTooltip(owner.tt, point, str.toString());\n                // Get X position now, so we can move all to the other side in\n                // case of overflow\n                const bBox = tt.getBBox();\n                const boxWidth = bBox.width + tt.strokeWidth();\n                if (isHeader) {\n                    headerHeight = bBox.height;\n                    adjustedPlotHeight += headerHeight;\n                    if (headerTop) {\n                        distributionBoxTop -= headerHeight;\n                    }\n                }\n                const { anchorX, anchorY } = getAnchor(point);\n                if (typeof anchorY === 'number') {\n                    const size = bBox.height + 1;\n                    const boxPosition = (positioner ?\n                        positioner.call(tooltip, boxWidth, size, point) :\n                        defaultPositioner(anchorX, anchorY, isHeader, boxWidth));\n                    boxes.push({\n                        // 0-align to the top, 1-align to the bottom\n                        align: positioner ? 0 : void 0,\n                        anchorX,\n                        anchorY,\n                        boxWidth,\n                        point,\n                        rank: Tooltip_pick(boxPosition.rank, isHeader ? 1 : 0),\n                        size,\n                        target: boxPosition.y,\n                        tt,\n                        x: boxPosition.x\n                    });\n                }\n                else {\n                    // Hide tooltips which anchorY is outside the visible plot\n                    // area\n                    tt.isActive = false;\n                }\n            }\n            return boxes;\n        }, []);\n        // Realign the tooltips towards the right if there is not enough space\n        // to the left and there is space to the right\n        if (!positioner && boxes.some((box) => {\n            // Always realign if the beginning of a label is outside bounds\n            const { outside } = tooltip;\n            const boxStart = (outside ? chartLeft : 0) + box.anchorX;\n            if (boxStart < bounds.left &&\n                boxStart + box.boxWidth < bounds.right) {\n                return true;\n            }\n            // Otherwise, check if there is more space available to the right\n            return boxStart < (chartLeft - bounds.left) + box.boxWidth &&\n                bounds.right - boxStart > boxStart;\n        })) {\n            boxes = boxes.map((box) => {\n                const { x, y } = defaultPositioner(box.anchorX, box.anchorY, box.point.isHeader, box.boxWidth, false);\n                return Tooltip_extend(box, {\n                    target: y,\n                    x\n                });\n            });\n        }\n        // Clean previous run (for missing points)\n        tooltip.cleanSplit();\n        // Distribute and put in place\n        distribute(boxes, adjustedPlotHeight);\n        const boxExtremes = {\n            left: chartLeft,\n            right: chartLeft\n        };\n        // Get the extremes from series tooltips\n        boxes.forEach(function (box) {\n            const { x, boxWidth, isHeader } = box;\n            if (!isHeader) {\n                if (tooltip.outside && chartLeft + x < boxExtremes.left) {\n                    boxExtremes.left = chartLeft + x;\n                }\n                if (!isHeader &&\n                    tooltip.outside &&\n                    boxExtremes.left + boxWidth > boxExtremes.right) {\n                    boxExtremes.right = chartLeft + x;\n                }\n            }\n        });\n        boxes.forEach(function (box) {\n            const { x, anchorX, anchorY, pos, point: { isHeader } } = box;\n            const attributes = {\n                visibility: typeof pos === 'undefined' ? 'hidden' : 'inherit',\n                x,\n                /* NOTE: y should equal pos to be consistent with !split\n                 * tooltip, but is currently relative to plotTop. Is left as is\n                 * to avoid breaking change. Remove distributionBoxTop to make\n                 * it consistent.\n                 */\n                y: (pos || 0) + distributionBoxTop,\n                anchorX,\n                anchorY\n            };\n            // Handle left-aligned tooltips overflowing the chart area\n            if (tooltip.outside && x < anchorX) {\n                const offset = chartLeft - boxExtremes.left;\n                // Skip this if there is no overflow\n                if (offset > 0) {\n                    if (!isHeader) {\n                        attributes.x = x + offset;\n                        attributes.anchorX = anchorX + offset;\n                    }\n                    if (isHeader) {\n                        attributes.x = (boxExtremes.right - boxExtremes.left) / 2;\n                        attributes.anchorX = anchorX + offset;\n                    }\n                }\n            }\n            // Put the label in place\n            box.tt.attr(attributes);\n        });\n        /* If we have a separate tooltip container, then update the necessary\n         * container properties.\n         * Test that tooltip has its own container and renderer before executing\n         * the operation.\n         */\n        const { container, outside, renderer } = tooltip;\n        if (outside && container && renderer) {\n            // Set container size to fit the bounds\n            const { width, height, x, y } = tooltipLabel.getBBox();\n            renderer.setSize(width + x, height + y, false);\n            // Position the tooltip container to the chart container\n            container.style.left = boxExtremes.left + 'px';\n            container.style.top = chartTop + 'px';\n        }\n        // Workaround for #18927, artefacts left by the shadows of split\n        // tooltips in Safari v16 (2023). Check again with later versions if we\n        // can remove this.\n        if (isSafari) {\n            tooltipLabel.attr({\n                // Force a redraw of the whole group by chaining the opacity\n                // slightly\n                opacity: tooltipLabel.opacity === 1 ? 0.999 : 1\n            });\n        }\n    }\n    /**\n     * If the `stickOnContact` option is active, this will add a tracker shape.\n     *\n     * @private\n     * @function Highcharts.Tooltip#drawTracker\n     */\n    drawTracker() {\n        const tooltip = this;\n        if (!this.shouldStickOnContact()) {\n            if (tooltip.tracker) {\n                tooltip.tracker = tooltip.tracker.destroy();\n            }\n            return;\n        }\n        const chart = tooltip.chart;\n        const label = tooltip.label;\n        const points = tooltip.shared ? chart.hoverPoints : chart.hoverPoint;\n        if (!label || !points) {\n            return;\n        }\n        const box = {\n            x: 0,\n            y: 0,\n            width: 0,\n            height: 0\n        };\n        // Combine anchor and tooltip\n        const anchorPos = this.getAnchor(points);\n        const labelBBox = label.getBBox();\n        anchorPos[0] += chart.plotLeft - (label.translateX || 0);\n        anchorPos[1] += chart.plotTop - (label.translateY || 0);\n        // When the mouse pointer is between the anchor point and the label,\n        // the label should stick.\n        box.x = Math.min(0, anchorPos[0]);\n        box.y = Math.min(0, anchorPos[1]);\n        box.width = (anchorPos[0] < 0 ?\n            Math.max(Math.abs(anchorPos[0]), labelBBox.width - anchorPos[0]) :\n            Math.max(Math.abs(anchorPos[0]), labelBBox.width));\n        box.height = (anchorPos[1] < 0 ?\n            Math.max(Math.abs(anchorPos[1]), labelBBox.height - Math.abs(anchorPos[1])) :\n            Math.max(Math.abs(anchorPos[1]), labelBBox.height));\n        if (tooltip.tracker) {\n            tooltip.tracker.attr(box);\n        }\n        else {\n            tooltip.tracker = label.renderer\n                .rect(box)\n                .addClass('highcharts-tracker')\n                .add(label);\n            if (!chart.styledMode) {\n                tooltip.tracker.attr({\n                    fill: 'rgba(0,0,0,0)'\n                });\n            }\n        }\n    }\n    /**\n     * @private\n     */\n    styledModeFormat(formatString) {\n        return formatString\n            .replace('style=\"font-size: 0.8em\"', 'class=\"highcharts-header\"')\n            .replace(/style=\"color:{(point|series)\\.color}\"/g, 'class=\"highcharts-color-{$1.colorIndex} ' +\n            '{series.options.className} ' +\n            '{point.options.className}\"');\n    }\n    /**\n     * Format the footer/header of the tooltip\n     * #3397: abstraction to enable formatting of footer and header\n     *\n     * @private\n     * @function Highcharts.Tooltip#headerFooterFormatter\n     */\n    headerFooterFormatter(point, isFooter) {\n        const series = point.series, tooltipOptions = series.tooltipOptions, xAxis = series.xAxis, dateTime = xAxis && xAxis.dateTime, e = {\n            isFooter,\n            point\n        };\n        let xDateFormat = tooltipOptions.xDateFormat || '', formatString = tooltipOptions[isFooter ? 'footerFormat' : 'headerFormat'];\n        Tooltip_fireEvent(this, 'headerFormatter', e, function (e) {\n            // Guess the best date format based on the closest point distance\n            // (#568, #3418)\n            if (dateTime && !xDateFormat && Tooltip_isNumber(point.key)) {\n                xDateFormat = dateTime.getXDateFormat(point.key, tooltipOptions.dateTimeLabelFormats);\n            }\n            // Insert the footer date format if any\n            if (dateTime && xDateFormat) {\n                if (Tooltip_isObject(xDateFormat)) {\n                    const format = xDateFormat;\n                    dateFormats[0] = (timestamp) => series.chart.time.dateFormat(format, timestamp);\n                    xDateFormat = '%0';\n                }\n                (point.tooltipDateKeys || ['key']).forEach((key) => {\n                    formatString = formatString.replace(new RegExp('point\\\\.' + key + '([ \\\\)}])', ''), `(point.${key}:${xDateFormat})$1`);\n                });\n            }\n            // Replace default header style with class name\n            if (series.chart.styledMode) {\n                formatString = this.styledModeFormat(formatString);\n            }\n            e.text = Tooltip_format(formatString, point, this.chart);\n        });\n        return e.text || '';\n    }\n    /**\n     * Updates the tooltip with the provided tooltip options.\n     *\n     * @function Highcharts.Tooltip#update\n     *\n     * @param {Highcharts.TooltipOptions} options\n     *        The tooltip options to update.\n     */\n    update(options) {\n        this.destroy();\n        this.init(this.chart, Tooltip_merge(true, this.options, options));\n    }\n    /**\n     * Find the new position and perform the move\n     *\n     * @private\n     * @function Highcharts.Tooltip#updatePosition\n     *\n     * @param {Highcharts.Point} point\n     */\n    updatePosition(point) {\n        const { chart, container, distance, options, pointer, renderer } = this, { height = 0, width = 0 } = this.getLabel(), \n        // Needed for outside: true (#11688)\n        { left, top, scaleX, scaleY } = pointer.getChartPosition(), pos = (options.positioner || this.getPosition).call(this, width, height, point), doc = Core_Globals.doc;\n        let anchorX = (point.plotX || 0) + chart.plotLeft, anchorY = (point.plotY || 0) + chart.plotTop, pad;\n        // Set the renderer size dynamically to prevent document size to change.\n        // Renderer only exists when tooltip is outside.\n        if (renderer && container) {\n            // Corrects positions, occurs with tooltip positioner (#16944)\n            if (options.positioner) {\n                pos.x += left - distance;\n                pos.y += top - distance;\n            }\n            // Pad it by the border width and distance. Add 2 to make room for\n            // the default shadow (#19314).\n            pad = (options.borderWidth || 0) + 2 * distance + 2;\n            renderer.setSize(\n            // Clamp width to keep tooltip in viewport (#21698)\n            // and subtract one since tooltip container has 'left: 1px;'\n            Tooltip_clamp(width + pad, 0, doc.documentElement.clientWidth) - 1, height + pad, false);\n            // Anchor and tooltip container need scaling if chart container has\n            // scale transform/css zoom. #11329.\n            if (scaleX !== 1 || scaleY !== 1) {\n                Tooltip_css(container, {\n                    transform: `scale(${scaleX}, ${scaleY})`\n                });\n                anchorX *= scaleX;\n                anchorY *= scaleY;\n            }\n            anchorX += left - pos.x;\n            anchorY += top - pos.y;\n        }\n        // Do the move\n        this.move(Math.round(pos.x), Math.round(pos.y || 0), // Can be undefined (#3977)\n        anchorX, anchorY);\n    }\n}\n/* *\n *\n *  Class namespace\n *\n * */\n(function (Tooltip) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(PointerClass) {\n        if (Tooltip_pushUnique(Tooltip_composed, 'Core.Tooltip')) {\n            Tooltip_addEvent(PointerClass, 'afterInit', function () {\n                const chart = this.chart;\n                if (chart.options.tooltip) {\n                    /**\n                     * Tooltip object for points of series.\n                     *\n                     * @name Highcharts.Chart#tooltip\n                     * @type {Highcharts.Tooltip}\n                     */\n                    chart.tooltip = new Tooltip(chart, chart.options.tooltip, this);\n                }\n            });\n        }\n    }\n    Tooltip.compose = compose;\n})(Tooltip || (Tooltip = {}));\n/* *\n *\n *  Default export\n *\n * */\n/* harmony default export */ const Core_Tooltip = (Tooltip);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Callback function to format the text of the tooltip from scratch.\n *\n * In case of single or shared tooltips, a string should be returned. In case\n * of split tooltips, it should return an array where the first item is the\n * header, and subsequent items are mapped to the points. Return `false` to\n * disable tooltip for a specific point on series.\n *\n * @callback Highcharts.TooltipFormatterCallbackFunction\n *\n * @param {Highcharts.Point} this\n * The formatter's context is the hovered `Point` instance. In case of shared or\n * split tooltips, all points are available in `this.points`.\n *\n * @param {Highcharts.Tooltip} tooltip\n * The tooltip instance\n *\n * @return {false|string|Array<(string|null|undefined)>|null|undefined}\n * Formatted text or false\n */\n/**\n * A callback function to place the tooltip in a specific position.\n *\n * @callback Highcharts.TooltipPositionerCallbackFunction\n *\n * @param {Highcharts.Tooltip} this\n * Tooltip context of the callback.\n *\n * @param {number} labelWidth\n * Width of the tooltip.\n *\n * @param {number} labelHeight\n * Height of the tooltip.\n *\n * @param {Highcharts.TooltipPositionerPointObject} point\n * Point information for positioning a tooltip.\n *\n * @return {Highcharts.PositionObject}\n * New position for the tooltip.\n */\n/**\n * Point information for positioning a tooltip.\n *\n * @interface Highcharts.TooltipPositionerPointObject\n * @extends Highcharts.Point\n */ /**\n* If `tooltip.split` option is enabled and positioner is called for each of the\n* boxes separately, this property indicates the call on the xAxis header, which\n* is not a point itself.\n* @name Highcharts.TooltipPositionerPointObject#isHeader\n* @type {boolean}\n*/ /**\n* The reference point relative to the plot area. Add chart.plotLeft to get the\n* full coordinates.\n* @name Highcharts.TooltipPositionerPointObject#plotX\n* @type {number}\n*/ /**\n* The reference point relative to the plot area. Add chart.plotTop to get the\n* full coordinates.\n* @name Highcharts.TooltipPositionerPointObject#plotY\n* @type {number}\n*/\n/**\n * @typedef {\"callout\"|\"circle\"|\"rect\"} Highcharts.TooltipShapeValue\n */\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Series/Point.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { animObject: Point_animObject } = AnimationUtilities;\n\nconst { defaultOptions: Point_defaultOptions } = Defaults;\n\nconst { format: Point_format } = Core_Templating;\n\nconst { addEvent: Point_addEvent, crisp: Point_crisp, erase: Point_erase, extend: Point_extend, fireEvent: Point_fireEvent, getNestedProperty: Point_getNestedProperty, isArray: Point_isArray, isFunction: Point_isFunction, isNumber: Point_isNumber, isObject: Point_isObject, merge: Point_merge, pick: Point_pick, syncTimeout: Point_syncTimeout, removeEvent: Point_removeEvent, uniqueKey: Point_uniqueKey } = Core_Utilities;\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/* *\n *\n *  Class\n *\n * */\n/**\n * The Point object. The point objects are generated from the `series.data`\n * configuration objects or raw numbers. They can be accessed from the\n * `Series.points` array. Other ways to instantiate points are through {@link\n * Highcharts.Series#addPoint} or {@link Highcharts.Series#setData}.\n *\n * @class\n * @name Highcharts.Point\n */\nclass Point {\n    /**\n     * For categorized axes this property holds the category name for the\n     * point. For other axes it holds the X value.\n     *\n     * @name Highcharts.Point#category\n     * @type {number|string}\n     */\n    /**\n     * The name of the point. The name can be given as the first position of the\n     * point configuration array, or as a `name` property in the configuration:\n     *\n     * @example\n     * // Array config\n     * data: [\n     *     ['John', 1],\n     *     ['Jane', 2]\n     * ]\n     *\n     * // Object config\n     * data: [{\n     *        name: 'John',\n     *        y: 1\n     * }, {\n     *     name: 'Jane',\n     *     y: 2\n     * }]\n     *\n     * @name Highcharts.Point#name\n     * @type {string}\n     */\n    /**\n     * The point's name if it is defined, or its category in case of a category,\n     * otherwise the x value. Convenient for tooltip and data label formatting.\n     *\n     * @name Highcharts.Point#key\n     * @type {number|string}\n     */\n    /**\n     * The point's options as applied in the initial configuration, or\n     * extended through `Point.update`.\n     *\n     * In TypeScript you have to extend `PointOptionsObject` via an\n     * additional interface to allow custom data options:\n     *\n     * ```\n     * declare interface PointOptionsObject {\n     *     customProperty: string;\n     * }\n     * ```\n     *\n     * @name Highcharts.Point#options\n     * @type {Highcharts.PointOptionsObject}\n     */\n    /**\n     * The percentage for points in a stacked series, pies or gauges.\n     *\n     * @name Highcharts.Point#percentage\n     * @type {number|undefined}\n     */\n    /**\n     * The series object associated with the point.\n     *\n     * @name Highcharts.Point#series\n     * @type {Highcharts.Series}\n     */\n    /**\n     * The attributes of the rendered SVG shape like in `column` or `pie`\n     * series.\n     *\n     * @readonly\n     * @name Highcharts.Point#shapeArgs\n     * @type {Readonly<Highcharts.SVGAttributes>|undefined}\n     */\n    /**\n     * The total of values in either a stack for stacked series, or a pie in a\n     * pie series.\n     *\n     * @name Highcharts.Point#total\n     * @type {number|undefined}\n     */\n    /**\n     * For certain series types, like pie charts, where individual points can\n     * be shown or hidden.\n     *\n     * @name Highcharts.Point#visible\n     * @type {boolean}\n     * @default true\n     */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Animate SVG elements associated with the point.\n     *\n     * @private\n     * @function Highcharts.Point#animateBeforeDestroy\n     */\n    animateBeforeDestroy() {\n        const point = this, animateParams = { x: point.startXPos, opacity: 0 }, graphicalProps = point.getGraphicalProps();\n        graphicalProps.singular.forEach(function (prop) {\n            const isDataLabel = prop === 'dataLabel';\n            point[prop] = point[prop].animate(isDataLabel ? {\n                x: point[prop].startXPos,\n                y: point[prop].startYPos,\n                opacity: 0\n            } : animateParams);\n        });\n        graphicalProps.plural.forEach(function (plural) {\n            point[plural].forEach(function (item) {\n                if (item.element) {\n                    item.animate(Point_extend({ x: point.startXPos }, (item.startYPos ? {\n                        x: item.startXPos,\n                        y: item.startYPos\n                    } : {})));\n                }\n            });\n        });\n    }\n    /**\n     * Apply the options containing the x and y data and possible some extra\n     * properties. Called on point init or from point.update.\n     *\n     * @private\n     * @function Highcharts.Point#applyOptions\n     *\n     * @param {Highcharts.PointOptionsType} options\n     *        The point options as defined in series.data.\n     *\n     * @param {number} [x]\n     *        Optionally, the x value.\n     *\n     * @return {Highcharts.Point}\n     *         The Point instance.\n     */\n    applyOptions(options, x) {\n        const point = this, series = point.series, pointValKey = series.options.pointValKey || series.pointValKey;\n        options = Point.prototype.optionsToObject.call(this, options);\n        // Copy options directly to point\n        Point_extend(point, options);\n        point.options = point.options ?\n            Point_extend(point.options, options) :\n            options;\n        // Since options are copied into the Point instance, some accidental\n        // options must be shielded (#5681)\n        if (options.group) {\n            delete point.group;\n        }\n        if (options.dataLabels) {\n            delete point.dataLabels;\n        }\n        /**\n         * The y value of the point.\n         * @name Highcharts.Point#y\n         * @type {number|undefined}\n         */\n        // For higher dimension series types. For instance, for ranges, point.y\n        // is mapped to point.low.\n        if (pointValKey) {\n            point.y = Point.prototype.getNestedProperty.call(point, pointValKey);\n        }\n        // The point is initially selected by options (#5777)\n        if (point.selected) {\n            point.state = 'select';\n        }\n        /**\n         * The x value of the point.\n         * @name Highcharts.Point#x\n         * @type {number}\n         */\n        // If no x is set by now, get auto incremented value. All points must\n        // have an x value, however the y value can be null to create a gap in\n        // the series\n        if ('name' in point &&\n            typeof x === 'undefined' &&\n            series.xAxis &&\n            series.xAxis.hasNames) {\n            point.x = series.xAxis.nameToX(point);\n        }\n        if (typeof point.x === 'undefined' && series) {\n            point.x = x ?? series.autoIncrement();\n        }\n        else if (Point_isNumber(options.x) && series.options.relativeXValue) {\n            point.x = series.autoIncrement(options.x);\n            // If x is a string, try to parse it to a datetime\n        }\n        else if (typeof point.x === 'string') {\n            x ?? (x = series.chart.time.parse(point.x));\n            if (Point_isNumber(x)) {\n                point.x = x;\n            }\n        }\n        point.isNull = this.isValid && !this.isValid();\n        point.formatPrefix = point.isNull ? 'null' : 'point'; // #9233, #10874\n        return point;\n    }\n    /**\n     * Destroy a point to clear memory. Its reference still stays in\n     * `series.data`.\n     *\n     * @private\n     * @function Highcharts.Point#destroy\n     */\n    destroy() {\n        if (!this.destroyed) {\n            const point = this, series = point.series, chart = series.chart, dataSorting = series.options.dataSorting, hoverPoints = chart.hoverPoints, globalAnimation = point.series.chart.renderer.globalAnimation, animation = Point_animObject(globalAnimation);\n            /**\n             * Allow to call after animation.\n             * @private\n             */\n            const destroyPoint = () => {\n                // Remove all events and elements\n                if (point.graphic ||\n                    point.graphics ||\n                    point.dataLabel ||\n                    point.dataLabels) {\n                    Point_removeEvent(point);\n                    point.destroyElements();\n                }\n                for (const prop in point) { // eslint-disable-line guard-for-in\n                    delete point[prop];\n                }\n            };\n            if (point.legendItem) {\n                // Pies have legend items\n                chart.legend.destroyItem(point);\n            }\n            if (hoverPoints) {\n                point.setState();\n                Point_erase(hoverPoints, point);\n                if (!hoverPoints.length) {\n                    chart.hoverPoints = null;\n                }\n            }\n            if (point === chart.hoverPoint) {\n                point.onMouseOut();\n            }\n            // Remove properties after animation\n            if (!dataSorting || !dataSorting.enabled) {\n                destroyPoint();\n            }\n            else {\n                this.animateBeforeDestroy();\n                Point_syncTimeout(destroyPoint, animation.duration);\n            }\n            chart.pointCount--;\n        }\n        this.destroyed = true;\n    }\n    /**\n     * Destroy SVG elements associated with the point.\n     *\n     * @private\n     * @function Highcharts.Point#destroyElements\n     * @param {Highcharts.Dictionary<number>} [kinds]\n     */\n    destroyElements(kinds) {\n        const point = this, props = point.getGraphicalProps(kinds);\n        props.singular.forEach(function (prop) {\n            point[prop] = point[prop].destroy();\n        });\n        props.plural.forEach(function (plural) {\n            point[plural].forEach(function (item) {\n                if (item && item.element) {\n                    item.destroy();\n                }\n            });\n            delete point[plural];\n        });\n    }\n    /**\n     * Fire an event on the Point object.\n     *\n     * @private\n     * @function Highcharts.Point#firePointEvent\n     *\n     * @param {string} eventType\n     *        Type of the event.\n     *\n     * @param {Highcharts.Dictionary<any>|Event} [eventArgs]\n     *        Additional event arguments.\n     *\n     * @param {Highcharts.EventCallbackFunction<Highcharts.Point>|Function} [defaultFunction]\n     *        Default event handler.\n     *\n     * @emits Highcharts.Point#event:*\n     */\n    firePointEvent(eventType, eventArgs, defaultFunction) {\n        const point = this, series = this.series, seriesOptions = series.options;\n        // Load event handlers on demand to save time on mouseover/out\n        point.manageEvent(eventType);\n        // Add default handler if in selection mode\n        if (eventType === 'click' && seriesOptions.allowPointSelect) {\n            defaultFunction = function (event) {\n                // Control key is for Windows, meta (= Cmd key) for Mac, Shift\n                // for Opera.\n                if (!point.destroyed && point.select) { // #2911, #19075\n                    point.select(null, event.ctrlKey || event.metaKey || event.shiftKey);\n                }\n            };\n        }\n        Point_fireEvent(point, eventType, eventArgs, defaultFunction);\n    }\n    /**\n     * Get the CSS class names for individual points. Used internally where the\n     * returned value is set on every point.\n     *\n     * @function Highcharts.Point#getClassName\n     *\n     * @return {string}\n     *         The class names.\n     */\n    getClassName() {\n        const point = this;\n        return 'highcharts-point' +\n            (point.selected ? ' highcharts-point-select' : '') +\n            (point.negative ? ' highcharts-negative' : '') +\n            (point.isNull ? ' highcharts-null-point' : '') +\n            (typeof point.colorIndex !== 'undefined' ?\n                ' highcharts-color-' + point.colorIndex : '') +\n            (point.options.className ? ' ' + point.options.className : '') +\n            (point.zone && point.zone.className ? ' ' +\n                point.zone.className.replace('highcharts-negative', '') : '');\n    }\n    /**\n     * Get props of all existing graphical point elements.\n     *\n     * @private\n     * @function Highcharts.Point#getGraphicalProps\n     */\n    getGraphicalProps(kinds) {\n        const point = this, props = [], graphicalProps = { singular: [], plural: [] };\n        let prop, i;\n        kinds = kinds || { graphic: 1, dataLabel: 1 };\n        if (kinds.graphic) {\n            props.push('graphic', 'connector' // Used by dumbbell\n            );\n        }\n        if (kinds.dataLabel) {\n            props.push('dataLabel', 'dataLabelPath', 'dataLabelUpper');\n        }\n        i = props.length;\n        while (i--) {\n            prop = props[i];\n            if (point[prop]) {\n                graphicalProps.singular.push(prop);\n            }\n        }\n        [\n            'graphic',\n            'dataLabel'\n        ].forEach(function (prop) {\n            const plural = prop + 's';\n            if (kinds[prop] && point[plural]) {\n                graphicalProps.plural.push(plural);\n            }\n        });\n        return graphicalProps;\n    }\n    /**\n     * Returns the value of the point property for a given value.\n     * @private\n     */\n    getNestedProperty(key) {\n        if (!key) {\n            return;\n        }\n        if (key.indexOf('custom.') === 0) {\n            return Point_getNestedProperty(key, this.options);\n        }\n        return this[key];\n    }\n    /**\n     * In a series with `zones`, return the zone that the point belongs to.\n     *\n     * @function Highcharts.Point#getZone\n     *\n     * @return {Highcharts.SeriesZonesOptionsObject}\n     *         The zone item.\n     */\n    getZone() {\n        const series = this.series, zones = series.zones, zoneAxis = series.zoneAxis || 'y';\n        let zone, i = 0;\n        zone = zones[i];\n        while (this[zoneAxis] >= zone.value) {\n            zone = zones[++i];\n        }\n        // For resetting or reusing the point (#8100)\n        if (!this.nonZonedColor) {\n            this.nonZonedColor = this.color;\n        }\n        if (zone && zone.color && !this.options.color) {\n            this.color = zone.color;\n        }\n        else {\n            this.color = this.nonZonedColor;\n        }\n        return zone;\n    }\n    /**\n     * Utility to check if point has new shape type. Used in column series and\n     * all others that are based on column series.\n     * @private\n     */\n    hasNewShapeType() {\n        const point = this;\n        const oldShapeType = point.graphic &&\n            (point.graphic.symbolName || point.graphic.element.nodeName);\n        return oldShapeType !== this.shapeType;\n    }\n    /**\n     * Initialize the point. Called internally based on the `series.data`\n     * option.\n     *\n     * @function Highcharts.Point#init\n     *\n     * @param {Highcharts.Series} series\n     *        The series object containing this point.\n     *\n     * @param {Highcharts.PointOptionsType} options\n     *        The data in either number, array or object format.\n     *\n     * @param {number} [x]\n     *        Optionally, the X value of the point.\n     *\n     * @return {Highcharts.Point}\n     *         The Point instance.\n     *\n     * @emits Highcharts.Point#event:afterInit\n     */\n    constructor(series, options, x) {\n        this.formatPrefix = 'point';\n        this.visible = true;\n        // For tooltip and data label formatting\n        this.point = this;\n        this.series = series;\n        this.applyOptions(options, x);\n        // Add a unique ID to the point if none is assigned\n        this.id ?? (this.id = Point_uniqueKey());\n        this.resolveColor();\n        series.chart.pointCount++;\n        Point_fireEvent(this, 'afterInit');\n    }\n    /**\n     * Determine if point is valid.\n     * @private\n     * @function Highcharts.Point#isValid\n     */\n    isValid() {\n        return ((Point_isNumber(this.x) ||\n            this.x instanceof Date) &&\n            Point_isNumber(this.y));\n    }\n    /**\n     * Transform number or array configs into objects. Also called for object\n     * configs. Used internally to unify the different configuration formats for\n     * points. For example, a simple number `10` in a line series will be\n     * transformed to `{ y: 10 }`, and an array config like `[1, 10]` in a\n     * scatter series will be transformed to `{ x: 1, y: 10 }`.\n     *\n     * @function Highcharts.Point#optionsToObject\n     *\n     * @param {Highcharts.PointOptionsType} options\n     * Series data options.\n     *\n     * @return {Highcharts.Dictionary<*>}\n     * Transformed point options.\n     */\n    optionsToObject(options) {\n        const series = this.series, keys = series.options.keys, pointArrayMap = keys || series.pointArrayMap || ['y'], valueCount = pointArrayMap.length;\n        let ret = {}, firstItemType, i = 0, j = 0;\n        if (Point_isNumber(options) || options === null) {\n            ret[pointArrayMap[0]] = options;\n        }\n        else if (Point_isArray(options)) {\n            // With leading x value\n            if (!keys && options.length > valueCount) {\n                firstItemType = typeof options[0];\n                if (firstItemType === 'string') {\n                    if (series.xAxis?.dateTime) {\n                        ret.x = series.chart.time.parse(options[0]);\n                    }\n                    else {\n                        ret.name = options[0];\n                    }\n                }\n                else if (firstItemType === 'number') {\n                    ret.x = options[0];\n                }\n                i++;\n            }\n            while (j < valueCount) {\n                // Skip undefined positions for keys\n                if (!keys || typeof options[i] !== 'undefined') {\n                    if (pointArrayMap[j].indexOf('.') > 0) {\n                        // Handle nested keys, e.g. ['color.pattern.image']\n                        // Avoid function call unless necessary.\n                        Point.prototype.setNestedProperty(ret, options[i], pointArrayMap[j]);\n                    }\n                    else {\n                        ret[pointArrayMap[j]] = options[i];\n                    }\n                }\n                i++;\n                j++;\n            }\n        }\n        else if (typeof options === 'object') {\n            ret = options;\n            // This is the fastest way to detect if there are individual point\n            // dataLabels that need to be considered in drawDataLabels. These\n            // can only occur in object configs.\n            if (options.dataLabels) {\n                // Override the prototype function to always return true,\n                // regardless of whether data labels are enabled series-wide\n                series.hasDataLabels = () => true;\n            }\n            // Same approach as above for markers\n            if (options.marker) {\n                series._hasPointMarkers = true;\n            }\n        }\n        return ret;\n    }\n    /**\n     * Get the pixel position of the point relative to the plot area.\n     * @function Highcharts.Point#pos\n     *\n     * @sample highcharts/point/position\n     *         Get point's position in pixels.\n     *\n     * @param {boolean} chartCoordinates\n     * If true, the returned position is relative to the full chart area.\n     * If false, it is relative to the plot area determined by the axes.\n     *\n     * @param {number|undefined} plotY\n     * A custom plot y position to be computed. Used internally for some\n     * series types that have multiple `y` positions, like area range (low\n     * and high values).\n     *\n     * @return {Array<number>|undefined}\n     * Coordinates of the point if the point exists.\n     */\n    pos(chartCoordinates, plotY = this.plotY) {\n        if (!this.destroyed) {\n            const { plotX, series } = this, { chart, xAxis, yAxis } = series;\n            let posX = 0, posY = 0;\n            if (Point_isNumber(plotX) && Point_isNumber(plotY)) {\n                if (chartCoordinates) {\n                    posX = xAxis ? xAxis.pos : chart.plotLeft;\n                    posY = yAxis ? yAxis.pos : chart.plotTop;\n                }\n                return chart.inverted && xAxis && yAxis ?\n                    [yAxis.len - plotY + posY, xAxis.len - plotX + posX] :\n                    [plotX + posX, plotY + posY];\n            }\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Point#resolveColor\n     */\n    resolveColor() {\n        const series = this.series, optionsChart = series.chart.options.chart, styledMode = series.chart.styledMode;\n        let color, colors, colorCount = optionsChart.colorCount, colorIndex;\n        // Remove points nonZonedColor for later recalculation\n        delete this.nonZonedColor;\n        if (series.options.colorByPoint) {\n            if (!styledMode) {\n                colors = series.options.colors || series.chart.options.colors;\n                color = colors[series.colorCounter];\n                colorCount = colors.length;\n            }\n            colorIndex = series.colorCounter;\n            series.colorCounter++;\n            // Loop back to zero\n            if (series.colorCounter === colorCount) {\n                series.colorCounter = 0;\n            }\n        }\n        else {\n            if (!styledMode) {\n                color = series.color;\n            }\n            colorIndex = series.colorIndex;\n        }\n        /**\n         * The point's current color index, used in styled mode instead of\n         * `color`. The color index is inserted in class names used for styling.\n         *\n         * @name Highcharts.Point#colorIndex\n         * @type {number|undefined}\n         */\n        this.colorIndex = Point_pick(this.options.colorIndex, colorIndex);\n        /**\n         * The point's current color.\n         *\n         * @name Highcharts.Point#color\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject|undefined}\n         */\n        this.color = Point_pick(this.options.color, color);\n    }\n    /**\n     * Set a value in an object, on the property defined by key. The key\n     * supports nested properties using dot notation. The function modifies the\n     * input object and does not make a copy.\n     *\n     * @function Highcharts.Point#setNestedProperty<T>\n     *\n     * @param {T} object\n     *        The object to set the value on.\n     *\n     * @param {*} value\n     *        The value to set.\n     *\n     * @param {string} key\n     *        Key to the property to set.\n     *\n     * @return {T}\n     *         The modified object.\n     */\n    setNestedProperty(object, value, key) {\n        const nestedKeys = key.split('.');\n        nestedKeys.reduce(function (result, key, i, arr) {\n            const isLastKey = arr.length - 1 === i;\n            result[key] = (isLastKey ?\n                value :\n                Point_isObject(result[key], true) ?\n                    result[key] :\n                    {});\n            return result[key];\n        }, object);\n        return object;\n    }\n    shouldDraw() {\n        return !this.isNull;\n    }\n    /**\n     * Extendable method for formatting each point's tooltip line.\n     *\n     * @function Highcharts.Point#tooltipFormatter\n     *\n     * @param {string} pointFormat\n     *        The point format.\n     *\n     * @return {string}\n     *         A string to be concatenated in to the common tooltip text.\n     */\n    tooltipFormatter(pointFormat) {\n        // Insert options for valueDecimals, valuePrefix, and valueSuffix\n        const { chart, pointArrayMap = ['y'], tooltipOptions } = this.series, { valueDecimals = '', valuePrefix = '', valueSuffix = '' } = tooltipOptions;\n        // Replace default point style with class name\n        if (chart.styledMode) {\n            pointFormat = chart.tooltip?.styledModeFormat(pointFormat) ||\n                pointFormat;\n        }\n        // Loop over the point array map and replace unformatted values with\n        // sprintf formatting markup\n        pointArrayMap.forEach((key) => {\n            key = '{point.' + key; // Without the closing bracket\n            if (valuePrefix || valueSuffix) {\n                pointFormat = pointFormat.replace(RegExp(key + '}', 'g'), valuePrefix + key + '}' + valueSuffix);\n            }\n            pointFormat = pointFormat.replace(RegExp(key + '}', 'g'), key + ':,.' + valueDecimals + 'f}');\n        });\n        return Point_format(pointFormat, this, chart);\n    }\n    /**\n     * Update point with new options (typically x/y data) and optionally redraw\n     * the series.\n     *\n     * @sample highcharts/members/point-update-column/\n     *         Update column value\n     * @sample highcharts/members/point-update-pie/\n     *         Update pie slice\n     * @sample maps/members/point-update/\n     *         Update map area value in Highmaps\n     *\n     * @function Highcharts.Point#update\n     *\n     * @param {Highcharts.PointOptionsType} options\n     *        The point options. Point options are handled as described under\n     *        the `series.type.data` item for each series type. For example\n     *        for a line series, if options is a single number, the point will\n     *        be given that number as the marin y value. If it is an array, it\n     *        will be interpreted as x and y values respectively. If it is an\n     *        object, advanced options are applied.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after the point is updated. If doing\n     *        more operations on the chart, it is best practice to set\n     *        `redraw` to false and call `chart.redraw()` after.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation=true]\n     *        Whether to apply animation, and optionally animation\n     *        configuration.\n     *\n     * @emits Highcharts.Point#event:update\n     */\n    update(options, redraw, animation, runEvent) {\n        const point = this, series = point.series, graphic = point.graphic, chart = series.chart, seriesOptions = series.options;\n        let i;\n        redraw = Point_pick(redraw, true);\n        /**\n         * @private\n         */\n        function update() {\n            point.applyOptions(options);\n            // Update visuals, #4146\n            // Handle mock graphic elements for a11y, #12718\n            const hasMockGraphic = graphic && point.hasMockGraphic;\n            const shouldDestroyGraphic = point.y === null ?\n                !hasMockGraphic :\n                hasMockGraphic;\n            if (graphic && shouldDestroyGraphic) {\n                point.graphic = graphic.destroy();\n                delete point.hasMockGraphic;\n            }\n            if (Point_isObject(options, true)) {\n                // Destroy so we can get new elements\n                if (graphic && graphic.element) {\n                    // \"null\" is also a valid symbol\n                    if (options &&\n                        options.marker &&\n                        typeof options.marker.symbol !== 'undefined') {\n                        point.graphic = graphic.destroy();\n                    }\n                }\n                if (options?.dataLabels && point.dataLabel) {\n                    point.dataLabel = point.dataLabel.destroy(); // #2468\n                }\n            }\n            // Record changes in the data table\n            i = point.index;\n            const row = {};\n            for (const key of series.dataColumnKeys()) {\n                row[key] = point[key];\n            }\n            series.dataTable.setRow(row, i);\n            // Record the options to options.data. If the old or the new config\n            // is an object, use point options, otherwise use raw options\n            // (#4701, #4916).\n            seriesOptions.data[i] = (Point_isObject(seriesOptions.data[i], true) ||\n                Point_isObject(options, true)) ?\n                point.options :\n                Point_pick(options, seriesOptions.data[i]);\n            // Redraw\n            series.isDirty = series.isDirtyData = true;\n            if (!series.fixedBox && series.hasCartesianSeries) { // #1906, #2320\n                chart.isDirtyBox = true;\n            }\n            if (seriesOptions.legendType === 'point') { // #1831, #1885\n                chart.isDirtyLegend = true;\n            }\n            if (redraw) {\n                chart.redraw(animation);\n            }\n        }\n        // Fire the event with a default handler of doing the update\n        if (runEvent === false) { // When called from setData\n            update();\n        }\n        else {\n            point.firePointEvent('update', { options: options }, update);\n        }\n    }\n    /**\n     * Remove a point and optionally redraw the series and if necessary the axes\n     *\n     * @sample highcharts/plotoptions/series-point-events-remove/\n     *         Remove point and confirm\n     * @sample highcharts/members/point-remove/\n     *         Remove pie slice\n     * @sample maps/members/point-remove/\n     *         Remove selected points in Highmaps\n     *\n     * @function Highcharts.Point#remove\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart or wait for an explicit call. When\n     *        doing more operations on the chart, for example running\n     *        `point.remove()` in a loop, it is best practice to set `redraw`\n     *        to false and call `chart.redraw()` after.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation=false]\n     *        Whether to apply animation, and optionally animation\n     *        configuration.\n     */\n    remove(redraw, animation) {\n        this.series.removePoint(this.series.data.indexOf(this), redraw, animation);\n    }\n    /**\n     * Toggle the selection status of a point.\n     *\n     * @see Highcharts.Chart#getSelectedPoints\n     *\n     * @sample highcharts/members/point-select/\n     *         Select a point from a button\n     * @sample highcharts/members/point-select-lasso/\n     *         Lasso selection\n     * @sample highcharts/chart/events-selection-points/\n     *         Rectangle selection\n     * @sample maps/series/data-id/\n     *         Select a point in Highmaps\n     *\n     * @function Highcharts.Point#select\n     *\n     * @param {boolean} [selected]\n     * When `true`, the point is selected. When `false`, the point is\n     * unselected. When `null` or `undefined`, the selection state is toggled.\n     *\n     * @param {boolean} [accumulate=false]\n     * When `true`, the selection is added to other selected points.\n     * When `false`, other selected points are deselected. Internally in\n     * Highcharts, when\n     * [allowPointSelect](https://api.highcharts.com/highcharts/plotOptions.series.allowPointSelect)\n     * is `true`, selected points are accumulated on Control, Shift or Cmd\n     * clicking the point.\n     *\n     * @emits Highcharts.Point#event:select\n     * @emits Highcharts.Point#event:unselect\n     */\n    select(selected, accumulate) {\n        const point = this, series = point.series, chart = series.chart;\n        selected = Point_pick(selected, !point.selected);\n        this.selectedStaging = selected;\n        // Fire the event with the default handler\n        point.firePointEvent(selected ? 'select' : 'unselect', { accumulate: accumulate }, function () {\n            /**\n             * Whether the point is selected or not.\n             *\n             * @see Point#select\n             * @see Chart#getSelectedPoints\n             *\n             * @name Highcharts.Point#selected\n             * @type {boolean}\n             */\n            point.selected = point.options.selected = selected;\n            series.options.data[series.data.indexOf(point)] =\n                point.options;\n            point.setState(selected && 'select');\n            // Unselect all other points unless Ctrl or Cmd + click\n            if (!accumulate) {\n                chart.getSelectedPoints().forEach(function (loopPoint) {\n                    const loopSeries = loopPoint.series;\n                    if (loopPoint.selected && loopPoint !== point) {\n                        loopPoint.selected = loopPoint.options.selected =\n                            false;\n                        loopSeries.options.data[loopSeries.data.indexOf(loopPoint)] = loopPoint.options;\n                        // Programmatically selecting a point should restore\n                        // normal state, but when click happened on other\n                        // point, set inactive state to match other points\n                        loopPoint.setState(chart.hoverPoints &&\n                            loopSeries.options.inactiveOtherPoints ?\n                            'inactive' : '');\n                        loopPoint.firePointEvent('unselect');\n                    }\n                });\n            }\n        });\n        delete this.selectedStaging;\n    }\n    /**\n     * Runs on mouse over the point. Called internally from mouse and touch\n     * events.\n     *\n     * @function Highcharts.Point#onMouseOver\n     *\n     * @param {Highcharts.PointerEventObject} [e]\n     *        The event arguments.\n     */\n    onMouseOver(e) {\n        const point = this, series = point.series, { inverted, pointer } = series.chart;\n        if (pointer) {\n            e = e ?\n                pointer.normalize(e) :\n                // In cases where onMouseOver is called directly without an\n                // event\n                pointer.getChartCoordinatesFromPoint(point, inverted);\n            pointer.runPointActions(e, point);\n        }\n    }\n    /**\n     * Runs on mouse out from the point. Called internally from mouse and touch\n     * events.\n     *\n     * @function Highcharts.Point#onMouseOut\n     * @emits Highcharts.Point#event:mouseOut\n     */\n    onMouseOut() {\n        const point = this, chart = point.series.chart;\n        point.firePointEvent('mouseOut');\n        if (!point.series.options.inactiveOtherPoints) {\n            (chart.hoverPoints || []).forEach(function (p) {\n                p.setState();\n            });\n        }\n        chart.hoverPoints = chart.hoverPoint = null;\n    }\n    /**\n     * Manage specific event from the series' and point's options. Only do it on\n     * demand, to save processing time on hovering.\n     *\n     * @private\n     * @function Highcharts.Point#importEvents\n     */\n    manageEvent(eventType) {\n        const point = this, options = Point_merge(point.series.options.point, point.options), userEvent = options.events?.[eventType];\n        if (Point_isFunction(userEvent) &&\n            (!point.hcEvents?.[eventType] ||\n                // Some HC modules, like marker-clusters, draggable-poins etc.\n                // use events in their logic, so we need to be sure, that\n                // callback function is different\n                point.hcEvents?.[eventType]?.map((el) => el.fn)\n                    .indexOf(userEvent) === -1)) {\n            // While updating the existing callback event the old one should be\n            // removed\n            point.importedUserEvent?.();\n            point.importedUserEvent = Point_addEvent(point, eventType, userEvent);\n            if (point.hcEvents) {\n                point.hcEvents[eventType].userEvent = true;\n            }\n        }\n        else if (point.importedUserEvent &&\n            !userEvent &&\n            point.hcEvents?.[eventType] &&\n            point.hcEvents?.[eventType].userEvent) {\n            Point_removeEvent(point, eventType);\n            delete point.hcEvents[eventType];\n            if (!Object.keys(point.hcEvents)) {\n                delete point.importedUserEvent;\n            }\n        }\n    }\n    /**\n     * Set the point's state.\n     *\n     * @function Highcharts.Point#setState\n     *\n     * @param {Highcharts.PointStateValue|\"\"} [state]\n     *        The new state, can be one of `'hover'`, `'select'`, `'inactive'`,\n     *        or `''` (an empty string), `'normal'` or `undefined` to set to\n     *        normal state.\n     * @param {boolean} [move]\n     *        State for animation.\n     *\n     * @emits Highcharts.Point#event:afterSetState\n     */\n    setState(state, move) {\n        const point = this, series = point.series, previousState = point.state, stateOptions = (series.options.states[state || 'normal'] ||\n            {}), markerOptions = (Point_defaultOptions.plotOptions[series.type].marker &&\n            series.options.marker), normalDisabled = (markerOptions && markerOptions.enabled === false), markerStateOptions = ((markerOptions &&\n            markerOptions.states &&\n            markerOptions.states[state || 'normal']) || {}), stateDisabled = markerStateOptions.enabled === false, pointMarker = point.marker || {}, chart = series.chart, hasMarkers = (markerOptions && series.markerAttribs);\n        let halo = series.halo, markerAttribs, pointAttribs, pointAttribsAnimation, stateMarkerGraphic = series.stateMarkerGraphic, newSymbol;\n        state = state || ''; // Empty string\n        if (\n        // Already has this state\n        (state === point.state && !move) ||\n            // Selected points don't respond to hover\n            (point.selected && state !== 'select') ||\n            // Series' state options is disabled\n            (stateOptions.enabled === false) ||\n            // General point marker's state options is disabled\n            (state && (stateDisabled ||\n                (normalDisabled &&\n                    markerStateOptions.enabled === false))) ||\n            // Individual point marker's state options is disabled\n            (state &&\n                pointMarker.states &&\n                pointMarker.states[state] &&\n                pointMarker.states[state].enabled === false) // #1610\n        ) {\n            return;\n        }\n        point.state = state;\n        if (hasMarkers) {\n            markerAttribs = series.markerAttribs(point, state);\n        }\n        // Apply hover styles to the existing point\n        // Prevent from mocked null points (#14966)\n        if (point.graphic && !point.hasMockGraphic) {\n            if (previousState) {\n                point.graphic.removeClass('highcharts-point-' + previousState);\n            }\n            if (state) {\n                point.graphic.addClass('highcharts-point-' + state);\n            }\n            if (!chart.styledMode) {\n                pointAttribs = series.pointAttribs(point, state);\n                pointAttribsAnimation = Point_pick(chart.options.chart.animation, stateOptions.animation);\n                const opacity = pointAttribs.opacity;\n                // Some inactive points (e.g. slices in pie) should apply\n                // opacity also for their labels\n                if (series.options.inactiveOtherPoints && Point_isNumber(opacity)) {\n                    (point.dataLabels || []).forEach(function (label) {\n                        if (label &&\n                            !label.hasClass('highcharts-data-label-hidden')) {\n                            label.animate({ opacity }, pointAttribsAnimation);\n                            if (label.connector) {\n                                label.connector.animate({ opacity }, pointAttribsAnimation);\n                            }\n                        }\n                    });\n                }\n                point.graphic.animate(pointAttribs, pointAttribsAnimation);\n            }\n            if (markerAttribs) {\n                point.graphic.animate(markerAttribs, Point_pick(\n                // Turn off globally:\n                chart.options.chart.animation, markerStateOptions.animation, markerOptions.animation));\n            }\n            // Zooming in from a range with no markers to a range with markers\n            if (stateMarkerGraphic) {\n                stateMarkerGraphic.hide();\n            }\n        }\n        else {\n            // If a graphic is not applied to each point in the normal state,\n            // create a shared graphic for the hover state\n            if (state && markerStateOptions) {\n                newSymbol = pointMarker.symbol || series.symbol;\n                // If the point has another symbol than the previous one, throw\n                // away the state marker graphic and force a new one (#1459)\n                if (stateMarkerGraphic &&\n                    stateMarkerGraphic.currentSymbol !== newSymbol) {\n                    stateMarkerGraphic = stateMarkerGraphic.destroy();\n                }\n                // Add a new state marker graphic\n                if (markerAttribs) {\n                    if (!stateMarkerGraphic) {\n                        if (newSymbol) {\n                            series.stateMarkerGraphic = stateMarkerGraphic =\n                                chart.renderer\n                                    .symbol(newSymbol, markerAttribs.x, markerAttribs.y, markerAttribs.width, markerAttribs.height, Point_merge(markerOptions, markerStateOptions))\n                                    .add(series.markerGroup);\n                            stateMarkerGraphic.currentSymbol = newSymbol;\n                        }\n                        // Move the existing graphic\n                    }\n                    else {\n                        stateMarkerGraphic[move ? 'animate' : 'attr']({\n                            x: markerAttribs.x,\n                            y: markerAttribs.y\n                        });\n                    }\n                }\n                if (!chart.styledMode && stateMarkerGraphic &&\n                    point.state !== 'inactive') {\n                    stateMarkerGraphic.attr(series.pointAttribs(point, state));\n                }\n            }\n            if (stateMarkerGraphic) {\n                stateMarkerGraphic[state && point.isInside ? 'show' : 'hide'](); // #2450\n                stateMarkerGraphic.element.point = point; // #4310\n                stateMarkerGraphic.addClass(point.getClassName(), true);\n            }\n        }\n        // Show me your halo\n        const haloOptions = stateOptions.halo;\n        const markerGraphic = (point.graphic || stateMarkerGraphic);\n        const markerVisibility = (markerGraphic && markerGraphic.visibility || 'inherit');\n        if (haloOptions &&\n            haloOptions.size &&\n            markerGraphic &&\n            markerVisibility !== 'hidden' &&\n            !point.isCluster) {\n            if (!halo) {\n                series.halo = halo = chart.renderer.path()\n                    // #5818, #5903, #6705\n                    .add(markerGraphic.parentGroup);\n            }\n            halo.show()[move ? 'animate' : 'attr']({\n                d: point.haloPath(haloOptions.size)\n            });\n            halo.attr({\n                'class': 'highcharts-halo highcharts-color-' +\n                    Point_pick(point.colorIndex, series.colorIndex) +\n                    (point.className ? ' ' + point.className : ''),\n                'visibility': markerVisibility,\n                'zIndex': -1 // #4929, #8276\n            });\n            halo.point = point; // #6055\n            if (!chart.styledMode) {\n                halo.attr(Point_extend({\n                    'fill': point.color || series.color,\n                    'fill-opacity': haloOptions.opacity\n                }, HTML_AST.filterUserAttributes(haloOptions.attributes || {})));\n            }\n        }\n        else if (halo?.point?.haloPath &&\n            !halo.point.destroyed) {\n            // Animate back to 0 on the current halo point (#6055)\n            halo.animate({ d: halo.point.haloPath(0) }, null, \n            // Hide after unhovering. The `complete` callback runs in the\n            // halo's context (#7681).\n            halo.hide);\n        }\n        Point_fireEvent(point, 'afterSetState', { state });\n    }\n    /**\n     * Get the path definition for the halo, which is usually a shadow-like\n     * circle around the currently hovered point.\n     *\n     * @function Highcharts.Point#haloPath\n     *\n     * @param {number} size\n     *        The radius of the circular halo.\n     *\n     * @return {Highcharts.SVGPathArray}\n     *         The path definition.\n     */\n    haloPath(size) {\n        const pos = this.pos();\n        return pos ? this.series.chart.renderer.symbols.circle(Point_crisp(pos[0], 1) - size, pos[1] - size, size * 2, size * 2) : [];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_Point = (Point);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Function callback when a series point is clicked. Return false to cancel the\n * action.\n *\n * @callback Highcharts.PointClickCallbackFunction\n *\n * @param {Highcharts.Point} this\n *        The point where the event occurred.\n *\n * @param {Highcharts.PointClickEventObject} event\n *        Event arguments.\n */\n/**\n * Common information for a click event on a series point.\n *\n * @interface Highcharts.PointClickEventObject\n * @extends Highcharts.PointerEventObject\n */ /**\n* Clicked point.\n* @name Highcharts.PointClickEventObject#point\n* @type {Highcharts.Point}\n*/\n/**\n * Gets fired when the mouse leaves the area close to the point.\n *\n * @callback Highcharts.PointMouseOutCallbackFunction\n *\n * @param {Highcharts.Point} this\n *        Point where the event occurred.\n *\n * @param {global.PointerEvent} event\n *        Event that occurred.\n */\n/**\n * Gets fired when the mouse enters the area close to the point.\n *\n * @callback Highcharts.PointMouseOverCallbackFunction\n *\n * @param {Highcharts.Point} this\n *        Point where the event occurred.\n *\n * @param {global.Event} event\n *        Event that occurred.\n */\n/**\n * The generic point options for all series.\n *\n * In TypeScript you have to extend `PointOptionsObject` with an additional\n * declaration to allow custom data options:\n *\n * ```\n * declare interface PointOptionsObject {\n *     customProperty: string;\n * }\n * ```\n *\n * @interface Highcharts.PointOptionsObject\n */\n/**\n * Possible option types for a data point. Use `null` to indicate a gap.\n *\n * @typedef {number|string|Highcharts.PointOptionsObject|Array<(number|string|null)>|null} Highcharts.PointOptionsType\n */\n/**\n * Gets fired when the point is removed using the `.remove()` method.\n *\n * @callback Highcharts.PointRemoveCallbackFunction\n *\n * @param {Highcharts.Point} this\n *        Point where the event occurred.\n *\n * @param {global.Event} event\n *        Event that occurred.\n */\n/**\n * Possible key values for the point state options.\n *\n * @typedef {\"hover\"|\"inactive\"|\"normal\"|\"select\"} Highcharts.PointStateValue\n */\n/**\n * Gets fired when the point is updated programmatically through the `.update()`\n * method.\n *\n * @callback Highcharts.PointUpdateCallbackFunction\n *\n * @param {Highcharts.Point} this\n *        Point where the event occurred.\n *\n * @param {Highcharts.PointUpdateEventObject} event\n *        Event that occurred.\n */\n/**\n * Information about the update event.\n *\n * @interface Highcharts.PointUpdateEventObject\n * @extends global.Event\n */ /**\n* Options data of the update event.\n* @name Highcharts.PointUpdateEventObject#options\n* @type {Highcharts.PointOptionsType}\n*/\n/**\n * @interface Highcharts.PointEventsOptionsObject\n */ /**\n* Fires when the point is selected either programmatically or following a click\n* on the point. One parameter, `event`, is passed to the function. Returning\n* `false` cancels the operation.\n* @name Highcharts.PointEventsOptionsObject#select\n* @type {Highcharts.PointSelectCallbackFunction|undefined}\n*/ /**\n* Fires when the point is unselected either programmatically or following a\n* click on the point. One parameter, `event`, is passed to the function.\n* Returning `false` cancels the operation.\n* @name Highcharts.PointEventsOptionsObject#unselect\n* @type {Highcharts.PointUnselectCallbackFunction|undefined}\n*/\n/**\n * Information about the select/unselect event.\n *\n * @interface Highcharts.PointInteractionEventObject\n * @extends global.Event\n */ /**\n* @name Highcharts.PointInteractionEventObject#accumulate\n* @type {boolean}\n*/\n/**\n * Gets fired when the point is selected either programmatically or following a\n * click on the point.\n *\n * @callback Highcharts.PointSelectCallbackFunction\n *\n * @param {Highcharts.Point} this\n *        Point where the event occurred.\n *\n * @param {Highcharts.PointInteractionEventObject} event\n *        Event that occurred.\n */\n/**\n * Fires when the point is unselected either programmatically or following a\n * click on the point.\n *\n * @callback Highcharts.PointUnselectCallbackFunction\n *\n * @param {Highcharts.Point} this\n *        Point where the event occurred.\n *\n * @param {Highcharts.PointInteractionEventObject} event\n *        Event that occurred.\n */\n''; // Keeps doclets above in JS file.\n\n;// ./code/es-modules/Core/Pointer.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: Pointer_color } = Color_Color;\n\nconst { charts: Pointer_charts, composed: Pointer_composed, isTouchDevice: Pointer_isTouchDevice } = Core_Globals;\n\nconst { addEvent: Pointer_addEvent, attr: Pointer_attr, css: Pointer_css, extend: Pointer_extend, find: Pointer_find, fireEvent: Pointer_fireEvent, isNumber: Pointer_isNumber, isObject: Pointer_isObject, objectEach: Pointer_objectEach, offset: Pointer_offset, pick: Pointer_pick, pushUnique: Pointer_pushUnique, splat: Pointer_splat } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * The mouse and touch tracker object. Each {@link Chart} item has one\n * associated Pointer item that can be accessed from the  {@link Chart.pointer}\n * property.\n *\n * @class\n * @name Highcharts.Pointer\n *\n * @param {Highcharts.Chart} chart\n * The chart instance.\n *\n * @param {Highcharts.Options} options\n * The root options object. The pointer uses options from the chart and tooltip\n * structures.\n */\nclass Pointer {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Set inactive state to all series that are not currently hovered,\n     * or, if `inactiveOtherPoints` is set to true, set inactive state to\n     * all points within that series.\n     *\n     * @private\n     * @function Highcharts.Pointer#applyInactiveState\n     *\n     * @param {Array<Highcharts.Point>} points\n     * Currently hovered points\n     */\n    applyInactiveState(points) {\n        let activeSeries = [], series;\n        // Get all active series from the hovered points\n        (points || []).forEach(function (item) {\n            series = item.series;\n            // Include itself\n            activeSeries.push(series);\n            // Include parent series\n            if (series.linkedParent) {\n                activeSeries.push(series.linkedParent);\n            }\n            // Include all child series\n            if (series.linkedSeries) {\n                activeSeries = activeSeries.concat(series.linkedSeries);\n            }\n            // Include navigator series\n            if (series.navigatorSeries) {\n                activeSeries.push(series.navigatorSeries);\n            }\n        });\n        // Now loop over all series, filtering out active series\n        this.chart.series.forEach(function (inactiveSeries) {\n            if (activeSeries.indexOf(inactiveSeries) === -1) {\n                // Inactive series\n                inactiveSeries.setState('inactive', true);\n            }\n            else if (inactiveSeries.options.inactiveOtherPoints) {\n                // Active series, but other points should be inactivated\n                inactiveSeries.setAllPointsToState('inactive');\n            }\n        });\n    }\n    /**\n     * Destroys the Pointer object and disconnects DOM events.\n     *\n     * @function Highcharts.Pointer#destroy\n     */\n    destroy() {\n        const pointer = this;\n        this.eventsToUnbind.forEach((unbind) => unbind());\n        this.eventsToUnbind = [];\n        if (!Core_Globals.chartCount) {\n            Pointer.unbindDocumentMouseUp.forEach((el) => el.unbind());\n            Pointer.unbindDocumentMouseUp.length = 0;\n            if (Pointer.unbindDocumentTouchEnd) {\n                Pointer.unbindDocumentTouchEnd = (Pointer.unbindDocumentTouchEnd());\n            }\n        }\n        // Memory and CPU leak\n        clearInterval(pointer.tooltipTimeout);\n        Pointer_objectEach(pointer, function (_val, prop) {\n            pointer[prop] = void 0;\n        });\n    }\n    /**\n     * Calculate attrs for selection marker.\n     * @private\n     * @function Highcharts.Pointer#getSelectionMarkerAttrs\n     * @emits getSelectionMarkerAttrs\n     */\n    getSelectionMarkerAttrs(chartX, chartY) {\n        const e = {\n            args: { chartX, chartY },\n            attrs: {},\n            shapeType: 'rect'\n        };\n        Pointer_fireEvent(this, 'getSelectionMarkerAttrs', e, (e) => {\n            const { chart, zoomHor, zoomVert } = this, { mouseDownX = 0, mouseDownY = 0 } = chart, attrs = e.attrs;\n            let size;\n            attrs.x = chart.plotLeft;\n            attrs.y = chart.plotTop;\n            attrs.width = zoomHor ? 1 : chart.plotWidth;\n            attrs.height = zoomVert ? 1 : chart.plotHeight;\n            // Adjust the width of the selection marker. Firefox needs at\n            // least one pixel width or height in order to return a bounding\n            // box.\n            if (zoomHor) {\n                size = chartX - mouseDownX;\n                attrs.width = Math.max(1, Math.abs(size));\n                attrs.x = (size > 0 ? 0 : size) + mouseDownX;\n            }\n            // Adjust the height of the selection marker\n            if (zoomVert) {\n                size = chartY - mouseDownY;\n                attrs.height = Math.max(1, Math.abs(size));\n                attrs.y = (size > 0 ? 0 : size) + mouseDownY;\n            }\n        });\n        return e;\n    }\n    /**\n     * Perform a drag operation in response to a mousemove event while the mouse\n     * is down.\n     * @private\n     * @function Highcharts.Pointer#drag\n     */\n    drag(e) {\n        const { chart } = this, { mouseDownX = 0, mouseDownY = 0 } = chart, { panning, panKey, selectionMarkerFill } = chart.options.chart, plotLeft = chart.plotLeft, plotTop = chart.plotTop, plotWidth = chart.plotWidth, plotHeight = chart.plotHeight, panningEnabled = Pointer_isObject(panning) ?\n            panning.enabled :\n            panning, panKeyPressed = panKey && e[`${panKey}Key`];\n        let chartX = e.chartX, chartY = e.chartY, clickedInside, selectionMarker = this.selectionMarker;\n        // If the device supports both touch and mouse (like IE11), and we are\n        // touch-dragging inside the plot area, don't handle the mouse event.\n        // #4339.\n        if (selectionMarker && selectionMarker.touch) {\n            return;\n        }\n        // If the mouse is outside the plot area, adjust to coordinates\n        // inside to prevent the selection marker from going outside\n        if (chartX < plotLeft) {\n            chartX = plotLeft;\n        }\n        else if (chartX > plotLeft + plotWidth) {\n            chartX = plotLeft + plotWidth;\n        }\n        if (chartY < plotTop) {\n            chartY = plotTop;\n        }\n        else if (chartY > plotTop + plotHeight) {\n            chartY = plotTop + plotHeight;\n        }\n        // Determine if the mouse has moved more than 10px\n        this.hasDragged = Math.sqrt(Math.pow(mouseDownX - chartX, 2) +\n            Math.pow(mouseDownY - chartY, 2));\n        if (this.hasDragged > 10) {\n            clickedInside = chart.isInsidePlot(mouseDownX - plotLeft, mouseDownY - plotTop, {\n                visiblePlotOnly: true\n            });\n            const { shapeType, attrs } = this.getSelectionMarkerAttrs(chartX, chartY);\n            // Make a selection\n            if ((chart.hasCartesianSeries || chart.mapView) &&\n                this.hasZoom &&\n                clickedInside &&\n                !panKeyPressed) {\n                if (!selectionMarker) {\n                    this.selectionMarker = selectionMarker =\n                        chart.renderer[shapeType]();\n                    selectionMarker\n                        .attr({\n                        'class': 'highcharts-selection-marker',\n                        zIndex: 7\n                    })\n                        .add();\n                    if (!chart.styledMode) {\n                        selectionMarker.attr({\n                            fill: selectionMarkerFill ||\n                                Pointer_color(\"#334eff\" /* Palette.highlightColor80 */)\n                                    .setOpacity(0.25).get()\n                        });\n                    }\n                }\n            }\n            if (selectionMarker) {\n                selectionMarker.attr(attrs);\n            }\n            // Panning\n            if (clickedInside && !selectionMarker && panningEnabled) {\n                chart.pan(e, panning);\n            }\n        }\n    }\n    /**\n     * Start a drag operation.\n     * @private\n     * @function Highcharts.Pointer#dragStart\n     */\n    dragStart(e) {\n        const chart = this.chart;\n        // Record the start position\n        chart.mouseIsDown = e.type;\n        chart.cancelClick = false;\n        chart.mouseDownX = e.chartX;\n        chart.mouseDownY = e.chartY;\n    }\n    /**\n     * Get selection box to calculate extremes\n     * @private\n     * @function Highcharts.Pointer#getSelectionBox\n     * @emits getSelectionBox\n     */\n    getSelectionBox(marker) {\n        const e = {\n            args: { marker },\n            result: marker.getBBox()\n        };\n        Pointer_fireEvent(this, 'getSelectionBox', e);\n        return e.result;\n    }\n    /**\n     * On mouse up or touch end across the entire document, drop the selection.\n     * @private\n     * @function Highcharts.Pointer#drop\n     */\n    drop(e) {\n        const { chart, selectionMarker } = this;\n        // During a mouse, touch or mousewheel pan, the `startOnTick` and\n        // `endOnTick` options are ignored. Otherwise the zooming or panning\n        // would be jumpy, or even not performed because the end ticks would\n        // block it. After the touch has ended, we undo this and render again.\n        let redraw;\n        for (const axis of chart.axes) {\n            if (axis.isPanning) {\n                axis.isPanning = false;\n                if (axis.options.startOnTick ||\n                    axis.options.endOnTick ||\n                    axis.series.some((s) => s.boosted)) {\n                    axis.forceRedraw = true;\n                    axis.setExtremes(axis.userMin, axis.userMax, false);\n                    redraw = true;\n                }\n            }\n        }\n        if (redraw) {\n            chart.redraw();\n        }\n        if (selectionMarker && e) {\n            // A selection has been made\n            if (this.hasDragged) {\n                const from = this.getSelectionBox(selectionMarker);\n                chart.transform({\n                    axes: chart.axes.filter((a) => a.zoomEnabled &&\n                        ((a.coll === 'xAxis' && this.zoomX) ||\n                            (a.coll === 'yAxis' && this.zoomY))),\n                    selection: {\n                        originalEvent: e, // #4890\n                        xAxis: [],\n                        yAxis: [],\n                        ...from\n                    },\n                    from\n                });\n            }\n            if (Pointer_isNumber(chart.index)) {\n                this.selectionMarker = selectionMarker.destroy();\n            }\n        }\n        // Reset all. Check isNumber because it may be destroyed on mouse up\n        // (#877)\n        if (chart && Pointer_isNumber(chart.index)) {\n            Pointer_css(chart.container, { cursor: chart._cursor });\n            chart.cancelClick = this.hasDragged > 10; // #370\n            chart.mouseIsDown = false;\n            this.hasDragged = 0;\n            this.pinchDown = [];\n        }\n    }\n    /**\n     * Finds the closest point to a set of coordinates, using the k-d-tree\n     * algorithm.\n     *\n     * @function Highcharts.Pointer#findNearestKDPoint\n     *\n     * @param {Array<Highcharts.Series>} series\n     * All the series to search in.\n     *\n     * @param {boolean|undefined} shared\n     * Whether it is a shared tooltip or not.\n     *\n     * @param {Highcharts.PointerEventObject} e\n     * The pointer event object, containing chart coordinates of the pointer.\n     *\n     * @return {Highcharts.Point|undefined}\n     * The point closest to given coordinates.\n     */\n    findNearestKDPoint(series, shared, e) {\n        let closest;\n        /** @private */\n        function sort(p1, p2) {\n            const isCloserX = p1.distX - p2.distX, isCloser = p1.dist - p2.dist, isAbove = (p2.series.group?.zIndex -\n                p1.series.group?.zIndex);\n            let result;\n            // We have two points which are not in the same place on xAxis\n            // and shared tooltip:\n            if (isCloserX !== 0 && shared) { // #5721\n                result = isCloserX;\n                // Points are not exactly in the same place on x/yAxis:\n            }\n            else if (isCloser !== 0) {\n                result = isCloser;\n                // The same xAxis and yAxis position, sort by z-index:\n            }\n            else if (isAbove !== 0) {\n                result = isAbove;\n                // The same zIndex, sort by array index:\n            }\n            else {\n                result =\n                    p1.series.index > p2.series.index ?\n                        -1 :\n                        1;\n            }\n            return result;\n        }\n        series.forEach(function (s) {\n            const noSharedTooltip = s.noSharedTooltip && shared, compareX = (!noSharedTooltip &&\n                s.options.findNearestPointBy.indexOf('y') < 0), point = s.searchPoint(e, compareX);\n            if ( // Check that we actually found a point on the series.\n            Pointer_isObject(point, true) && point.series &&\n                // Use the new point if it is closer.\n                (!Pointer_isObject(closest, true) ||\n                    (sort(closest, point) > 0))) {\n                closest = point;\n            }\n        });\n        return closest;\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#getChartCoordinatesFromPoint\n     */\n    getChartCoordinatesFromPoint(point, inverted) {\n        const { xAxis, yAxis } = point.series, shapeArgs = point.shapeArgs;\n        if (xAxis && yAxis) {\n            let x = point.clientX ?? point.plotX ?? 0, y = point.plotY || 0;\n            if (point.isNode &&\n                shapeArgs &&\n                Pointer_isNumber(shapeArgs.x) &&\n                Pointer_isNumber(shapeArgs.y)) {\n                x = shapeArgs.x;\n                y = shapeArgs.y;\n            }\n            return inverted ? {\n                chartX: yAxis.len + yAxis.pos - y,\n                chartY: xAxis.len + xAxis.pos - x\n            } : {\n                chartX: x + xAxis.pos,\n                chartY: y + yAxis.pos\n            };\n        }\n        if (shapeArgs && shapeArgs.x && shapeArgs.y) {\n            // E.g. pies do not have axes\n            return {\n                chartX: shapeArgs.x,\n                chartY: shapeArgs.y\n            };\n        }\n    }\n    /**\n     * Return the cached chartPosition if it is available on the Pointer,\n     * otherwise find it. Running offset is quite expensive, so it should be\n     * avoided when we know the chart hasn't moved.\n     *\n     * @function Highcharts.Pointer#getChartPosition\n     *\n     * @return {Highcharts.ChartPositionObject}\n     * The offset of the chart container within the page\n     */\n    getChartPosition() {\n        if (this.chartPosition) {\n            return this.chartPosition;\n        }\n        const { container } = this.chart;\n        const pos = Pointer_offset(container);\n        this.chartPosition = {\n            left: pos.left,\n            top: pos.top,\n            scaleX: 1,\n            scaleY: 1\n        };\n        const { offsetHeight, offsetWidth } = container;\n        // #13342 - tooltip was not visible in Chrome, when chart\n        // updates height.\n        if (offsetWidth > 2 && // #13342\n            offsetHeight > 2 // #13342\n        ) {\n            this.chartPosition.scaleX = pos.width / offsetWidth;\n            this.chartPosition.scaleY = pos.height / offsetHeight;\n        }\n        return this.chartPosition;\n    }\n    /**\n     * Get the click position in terms of axis values.\n     *\n     * @function Highcharts.Pointer#getCoordinates\n     *\n     * @param {Highcharts.PointerEventObject} e\n     * Pointer event, extended with `chartX` and `chartY` properties.\n     *\n     * @return {Highcharts.PointerAxisCoordinatesObject}\n     * Axis coordinates.\n     */\n    getCoordinates(e) {\n        const coordinates = {\n            xAxis: [],\n            yAxis: []\n        };\n        for (const axis of this.chart.axes) {\n            coordinates[axis.isXAxis ? 'xAxis' : 'yAxis'].push({\n                axis,\n                value: axis.toValue(e[axis.horiz ? 'chartX' : 'chartY'])\n            });\n        }\n        return coordinates;\n    }\n    /**\n     * Calculates what is the current hovered point/points and series.\n     *\n     * @private\n     * @function Highcharts.Pointer#getHoverData\n     *\n     * @param {Highcharts.Point|undefined} existingHoverPoint\n     * The point currently being hovered.\n     *\n     * @param {Highcharts.Series|undefined} existingHoverSeries\n     * The series currently being hovered.\n     *\n     * @param {Array<Highcharts.Series>} series\n     * All the series in the chart.\n     *\n     * @param {boolean} isDirectTouch\n     * Is the pointer directly hovering the point.\n     *\n     * @param {boolean|undefined} shared\n     * Whether it is a shared tooltip or not.\n     *\n     * @param {Highcharts.PointerEventObject} [e]\n     * The triggering event, containing chart coordinates of the pointer.\n     *\n     * @return {Object}\n     * Object containing resulting hover data: hoverPoint, hoverSeries, and\n     * hoverPoints.\n     */\n    getHoverData(existingHoverPoint, existingHoverSeries, series, isDirectTouch, shared, e) {\n        const hoverPoints = [], useExisting = !!(isDirectTouch && existingHoverPoint), filter = function (s) {\n            return (s.visible &&\n                !(!shared && s.directTouch) && // #3821\n                Pointer_pick(s.options.enableMouseTracking, true));\n        };\n        let hoverSeries = existingHoverSeries, \n        // Which series to look in for the hover point\n        searchSeries, \n        // Parameters needed for beforeGetHoverData event.\n        eventArgs = {\n            chartX: e ? e.chartX : void 0,\n            chartY: e ? e.chartY : void 0,\n            shared: shared\n        };\n        // Find chart.hoverPane and update filter method in polar.\n        Pointer_fireEvent(this, 'beforeGetHoverData', eventArgs);\n        const notSticky = hoverSeries && !hoverSeries.stickyTracking;\n        searchSeries = notSticky ?\n            // Only search on hovered series if it has stickyTracking false\n            [hoverSeries] :\n            // Filter what series to look in.\n            series.filter((s) => s.stickyTracking &&\n                (eventArgs.filter || filter)(s));\n        // Use existing hovered point or find the one closest to coordinates.\n        const hoverPoint = useExisting || !e ?\n            existingHoverPoint :\n            this.findNearestKDPoint(searchSeries, shared, e);\n        // Assign hover series\n        hoverSeries = hoverPoint && hoverPoint.series;\n        // If we have a hoverPoint, assign hoverPoints.\n        if (hoverPoint) {\n            // When tooltip is shared, it displays more than one point\n            if (shared && !hoverSeries.noSharedTooltip) {\n                searchSeries = series.filter(function (s) {\n                    return eventArgs.filter ?\n                        eventArgs.filter(s) : filter(s) && !s.noSharedTooltip;\n                });\n                // Get all points with the same x value as the hoverPoint\n                searchSeries.forEach(function (s) {\n                    let point = Pointer_find(s.points, function (p) {\n                        return p.x === hoverPoint.x && !p.isNull;\n                    });\n                    if (Pointer_isObject(point)) {\n                        /*\n                        * Boost returns a minimal point. Convert it to a usable\n                        * point for tooltip and states.\n                        */\n                        if (s.boosted && s.boost) {\n                            point = s.boost.getPoint(point);\n                        }\n                        hoverPoints.push(point);\n                    }\n                });\n            }\n            else {\n                hoverPoints.push(hoverPoint);\n            }\n        }\n        // Check whether the hoverPoint is inside pane we are hovering over.\n        eventArgs = { hoverPoint: hoverPoint };\n        Pointer_fireEvent(this, 'afterGetHoverData', eventArgs);\n        return {\n            hoverPoint: eventArgs.hoverPoint,\n            hoverSeries: hoverSeries,\n            hoverPoints: hoverPoints\n        };\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#getPointFromEvent\n     */\n    getPointFromEvent(e) {\n        let target = e.target, point;\n        while (target && !point) {\n            point = target.point;\n            target = target.parentNode;\n        }\n        return point;\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#onTrackerMouseOut\n     */\n    onTrackerMouseOut(e) {\n        const chart = this.chart;\n        const relatedTarget = e.relatedTarget;\n        const series = chart.hoverSeries;\n        this.isDirectTouch = false;\n        if (series &&\n            relatedTarget &&\n            !series.stickyTracking &&\n            !this.inClass(relatedTarget, 'highcharts-tooltip') &&\n            (!this.inClass(relatedTarget, 'highcharts-series-' + series.index) || // #2499, #4465, #5553\n                !this.inClass(relatedTarget, 'highcharts-tracker'))) {\n            series.onMouseOut();\n        }\n    }\n    /**\n     * Utility to detect whether an element has, or has a parent with, a\n     * specific class name. Used on detection of tracker objects and on deciding\n     * whether hovering the tooltip should cause the active series to mouse out.\n     *\n     * @function Highcharts.Pointer#inClass\n     *\n     * @param {Highcharts.SVGDOMElement|Highcharts.HTMLDOMElement} element\n     * The element to investigate.\n     *\n     * @param {string} className\n     * The class name to look for.\n     *\n     * @return {boolean|undefined}\n     * True if either the element or one of its parents has the given class\n     * name.\n     */\n    inClass(element, className) {\n        let elem = element, elemClassName;\n        while (elem) {\n            elemClassName = Pointer_attr(elem, 'class');\n            if (elemClassName) {\n                if (elemClassName.indexOf(className) !== -1) {\n                    return true;\n                }\n                if (elemClassName.indexOf('highcharts-container') !== -1) {\n                    return false;\n                }\n            }\n            elem = elem.parentElement;\n        }\n    }\n    /**\n     * Initialize the Pointer.\n     *\n     * @private\n     * @function Highcharts.Pointer#init\n     *\n     * @param {Highcharts.Chart} chart\n     * The Chart instance.\n     *\n     * @param {Highcharts.Options} options\n     * The root options object. The pointer uses options from the chart and\n     * tooltip structures.\n     */\n    constructor(chart, options) {\n        this.hasDragged = 0;\n        this.pointerCaptureEventsToUnbind = [];\n        this.eventsToUnbind = [];\n        // Store references\n        this.options = options;\n        this.chart = chart;\n        // Do we need to handle click on a touch device?\n        this.runChartClick = Boolean(options.chart.events?.click);\n        this.pinchDown = [];\n        this.setDOMEvents();\n        Pointer_fireEvent(this, 'afterInit');\n    }\n    /**\n     * Takes a browser event object and extends it with custom Highcharts\n     * properties `chartX` and `chartY` in order to work on the internal\n     * coordinate system.\n     *\n     * On map charts, the properties `lon` and `lat` are added to the event\n     * object given that the chart has projection information.\n     *\n     * @function Highcharts.Pointer#normalize\n     *\n     * @param {global.MouseEvent|global.PointerEvent|global.TouchEvent} e\n     * Event object in standard browsers.\n     *\n     * @param {Highcharts.OffsetObject} [chartPosition]\n     * Additional chart offset.\n     *\n     * @return {Highcharts.PointerEventObject}\n     * A browser event with extended properties `chartX` and `chartY`.\n     */\n    normalize(e, chartPosition) {\n        const touches = e.touches;\n        // Position for iOS (#2757)\n        const ePos = (touches ?\n            touches.length ?\n                touches.item(0) :\n                (Pointer_pick(// #13534\n                touches.changedTouches, e.changedTouches))[0] :\n            e);\n        // Get mouse position\n        if (!chartPosition) {\n            chartPosition = this.getChartPosition();\n        }\n        let chartX = ePos.pageX - chartPosition.left, chartY = ePos.pageY - chartPosition.top;\n        // #11329 - when there is scaling on a parent element, we need to take\n        // this into account\n        chartX /= chartPosition.scaleX;\n        chartY /= chartPosition.scaleY;\n        return Pointer_extend(e, {\n            chartX: Math.round(chartX),\n            chartY: Math.round(chartY)\n        });\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#onContainerClick\n     */\n    onContainerClick(e) {\n        const chart = this.chart;\n        const hoverPoint = chart.hoverPoint;\n        const pEvt = this.normalize(e);\n        const plotLeft = chart.plotLeft;\n        const plotTop = chart.plotTop;\n        if (!chart.cancelClick) {\n            // On tracker click, fire the series and point events. #783, #1583\n            if (hoverPoint &&\n                this.inClass(pEvt.target, 'highcharts-tracker')) {\n                // The series click event\n                Pointer_fireEvent(hoverPoint.series, 'click', Pointer_extend(pEvt, {\n                    point: hoverPoint\n                }));\n                // The point click event\n                if (chart.hoverPoint) { // It may be destroyed (#1844)\n                    hoverPoint.firePointEvent('click', pEvt);\n                }\n                // When clicking outside a tracker, fire a chart event\n            }\n            else {\n                Pointer_extend(pEvt, this.getCoordinates(pEvt));\n                // Fire a click event in the chart\n                if (chart.isInsidePlot(pEvt.chartX - plotLeft, pEvt.chartY - plotTop, {\n                    visiblePlotOnly: true\n                })) {\n                    Pointer_fireEvent(chart, 'click', pEvt);\n                }\n            }\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#onContainerMouseDown\n     */\n    onContainerMouseDown(e) {\n        const isPrimaryButton = ((e.buttons || e.button) & 1) === 1;\n        e = this.normalize(e);\n        // #11635, Firefox does not reliably fire move event after click scroll\n        if (Core_Globals.isFirefox &&\n            e.button !== 0) {\n            this.onContainerMouseMove(e);\n        }\n        // #11635, limiting to primary button\n        if (typeof e.button === 'undefined' ||\n            isPrimaryButton) {\n            this.zoomOption(e);\n            // #295, #13737 solve conflict between container drag and chart zoom\n            if (isPrimaryButton) {\n                e.preventDefault?.();\n            }\n            this.dragStart(e);\n        }\n    }\n    /**\n     * When mouse leaves the container, hide the tooltip.\n     * @private\n     * @function Highcharts.Pointer#onContainerMouseLeave\n     */\n    onContainerMouseLeave(e) {\n        const { pointer } = Pointer_charts[Pointer_pick(Pointer.hoverChartIndex, -1)] || {};\n        e = this.normalize(e);\n        this.onContainerMouseMove(e);\n        // #4886, MS Touch end fires mouseleave but with no related target\n        if (pointer &&\n            !this.inClass(e.relatedTarget, 'highcharts-tooltip')) {\n            pointer.reset();\n            // Also reset the chart position, used in #149 fix\n            pointer.chartPosition = void 0;\n        }\n    }\n    /**\n     * When mouse enters the container, delete pointer's chartPosition.\n     * @private\n     * @function Highcharts.Pointer#onContainerMouseEnter\n     */\n    onContainerMouseEnter() {\n        delete this.chartPosition;\n    }\n    /**\n     * The mousemove, touchmove and touchstart event handler\n     * @private\n     * @function Highcharts.Pointer#onContainerMouseMove\n     */\n    onContainerMouseMove(e) {\n        const chart = this.chart, tooltip = chart.tooltip, pEvt = this.normalize(e);\n        this.setHoverChartIndex(e);\n        if (chart.mouseIsDown === 'mousedown' || this.touchSelect(pEvt)) {\n            this.drag(pEvt);\n        }\n        // Show the tooltip and run mouse over events (#977)\n        if (!chart.openMenu &&\n            (this.inClass(pEvt.target, 'highcharts-tracker') ||\n                chart.isInsidePlot(pEvt.chartX - chart.plotLeft, pEvt.chartY - chart.plotTop, {\n                    visiblePlotOnly: true\n                })) &&\n            // If the tooltip has stickOnContact enabled, do nothing. This\n            // applies regardless of any combinations of the `split` and\n            // `useHTML` options.\n            !(tooltip &&\n                tooltip.shouldStickOnContact(pEvt))) {\n            if (this.inClass(pEvt.target, 'highcharts-no-tooltip')) {\n                this.reset(false, 0);\n            }\n            else {\n                this.runPointActions(pEvt);\n            }\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#onDocumentTouchEnd\n     */\n    onDocumentTouchEnd(e) {\n        this.onDocumentMouseUp(e);\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#onContainerTouchMove\n     */\n    onContainerTouchMove(e) {\n        if (this.touchSelect(e)) {\n            this.onContainerMouseMove(e);\n        }\n        else {\n            this.touch(e);\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#onContainerTouchStart\n     */\n    onContainerTouchStart(e) {\n        if (this.touchSelect(e)) {\n            this.onContainerMouseDown(e);\n        }\n        else {\n            this.zoomOption(e);\n            this.touch(e, true);\n        }\n    }\n    /**\n     * Special handler for mouse move that will hide the tooltip when the mouse\n     * leaves the plotarea. Issue #149 workaround. The mouseleave event does not\n     * always fire.\n     * @private\n     * @function Highcharts.Pointer#onDocumentMouseMove\n     */\n    onDocumentMouseMove(e) {\n        const chart = this.chart;\n        const tooltip = chart.tooltip;\n        const chartPosition = this.chartPosition;\n        const pEvt = this.normalize(e, chartPosition);\n        // If we're outside, hide the tooltip\n        if (chartPosition &&\n            !chart.isInsidePlot(pEvt.chartX - chart.plotLeft, pEvt.chartY - chart.plotTop, {\n                visiblePlotOnly: true\n            }) &&\n            !(tooltip &&\n                tooltip.shouldStickOnContact(pEvt)) && (pEvt.target === chart.container.ownerDocument ||\n            !this.inClass(pEvt.target, 'highcharts-tracker'))) {\n            this.reset();\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Pointer#onDocumentMouseUp\n     */\n    onDocumentMouseUp(e) {\n        Pointer_charts[Pointer_pick(Pointer.hoverChartIndex, -1)]\n            ?.pointer\n            ?.drop(e);\n    }\n    /**\n     * Handle touch events with two touches\n     * @private\n     * @function Highcharts.Pointer#pinch\n     */\n    pinch(e) {\n        const pointer = this, { chart, hasZoom, lastTouches } = pointer, touches = [].map.call(e.touches || [], \n        // Normalize each touch\n        (touch) => pointer.normalize(touch)), touchesLength = touches.length, fireClickEvent = touchesLength === 1 && ((pointer.inClass(e.target, 'highcharts-tracker') &&\n            chart.runTrackerClick) ||\n            pointer.runChartClick), tooltip = chart.tooltip, followTouchMove = touchesLength === 1 &&\n            Pointer_pick(tooltip?.options.followTouchMove, true);\n        // Don't initiate panning until the user has pinched. This prevents us\n        // from blocking page scrolling as users scroll down a long page\n        // (#4210).\n        if (touchesLength > 1) {\n            pointer.initiated = true;\n        }\n        else if (followTouchMove) {\n            // #16119: Prevent blocking scroll when single-finger panning is\n            // not enabled\n            pointer.initiated = false;\n        }\n        // On touch devices, only proceed to trigger click if a handler is\n        // defined\n        if (hasZoom &&\n            pointer.initiated &&\n            !fireClickEvent &&\n            e.cancelable !== false) {\n            e.preventDefault();\n        }\n        // Register the touch start position\n        if (e.type === 'touchstart') {\n            pointer.pinchDown = touches;\n            pointer.res = true; // Reset on next move\n            chart.mouseDownX = e.chartX;\n            // Optionally move the tooltip on touchmove\n        }\n        else if (followTouchMove) {\n            this.runPointActions(pointer.normalize(e));\n            // Event type is touchmove, handle panning and pinching. The length can\n            // be 0 when releasing, if touchend fires first\n        }\n        else if (lastTouches) {\n            Pointer_fireEvent(chart, 'touchpan', {\n                originalEvent: e,\n                touches\n            }, () => {\n                const boxFromTouches = (touches) => {\n                    const finger0 = touches[0], finger1 = touches[1] || finger0;\n                    return {\n                        x: finger0.chartX,\n                        y: finger0.chartY,\n                        width: finger1.chartX - finger0.chartX,\n                        height: finger1.chartY - finger0.chartY\n                    };\n                };\n                chart.transform({\n                    axes: chart.axes\n                        .filter((axis) => axis.zoomEnabled &&\n                        ((this.zoomHor && axis.horiz) ||\n                            (this.zoomVert && !axis.horiz))),\n                    to: boxFromTouches(touches),\n                    from: boxFromTouches(lastTouches),\n                    trigger: e.type\n                });\n            });\n            if (pointer.res) {\n                pointer.res = false;\n                this.reset(false, 0);\n            }\n        }\n        pointer.lastTouches = touches;\n    }\n    /**\n     * Run translation operations\n     * @private\n     * @function Highcharts.Pointer#pinchTranslate\n     * /\n    public pinchTranslate(\n        pinchDown: Array<any>,\n        touches: Array<PointerEvent>,\n        transform: any,\n        selectionMarker: any,\n        clip: any,\n        lastValidTouch: any\n    ): void {\n        if (this.zoomHor) {\n            this.pinchTranslateDirection(\n                true,\n                pinchDown,\n                touches,\n                transform,\n                selectionMarker,\n                clip,\n                lastValidTouch\n            );\n        }\n        if (this.zoomVert) {\n            this.pinchTranslateDirection(\n                false,\n                pinchDown,\n                touches,\n                transform,\n                selectionMarker,\n                clip,\n                lastValidTouch\n            );\n        }\n    }\n    */\n    /**\n     * Run translation operations for each direction (horizontal and vertical)\n     * independently.\n     * @private\n     * @function Highcharts.Pointer#pinchTranslateDirection\n     * /\n    public pinchTranslateDirection(\n        horiz: boolean,\n        pinchDown: Array<any>,\n        touches: Array<PointerEvent>,\n        transform: any,\n        selectionMarker: any,\n        clip: any,\n        lastValidTouch: any,\n        forcedScale?: number\n    ): void {\n        const chart = this.chart,\n            xy: ('x'|'y') = horiz ? 'x' : 'y',\n            XY: ('X'|'Y') = horiz ? 'X' : 'Y',\n            sChartXY: ('chartX'|'chartY') = ('chart' + XY) as any,\n            wh = horiz ? 'width' : 'height',\n            plotLeftTop = (chart as any)['plot' + (horiz ? 'Left' : 'Top')],\n            inverted = chart.inverted,\n            bounds = chart.bounds[horiz ? 'h' : 'v'],\n            singleTouch = pinchDown.length === 1,\n            touch0Start = pinchDown[0][sChartXY],\n            touch1Start = !singleTouch && pinchDown[1][sChartXY],\n            setScale = function (): void {\n                // Don't zoom if fingers are too close on this axis\n                if (\n                    typeof touch1Now === 'number' &&\n                    Math.abs(touch0Start - touch1Start) > 20\n                ) {\n                    scale = forcedScale ||\n                        Math.abs(touch0Now - touch1Now) /\n                        Math.abs(touch0Start - touch1Start);\n                }\n\n                clipXY = ((plotLeftTop - touch0Now) / scale) + touch0Start;\n                selectionWH = (chart as any)[\n                    'plot' + (horiz ? 'Width' : 'Height')\n                ] / scale;\n            };\n\n        let selectionWH: any,\n            selectionXY,\n            clipXY: any,\n            scale = forcedScale || 1,\n            touch0Now = touches[0][sChartXY],\n            touch1Now = !singleTouch && touches[1][sChartXY],\n            outOfBounds;\n\n        // Set the scale, first pass\n        setScale();\n\n        // The clip position (x or y) is altered if out of bounds, the selection\n        // position is not\n        selectionXY = clipXY;\n\n        // Out of bounds\n        if (selectionXY < bounds.min) {\n            selectionXY = bounds.min;\n            outOfBounds = true;\n        } else if (selectionXY + selectionWH > bounds.max) {\n            selectionXY = bounds.max - selectionWH;\n            outOfBounds = true;\n        }\n\n        // Is the chart dragged off its bounds, determined by dataMin and\n        // dataMax?\n        if (outOfBounds) {\n\n            // Modify the touchNow position in order to create an elastic drag\n            // movement. This indicates to the user that the chart is responsive\n            // but can't be dragged further.\n            touch0Now -= 0.8 * (touch0Now - lastValidTouch[xy][0]);\n            if (typeof touch1Now === 'number') {\n                touch1Now -= 0.8 * (touch1Now - lastValidTouch[xy][1]);\n            }\n\n            // Set the scale, second pass to adapt to the modified touchNow\n            // positions\n            setScale();\n\n        } else {\n            lastValidTouch[xy] = [touch0Now, touch1Now];\n        }\n\n        // Set geometry for clipping, selection and transformation\n        if (!inverted) {\n            clip[xy] = clipXY - plotLeftTop;\n            clip[wh] = selectionWH;\n        }\n        const scaleKey = inverted ?\n            (horiz ? 'scaleY' : 'scaleX') : 'scale' + XY;\n        const transformScale = inverted ? 1 / scale : scale;\n\n        selectionMarker[wh] = selectionWH;\n        selectionMarker[xy] = selectionXY;\n        // Invert scale if needed (#19217)\n        transform[scaleKey] = scale * (inverted && !horiz ? -1 : 1);\n        transform['translate' + XY] = (transformScale * plotLeftTop) +\n            (touch0Now - (transformScale * touch0Start));\n    }\n    */\n    /**\n     * Reset the tracking by hiding the tooltip, the hover series state and the\n     * hover point\n     *\n     * @function Highcharts.Pointer#reset\n     *\n     * @param {boolean} [allowMove]\n     * Instead of destroying the tooltip altogether, allow moving it if\n     * possible.\n     *\n     * @param {number} [delay]\n     */\n    reset(allowMove, delay) {\n        const pointer = this, chart = pointer.chart, hoverSeries = chart.hoverSeries, hoverPoint = chart.hoverPoint, hoverPoints = chart.hoverPoints, tooltip = chart.tooltip, tooltipPoints = tooltip && tooltip.shared ?\n            hoverPoints :\n            hoverPoint;\n        // Check if the points have moved outside the plot area (#1003, #4736,\n        // #5101)\n        if (allowMove && tooltipPoints) {\n            Pointer_splat(tooltipPoints).forEach(function (point) {\n                if (point.series.isCartesian &&\n                    typeof point.plotX === 'undefined') {\n                    allowMove = false;\n                }\n            });\n        }\n        // Just move the tooltip, #349\n        if (allowMove) {\n            if (tooltip && tooltipPoints && Pointer_splat(tooltipPoints).length) {\n                tooltip.refresh(tooltipPoints);\n                if (tooltip.shared && hoverPoints) { // #8284\n                    hoverPoints.forEach(function (point) {\n                        point.setState(point.state, true);\n                        if (point.series.isCartesian) {\n                            if (point.series.xAxis.crosshair) {\n                                point.series.xAxis\n                                    .drawCrosshair(null, point);\n                            }\n                            if (point.series.yAxis.crosshair) {\n                                point.series.yAxis\n                                    .drawCrosshair(null, point);\n                            }\n                        }\n                    });\n                }\n                else if (hoverPoint) { // #2500\n                    hoverPoint.setState(hoverPoint.state, true);\n                    chart.axes.forEach(function (axis) {\n                        if (axis.crosshair &&\n                            hoverPoint.series[axis.coll] === axis) {\n                            axis.drawCrosshair(null, hoverPoint);\n                        }\n                    });\n                }\n            }\n            // Full reset\n        }\n        else {\n            if (hoverPoint) {\n                hoverPoint.onMouseOut();\n            }\n            if (hoverPoints) {\n                hoverPoints.forEach(function (point) {\n                    point.setState();\n                });\n            }\n            if (hoverSeries) {\n                hoverSeries.onMouseOut();\n            }\n            if (tooltip) {\n                tooltip.hide(delay);\n            }\n            if (pointer.unDocMouseMove) {\n                pointer.unDocMouseMove = pointer.unDocMouseMove();\n            }\n            // Remove crosshairs\n            chart.axes.forEach(function (axis) {\n                axis.hideCrosshair();\n            });\n            chart.hoverPoints = chart.hoverPoint = void 0;\n        }\n    }\n    /**\n     * With line type charts with a single tracker, get the point closest to the\n     * mouse. Run Point.onMouseOver and display tooltip for the point or points.\n     *\n     * @private\n     * @function Highcharts.Pointer#runPointActions\n     *\n     * @emits Highcharts.Point#event:mouseOut\n     * @emits Highcharts.Point#event:mouseOver\n     */\n    runPointActions(e, p, force) {\n        const pointer = this, chart = pointer.chart, series = chart.series, tooltip = (chart.tooltip && chart.tooltip.options.enabled ?\n            chart.tooltip :\n            void 0), shared = (tooltip ?\n            tooltip.shared :\n            false);\n        let hoverPoint = p || chart.hoverPoint, hoverSeries = hoverPoint && hoverPoint.series || chart.hoverSeries;\n        const // `onMouseOver` or already hovering a series with directTouch\n        isDirectTouch = (!e || e.type !== 'touchmove') && (!!p || ((hoverSeries && hoverSeries.directTouch) &&\n            pointer.isDirectTouch)), hoverData = this.getHoverData(hoverPoint, hoverSeries, series, isDirectTouch, shared, e);\n        // Update variables from hoverData.\n        hoverPoint = hoverData.hoverPoint;\n        hoverSeries = hoverData.hoverSeries;\n        const points = hoverData.hoverPoints, followPointer = hoverSeries &&\n            hoverSeries.tooltipOptions.followPointer &&\n            !hoverSeries.tooltipOptions.split, useSharedTooltip = (shared &&\n            hoverSeries &&\n            !hoverSeries.noSharedTooltip);\n        // Refresh tooltip for kdpoint if new hover point or tooltip was hidden\n        // #3926, #4200\n        if (hoverPoint &&\n            (force ||\n                hoverPoint !== chart.hoverPoint ||\n                (tooltip && tooltip.isHidden))) {\n            (chart.hoverPoints || []).forEach(function (p) {\n                if (points.indexOf(p) === -1) {\n                    p.setState();\n                }\n            });\n            // Set normal state to previous series\n            if (chart.hoverSeries !== hoverSeries) {\n                hoverSeries.onMouseOver();\n            }\n            pointer.applyInactiveState(points);\n            // Do mouseover on all points (#3919, #3985, #4410, #5622)\n            (points || []).forEach(function (p) {\n                p.setState('hover');\n            });\n            // If tracking is on series in stead of on each point,\n            // fire mouseOver on hover point. // #4448\n            if (chart.hoverPoint) {\n                chart.hoverPoint.firePointEvent('mouseOut');\n            }\n            // Hover point may have been destroyed in the event handlers (#7127)\n            if (!hoverPoint.series) {\n                return;\n            }\n            /**\n             * Contains all hovered points.\n             *\n             * @name Highcharts.Chart#hoverPoints\n             * @type {Array<Highcharts.Point>|null}\n             */\n            chart.hoverPoints = points;\n            /**\n             * Contains the original hovered point.\n             *\n             * @name Highcharts.Chart#hoverPoint\n             * @type {Highcharts.Point|null}\n             */\n            chart.hoverPoint = hoverPoint;\n            /**\n             * Hover state should not be lost when axis is updated (#12569)\n             * Axis.update runs pointer.reset which uses chart.hoverPoint.state\n             * to apply state which does not exist in hoverPoint yet.\n             * The mouseOver event should be triggered when hoverPoint\n             * is correct.\n             */\n            hoverPoint.firePointEvent('mouseOver', void 0, () => {\n                // Draw tooltip if necessary\n                if (tooltip && hoverPoint) {\n                    tooltip.refresh(useSharedTooltip ? points : hoverPoint, e);\n                }\n            });\n            // Update positions (regardless of kdpoint or hoverPoint)\n        }\n        else if (followPointer && tooltip && !tooltip.isHidden) {\n            const anchor = tooltip.getAnchor([{}], e);\n            if (chart.isInsidePlot(anchor[0], anchor[1], {\n                visiblePlotOnly: true\n            })) {\n                tooltip.updatePosition({ plotX: anchor[0], plotY: anchor[1] });\n            }\n        }\n        // Start the event listener to pick up the tooltip and crosshairs\n        if (!pointer.unDocMouseMove) {\n            pointer.unDocMouseMove = Pointer_addEvent(chart.container.ownerDocument, 'mousemove', (e) => Pointer_charts[Pointer.hoverChartIndex ?? -1]\n                ?.pointer\n                ?.onDocumentMouseMove(e));\n            pointer.eventsToUnbind.push(pointer.unDocMouseMove);\n        }\n        // Issues related to crosshair #4927, #5269 #5066, #5658\n        chart.axes.forEach(function drawAxisCrosshair(axis) {\n            const snap = Pointer_pick((axis.crosshair || {}).snap, true);\n            let point;\n            if (snap) {\n                point = chart.hoverPoint; // #13002\n                if (!point || point.series[axis.coll] !== axis) {\n                    point = Pointer_find(points, (p) => p.series && p.series[axis.coll] === axis);\n                }\n            }\n            // Axis has snapping crosshairs, and one of the hover points belongs\n            // to axis. Always call drawCrosshair when it is not snap.\n            if (point || !snap) {\n                axis.drawCrosshair(e, point);\n                // Axis has snapping crosshairs, but no hover point belongs to axis\n            }\n            else {\n                axis.hideCrosshair();\n            }\n        });\n    }\n    /**\n     * Set the JS DOM events on the container and document. This method should\n     * contain a one-to-one assignment between methods and their handlers. Any\n     * advanced logic should be moved to the handler reflecting the event's\n     * name.\n     * @private\n     * @function Highcharts.Pointer#setDOMEvents\n     */\n    setDOMEvents() {\n        const container = this.chart.container, ownerDoc = container.ownerDocument;\n        container.onmousedown = this.onContainerMouseDown.bind(this);\n        container.onmousemove = this.onContainerMouseMove.bind(this);\n        container.onclick = this.onContainerClick.bind(this);\n        this.eventsToUnbind.push(Pointer_addEvent(container, 'mouseenter', this.onContainerMouseEnter.bind(this)), Pointer_addEvent(container, 'mouseleave', this.onContainerMouseLeave.bind(this)));\n        if (!Pointer.unbindDocumentMouseUp.some((el) => el.doc === ownerDoc)) {\n            Pointer.unbindDocumentMouseUp.push({\n                doc: ownerDoc,\n                unbind: Pointer_addEvent(ownerDoc, 'mouseup', this.onDocumentMouseUp.bind(this))\n            });\n        }\n        // In case we are dealing with overflow, reset the chart position when\n        // scrolling parent elements\n        let parent = this.chart.renderTo.parentElement;\n        while (parent && parent.tagName !== 'BODY') {\n            this.eventsToUnbind.push(Pointer_addEvent(parent, 'scroll', () => {\n                delete this.chartPosition;\n            }));\n            parent = parent.parentElement;\n        }\n        this.eventsToUnbind.push(Pointer_addEvent(container, 'touchstart', this.onContainerTouchStart.bind(this), { passive: false }), Pointer_addEvent(container, 'touchmove', this.onContainerTouchMove.bind(this), { passive: false }));\n        if (!Pointer.unbindDocumentTouchEnd) {\n            Pointer.unbindDocumentTouchEnd = Pointer_addEvent(ownerDoc, 'touchend', this.onDocumentTouchEnd.bind(this), { passive: false });\n        }\n        this.setPointerCapture();\n        Pointer_addEvent(this.chart, 'redraw', this.setPointerCapture.bind(this));\n    }\n    /**\n     * Sets, or removes on update, pointer events using pointer capture for\n     * tooltip.followTouchMove if any series has findNearestPointBy that\n     * includes the y dimension.\n     * @private\n     * @function Highcharts.Pointer#setPointerCapture\n    */\n    setPointerCapture() {\n        // Only for touch\n        if (!Pointer_isTouchDevice) {\n            return;\n        }\n        const pointer = this, events = pointer.pointerCaptureEventsToUnbind, chart = pointer.chart, container = chart.container, followTouchMove = Pointer_pick(chart.options.tooltip?.followTouchMove, true), shouldHave = followTouchMove && chart.series.some((series) => series.options.findNearestPointBy\n            .indexOf('y') > -1);\n        if (!pointer.hasPointerCapture && shouldHave) {\n            // Add\n            // Bind\n            events.push(Pointer_addEvent(container, 'pointerdown', (e) => {\n                if (e.target?.hasPointerCapture(e.pointerId)) {\n                    e.target?.releasePointerCapture(e.pointerId);\n                }\n            }), Pointer_addEvent(container, 'pointermove', (e) => {\n                chart.pointer?.getPointFromEvent(e)?.onMouseOver(e);\n            }));\n            if (!chart.styledMode) {\n                Pointer_css(container, { 'touch-action': 'none' });\n            }\n            // Mostly for styled mode\n            container.className += ' highcharts-no-touch-action';\n            pointer.hasPointerCapture = true;\n        }\n        else if (pointer.hasPointerCapture && !shouldHave) {\n            // Remove\n            // Unbind\n            events.forEach((e) => e());\n            events.length = 0;\n            if (!chart.styledMode) {\n                Pointer_css(container, {\n                    'touch-action': Pointer_pick(chart.options.chart.style?.['touch-action'], 'manipulation')\n                });\n            }\n            // Mostly for styled mode\n            container.className = container.className.replace(' highcharts-no-touch-action', '');\n            pointer.hasPointerCapture = false;\n        }\n    }\n    /**\n     * Sets the index of the hovered chart and leaves the previous hovered\n     * chart, to reset states like tooltip.\n     * @private\n     * @function Highcharts.Pointer#setHoverChartIndex\n     */\n    setHoverChartIndex(e) {\n        const chart = this.chart;\n        const hoverChart = Core_Globals.charts[Pointer_pick(Pointer.hoverChartIndex, -1)];\n        if (hoverChart &&\n            hoverChart !== chart) {\n            const relatedTargetObj = { relatedTarget: chart.container };\n            if (e && !e?.relatedTarget) {\n                // #17192, Non-enumerable properties of \"e\" are dropped with\n                // spreading (...e). Using Object.assign ensures integrity.\n                Object.assign({}, e, relatedTargetObj);\n            }\n            hoverChart.pointer?.onContainerMouseLeave(e || relatedTargetObj);\n        }\n        if (!hoverChart ||\n            !hoverChart.mouseIsDown) {\n            Pointer.hoverChartIndex = chart.index;\n        }\n    }\n    /**\n     * General touch handler shared by touchstart and touchmove.\n     * @private\n     * @function Highcharts.Pointer#touch\n     */\n    touch(e, start) {\n        const { chart, pinchDown = [] } = this;\n        let hasMoved, isInside;\n        this.setHoverChartIndex();\n        e = this.normalize(e);\n        if (e.touches.length === 1) {\n            isInside = chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop, {\n                visiblePlotOnly: true\n            });\n            if (isInside && !chart.openMenu) {\n                // Run mouse events and display tooltip etc\n                if (start) {\n                    this.runPointActions(e);\n                }\n                // Android fires touchmove events after the touchstart even if\n                // the finger hasn't moved, or moved only a pixel or two. In iOS\n                // however, the touchmove doesn't fire unless the finger moves\n                // more than ~4px. So we emulate this behaviour in Android by\n                // checking how much it moved, and cancelling on small\n                // distances. #3450. Tested and still relevant as of 2024.\n                if (e.type === 'touchmove') {\n                    hasMoved = pinchDown[0] ? // #5266\n                        (Math.pow(pinchDown[0].chartX - e.chartX, 2) +\n                            Math.pow(pinchDown[0].chartY - e.chartY, 2)) >= 16 :\n                        false;\n                }\n                if (Pointer_pick(hasMoved, true)) {\n                    this.pinch(e);\n                }\n            }\n            else if (start) {\n                // Hide the tooltip on touching outside the plot area (#1203)\n                this.reset();\n            }\n        }\n        else if (e.touches.length === 2) {\n            this.pinch(e);\n        }\n    }\n    /**\n     * Returns true if the chart is set up for zooming by single touch and the\n     * event is capable\n     * @private\n     * @function Highcharts.Pointer#touchSelect\n     */\n    touchSelect(e) {\n        return Boolean(this.chart.zooming.singleTouch &&\n            e.touches &&\n            e.touches.length === 1);\n    }\n    /**\n     * Resolve the zoomType option, this is reset on all touch start and mouse\n     * down events.\n     * @private\n     * @function Highcharts.Pointer#zoomOption\n     */\n    zoomOption(e) {\n        const chart = this.chart, inverted = chart.inverted;\n        let zoomType = chart.zooming.type || '', zoomX, zoomY;\n        // Look for the pinchType option\n        if (/touch/.test(e.type)) {\n            zoomType = Pointer_pick(chart.zooming.pinchType, zoomType);\n        }\n        this.zoomX = zoomX = /x/.test(zoomType);\n        this.zoomY = zoomY = /y/.test(zoomType);\n        this.zoomHor = (zoomX && !inverted) || (zoomY && inverted);\n        this.zoomVert = (zoomY && !inverted) || (zoomX && inverted);\n        this.hasZoom = zoomX || zoomY;\n    }\n}\nPointer.unbindDocumentMouseUp = [];\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (Pointer) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ChartClass) {\n        if (Pointer_pushUnique(Pointer_composed, 'Core.Pointer')) {\n            Pointer_addEvent(ChartClass, 'beforeRender', function () {\n                /**\n                 * The Pointer that keeps track of mouse and touch\n                 * interaction.\n                 *\n                 * @memberof Highcharts.Chart\n                 * @name pointer\n                 * @type {Highcharts.Pointer}\n                 * @instance\n                 */\n                this.pointer = new Pointer(this, this.options);\n            });\n        }\n    }\n    Pointer.compose = compose;\n})(Pointer || (Pointer = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Core_Pointer = (Pointer);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Chart position and scale.\n *\n * @interface Highcharts.ChartPositionObject\n */ /**\n* @name Highcharts.ChartPositionObject#left\n* @type {number}\n*/ /**\n* @name Highcharts.ChartPositionObject#scaleX\n* @type {number}\n*/ /**\n* @name Highcharts.ChartPositionObject#scaleY\n* @type {number}\n*/ /**\n* @name Highcharts.ChartPositionObject#top\n* @type {number}\n*/\n/**\n * One position in relation to an axis.\n *\n * @interface Highcharts.PointerAxisCoordinateObject\n */ /**\n* Related axis.\n*\n* @name Highcharts.PointerAxisCoordinateObject#axis\n* @type {Highcharts.Axis}\n*/ /**\n* Axis value.\n*\n* @name Highcharts.PointerAxisCoordinateObject#value\n* @type {number}\n*/\n/**\n * Positions in terms of axis values.\n *\n * @interface Highcharts.PointerAxisCoordinatesObject\n */ /**\n* Positions on the x-axis.\n* @name Highcharts.PointerAxisCoordinatesObject#xAxis\n* @type {Array<Highcharts.PointerAxisCoordinateObject>}\n*/ /**\n* Positions on the y-axis.\n* @name Highcharts.PointerAxisCoordinatesObject#yAxis\n* @type {Array<Highcharts.PointerAxisCoordinateObject>}\n*/\n/**\n * Pointer coordinates.\n *\n * @interface Highcharts.PointerCoordinatesObject\n */ /**\n* @name Highcharts.PointerCoordinatesObject#chartX\n* @type {number}\n*/ /**\n* @name Highcharts.PointerCoordinatesObject#chartY\n* @type {number}\n*/\n/**\n * A native browser mouse or touch event, extended with position information\n * relative to the {@link Chart.container}.\n *\n * @interface Highcharts.PointerEventObject\n * @extends global.PointerEvent\n */ /**\n* The X coordinate of the pointer interaction relative to the chart.\n*\n* @name Highcharts.PointerEventObject#chartX\n* @type {number}\n*/ /**\n* The Y coordinate of the pointer interaction relative to the chart.\n*\n* @name Highcharts.PointerEventObject#chartY\n* @type {number}\n*/\n/**\n * Axis-specific data of a selection.\n *\n * @interface Highcharts.SelectDataObject\n */ /**\n* The selected Axis.\n* @name Highcharts.SelectDataObject#axis\n* @type {Highcharts.Axis}\n*/ /**\n* The maximum axis value, either automatic or set manually.\n* @name Highcharts.SelectDataObject#max\n* @type {number}\n*/ /**\n* The minimum axis value, either automatic or set manually.\n* @name Highcharts.SelectDataObject#min\n* @type {number}\n*/\n/**\n * Object for select events.\n * The primary axes are `xAxis[0]` and `yAxis[0]`. Remember the unit of a\n * datetime axis is milliseconds since 1970-01-01 00:00:00.\n *\n * @interface Highcharts.SelectEventObject\n */ /**\n* The related browser event.\n* @name Highcharts.SelectEventObject#originalEvent\n* @type {global.Event}\n*/ /**\n* Prevents the default action for the event, if called.\n* @name Highcharts.SelectEventObject#preventDefault\n* @type {Function}\n*/ /**\n* Indicates a reset event to restore default state.\n* @name Highcharts.SelectEventObject#resetSelection\n* @type {boolean|undefined}\n*/ /**\n* Arrays containing the axes of each dimension and each axis' min and max\n* values.\n* @name Highcharts.SelectEventObject#xAxis\n* @type {Array<Highcharts.SelectDataObject>}\n*/ /**\n* Arrays containing the axes of each dimension and each axis' min and max\n* values.\n* @name Highcharts.SelectEventObject#yAxis\n* @type {Array<Highcharts.SelectDataObject>}\n*/\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Data/DataTableCore.js\n/* *\n *\n *  (c) 2009-2024 Highsoft AS\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n *  Authors:\n *  - Sophie Bremer\n *  - Gøran Slettemark\n *  - Torstein Hønsi\n *\n * */\n\n\nconst { fireEvent: DataTableCore_fireEvent, isArray: DataTableCore_isArray, objectEach: DataTableCore_objectEach, uniqueKey: DataTableCore_uniqueKey } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * Class to manage columns and rows in a table structure. It provides methods\n * to add, remove, and manipulate columns and rows, as well as to retrieve data\n * from specific cells.\n *\n * @class\n * @name Highcharts.DataTable\n *\n * @param {Highcharts.DataTableOptions} [options]\n * Options to initialize the new DataTable instance.\n */\nclass DataTableCore {\n    /**\n     * Constructs an instance of the DataTable class.\n     *\n     * @example\n     * const dataTable = new Highcharts.DataTableCore({\n     *   columns: {\n     *     year: [2020, 2021, 2022, 2023],\n     *     cost: [11, 13, 12, 14],\n     *     revenue: [12, 15, 14, 18]\n     *   }\n     * });\n\n     *\n     * @param {Highcharts.DataTableOptions} [options]\n     * Options to initialize the new DataTable instance.\n     */\n    constructor(options = {}) {\n        /**\n         * Whether the ID was automatic generated or given in the constructor.\n         *\n         * @name Highcharts.DataTable#autoId\n         * @type {boolean}\n         */\n        this.autoId = !options.id;\n        this.columns = {};\n        /**\n         * ID of the table for indentification purposes.\n         *\n         * @name Highcharts.DataTable#id\n         * @type {string}\n         */\n        this.id = (options.id || DataTableCore_uniqueKey());\n        this.modified = this;\n        this.rowCount = 0;\n        this.versionTag = DataTableCore_uniqueKey();\n        let rowCount = 0;\n        DataTableCore_objectEach(options.columns || {}, (column, columnName) => {\n            this.columns[columnName] = column.slice();\n            rowCount = Math.max(rowCount, column.length);\n        });\n        this.applyRowCount(rowCount);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Applies a row count to the table by setting the `rowCount` property and\n     * adjusting the length of all columns.\n     *\n     * @private\n     * @param {number} rowCount The new row count.\n     */\n    applyRowCount(rowCount) {\n        this.rowCount = rowCount;\n        DataTableCore_objectEach(this.columns, (column) => {\n            if (DataTableCore_isArray(column)) { // Not on typed array\n                column.length = rowCount;\n            }\n        });\n    }\n    /**\n     * Fetches the given column by the canonical column name. Simplified version\n     * of the full `DataTable.getRow` method, always returning by reference.\n     *\n     * @param {string} columnName\n     * Name of the column to get.\n     *\n     * @return {Highcharts.DataTableColumn|undefined}\n     * A copy of the column, or `undefined` if not found.\n     */\n    getColumn(columnName, \n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    asReference) {\n        return this.columns[columnName];\n    }\n    /**\n     * Retrieves all or the given columns. Simplified version of the full\n     * `DataTable.getColumns` method, always returning by reference.\n     *\n     * @param {Array<string>} [columnNames]\n     * Column names to retrieve.\n     *\n     * @return {Highcharts.DataTableColumnCollection}\n     * Collection of columns. If a requested column was not found, it is\n     * `undefined`.\n     */\n    getColumns(columnNames, \n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    asReference) {\n        return (columnNames || Object.keys(this.columns)).reduce((columns, columnName) => {\n            columns[columnName] = this.columns[columnName];\n            return columns;\n        }, {});\n    }\n    /**\n     * Retrieves the row at a given index.\n     *\n     * @param {number} rowIndex\n     * Row index to retrieve. First row has index 0.\n     *\n     * @param {Array<string>} [columnNames]\n     * Column names to retrieve.\n     *\n     * @return {Record<string, number|string|undefined>|undefined}\n     * Returns the row values, or `undefined` if not found.\n     */\n    getRow(rowIndex, columnNames) {\n        return (columnNames || Object.keys(this.columns)).map((key) => this.columns[key]?.[rowIndex]);\n    }\n    /**\n     * Sets cell values for a column. Will insert a new column, if not found.\n     *\n     * @param {string} columnName\n     * Column name to set.\n     *\n     * @param {Highcharts.DataTableColumn} [column]\n     * Values to set in the column.\n     *\n     * @param {number} [rowIndex=0]\n     * Index of the first row to change. (Default: 0)\n     *\n     * @param {Record<string, (boolean|number|string|null|undefined)>} [eventDetail]\n     * Custom information for pending events.\n     *\n     * @emits #setColumns\n     * @emits #afterSetColumns\n     */\n    setColumn(columnName, column = [], rowIndex = 0, eventDetail) {\n        this.setColumns({ [columnName]: column }, rowIndex, eventDetail);\n    }\n    /**\n     * * Sets cell values for multiple columns. Will insert new columns, if not\n     * found. Simplified version of the full `DataTable.setColumns`, limited to\n     * full replacement of the columns (undefined `rowIndex`).\n     *\n     * @param {Highcharts.DataTableColumnCollection} columns\n     * Columns as a collection, where the keys are the column names.\n     *\n     * @param {number} [rowIndex]\n     * Index of the first row to change. Keep undefined to reset.\n     *\n     * @param {Record<string, (boolean|number|string|null|undefined)>} [eventDetail]\n     * Custom information for pending events.\n     *\n     * @emits #setColumns\n     * @emits #afterSetColumns\n     */\n    setColumns(columns, rowIndex, eventDetail) {\n        let rowCount = this.rowCount;\n        DataTableCore_objectEach(columns, (column, columnName) => {\n            this.columns[columnName] = column.slice();\n            rowCount = column.length;\n        });\n        this.applyRowCount(rowCount);\n        if (!eventDetail?.silent) {\n            DataTableCore_fireEvent(this, 'afterSetColumns');\n            this.versionTag = DataTableCore_uniqueKey();\n        }\n    }\n    /**\n     * Sets cell values of a row. Will insert a new row if no index was\n     * provided, or if the index is higher than the total number of table rows.\n     * A simplified version of the full `DateTable.setRow`, limited to objects.\n     *\n     * @param {Record<string, number|string|undefined>} row\n     * Cell values to set.\n     *\n     * @param {number} [rowIndex]\n     * Index of the row to set. Leave `undefind` to add as a new row.\n     *\n     * @param {boolean} [insert]\n     * Whether to insert the row at the given index, or to overwrite the row.\n     *\n     * @param {Record<string, (boolean|number|string|null|undefined)>} [eventDetail]\n     * Custom information for pending events.\n     *\n     * @emits #afterSetRows\n     */\n    setRow(row, rowIndex = this.rowCount, insert, eventDetail) {\n        const { columns } = this, indexRowCount = insert ? this.rowCount + 1 : rowIndex + 1;\n        DataTableCore_objectEach(row, (cellValue, columnName) => {\n            const column = columns[columnName] ||\n                eventDetail?.addColumns !== false && new Array(indexRowCount);\n            if (column) {\n                if (insert) {\n                    column.splice(rowIndex, 0, cellValue);\n                }\n                else {\n                    column[rowIndex] = cellValue;\n                }\n                columns[columnName] = column;\n            }\n        });\n        if (indexRowCount > this.rowCount) {\n            this.applyRowCount(indexRowCount);\n        }\n        if (!eventDetail?.silent) {\n            DataTableCore_fireEvent(this, 'afterSetRows');\n            this.versionTag = DataTableCore_uniqueKey();\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Data_DataTableCore = (DataTableCore);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * A column of values in a data table.\n * @typedef {Array<boolean|null|number|string|undefined>} Highcharts.DataTableColumn\n */ /**\n* A collection of data table columns defined by a object where the key is the\n* column name and the value is an array of the column values.\n* @typedef {Record<string, Highcharts.DataTableColumn>} Highcharts.DataTableColumnCollection\n*/\n/**\n * Options for the `DataTable` or `DataTableCore` classes.\n * @interface Highcharts.DataTableOptions\n */ /**\n* The column options for the data table. The columns are defined by an object\n* where the key is the column ID and the value is an array of the column\n* values.\n*\n* @name Highcharts.DataTableOptions.columns\n* @type {Highcharts.DataTableColumnCollection|undefined}\n*/ /**\n* Custom ID to identify the new DataTable instance.\n*\n* @name Highcharts.DataTableOptions.id\n* @type {string|undefined}\n*/\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Legend/LegendSymbol.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { extend: LegendSymbol_extend, merge: LegendSymbol_merge, pick: LegendSymbol_pick } = Core_Utilities;\n/* *\n *\n *  Namespace\n *\n * */\nvar LegendSymbol;\n(function (LegendSymbol) {\n    /* *\n    *\n    *  Functions\n    *\n    * */\n    /**\n     * Draw a line, a point marker and an area in the legend.\n     *\n     * @private\n     * @function Highcharts.LegendSymbolMixin.areaMarker\n     *\n     * @param {Highcharts.Legend} legend\n     * The legend object.\n     */\n    function areaMarker(legend, item) {\n        lineMarker.call(this, legend, item, true);\n    }\n    LegendSymbol.areaMarker = areaMarker;\n    /**\n     * Draw a line and a point marker in the legend.\n     *\n     * @private\n     * @function Highcharts.LegendSymbolMixin.lineMarker\n     *\n     * @param {Highcharts.Legend} legend\n     * The legend object.\n     */\n    function lineMarker(legend, item, hasArea) {\n        const legendItem = this.legendItem = this.legendItem || {}, { chart, options } = this, { baseline = 0, symbolWidth, symbolHeight } = legend, symbol = this.symbol || 'circle', generalRadius = symbolHeight / 2, renderer = chart.renderer, legendItemGroup = legendItem.group, verticalCenter = baseline - Math.round((legend.fontMetrics?.b || symbolHeight) *\n            // Render line and marker slightly higher to make room for the\n            // area\n            (hasArea ? 0.4 : 0.3)), attr = {};\n        let legendSymbol, markerOptions = options.marker, lineSizer = 0;\n        // Draw the line\n        if (!chart.styledMode) {\n            attr['stroke-width'] = Math.min(options.lineWidth || 0, 24);\n            if (options.dashStyle) {\n                attr.dashstyle = options.dashStyle;\n            }\n            else if (options.linecap !== 'square') {\n                attr['stroke-linecap'] = 'round';\n            }\n        }\n        legendItem.line = renderer\n            .path()\n            .addClass('highcharts-graph')\n            .attr(attr)\n            .add(legendItemGroup);\n        if (hasArea) {\n            legendItem.area = renderer\n                .path()\n                .addClass('highcharts-area')\n                .add(legendItemGroup);\n        }\n        if (attr['stroke-linecap']) {\n            lineSizer = Math.min(legendItem.line.strokeWidth(), symbolWidth) / 2;\n        }\n        if (symbolWidth) {\n            const d = [\n                ['M', lineSizer, verticalCenter],\n                ['L', symbolWidth - lineSizer, verticalCenter]\n            ];\n            legendItem.line.attr({ d });\n            legendItem.area?.attr({\n                d: [\n                    ...d,\n                    ['L', symbolWidth - lineSizer, baseline],\n                    ['L', lineSizer, baseline]\n                ]\n            });\n        }\n        // Draw the marker\n        if (markerOptions && markerOptions.enabled !== false && symbolWidth) {\n            // Do not allow the marker to be larger than the symbolHeight\n            let radius = Math.min(LegendSymbol_pick(markerOptions.radius, generalRadius), generalRadius);\n            // Restrict symbol markers size\n            if (symbol.indexOf('url') === 0) {\n                markerOptions = LegendSymbol_merge(markerOptions, {\n                    width: symbolHeight,\n                    height: symbolHeight\n                });\n                radius = 0;\n            }\n            legendItem.symbol = legendSymbol = renderer\n                .symbol(symbol, (symbolWidth / 2) - radius, verticalCenter - radius, 2 * radius, 2 * radius, LegendSymbol_extend({ context: 'legend' }, markerOptions))\n                .addClass('highcharts-point')\n                .add(legendItemGroup);\n            legendSymbol.isMarker = true;\n        }\n    }\n    LegendSymbol.lineMarker = lineMarker;\n    /**\n     * Get the series' symbol in the legend.\n     *\n     * This method should be overridable to create custom symbols through\n     * Highcharts.seriesTypes[type].prototype.drawLegendSymbol.\n     *\n     * @private\n     * @function Highcharts.LegendSymbolMixin.rectangle\n     *\n     * @param {Highcharts.Legend} legend\n     * The legend object\n     *\n     * @param {Highcharts.Point|Highcharts.Series} item\n     * The series (this) or point\n     */\n    function rectangle(legend, item) {\n        const legendItem = item.legendItem || {}, options = legend.options, symbolHeight = legend.symbolHeight, square = options.squareSymbol, symbolWidth = square ? symbolHeight : legend.symbolWidth;\n        legendItem.symbol = this.chart.renderer\n            .rect(square ? (legend.symbolWidth - symbolHeight) / 2 : 0, legend.baseline - symbolHeight + 1, // #3988\n        symbolWidth, symbolHeight, LegendSymbol_pick(legend.options.symbolRadius, symbolHeight / 2))\n            .addClass('highcharts-point')\n            .attr({\n            zIndex: 3\n        })\n            .add(legendItem.group);\n    }\n    LegendSymbol.rectangle = rectangle;\n})(LegendSymbol || (LegendSymbol = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Legend_LegendSymbol = (LegendSymbol);\n\n;// ./code/es-modules/Core/Series/SeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * General options for all series types.\n *\n * @optionparent plotOptions.series\n */\nconst seriesDefaults = {\n    // Base series options\n    /**\n     * The SVG value used for the `stroke-linecap` and `stroke-linejoin`\n     * of a line graph. Round means that lines are rounded in the ends and\n     * bends.\n     *\n     * @type       {Highcharts.SeriesLinecapValue}\n     * @default    round\n     * @since      3.0.7\n     * @apioption  plotOptions.line.linecap\n     */\n    /**\n     * Pixel width of the graph line.\n     *\n     * @see In styled mode, the line stroke-width can be set with the\n     *      `.highcharts-graph` class name.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-linewidth-general/\n     *         On all series\n     * @sample {highcharts} highcharts/plotoptions/series-linewidth-specific/\n     *         On one single series\n     *\n     * @product highcharts highstock\n     */\n    lineWidth: 2,\n    /**\n     * For some series, there is a limit that shuts down animation\n     * by default when the total number of points in the chart is too high.\n     * For example, for a column chart and its derivatives, animation does\n     * not run if there is more than 250 points totally. To disable this\n     * cap, set `animationLimit` to `Infinity`. This option works if animation\n     * is fired on individual points, not on a group of points like e.g. during\n     * the initial animation.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-animationlimit/\n     *         Animation limit on updating individual points\n     *\n     * @type      {number}\n     * @apioption plotOptions.series.animationLimit\n     */\n    /**\n     * Allow this series' points to be selected by clicking on the graphic\n     * (columns, point markers, pie slices, map areas etc).\n     *\n     * The selected points can be handled by point select and unselect\n     * events, or collectively by the [getSelectedPoints\n     * ](/class-reference/Highcharts.Chart#getSelectedPoints) function.\n     *\n     * And alternative way of selecting points is through dragging.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-line/\n     *         Line\n     * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-column/\n     *         Column\n     * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-pie/\n     *         Pie\n     * @sample {highcharts} highcharts/chart/events-selection-points/\n     *         Select a range of points through a drag selection\n     * @sample {highmaps} maps/plotoptions/series-allowpointselect/\n     *         Map area\n     * @sample {highmaps} maps/plotoptions/mapbubble-allowpointselect/\n     *         Map bubble\n     *\n     * @since 1.2.0\n     *\n     * @private\n     */\n    allowPointSelect: false,\n    /**\n     * When true, each point or column edge is rounded to its nearest pixel\n     * in order to render sharp on screen. In some cases, when there are a\n     * lot of densely packed columns, this leads to visible difference\n     * in column widths or distance between columns. In these cases,\n     * setting `crisp` to `false` may look better, even though each column\n     * is rendered blurry.\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-crisp-false/\n     *         Crisp is false\n     *\n     * @since   5.0.10\n     * @product highcharts highstock gantt\n     *\n     * @private\n     */\n    crisp: true,\n    /**\n     * If true, a checkbox is displayed next to the legend item to allow\n     * selecting the series. The state of the checkbox is determined by\n     * the `selected` option.\n     *\n     * @productdesc {highmaps}\n     * Note that if a `colorAxis` is defined, the color axis is represented\n     * in the legend, not the series.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-showcheckbox-true/\n     *         Show select box\n     *\n     * @since 1.2.0\n     *\n     * @private\n     */\n    showCheckbox: false,\n    /**\n     * Enable or disable the initial animation when a series is displayed.\n     * The animation can also be set as a configuration object. Please\n     * note that this option only applies to the initial animation of the\n     * series itself. For other animations, see [chart.animation](\n     * #chart.animation) and the animation parameter under the API methods.\n     * The following properties are supported:\n     *\n     * - `defer`: The animation delay time in milliseconds.\n     *\n     * - `duration`: The duration of the animation in milliseconds. (Defaults to\n     *   `1000`)\n     *\n     * - `easing`: Can be a string reference to an easing function set on\n     *   the `Math` object or a function. See the _Custom easing function_\n     *   demo below. (Defaults to `easeInOutSine`)\n     *\n     * Due to poor performance, animation is disabled in old IE browsers\n     * for several chart types.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-animation-disabled/\n     *         Animation disabled\n     * @sample {highcharts} highcharts/plotoptions/series-animation-slower/\n     *         Slower animation\n     * @sample {highcharts} highcharts/plotoptions/series-animation-easing/\n     *         Custom easing function\n     * @sample {highstock} stock/plotoptions/animation-slower/\n     *         Slower animation\n     * @sample {highstock} stock/plotoptions/animation-easing/\n     *         Custom easing function\n     * @sample {highmaps} maps/plotoptions/series-animation-true/\n     *         Animation enabled on map series\n     * @sample {highmaps} maps/plotoptions/mapbubble-animation-false/\n     *         Disabled on mapbubble series\n     *\n     * @type    {boolean|Highcharts.AnimationOptionsObject}\n     * @default {highcharts} true\n     * @default {highstock} true\n     * @default {highmaps} false\n     *\n     * @private\n     */\n    animation: {\n        /** @ignore-option */\n        duration: 1000\n    },\n    /**\n     * An additional class name to apply to the series' graphical elements.\n     * This option does not replace default class names of the graphical\n     * element. Changes to the series' color will also be reflected in a\n     * chart's legend and tooltip.\n     *\n     * @sample {highcharts} highcharts/css/point-series-classname\n     *         Series and point class name\n     *\n     * @type      {string}\n     * @since     5.0.0\n     * @apioption plotOptions.series.className\n     */\n    /**\n     * Disable this option to allow series rendering in the whole plotting\n     * area.\n     *\n     * **Note:** Clipping should be always enabled when\n     * [chart.zoomType](#chart.zoomType) is set\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-clip/\n     *         Disabled clipping\n     *\n     * @default   true\n     * @type      {boolean}\n     * @since     3.0.0\n     * @apioption plotOptions.series.clip\n     */\n    /**\n     * The main color of the series. In line type series it applies to the\n     * line and the point markers unless otherwise specified. In bar type\n     * series it applies to the bars unless a color is specified per point.\n     * The default value is pulled from the `options.colors` array.\n     *\n     * In styled mode, the color can be defined by the\n     * [colorIndex](#plotOptions.series.colorIndex) option. Also, the series\n     * color can be set with the `.highcharts-series`,\n     * `.highcharts-color-{n}`, `.highcharts-{type}-series` or\n     * `.highcharts-series-{n}` class, or individual classes given by the\n     * `className` option.\n     *\n     * @productdesc {highmaps}\n     * In maps, the series color is rarely used, as most choropleth maps use\n     * the color to denote the value of each point. The series color can\n     * however be used in a map with multiple series holding categorized\n     * data.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-color-general/\n     *         General plot option\n     * @sample {highcharts} highcharts/plotoptions/series-color-specific/\n     *         One specific series\n     * @sample {highcharts} highcharts/plotoptions/series-color-area/\n     *         Area color\n     * @sample {highcharts} highcharts/series/infographic/\n     *         Pattern fill\n     * @sample {highmaps} maps/demo/category-map/\n     *         Category map by multiple series\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @apioption plotOptions.series.color\n     */\n    /**\n     * Styled mode only. A specific color index to use for the series, so its\n     * graphic representations are given the class name `highcharts-color-{n}`.\n     *\n     * Since v11, CSS variables on the form `--highcharts-color-{n}` make\n     * changing the color scheme very convenient.\n     *\n     * @sample    {highcharts} highcharts/css/colorindex/ Series and point color\n     *            index\n     *\n     * @type      {number}\n     * @since     5.0.0\n     * @apioption plotOptions.series.colorIndex\n     */\n    /**\n     * Whether to connect a graph line across null points, or render a gap\n     * between the two points on either side of the null.\n     *\n     * In stacked area chart, if `connectNulls` is set to true,\n     * null points are interpreted as 0.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-connectnulls-false/\n     *         False by default\n     * @sample {highcharts} highcharts/plotoptions/series-connectnulls-true/\n     *         True\n     *\n     * @type      {boolean}\n     * @default   false\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.connectNulls\n     */\n    /**\n     * You can set the cursor to \"pointer\" if you have click events attached\n     * to the series, to signal to the user that the points and lines can\n     * be clicked.\n     *\n     * In styled mode, the series cursor can be set with the same classes\n     * as listed under [series.color](#plotOptions.series.color).\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-cursor-line/\n     *         On line graph\n     * @sample {highcharts} highcharts/plotoptions/series-cursor-column/\n     *         On columns\n     * @sample {highcharts} highcharts/plotoptions/series-cursor-scatter/\n     *         On scatter markers\n     * @sample {highstock} stock/plotoptions/cursor/\n     *         Pointer on a line graph\n     * @sample {highmaps} maps/plotoptions/series-allowpointselect/\n     *         Map area\n     * @sample {highmaps} maps/plotoptions/mapbubble-allowpointselect/\n     *         Map bubble\n     *\n     * @type      {string|Highcharts.CursorValue}\n     * @apioption plotOptions.series.cursor\n     */\n    /**\n     * A reserved subspace to store options and values for customized\n     * functionality. Here you can add additional data for your own event\n     * callbacks and formatter callbacks.\n     *\n     * @sample {highcharts} highcharts/point/custom/\n     *         Point and series with custom data\n     *\n     * @type      {Highcharts.Dictionary<*>}\n     * @apioption plotOptions.series.custom\n     */\n    /**\n     * Name of the dash style to use for the graph, or for some series types\n     * the outline of each shape.\n     *\n     * In styled mode, the\n     * [stroke dash-array](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/series-dashstyle/)\n     * can be set with the same classes as listed under\n     * [series.color](#plotOptions.series.color).\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-dashstyle-all/\n     *         Possible values demonstrated\n     * @sample {highcharts} highcharts/plotoptions/series-dashstyle/\n     *         Chart suitable for printing in black and white\n     * @sample {highstock} highcharts/plotoptions/series-dashstyle-all/\n     *         Possible values demonstrated\n     * @sample {highmaps} highcharts/plotoptions/series-dashstyle-all/\n     *         Possible values demonstrated\n     * @sample {highmaps} maps/plotoptions/series-dashstyle/\n     *         Dotted borders on a map\n     *\n     * @type      {Highcharts.DashStyleValue}\n     * @default   Solid\n     * @since     2.1\n     * @apioption plotOptions.series.dashStyle\n     */\n    /**\n     * A description of the series to add to the screen reader information\n     * about the series.\n     *\n     * @type      {string}\n     * @since     5.0.0\n     * @requires  modules/accessibility\n     * @apioption plotOptions.series.description\n     */\n    /**\n     * Options for the series data sorting.\n     *\n     * @type      {Highcharts.DataSortingOptionsObject}\n     * @since     8.0.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.dataSorting\n     */\n    /**\n     * Enable or disable data sorting for the series. Use [xAxis.reversed](\n     * #xAxis.reversed) to change the sorting order.\n     *\n     * @sample {highcharts} highcharts/datasorting/animation/\n     *         Data sorting in scatter-3d\n     * @sample {highcharts} highcharts/datasorting/labels-animation/\n     *         Axis labels animation\n     * @sample {highcharts} highcharts/datasorting/dependent-sorting/\n     *         Dependent series sorting\n     * @sample {highcharts} highcharts/datasorting/independent-sorting/\n     *         Independent series sorting\n     *\n     * @type      {boolean}\n     * @since     8.0.0\n     * @apioption plotOptions.series.dataSorting.enabled\n     */\n    /**\n     * Whether to allow matching points by name in an update. If this option\n     * is disabled, points will be matched by order.\n     *\n     * @sample {highcharts} highcharts/datasorting/match-by-name/\n     *         Enabled match by name\n     *\n     * @type      {boolean}\n     * @since     8.0.0\n     * @apioption plotOptions.series.dataSorting.matchByName\n     */\n    /**\n     * Determines what data value should be used to sort by.\n     *\n     * @sample {highcharts} highcharts/datasorting/sort-key/\n     *         Sort key as `z` value\n     *\n     * @type      {string}\n     * @since     8.0.0\n     * @default   y\n     * @apioption plotOptions.series.dataSorting.sortKey\n     */\n    /**\n     * Enable or disable the mouse tracking for a specific series. This\n     * includes point tooltips and click events on graphs and points. For\n     * large datasets it improves performance.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-enablemousetracking-false/\n     *         No mouse tracking\n     * @sample {highmaps} maps/plotoptions/series-enablemousetracking-false/\n     *         No mouse tracking\n     *\n     * @type      {boolean}\n     * @default   true\n     * @apioption plotOptions.series.enableMouseTracking\n     */\n    enableMouseTracking: true,\n    /**\n     * Whether to use the Y extremes of the total chart width or only the\n     * zoomed area when zooming in on parts of the X axis. By default, the\n     * Y axis adjusts to the min and max of the visible data. Cartesian\n     * series only.\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     4.1.6\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.series.getExtremesFromAll\n     */\n    /**\n     * Highlight only the hovered point and fade the remaining points.\n     *\n     * Scatter-type series require enabling the 'inactive' marker state and\n     * adjusting opacity. Note that this approach could affect performance\n     * with large datasets.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-inactiveotherpoints-enabled/\n     *         Chart with inactiveOtherPoints option enabled.\n     *\n     * @type      {boolean}\n     * @default   false\n     * @apioption plotOptions.series.inactiveOtherPoints\n     */\n    /**\n     * An array specifying which option maps to which key in the data point\n     * array. This makes it convenient to work with unstructured data arrays\n     * from different sources.\n     *\n     * @see [series.data](#series.line.data)\n     *\n     * @sample {highcharts|highstock} highcharts/series/data-keys/\n     *         An extended data array with keys\n     * @sample {highcharts|highstock} highcharts/series/data-nested-keys/\n     *         Nested keys used to access object properties\n     *\n     * @type      {Array<string>}\n     * @since     4.1.6\n     * @apioption plotOptions.series.keys\n     */\n    /**\n     * The line cap used for line ends and line joins on the graph.\n     *\n     * @sample highcharts/series-line/linecap/\n     *         Line cap comparison\n     *\n     * @type       {Highcharts.SeriesLinecapValue}\n     * @default    round\n     * @product    highcharts highstock\n     * @apioption  plotOptions.series.linecap\n     */\n    /**\n     * The [id](#series.id) of another series to link to. Additionally,\n     * the value can be \":previous\" to link to the previous series. When\n     * two series are linked, only the first one appears in the legend.\n     * Toggling the visibility of this also toggles the linked series.\n     *\n     * If master series uses data sorting and linked series does not have\n     * its own sorting definition, the linked series will be sorted in the\n     * same order as the master one.\n     *\n     * @sample {highcharts|highstock} highcharts/demo/arearange-line/\n     *         Linked series\n     *\n     * @type      {string}\n     * @since     3.0\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.series.linkedTo\n     */\n    /**\n     * Options for the corresponding navigator series if `showInNavigator`\n     * is `true` for this series. Available options are the same as any\n     * series, documented at [plotOptions](#plotOptions.series) and\n     * [series](#series).\n     *\n     * These options are merged with options in [navigator.series](\n     * #navigator.series), and will take precedence if the same option is\n     * defined both places.\n     *\n     * @see [navigator.series](#navigator.series)\n     *\n     * @type      {Highcharts.PlotSeriesOptions}\n     * @since     5.0.0\n     * @product   highstock\n     * @apioption plotOptions.series.navigatorOptions\n     */\n    /**\n     * The color for the parts of the graph or points that are below the\n     * [threshold](#plotOptions.series.threshold). Note that `zones` takes\n     * precedence over the negative color. Using `negativeColor` is\n     * equivalent to applying a zone with value of 0.\n     *\n     * @see In styled mode, a negative color is applied by setting this option\n     *      to `true` combined with the `.highcharts-negative` class name.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-negative-color/\n     *         Spline, area and column\n     * @sample {highcharts} highcharts/plotoptions/arearange-negativecolor/\n     *         Arearange\n     * @sample {highcharts} highcharts/css/series-negative-color/\n     *         Styled mode\n     * @sample {highstock} highcharts/plotoptions/series-negative-color/\n     *         Spline, area and column\n     * @sample {highstock} highcharts/plotoptions/arearange-negativecolor/\n     *         Arearange\n     * @sample {highmaps} highcharts/plotoptions/series-negative-color/\n     *         Spline, area and column\n     * @sample {highmaps} highcharts/plotoptions/arearange-negativecolor/\n     *         Arearange\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     3.0\n     * @apioption plotOptions.series.negativeColor\n     */\n    /**\n     * Same as\n     * [accessibility.point.descriptionFormat](#accessibility.point.descriptionFormat),\n     * but for an individual series. Overrides the chart wide configuration.\n     *\n     * @type      {Function}\n     * @since 11.1.0\n     * @apioption plotOptions.series.pointDescriptionFormat\n     */\n    /**\n     * Same as\n     * [accessibility.series.descriptionFormatter](#accessibility.series.descriptionFormatter),\n     * but for an individual series. Overrides the chart wide configuration.\n     *\n     * @type      {Function}\n     * @since     5.0.12\n     * @apioption plotOptions.series.pointDescriptionFormatter\n     */\n    /**\n     * If no x values are given for the points in a series, `pointInterval`\n     * defines the interval of the x values. For example, if a series\n     * contains one value every decade starting from year 0, set\n     * `pointInterval` to `10`. In true `datetime` axes, the `pointInterval`\n     * is set in milliseconds.\n     *\n     * It can be also be combined with `pointIntervalUnit` to draw irregular\n     * time intervals.\n     *\n     * If combined with `relativeXValue`, an x value can be set on each\n     * point, and the `pointInterval` is added x times to the `pointStart`\n     * setting.\n     *\n     * Please note that this options applies to the _series data_, not the\n     * interval of the axis ticks, which is independent.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-pointstart-datetime/\n     *         Datetime X axis\n     * @sample {highcharts} highcharts/plotoptions/series-relativexvalue/\n     *         Relative x value\n     * @sample {highstock} stock/plotoptions/pointinterval-pointstart/\n     *         Using pointStart and pointInterval\n     * @sample {highstock} stock/plotoptions/relativexvalue/\n     *         Relative x value\n     *\n     * @type      {number}\n     * @default   1\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.series.pointInterval\n     */\n    /**\n     * On datetime series, this allows for setting the\n     * [pointInterval](#plotOptions.series.pointInterval) to irregular time\n     * units, `day`, `month` and `year`. A day is usually the same as 24\n     * hours, but `pointIntervalUnit` also takes the DST crossover into\n     * consideration when dealing with local time. Combine this option with\n     * `pointInterval` to draw weeks, quarters, 6 months, 10 years etc.\n     *\n     * Please note that this options applies to the _series data_, not the\n     * interval of the axis ticks, which is independent.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-pointintervalunit/\n     *         One point a month\n     * @sample {highstock} highcharts/plotoptions/series-pointintervalunit/\n     *         One point a month\n     *\n     * @type       {string}\n     * @since      4.1.0\n     * @product    highcharts highstock gantt\n     * @validvalue [\"day\", \"month\", \"year\"]\n     * @apioption  plotOptions.series.pointIntervalUnit\n     */\n    /**\n     * Possible values: `\"on\"`, `\"between\"`, `number`.\n     *\n     * In a column chart, when pointPlacement is `\"on\"`, the point will not\n     * create any padding of the X axis. In a polar column chart this means\n     * that the first column points directly north. If the pointPlacement is\n     * `\"between\"`, the columns will be laid out between ticks. This is\n     * useful for example for visualising an amount between two points in\n     * time or in a certain sector of a polar chart.\n     *\n     * Since Highcharts 3.0.2, the point placement can also be numeric,\n     * where 0 is on the axis value, -0.5 is between this value and the\n     * previous, and 0.5 is between this value and the next. Unlike the\n     * textual options, numeric point placement options won't affect axis\n     * padding.\n     *\n     * Note that pointPlacement needs a [pointRange](\n     * #plotOptions.series.pointRange) to work. For column series this is\n     * computed, but for line-type series it needs to be set.\n     *\n     * For the `xrange` series type and gantt charts, if the Y axis is a\n     * category axis, the `pointPlacement` applies to the Y axis rather than\n     * the (typically datetime) X axis.\n     *\n     * Defaults to `undefined` in cartesian charts, `\"between\"` in polar\n     * charts.\n     *\n     * @see [xAxis.tickmarkPlacement](#xAxis.tickmarkPlacement)\n     *\n     * @sample {highcharts|highstock} highcharts/plotoptions/series-pointplacement-between/\n     *         Between in a column chart\n     * @sample {highcharts|highstock} highcharts/plotoptions/series-pointplacement-numeric/\n     *         Numeric placement for custom layout\n     * @sample {highcharts|highstock} maps/plotoptions/heatmap-pointplacement/\n     *         Placement in heatmap\n     *\n     * @type      {string|number}\n     * @since     2.3.0\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.series.pointPlacement\n     */\n    /**\n     * If no x values are given for the points in a series, `pointStart`\n     * defines on what value to start. For example, if a series contains one\n     * yearly value starting from 1945, set `pointStart` to 1945.\n     *\n     * The `pointStart` setting can be a number, or a datetime string that is\n     * parsed according to the `time.timezone` setting.\n     *\n     * If combined with `relativeXValue`, an x value can be set on each\n     * point. The x value from the point options is multiplied by\n     * `pointInterval` and added to `pointStart` to produce a modified x\n     * value.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-pointstart-linear/\n     *         Linear\n     * @sample {highcharts} highcharts/plotoptions/series-pointstart-datetime/\n     *         Datetime\n     * @sample {highcharts} highcharts/plotoptions/series-relativexvalue/\n     *         Relative x value\n     * @sample {highstock} stock/plotoptions/pointinterval-pointstart/\n     *         Using pointStart and pointInterval\n     * @sample {highstock} stock/plotoptions/relativexvalue/\n     *         Relative x value\n     *\n     * @type      {number|string}\n     * @default   0\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.series.pointStart\n     */\n    /**\n     * When true, X values in the data set are relative to the current\n     * `pointStart`, `pointInterval` and `pointIntervalUnit` settings. This\n     * allows compression of the data for datasets with irregular X values.\n     *\n     * The real X values are computed on the formula `f(x) = ax + b`, where\n     * `a` is the `pointInterval` (optionally with a time unit given by\n     * `pointIntervalUnit`), and `b` is the `pointStart`.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-relativexvalue/\n     *         Relative X value\n     * @sample {highstock} stock/plotoptions/relativexvalue/\n     *         Relative X value\n     *\n     * @type      {boolean}\n     * @default   false\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.relativeXValue\n     */\n    /**\n     * Whether to select the series initially. If `showCheckbox` is true,\n     * the checkbox next to the series name in the legend will be checked\n     * for a selected series.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-selected/\n     *         One out of two series selected\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     1.2.0\n     * @apioption plotOptions.series.selected\n     */\n    /**\n     * Whether to apply a drop shadow to the graph line. Since 2.3 the\n     * shadow can be an object configuration containing `color`, `offsetX`,\n     * `offsetY`, `opacity` and `width`.\n     *\n     * Note that in some cases, like stacked columns or other dense layouts, the\n     * series may cast shadows on each other. In that case, the\n     * `chart.seriesGroupShadow` allows applying a common drop shadow to the\n     * whole series group.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-shadow/\n     *         Shadow enabled\n     *\n     * @type      {boolean|Highcharts.ShadowOptionsObject}\n     * @default   false\n     * @apioption plotOptions.series.shadow\n     */\n    /**\n     * Whether to display this particular series or series type in the\n     * legend. Standalone series are shown in legend by default, and linked\n     * series are not. Since v7.2.0 it is possible to show series that use\n     * colorAxis by setting this option to `true`.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-showinlegend/\n     *         One series in the legend, one hidden\n     *\n     * @type      {boolean}\n     * @apioption plotOptions.series.showInLegend\n     */\n    /**\n     * Whether or not to show the series in the navigator. Takes precedence\n     * over [navigator.baseSeries](#navigator.baseSeries) if defined.\n     *\n     * @type      {boolean}\n     * @since     5.0.0\n     * @product   highstock\n     * @apioption plotOptions.series.showInNavigator\n     */\n    /**\n     * If set to `true`, the accessibility module will skip past the points\n     * in this series for keyboard navigation.\n     *\n     * @type      {boolean}\n     * @since     5.0.12\n     * @apioption plotOptions.series.skipKeyboardNavigation\n     */\n    /**\n     * Whether to stack the values of each series on top of each other.\n     * Possible values are `undefined` to disable, `\"normal\"` to stack by\n     * value or `\"percent\"`.\n     *\n     * When stacking is enabled, data must be sorted\n     * in ascending X order.\n     *\n     * Some stacking options are related to specific series types. In the\n     * streamgraph series type, the stacking option is set to `\"stream\"`.\n     * The second one is `\"overlap\"`, which only applies to waterfall\n     * series.\n     *\n     * @see [yAxis.reversedStacks](#yAxis.reversedStacks)\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-stacking-line/\n     *         Line\n     * @sample {highcharts} highcharts/plotoptions/series-stacking-column/\n     *         Column\n     * @sample {highcharts} highcharts/plotoptions/series-stacking-bar/\n     *         Bar\n     * @sample {highcharts} highcharts/plotoptions/series-stacking-area/\n     *         Area\n     * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-line/\n     *         Line\n     * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-column/\n     *         Column\n     * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-bar/\n     *         Bar\n     * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-area/\n     *         Area\n     * @sample {highcharts} highcharts/plotoptions/series-waterfall-with-normal-stacking\n     *         Waterfall with normal stacking\n     * @sample {highcharts} highcharts/plotoptions/series-waterfall-with-overlap-stacking\n     *         Waterfall with overlap stacking\n     * @sample {highstock} stock/plotoptions/stacking/\n     *         Area\n     *\n     * @type       {string}\n     * @product    highcharts highstock\n     * @validvalue [\"normal\", \"overlap\", \"percent\", \"stream\"]\n     * @apioption  plotOptions.series.stacking\n     */\n    /**\n     * Whether to apply steps to the line. Possible values are `left`,\n     * `center` and `right`.\n     *\n     * @sample {highcharts} highcharts/plotoptions/line-step/\n     *         Different step line options\n     * @sample {highcharts} highcharts/plotoptions/area-step/\n     *         Stepped, stacked area\n     * @sample {highstock} stock/plotoptions/line-step/\n     *         Step line\n     *\n     * @type       {string}\n     * @since      1.2.5\n     * @product    highcharts highstock\n     * @validvalue [\"left\", \"center\", \"right\"]\n     * @apioption  plotOptions.series.step\n     */\n    /**\n     * The threshold, also called zero level or base level. For line type\n     * series this is only used in conjunction with\n     * [negativeColor](#plotOptions.series.negativeColor).\n     *\n     * @see [softThreshold](#plotOptions.series.softThreshold).\n     *\n     * @type      {number|null}\n     * @default   0\n     * @since     3.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.threshold\n     */\n    /**\n     * Set the initial visibility of the series.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-visible/\n     *         Two series, one hidden and one visible\n     * @sample {highstock} stock/plotoptions/series-visibility/\n     *         Hidden series\n     *\n     * @type      {boolean}\n     * @default   true\n     * @apioption plotOptions.series.visible\n     */\n    /**\n     * Defines the Axis on which the zones are applied.\n     *\n     * @see [zones](#plotOptions.series.zones)\n     *\n     * @sample {highcharts} highcharts/series/color-zones-zoneaxis-x/\n     *         Zones on the X-Axis\n     * @sample {highstock} highcharts/series/color-zones-zoneaxis-x/\n     *         Zones on the X-Axis\n     *\n     * @type      {string}\n     * @default   y\n     * @since     4.1.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.zoneAxis\n     */\n    /**\n     * General event handlers for the series items. These event hooks can\n     * also be attached to the series at run time using the\n     * `Highcharts.addEvent` function.\n     *\n     * @declare Highcharts.SeriesEventsOptionsObject\n     *\n     * @private\n     */\n    events: {},\n    /**\n     * Fires after the series has finished its initial animation, or in case\n     * animation is disabled, immediately as the series is displayed.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-events-afteranimate/\n     *         Show label after animate\n     * @sample {highstock} highcharts/plotoptions/series-events-afteranimate/\n     *         Show label after animate\n     *\n     * @type      {Highcharts.SeriesAfterAnimateCallbackFunction}\n     * @since     4.0\n     * @product   highcharts highstock gantt\n     * @context   Highcharts.Series\n     * @apioption plotOptions.series.events.afterAnimate\n     */\n    /**\n     * Fires when the checkbox next to the series' name in the legend is\n     * clicked. One parameter, `event`, is passed to the function. The state\n     * of the checkbox is found by `event.checked`. The checked item is\n     * found by `event.item`. Return `false` to prevent the default action\n     * which is to toggle the select state of the series.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-events-checkboxclick/\n     *         Alert checkbox status\n     *\n     * @type      {Highcharts.SeriesCheckboxClickCallbackFunction}\n     * @since     1.2.0\n     * @context   Highcharts.Series\n     * @apioption plotOptions.series.events.checkboxClick\n     */\n    /**\n     * Fires when the series is clicked. One parameter, `event`, is passed\n     * to the function, containing common event information. Additionally,\n     * `event.point` holds a pointer to the nearest point on the graph.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-events-click/\n     *         Alert click info\n     * @sample {highstock} stock/plotoptions/series-events-click/\n     *         Alert click info\n     * @sample {highmaps} maps/plotoptions/series-events-click/\n     *         Display click info in subtitle\n     *\n     * @type      {Highcharts.SeriesClickCallbackFunction}\n     * @context   Highcharts.Series\n     * @apioption plotOptions.series.events.click\n     */\n    /**\n     * Fires when the series is hidden after chart generation time, either\n     * by clicking the legend item or by calling `.hide()`.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-events-hide/\n     *         Alert when the series is hidden by clicking the legend item\n     *\n     * @type      {Highcharts.SeriesHideCallbackFunction}\n     * @since     1.2.0\n     * @context   Highcharts.Series\n     * @apioption plotOptions.series.events.hide\n     */\n    /**\n     * Fires when the legend item belonging to the series is clicked. One\n     * parameter, `event`, is passed to the function. The default action\n     * is to toggle the visibility of the series. This can be prevented\n     * by returning `false` or calling `event.preventDefault()`.\n     *\n     * **Note:** This option is deprecated in favor of\n     * [legend.events.itemClick](#legend.events.itemClick).\n     *\n     * @type       {Highcharts.SeriesLegendItemClickCallbackFunction}\n     * @deprecated 11.4.4\n     * @context    Highcharts.Series\n     * @apioption  plotOptions.series.events.legendItemClick\n     */\n    /**\n     * Fires when the mouse leaves the graph. One parameter, `event`, is\n     * passed to the function, containing common event information. If the\n     * [stickyTracking](#plotOptions.series) option is true, `mouseOut`\n     * doesn't happen before the mouse enters another graph or leaves the\n     * plot area.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-sticky/\n     *         With sticky tracking by default\n     * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-no-sticky/\n     *         Without sticky tracking\n     *\n     * @type      {Highcharts.SeriesMouseOutCallbackFunction}\n     * @context   Highcharts.Series\n     * @apioption plotOptions.series.events.mouseOut\n     */\n    /**\n     * Fires when the mouse enters the graph. One parameter, `event`, is\n     * passed to the function, containing common event information.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-sticky/\n     *         With sticky tracking by default\n     * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-no-sticky/\n     *         Without sticky tracking\n     *\n     * @type      {Highcharts.SeriesMouseOverCallbackFunction}\n     * @context   Highcharts.Series\n     * @apioption plotOptions.series.events.mouseOver\n     */\n    /**\n     * Fires when the series is shown after chart generation time, either\n     * by clicking the legend item or by calling `.show()`.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-events-show/\n     *         Alert when the series is shown by clicking the legend item.\n     *\n     * @type      {Highcharts.SeriesShowCallbackFunction}\n     * @since     1.2.0\n     * @context   Highcharts.Series\n     * @apioption plotOptions.series.events.show\n     */\n    /**\n     * Options for the point markers of line and scatter-like series. Properties\n     * like `fillColor`, `lineColor` and `lineWidth` define the visual\n     * appearance of the markers. The `symbol` option defines the shape. Other\n     * series types, like column series, don't have markers, but have visual\n     * options on the series level instead.\n     *\n     * In styled mode, the markers can be styled with the `.highcharts-point`,\n     * `.highcharts-point-hover` and `.highcharts-point-select` class names.\n     *\n     * @declare Highcharts.PointMarkerOptionsObject\n     *\n     * @sample {highmaps} maps/demo/mappoint-mapmarker\n     *         Using the mapmarker symbol for points\n     *\n     * @private\n     */\n    marker: {\n        /**\n         * Enable or disable the point marker. If `undefined`, the markers\n         * are hidden when the data is dense, and shown for more widespread\n         * data points.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-enabled/\n         *         Disabled markers\n         * @sample {highcharts} highcharts/plotoptions/series-marker-enabled-false/\n         *         Disabled in normal state but enabled on hover\n         * @sample {highstock} stock/plotoptions/series-marker/\n         *         Enabled markers\n         *\n         * @type      {boolean}\n         * @default   {highcharts} undefined\n         * @default   {highstock} false\n         * @apioption plotOptions.series.marker.enabled\n         */\n        /**\n         * The threshold for how dense the point markers should be before\n         * they are hidden, given that `enabled` is not defined. The number\n         * indicates the horizontal distance between the two closest points\n         * in the series, as multiples of the `marker.radius`. In other\n         * words, the default value of 2 means points are hidden if\n         * overlapping horizontally.\n         *\n         * @sample highcharts/plotoptions/series-marker-enabledthreshold\n         *         A higher threshold\n         *\n         * @since 6.0.5\n         */\n        enabledThreshold: 2,\n        /**\n         * The fill color of the point marker. When `undefined`, the series'\n         * or point's color is used.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/\n         *         White fill\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @apioption plotOptions.series.marker.fillColor\n         */\n        /**\n         * Image markers only. Set the image width explicitly. When using\n         * this option, a `width` must also be set.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-width-height/\n         *         Fixed width and height\n         * @sample {highstock} highcharts/plotoptions/series-marker-width-height/\n         *         Fixed width and height\n         *\n         * @type      {number}\n         * @since     4.0.4\n         * @apioption plotOptions.series.marker.height\n         */\n        /**\n         * The color of the point marker's outline. When `undefined`, the\n         * series' or point's color is used.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/\n         *         Inherit from series color (undefined)\n         *\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        lineColor: \"#ffffff\" /* Palette.backgroundColor */,\n        /**\n         * The width of the point marker's outline.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/\n         *         2px blue marker\n         */\n        lineWidth: 0,\n        /**\n         * The radius of the point marker.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-radius/\n         *         Bigger markers\n         *\n         * @default {highstock} 2\n         * @default {highcharts} 4\n         *\n         */\n        radius: 4,\n        /**\n         * A predefined shape or symbol for the marker. When undefined, the\n         * symbol is pulled from options.symbols. Other possible values are\n         * `'circle'`, `'square'`,`'diamond'`, `'triangle'` and\n         * `'triangle-down'`.\n         *\n         * Additionally, the URL to a graphic can be given on this form:\n         * `'url(graphic.png)'`. Note that for the image to be applied to\n         * exported charts, its URL needs to be accessible by the export\n         * server.\n         *\n         * Custom callbacks for symbol path generation can also be added to\n         * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then\n         * used by its method name, as shown in the demo.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-symbol/\n         *         Predefined, graphic and custom markers\n         * @sample {highstock} highcharts/plotoptions/series-marker-symbol/\n         *         Predefined, graphic and custom markers\n         * @sample {highmaps} maps/demo/mappoint-mapmarker\n         *         Using the mapmarker symbol for points\n         *\n         * @type      {string}\n         * @apioption plotOptions.series.marker.symbol\n         */\n        /**\n         * Image markers only. Set the image width explicitly. When using\n         * this option, a `height` must also be set.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-width-height/\n         *         Fixed width and height\n         * @sample {highstock} highcharts/plotoptions/series-marker-width-height/\n         *         Fixed width and height\n         *\n         * @type      {number}\n         * @since     4.0.4\n         * @apioption plotOptions.series.marker.width\n         */\n        /**\n         * States for a single point marker.\n         *\n         * @declare Highcharts.PointStatesOptionsObject\n         */\n        states: {\n            /**\n             * The normal state of a single point marker. Currently only\n             * used for setting animation when returning to normal state\n             * from hover.\n             *\n             * @declare Highcharts.PointStatesNormalOptionsObject\n             */\n            normal: {\n                /**\n                 * Animation when returning to normal state after hovering.\n                 *\n                 * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}\n                 */\n                animation: true\n            },\n            /**\n             * The hover state for a single point marker.\n             *\n             * @declare Highcharts.PointStatesHoverOptionsObject\n             */\n            hover: {\n                /**\n                 * Animation when hovering over the marker.\n                 *\n                 * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}\n                 */\n                animation: {\n                    /** @internal */\n                    duration: 150\n                },\n                /**\n                 * Enable or disable the point marker.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-enabled/\n                 *         Disabled hover state\n                 */\n                enabled: true,\n                /**\n                 * The fill color of the marker in hover state. When\n                 * `undefined`, the series' or point's fillColor for normal\n                 * state is used.\n                 *\n                 * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n                 * @apioption plotOptions.series.marker.states.hover.fillColor\n                 */\n                /**\n                 * The color of the point marker's outline. When\n                 * `undefined`, the series' or point's lineColor for normal\n                 * state is used.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-linecolor/\n                 *         White fill color, black line color\n                 *\n                 * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n                 * @apioption plotOptions.series.marker.states.hover.lineColor\n                 */\n                /**\n                 * The width of the point marker's outline. When\n                 * `undefined`, the series' or point's lineWidth for normal\n                 * state is used.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-linewidth/\n                 *         3px line width\n                 *\n                 * @type      {number}\n                 * @apioption plotOptions.series.marker.states.hover.lineWidth\n                 */\n                /**\n                 * The radius of the point marker. In hover state, it\n                 * defaults to the normal state's radius + 2 as per the\n                 * [radiusPlus](#plotOptions.series.marker.states.hover.radiusPlus)\n                 * option.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-radius/\n                 *         10px radius\n                 *\n                 * @type      {number}\n                 * @apioption plotOptions.series.marker.states.hover.radius\n                 */\n                /**\n                 * The number of pixels to increase the radius of the\n                 * hovered point.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/\n                 *         5 pixels greater radius on hover\n                 * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/\n                 *         5 pixels greater radius on hover\n                 *\n                 * @since 4.0.3\n                 */\n                radiusPlus: 2,\n                /**\n                 * The additional line width for a hovered point.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/\n                 *         2 pixels wider on hover\n                 * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/\n                 *         2 pixels wider on hover\n                 *\n                 * @since 4.0.3\n                 */\n                lineWidthPlus: 1\n            },\n            /**\n             * The appearance of the point marker when selected. In order to\n             * allow a point to be selected, set the\n             * `series.allowPointSelect` option to true.\n             *\n             * @declare Highcharts.PointStatesSelectOptionsObject\n             */\n            select: {\n                /**\n                 * Enable or disable visible feedback for selection.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-enabled/\n                 *         Disabled select state\n                 *\n                 * @type      {boolean}\n                 * @default   true\n                 * @apioption plotOptions.series.marker.states.select.enabled\n                 */\n                /**\n                 * The radius of the point marker. In hover state, it\n                 * defaults to the normal state's radius + 2.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-radius/\n                 *         10px radius for selected points\n                 *\n                 * @type      {number}\n                 * @apioption plotOptions.series.marker.states.select.radius\n                 */\n                /**\n                 * The fill color of the point marker.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-fillcolor/\n                 *         Solid red discs for selected points\n                 *\n                 * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n                 */\n                fillColor: \"#cccccc\" /* Palette.neutralColor20 */,\n                /**\n                 * The color of the point marker's outline. When\n                 * `undefined`, the series' or point's color is used.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-linecolor/\n                 *         Red line color for selected points\n                 *\n                 * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n                 */\n                lineColor: \"#000000\" /* Palette.neutralColor100 */,\n                /**\n                 * The width of the point marker's outline.\n                 *\n                 * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-linewidth/\n                 *         3px line width for selected points\n                 */\n                lineWidth: 2\n            }\n        }\n    },\n    /**\n     * Properties for each single point.\n     *\n     * @declare Highcharts.PlotSeriesPointOptions\n     *\n     * @private\n     */\n    point: {\n        /**\n         * Fires when a point is clicked. One parameter, `event`, is passed\n         * to the function, containing common event information.\n         *\n         * If the `series.allowPointSelect` option is true, the default\n         * action for the point's click event is to toggle the point's\n         * select state. Returning `false` cancels this action.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-click/\n         *         Click marker to alert values\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-click-column/\n         *         Click column\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-click-url/\n         *         Go to URL\n         * @sample {highmaps} maps/plotoptions/series-point-events-click/\n         *         Click marker to display values\n         * @sample {highmaps} maps/plotoptions/series-point-events-click-url/\n         *         Go to URL\n         *\n         * @type      {Highcharts.PointClickCallbackFunction}\n         * @context   Highcharts.Point\n         * @apioption plotOptions.series.point.events.click\n         */\n        /**\n         * Fires when the mouse leaves the area close to the point. One\n         * parameter, `event`, is passed to the function, containing common\n         * event information.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/\n         *         Show values in the chart's corner on mouse over\n         *\n         * @type      {Highcharts.PointMouseOutCallbackFunction}\n         * @context   Highcharts.Point\n         * @apioption plotOptions.series.point.events.mouseOut\n         */\n        /**\n         * Fires when the mouse enters the area close to the point. One\n         * parameter, `event`, is passed to the function, containing common\n         * event information.\n         *\n         * Returning `false` cancels the default behavior, which is to show a\n         * tooltip for the point.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/\n         *         Show values in the chart's corner on mouse over\n         *\n         * @type      {Highcharts.PointMouseOverCallbackFunction}\n         * @context   Highcharts.Point\n         * @apioption plotOptions.series.point.events.mouseOver\n         */\n        /**\n         * Fires when the point is removed using the `.remove()` method. One\n         * parameter, `event`, is passed to the function. Returning `false`\n         * cancels the operation.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-remove/\n         *         Remove point and confirm\n         *\n         * @type      {Highcharts.PointRemoveCallbackFunction}\n         * @since     1.2.0\n         * @context   Highcharts.Point\n         * @apioption plotOptions.series.point.events.remove\n         */\n        /**\n         * Fires when the point is selected either programmatically or\n         * following a click on the point. One parameter, `event`, is passed\n         * to the function. Returning `false` cancels the operation.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-select/\n         *         Report the last selected point\n         * @sample {highmaps} maps/plotoptions/series-allowpointselect/\n         *         Report select and unselect\n         *\n         * @type      {Highcharts.PointSelectCallbackFunction}\n         * @since     1.2.0\n         * @context   Highcharts.Point\n         * @apioption plotOptions.series.point.events.select\n         */\n        /**\n         * Fires when the point is unselected either programmatically or\n         * following a click on the point. One parameter, `event`, is passed\n         * to the function.\n         *  Returning `false` cancels the operation.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-unselect/\n         *         Report the last unselected point\n         * @sample {highmaps} maps/plotoptions/series-allowpointselect/\n         *         Report select and unselect\n         *\n         * @type      {Highcharts.PointUnselectCallbackFunction}\n         * @since     1.2.0\n         * @context   Highcharts.Point\n         * @apioption plotOptions.series.point.events.unselect\n         */\n        /**\n         * Fires when the point is updated programmatically through the\n         * `.update()` method. One parameter, `event`, is passed to the\n         * function. The new point options can be accessed through\n         * `event.options`. Returning `false` cancels the operation.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-point-events-update/\n         *         Confirm point updating\n         *\n         * @type      {Highcharts.PointUpdateCallbackFunction}\n         * @since     1.2.0\n         * @context   Highcharts.Point\n         * @apioption plotOptions.series.point.events.update\n         */\n        /**\n         * Events for each single point.\n         *\n         * @declare Highcharts.PointEventsOptionsObject\n         */\n        events: {}\n    },\n    /**\n     * Options for the series data labels, appearing next to each data\n     * point.\n     *\n     * Since v6.2.0, multiple data labels can be applied to each single\n     * point by defining them as an array of configs.\n     *\n     * In styled mode, the data labels can be styled with the\n     * `.highcharts-data-label-box` and `.highcharts-data-label` class names\n     * ([see example](https://www.highcharts.com/samples/highcharts/css/series-datalabels)).\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-datalabels-enabled\n     *         Data labels enabled\n     * @sample {highcharts} highcharts/plotoptions/series-datalabels-multiple\n     *         Multiple data labels on a bar series\n     * @sample {highcharts} highcharts/css/series-datalabels\n     *         Styled mode example\n     * @sample {highmaps} maps/demo/color-axis\n     *         Choropleth map with data labels\n     * @sample {highmaps} maps/demo/mappoint-datalabels-mapmarker\n     *         Using data labels as map markers\n     *\n     * @type    {*|Array<*>}\n     * @product highcharts highstock highmaps gantt\n     *\n     * @private\n     */\n    dataLabels: {\n        /**\n         * Enable or disable the initial animation when a series is displayed\n         * for the `dataLabels`. The animation can also be set as a\n         * configuration object. Please note that this option only applies to\n         * the initial animation.\n         *\n         * For other animations, see [chart.animation](#chart.animation) and the\n         * animation parameter under the API methods. The following properties\n         * are supported:\n         *\n         * - `defer`: The animation delay time in milliseconds.\n         *\n         * @sample {highcharts} highcharts/plotoptions/animation-defer/\n         *          Animation defer settings\n         *\n         * @type      {boolean|Partial<Highcharts.AnimationOptionsObject>}\n         * @since     8.2.0\n         * @apioption plotOptions.series.dataLabels.animation\n         */\n        animation: {},\n        /**\n         * The animation delay time in milliseconds. Set to `0` to render the\n         * data labels immediately. As `undefined` inherits defer time from the\n         * [series.animation.defer](#plotOptions.series.animation.defer).\n         *\n         * @type      {number}\n         * @since     8.2.0\n         * @apioption plotOptions.series.dataLabels.animation.defer\n         */\n        /**\n         * The alignment of the data label compared to the point. If `right`,\n         * the right side of the label should be touching the point. For points\n         * with an extent, like columns, the alignments also dictates how to\n         * align it inside the box, as given with the\n         * [inside](#plotOptions.column.dataLabels.inside) option. Can be one of\n         * `left`, `center` or `right`.\n         *\n         * @sample {highcharts}\n         *         highcharts/plotoptions/series-datalabels-align-left/ Left\n         *         aligned\n         * @sample {highcharts}\n         *         highcharts/plotoptions/bar-datalabels-align-inside-bar/ Data\n         *         labels inside the bar\n         *\n         * @type {Highcharts.AlignValue|null}\n         */\n        align: 'center',\n        /**\n         * Alignment method for data labels. If set to `plotEdges`, the labels\n         * are aligned within the plot area in the direction of the y-axis. So\n         * in a regular column chart, the labels are aligned vertically\n         * according to the `verticalAlign` setting. In a bar chart, which is\n         * inverted, the labels are aligned horizontally according to the\n         * `align` setting. Applies to cartesian series only.\n         *\n         * @sample {highcharts} highcharts/series-bar/datalabels-alignto/\n         *         Align to plot edges\n         *\n         * @type      {string}\n         * @since 11.4.2\n         * @apioption plotOptions.series.dataLabels.alignTo\n         */\n        /**\n         * Whether to allow data labels to overlap. To make the labels less\n         * sensitive for overlapping, the\n         * [dataLabels.padding](#plotOptions.series.dataLabels.padding)\n         * can be set to 0.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-allowoverlap-false/\n         *         Don't allow overlap\n         *\n         * @type      {boolean}\n         * @default   false\n         * @since     4.1.0\n         * @apioption plotOptions.series.dataLabels.allowOverlap\n         */\n        /**\n         * The background color or gradient for the data label. Setting it to\n         * `auto` will use the point's color.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         * @sample {highmaps} maps/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         * @sample {highmaps} maps/demo/mappoint-datalabels-mapmarker\n         *         Data labels as map markers\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @since     2.2.1\n         * @apioption plotOptions.series.dataLabels.backgroundColor\n         */\n        /**\n         * The border color for the data label. Setting it to `auto` will use\n         * the point's color. Defaults to `undefined`.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @since     2.2.1\n         * @apioption plotOptions.series.dataLabels.borderColor\n         */\n        /**\n         * The border radius in pixels for the data label.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         * @sample {highmaps} maps/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.2.1\n         * @apioption plotOptions.series.dataLabels.borderRadius\n         */\n        /**\n         * The border width in pixels for the data label.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.2.1\n         * @apioption plotOptions.series.dataLabels.borderWidth\n         */\n        borderWidth: 0,\n        /**\n         * A class name for the data label. Particularly in styled mode,\n         * this can be used to give each series' or point's data label\n         * unique styling. In addition to this option, a default color class\n         * name is added so that we can give the labels a contrast text\n         * shadow.\n         *\n         * @sample {highcharts} highcharts/css/data-label-contrast/\n         *         Contrast text shadow\n         * @sample {highcharts} highcharts/css/series-datalabels/\n         *         Styling by CSS\n         *\n         * @type      {string}\n         * @since     5.0.0\n         * @apioption plotOptions.series.dataLabels.className\n         */\n        /**\n         * This options is deprecated.\n         * Use [style.color](#plotOptions.series.dataLabels.style) instead.\n         *\n         * The text color for the data labels. Defaults to `undefined`. For\n         * certain series types, like column or map, the data labels can be\n         * drawn inside the points. In this case the data label will be\n         * drawn with maximum contrast by default. Additionally, it will be\n         * given a `text-outline` style with the opposite color, to further\n         * increase the contrast. This can be overridden by setting the\n         * `text-outline` style to `none` in the `dataLabels.style` option.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-color/\n         *         Red data labels\n         * @sample {highmaps} maps/demo/color-axis/\n         *         White data labels\n         *\n         * @see [style.color](#plotOptions.series.dataLabels.style)\n         *\n         * @type       {Highcharts.ColorType}\n         * @deprecated 10.3\n         * @apioption  plotOptions.series.dataLabels.color\n         */\n        /**\n         * Whether to hide data labels that are outside the plot area. By\n         * default, the data label is moved inside the plot area according\n         * to the\n         * [overflow](#plotOptions.series.dataLabels.overflow)\n         * option.\n         *\n         * @type      {boolean}\n         * @default   true\n         * @since     2.3.3\n         * @apioption plotOptions.series.dataLabels.crop\n         */\n        /**\n         * Whether to defer displaying the data labels until the initial\n         * series animation has finished. Setting to `false` renders the\n         * data label immediately. If set to `true` inherits the defer\n         * time set in [plotOptions.series.animation](#plotOptions.series.animation).\n         *\n         * @since     4.0.0\n         * @type      {boolean}\n         * @product   highcharts highstock gantt\n         */\n        defer: true,\n        /**\n         * Enable or disable the data labels.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-enabled/\n         *         Data labels enabled\n         * @sample {highmaps} maps/demo/color-axis/\n         *         Data labels enabled\n         *\n         * @type      {boolean}\n         * @default   false\n         * @apioption plotOptions.series.dataLabels.enabled\n         */\n        /**\n         * A declarative filter to control of which data labels to display.\n         * The declarative filter is designed for use when callback\n         * functions are not available, like when the chart options require\n         * a pure JSON structure or for use with graphical editors. For\n         * programmatic control, use the `formatter` instead, and return\n         * `undefined` to disable a single data label.\n         *\n         * @example\n         * filter: {\n         *     property: 'percentage',\n         *     operator: '>',\n         *     value: 4\n         * }\n         *\n         * @sample {highcharts} highcharts/demo/pie-monochrome\n         *         Data labels filtered by percentage\n         *\n         * @declare   Highcharts.DataLabelsFilterOptionsObject\n         * @since     6.0.3\n         * @apioption plotOptions.series.dataLabels.filter\n         */\n        /**\n         * The operator to compare by. Can be one of `>`, `<`, `>=`, `<=`,\n         * `==`, `===`, `!=` and `!==`.\n         *\n         * @type       {string}\n         * @validvalue [\">\", \"<\", \">=\", \"<=\", \"==\", \"===\", \"!=\", \"!==\"]\n         * @apioption  plotOptions.series.dataLabels.filter.operator\n         */\n        /**\n         * The point property to filter by. Point options are passed\n         * directly to properties, additionally there are `y` value,\n         * `percentage` and others listed under {@link Highcharts.Point}\n         * members.\n         *\n         * @type      {string}\n         * @apioption plotOptions.series.dataLabels.filter.property\n         */\n        /**\n         * The value to compare against.\n         *\n         * @type      {number}\n         * @apioption plotOptions.series.dataLabels.filter.value\n         */\n        /**\n         * A\n         * [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)\n         * for the data label. Available variables are the same as for\n         * `formatter`.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-format/\n         *         Add a unit\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-format-subexpression/\n         *         Complex logic in the format string\n         * @sample {highmaps} maps/plotoptions/series-datalabels-format/\n         *         Formatted value in the data label\n         *\n         * @type      {string}\n         * @default   y\n         * @default   point.value\n         * @since     3.0\n         * @apioption plotOptions.series.dataLabels.format\n         */\n        // eslint-disable-next-line valid-jsdoc\n        /**\n         * Callback JavaScript function to format the data label. Note that if a\n         * `format` is defined, the format takes precedence and the formatter is\n         * ignored.\n         *\n         * @sample {highmaps} maps/plotoptions/series-datalabels-format/\n         *         Formatted value\n         *\n         * @type {Highcharts.DataLabelsFormatterCallbackFunction}\n         */\n        formatter: function () {\n            const { numberFormatter } = this.series.chart;\n            return typeof this.y !== 'number' ?\n                '' : numberFormatter(this.y, -1);\n        },\n        /**\n         * For points with an extent, like columns or map areas, whether to\n         * align the data label inside the box or to the actual value point.\n         * Defaults to `false` in most cases, `true` in stacked columns.\n         *\n         * @type      {boolean}\n         * @since     3.0\n         * @apioption plotOptions.series.dataLabels.inside\n         */\n        /**\n         * Format for points with the value of null. Works analogously to\n         * [format](#plotOptions.series.dataLabels.format). `nullFormat` can\n         * be applied only to series which support displaying null points\n         * i.e `heatmap` or `tilemap`. Does not work with series that don't\n         * display null points, like `line`, `column`, `bar` or `pie`.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-nullformat/\n         *         Format data label for null points in heat map\n         *\n         * @type      {boolean|string}\n         * @since     7.1.0\n         * @apioption plotOptions.series.dataLabels.nullFormat\n         */\n        /**\n         * Callback JavaScript function that defines formatting for points\n         * with the value of null. Works analogously to\n         * [formatter](#plotOptions.series.dataLabels.formatter).\n         * `nullFormatter` can be applied only to series which support\n         * displaying null points i.e `heatmap` or `tilemap`. Does not work\n         * with series that don't display null points, like `line`, `column`,\n         * `bar` or `pie`.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-nullformat/\n         *         Format data label for null points in heat map\n         *\n         * @type      {Highcharts.DataLabelsFormatterCallbackFunction}\n         * @since     7.1.0\n         * @apioption plotOptions.series.dataLabels.nullFormatter\n         */\n        /**\n         * How to handle data labels that flow outside the plot area. The\n         * default is `\"justify\"`, which aligns them inside the plot area.\n         * For columns and bars, this means it will be moved inside the bar.\n         * To display data labels outside the plot area, set `crop` to\n         * `false` and `overflow` to `\"allow\"`.\n         *\n         * @type       {Highcharts.DataLabelsOverflowValue}\n         * @default    justify\n         * @since      3.0.6\n         * @apioption  plotOptions.series.dataLabels.overflow\n         */\n        /**\n         * When either the `borderWidth` or the `backgroundColor` is set,\n         * this is the padding within the box.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         * @sample {highmaps} maps/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         *\n         * @since 2.2.1\n         */\n        padding: 5,\n        /**\n         * Aligns data labels relative to points. If `center` alignment is\n         * not possible, it defaults to `right`.\n         *\n         * @type      {Highcharts.AlignValue}\n         * @default   center\n         * @apioption plotOptions.series.dataLabels.position\n         */\n        /**\n         * Text rotation in degrees. Note that due to a more complex\n         * structure, backgrounds, borders and padding will be lost on a\n         * rotated data label.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/\n         *         Vertical labels\n         *\n         * @type      {number}\n         * @default   0\n         * @apioption plotOptions.series.dataLabels.rotation\n         */\n        /**\n         * The shadow of the box. Works best with `borderWidth` or\n         * `backgroundColor`. Since 2.3 the shadow can be an object\n         * configuration containing `color`, `offsetX`, `offsetY`, `opacity`\n         * and `width`.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/\n         *         Data labels box options\n         *\n         * @type      {boolean|Highcharts.ShadowOptionsObject}\n         * @default   false\n         * @since     2.2.1\n         * @apioption plotOptions.series.dataLabels.shadow\n         */\n        /**\n         * The name of a symbol to use for the border around the label.\n         * Symbols are predefined functions on the Renderer object.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-shape/\n         *         A callout for annotations\n         *\n         * @type      {string}\n         * @default   square\n         * @since     4.1.2\n         * @apioption plotOptions.series.dataLabels.shape\n         */\n        /**\n         * Styles for the label. The default `color` setting is\n         * `\"contrast\"`, which is a pseudo color that Highcharts picks up\n         * and applies the maximum contrast to the underlying point item,\n         * for example the bar in a bar chart.\n         *\n         * The `textOutline` is a pseudo property that applies an outline of\n         * the given width with the given color, which by default is the\n         * maximum contrast to the text. So a bright text color will result\n         * in a black text outline for maximum readability on a mixed\n         * background. In some cases, especially with grayscale text, the\n         * text outline doesn't work well, in which cases it can be disabled\n         * by setting it to `\"none\"`. When `useHTML` is true, the\n         * `textOutline` will not be picked up. In this, case, the same\n         * effect can be acheived through the `text-shadow` CSS property.\n         *\n         * For some series types, where each point has an extent, like for\n         * example tree maps, the data label may overflow the point. There\n         * are two strategies for handling overflow. By default, the text\n         * will wrap to multiple lines. The other strategy is to set\n         * `style.textOverflow` to `ellipsis`, which will keep the text on\n         * one line plus it will break inside long words.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-style/\n         *         Bold labels\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-overflow/\n         *         Long labels truncated with an ellipsis in a pie\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-overflow-wrap/\n         *         Long labels are wrapped in a pie\n         * @sample {highmaps} maps/demo/color-axis/\n         *         Bold labels\n         *\n         * @type      {Highcharts.CSSObject}\n         * @since     4.1.0\n         * @apioption plotOptions.series.dataLabels.style\n         */\n        style: {\n            /** @internal */\n            fontSize: '0.7em',\n            /** @internal */\n            fontWeight: 'bold',\n            /** @internal */\n            color: 'contrast',\n            /** @internal */\n            textOutline: '1px contrast'\n        },\n        /**\n         * Options for a label text which should follow marker's shape.\n         * Border and background are disabled for a label that follows a\n         * path.\n         *\n         * **Note:** Only SVG-based renderer supports this option. Setting\n         * `useHTML` to true will disable this option.\n         *\n         * @declare   Highcharts.DataLabelsTextPathOptionsObject\n         * @since     7.1.0\n         * @apioption plotOptions.series.dataLabels.textPath\n         */\n        /**\n         * Presentation attributes for the text path.\n         *\n         * @type      {Highcharts.SVGAttributes}\n         * @since     7.1.0\n         * @apioption plotOptions.series.dataLabels.textPath.attributes\n         */\n        /**\n         * Enable or disable `textPath` option for link's or marker's data\n         * labels.\n         *\n         * @type      {boolean}\n         * @since     7.1.0\n         * @apioption plotOptions.series.dataLabels.textPath.enabled\n         */\n        /**\n         * Whether to\n         * [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)\n         * to render the labels.\n         *\n         * @type      {boolean}\n         * @default   false\n         * @apioption plotOptions.series.dataLabels.useHTML\n         */\n        /**\n         * The vertical alignment of a data label. Can be one of `top`,\n         * `middle` or `bottom`. The default value depends on the data, for\n         * instance in a column chart, the label is above positive values\n         * and below negative values.\n         *\n         * @type  {Highcharts.VerticalAlignValue|null}\n         * @since 2.3.3\n         */\n        verticalAlign: 'bottom',\n        /**\n         * The x position offset of the label relative to the point in\n         * pixels.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/\n         *         Vertical and positioned\n         * @sample {highcharts} highcharts/plotoptions/bar-datalabels-align-inside-bar/\n         *         Data labels inside the bar\n         */\n        x: 0,\n        /**\n         * The z index of the data labels. Use a `zIndex` of 6 to display it above\n         * the series, or use a `zIndex` of 2 to display it behind the series.\n         *\n         * @type      {number}\n         * @default   6\n         * @since     2.3.5\n         * @apioption plotOptions.series.dataLabels.zIndex\n         */\n        /**\n         * The y position offset of the label relative to the point in\n         * pixels.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/\n         *         Vertical and positioned\n         */\n        y: 0\n    },\n    /**\n     * When the series contains less points than the crop threshold, all\n     * points are drawn, even if the points fall outside the visible plot\n     * area at the current zoom. The advantage of drawing all points\n     * (including markers and columns), is that animation is performed on\n     * updates. On the other hand, when the series contains more points than\n     * the crop threshold, the series data is cropped to only contain points\n     * that fall within the plot area. The advantage of cropping away\n     * invisible points is to increase performance on large series.\n     *\n     * @since   2.2\n     * @product highcharts highstock\n     *\n     * @private\n     */\n    cropThreshold: 300,\n    /**\n     * Opacity of a series parts: line, fill (e.g. area) and dataLabels.\n     *\n     * @see [states.inactive.opacity](#plotOptions.series.states.inactive.opacity)\n     *\n     * @since 7.1.0\n     *\n     * @private\n     */\n    opacity: 1,\n    /**\n     * The width of each point on the x axis. For example in a column chart\n     * with one value each day, the pointRange would be 1 day (= 24 * 3600\n     * * 1000 milliseconds). This is normally computed automatically, but\n     * this option can be used to override the automatic value.\n     *\n     * @product highstock\n     *\n     * @private\n     */\n    pointRange: 0,\n    /**\n     * When this is true, the series will not cause the Y axis to cross\n     * the zero plane (or [threshold](#plotOptions.series.threshold) option)\n     * unless the data actually crosses the plane.\n     *\n     * For example, if `softThreshold` is `false`, a series of 0, 1, 2,\n     * 3 will make the Y axis show negative values according to the\n     * `minPadding` option. If `softThreshold` is `true`, the Y axis starts\n     * at 0.\n     *\n     * @since   4.1.9\n     * @product highcharts highstock\n     *\n     * @private\n     */\n    softThreshold: true,\n    /**\n     * @declare Highcharts.SeriesStatesOptionsObject\n     *\n     * @private\n     */\n    states: {\n        /**\n         * The normal state of a series, or for point items in column, pie\n         * and similar series. Currently only used for setting animation\n         * when returning to normal state from hover.\n         *\n         * @declare Highcharts.SeriesStatesNormalOptionsObject\n         */\n        normal: {\n            /**\n             * Animation when returning to normal state after hovering.\n             *\n                 * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}\n             */\n            animation: true\n        },\n        /**\n         * Options for the hovered series. These settings override the\n         * normal state options when a series is moused over or touched.\n         *\n         * @declare Highcharts.SeriesStatesHoverOptionsObject\n         */\n        hover: {\n            /**\n             * Enable separate styles for the hovered series to visualize\n             * that the user hovers either the series itself or the legend.\n             *\n             * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled/\n             *         Line\n             * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled-column/\n             *         Column\n             * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled-pie/\n             *         Pie\n             *\n             * @type      {boolean}\n             * @default   true\n             * @since     1.2\n             * @apioption plotOptions.series.states.hover.enabled\n             */\n            /**\n             * Animation setting for hovering the graph in line-type series.\n             *\n             * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}\n             * @since   5.0.8\n             * @product highcharts highstock\n             */\n            animation: {\n                /**\n                 * The duration of the hover animation in milliseconds. By\n                 * default the hover state animates quickly in, and slowly\n                 * back to normal.\n                 *\n                 * @internal\n                 */\n                duration: 150\n            },\n            /**\n             * Pixel width of the graph line. By default this property is\n             * undefined, and the `lineWidthPlus` property dictates how much\n             * to increase the linewidth from normal state.\n             *\n             * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidth/\n             *         5px line on hover\n             *\n             * @type      {number}\n             * @product   highcharts highstock\n             * @apioption plotOptions.series.states.hover.lineWidth\n             */\n            /**\n             * The additional line width for the graph of a hovered series.\n             *\n             * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/\n             *         5 pixels wider\n             * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/\n             *         5 pixels wider\n             *\n             * @since   4.0.3\n             * @product highcharts highstock\n             */\n            lineWidthPlus: 1,\n            /**\n             * In Highcharts 1.0, the appearance of all markers belonging\n             * to the hovered series. For settings on the hover state of the\n             * individual point, see\n             * [marker.states.hover](#plotOptions.series.marker.states.hover).\n             *\n             * @deprecated\n             *\n             * @extends   plotOptions.series.marker\n             * @excluding states, symbol\n             * @product   highcharts highstock\n             */\n            marker: {\n            // `lineWidth: base + 1`,\n            // `radius: base + 1`\n            },\n            /**\n             * Options for the halo appearing around the hovered point in\n             * line-type series as well as outside the hovered slice in pie\n             * charts. By default the halo is filled by the current point or\n             * series color with an opacity of 0.25\\. The halo can be\n             * disabled by setting the `halo` option to `null`.\n             *\n             * In styled mode, the halo is styled with the\n             * `.highcharts-halo` class, with colors inherited from\n             * `.highcharts-color-{n}`.\n             *\n             * @sample {highcharts} highcharts/plotoptions/halo/\n             *         Halo options\n             * @sample {highstock} highcharts/plotoptions/halo/\n             *         Halo options\n             *\n             * @declare Highcharts.SeriesStatesHoverHaloOptionsObject\n             * @type    {null|*}\n             * @since   4.0\n             * @product highcharts highstock\n             */\n            halo: {\n                /**\n                 * A collection of SVG attributes to override the appearance\n                 * of the halo, for example `fill`, `stroke` and\n                 * `stroke-width`.\n                 *\n                 * @type      {Highcharts.SVGAttributes}\n                 * @since     4.0\n                 * @product   highcharts highstock\n                 * @apioption plotOptions.series.states.hover.halo.attributes\n                 */\n                /**\n                 * The pixel size of the halo. For point markers this is the\n                 * radius of the halo. For pie slices it is the width of the\n                 * halo outside the slice. For bubbles it defaults to 5 and\n                 * is the width of the halo outside the bubble.\n                 *\n                 * @since   4.0\n                 * @product highcharts highstock\n                 */\n                size: 10,\n                /**\n                 * Opacity for the halo unless a specific fill is overridden\n                 * using the `attributes` setting. Note that Highcharts is\n                 * only able to apply opacity to colors of hex or rgb(a)\n                 * formats.\n                 *\n                 * @since   4.0\n                 * @product highcharts highstock\n                 */\n                opacity: 0.25\n            }\n        },\n        /**\n         * Specific options for point in selected states, after being\n         * selected by\n         * [allowPointSelect](#plotOptions.series.allowPointSelect)\n         * or programmatically.\n         *\n         * @sample maps/plotoptions/series-allowpointselect/\n         *         Allow point select demo\n         *\n         * @declare   Highcharts.SeriesStatesSelectOptionsObject\n         * @extends   plotOptions.series.states.hover\n         * @excluding brightness\n         */\n        select: {\n            animation: {\n                /** @internal */\n                duration: 0\n            }\n        },\n        /**\n         * The opposite state of a hover for series.\n         *\n         * @sample highcharts/plotoptions/series-states-inactive-disabled\n         *         Disabled inactive state\n         *\n         * @declare Highcharts.SeriesStatesInactiveOptionsObject\n         */\n        inactive: {\n            /**\n             * Enable or disable the inactive state for a series\n             *\n             * @sample highcharts/plotoptions/series-states-inactive-disabled\n             *         Disabled inactive state\n             *\n             * @type {boolean}\n             * @default true\n             * @apioption plotOptions.series.states.inactive.enabled\n             */\n            /**\n             * The animation for entering the inactive state.\n             *\n             * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}\n             */\n            animation: {\n                /** @internal */\n                duration: 150\n            },\n            /**\n             * Opacity of series elements (dataLabels, line, area).\n             *\n             * @type {number}\n             */\n            opacity: 0.2\n        }\n    },\n    /**\n     * Sticky tracking of mouse events. When true, the `mouseOut` event on a\n     * series isn't triggered until the mouse moves over another series, or\n     * out of the plot area. When false, the `mouseOut` event on a series is\n     * triggered when the mouse leaves the area around the series' graph or\n     * markers. This also implies the tooltip when not shared. When\n     * `stickyTracking` is false and `tooltip.shared` is false, the tooltip\n     * will be hidden when moving the mouse between series. Defaults to true\n     * for line and area type series, but to false for columns, pies etc.\n     *\n     * **Note:** The boost module will force this option because of\n     * technical limitations.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-stickytracking-true/\n     *         True by default\n     * @sample {highcharts} highcharts/plotoptions/series-stickytracking-false/\n     *         False\n     *\n     * @default {highcharts} true\n     * @default {highstock} true\n     * @default {highmaps} false\n     * @since   2.0\n     *\n     * @private\n     */\n    stickyTracking: true,\n    /**\n     * A configuration object for the tooltip rendering of each single\n     * series. Properties are inherited from [tooltip](#tooltip), but only\n     * the following properties can be defined on a series level.\n     *\n     * @declare   Highcharts.SeriesTooltipOptionsObject\n     * @since     2.3\n     * @extends   tooltip\n     * @excluding animation, backgroundColor, borderColor, borderRadius,\n     *            borderWidth, className, crosshairs, enabled, formatter,\n     *            headerShape, hideDelay, outside, padding, positioner,\n     *            shadow, shape, shared, snap, split, stickOnContact,\n     *            style, useHTML\n     * @apioption plotOptions.series.tooltip\n     */\n    /**\n     * When a series contains a `data` array that is longer than this, the\n     * Series class looks for data configurations of plain numbers or arrays of\n     * numbers. The first and last valid points are checked. If found, the rest\n     * of the data is assumed to be the same. This saves expensive data checking\n     * and indexing in long series, and makes data-heavy charts render faster.\n     *\n     * Set it to `0` disable.\n     *\n     * Note:\n     * - In boost mode turbo threshold is forced. Only array of numbers or two\n     *   dimensional arrays are allowed.\n     * - In version 11.4.3 and earlier, if object configurations were passed\n     *   beyond the turbo threshold, a warning was logged in the console and the\n     *   data series didn't render.\n     *\n     * @since   2.2\n     * @product highcharts highstock gantt\n     *\n     * @private\n     */\n    turboThreshold: 1000,\n    /**\n     * An array defining zones within a series. Zones can be applied to the\n     * X axis, Y axis or Z axis for bubbles, according to the `zoneAxis`\n     * option. The zone definitions have to be in ascending order regarding\n     * to the value.\n     *\n     * In styled mode, the color zones are styled with the\n     * `.highcharts-zone-{n}` class, or custom classed from the `className`\n     * option\n     * ([view live demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/color-zones/)).\n     *\n     * @see [zoneAxis](#plotOptions.series.zoneAxis)\n     *\n     * @sample {highcharts} highcharts/series/color-zones-simple/\n     *         Color zones\n     * @sample {highstock} highcharts/series/color-zones-simple/\n     *         Color zones\n     *\n     * @declare   Highcharts.SeriesZonesOptionsObject\n     * @type      {Array<*>}\n     * @since     4.1.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.zones\n     */\n    /**\n     * Styled mode only. A custom class name for the zone.\n     *\n     * @sample highcharts/css/color-zones/\n     *         Zones styled by class name\n     *\n     * @type      {string}\n     * @since     5.0.0\n     * @apioption plotOptions.series.zones.className\n     */\n    /**\n     * Defines the color of the series.\n     *\n     * @see [series color](#plotOptions.series.color)\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     4.1.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.zones.color\n     */\n    /**\n     * A name for the dash style to use for the graph.\n     *\n     * @see [plotOptions.series.dashStyle](#plotOptions.series.dashStyle)\n     *\n     * @sample {highcharts|highstock} highcharts/series/color-zones-dashstyle-dot/\n     *         Dashed line indicates prognosis\n     *\n     * @type      {Highcharts.DashStyleValue}\n     * @since     4.1.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.zones.dashStyle\n     */\n    /**\n     * Defines the fill color for the series (in area type series)\n     *\n     * @see [fillColor](#plotOptions.area.fillColor)\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     4.1.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.zones.fillColor\n     */\n    /**\n     * The value up to where the zone extends, if undefined the zones\n     * stretches to the last value in the series.\n     *\n     * @type      {number}\n     * @since     4.1.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.series.zones.value\n     */\n    /**\n     * When using dual or multiple color axes, this number defines which\n     * colorAxis the particular series is connected to. It refers to\n     * either the\n     * {@link #colorAxis.id|axis id}\n     * or the index of the axis in the colorAxis array, with 0 being the\n     * first. Set this option to false to prevent a series from connecting\n     * to the default color axis.\n     *\n     * Since v7.2.0 the option can also be an axis id or an axis index\n     * instead of a boolean flag.\n     *\n     * @sample highcharts/coloraxis/coloraxis-with-pie/\n     *         Color axis with pie series\n     * @sample highcharts/coloraxis/multiple-coloraxis/\n     *         Multiple color axis\n     *\n     * @type      {number|string|boolean}\n     * @default   0\n     * @product   highcharts highstock highmaps\n     * @apioption plotOptions.series.colorAxis\n     */\n    /**\n     * Determines what data value should be used to calculate point color\n     * if `colorAxis` is used. Requires to set `min` and `max` if some\n     * custom point property is used or if approximation for data grouping\n     * is set to `'sum'`.\n     *\n     * @sample highcharts/coloraxis/custom-color-key/\n     *         Custom color key\n     * @sample highcharts/coloraxis/color-key-with-stops/\n     *         Custom colorKey with color axis stops\n     * @sample highcharts/coloraxis/changed-default-color-key/\n     *         Changed default color key\n     *\n     * @type      {string}\n     * @default   y\n     * @since     7.2.0\n     * @product   highcharts highstock highmaps\n     * @apioption plotOptions.series.colorKey\n     */\n    /**\n     * What type of legend symbol to render for this series. Can be one of\n     * `areaMarker`, `lineMarker` or `rectangle`.\n     *\n     * @validvalue [\"areaMarker\", \"lineMarker\", \"rectangle\"]\n     *\n     * @sample {highcharts} highcharts/series/legend-symbol/\n     *         Change the legend symbol\n     *\n     * @type      {string}\n     * @default   rectangle\n     * @since     11.0.1\n     * @apioption plotOptions.series.legendSymbol\n     */\n    /**\n     * Defines the color of the legend symbol for this series. Defaults to\n     * undefined, in which case the series color is used. Does not work with\n     * styled mode.\n     *\n     * @sample {highcharts|highstock} highcharts/series/legend-symbol-color/\n     *         Change the legend symbol color\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default   undefined\n     * @since 12.0.0\n     * @product   highcharts highstock highmaps\n     * @apioption plotOptions.series.legendSymbolColor\n     */\n    /**\n     * Determines whether the series should look for the nearest point\n     * in both dimensions or just the x-dimension when hovering the series.\n     * Defaults to `'xy'` for scatter series and `'x'` for most other\n     * series. If the data has duplicate x-values, it is recommended to\n     * set this to `'xy'` to allow hovering over all points.\n     *\n     * Applies only to series types using nearest neighbor search (not\n     * direct hover) for tooltip.\n     *\n     * @sample {highcharts} highcharts/series/findnearestpointby/\n     *         Different hover behaviors\n     * @sample {highstock} highcharts/series/findnearestpointby/\n     *         Different hover behaviors\n     * @sample {highmaps} highcharts/series/findnearestpointby/\n     *         Different hover behaviors\n     *\n     * @since      5.0.10\n     * @validvalue [\"x\", \"xy\"]\n     *\n     * @private\n     */\n    findNearestPointBy: 'x'\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const SeriesDefaults = (seriesDefaults);\n\n;// ./code/es-modules/Core/Series/SeriesRegistry.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { defaultOptions: SeriesRegistry_defaultOptions } = Defaults;\n\n\nconst { extend: SeriesRegistry_extend, extendClass: SeriesRegistry_extendClass, merge: SeriesRegistry_merge } = Core_Utilities;\n/* *\n *\n *  Namespace\n *\n * */\nvar SeriesRegistry;\n(function (SeriesRegistry) {\n    /* *\n     *\n     *  Properties\n     *\n     * */\n    /**\n     * @internal\n     * @todo Move `Globals.seriesTypes` code to her.\n     */\n    SeriesRegistry.seriesTypes = Core_Globals.seriesTypes;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Registers class pattern of a series.\n     *\n     * @private\n     */\n    function registerSeriesType(seriesType, SeriesClass) {\n        const defaultPlotOptions = SeriesRegistry_defaultOptions.plotOptions || {}, seriesOptions = SeriesClass.defaultOptions, seriesProto = SeriesClass.prototype;\n        seriesProto.type = seriesType;\n        if (!seriesProto.pointClass) {\n            seriesProto.pointClass = Series_Point;\n        }\n        if (SeriesRegistry.seriesTypes[seriesType]) {\n            return false;\n        }\n        if (seriesOptions) {\n            defaultPlotOptions[seriesType] = seriesOptions;\n        }\n        SeriesRegistry.seriesTypes[seriesType] = SeriesClass;\n        return true;\n    }\n    SeriesRegistry.registerSeriesType = registerSeriesType;\n    /**\n     * Old factory to create new series prototypes.\n     *\n     * @deprecated\n     * @function Highcharts.seriesType\n     *\n     * @param {string} type\n     * The series type name.\n     *\n     * @param {string} parent\n     * The parent series type name. Use `line` to inherit from the basic\n     * {@link Series} object.\n     *\n     * @param {Highcharts.SeriesOptionsType|Highcharts.Dictionary<*>} options\n     * The additional default options that are merged with the parent's options.\n     *\n     * @param {Highcharts.Dictionary<*>} [props]\n     * The properties (functions and primitives) to set on the new prototype.\n     *\n     * @param {Highcharts.Dictionary<*>} [pointProps]\n     * Members for a series-specific extension of the {@link Point} prototype if\n     * needed.\n     *\n     * @return {Highcharts.Series}\n     * The newly created prototype as extended from {@link Series} or its\n     * derivatives.\n     */\n    function seriesType(type, parent, options, seriesProto, pointProto) {\n        const defaultPlotOptions = SeriesRegistry_defaultOptions.plotOptions || {};\n        parent = parent || '';\n        // Merge the options\n        defaultPlotOptions[type] = SeriesRegistry_merge(defaultPlotOptions[parent], options);\n        // Create the class\n        delete SeriesRegistry.seriesTypes[type];\n        registerSeriesType(type, SeriesRegistry_extendClass(SeriesRegistry.seriesTypes[parent] || function () { }, seriesProto));\n        SeriesRegistry.seriesTypes[type].prototype.type = type;\n        // Create the point class if needed\n        if (pointProto) {\n            class PointClass extends Series_Point {\n            }\n            SeriesRegistry_extend(PointClass.prototype, pointProto);\n            SeriesRegistry.seriesTypes[type].prototype.pointClass = PointClass;\n        }\n        return SeriesRegistry.seriesTypes[type];\n    }\n    SeriesRegistry.seriesType = seriesType;\n})(SeriesRegistry || (SeriesRegistry = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_SeriesRegistry = (SeriesRegistry);\n\n;// ./code/es-modules/Core/Series/Series.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject: Series_animObject, setAnimation: Series_setAnimation } = AnimationUtilities;\n\n\nconst { defaultOptions: Series_defaultOptions } = Defaults;\n\nconst { registerEventOptions: Series_registerEventOptions } = Core_Foundation;\n\nconst { svg: Series_svg, win: Series_win } = Core_Globals;\n\n\n\n\nconst { seriesTypes } = Series_SeriesRegistry;\n\n\nconst { arrayMax: Series_arrayMax, arrayMin: Series_arrayMin, clamp: Series_clamp, correctFloat: Series_correctFloat, crisp: Series_crisp, defined: Series_defined, destroyObjectProperties: Series_destroyObjectProperties, diffObjects: Series_diffObjects, erase: Series_erase, error: Series_error, extend: Series_extend, find: Series_find, fireEvent: Series_fireEvent, getClosestDistance: Series_getClosestDistance, getNestedProperty: Series_getNestedProperty, insertItem: Series_insertItem, isArray: Series_isArray, isNumber: Series_isNumber, isString: Series_isString, merge: Series_merge, objectEach: Series_objectEach, pick: Series_pick, removeEvent: Series_removeEvent, syncTimeout: Series_syncTimeout } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * This is the base series prototype that all other series types inherit from.\n * A new series is initialized either through the\n * [series](https://api.highcharts.com/highcharts/series)\n * option structure, or after the chart is initialized, through\n * {@link Highcharts.Chart#addSeries}.\n *\n * The object can be accessed in a number of ways. All series and point event\n * handlers give a reference to the `series` object. The chart object has a\n * {@link Highcharts.Chart#series|series} property that is a collection of all\n * the chart's series. The point objects and axis objects also have the same\n * reference.\n *\n * Another way to reference the series programmatically is by `id`. Add an id\n * in the series configuration options, and get the series object by\n * {@link Highcharts.Chart#get}.\n *\n * Configuration options for the series are given in three levels. Options for\n * all series in a chart are given in the\n * [plotOptions.series](https://api.highcharts.com/highcharts/plotOptions.series)\n * object. Then options for all series of a specific type\n * are given in the plotOptions of that type, for example `plotOptions.line`.\n * Next, options for one single series are given in the series array, or as\n * arguments to `chart.addSeries`.\n *\n * The data in the series is stored in various arrays.\n *\n * - First, `series.options.data` contains all the original config options for\n *   each point whether added by options or methods like `series.addPoint`.\n *\n * - The `series.dataTable` refers to an instance of [DataTableCore](https://api.highcharts.com/class-reference/Highcharts.Data)\n *   or `DataTable` that contains the data in a tabular format. Individual\n *   columns can be read from `series.getColumn()`.\n *\n * - Next, `series.data` contains those values converted to points, but in case\n *   the series data length exceeds the `cropThreshold`, or if the data is\n *   grouped, `series.data` doesn't contain all the points. It only contains the\n *   points that have been created on demand.\n *\n * - Then there's `series.points` that contains all currently visible point\n *   objects. In case of cropping, the cropped-away points are not part of this\n *   array. The `series.points` array starts at `series.cropStart` compared to\n *   `series.data` and `series.options.data`. If however the series data is\n *   grouped, these can't be correlated one to one.\n *\n * @class\n * @name Highcharts.Series\n *\n * @param {Highcharts.Chart} chart\n * The chart instance.\n *\n * @param {Highcharts.SeriesOptionsType|object} options\n * The series options.\n */\nclass Series {\n    constructor() {\n        /* *\n         *\n         *  Static Properties\n         *\n         * */\n        this.zoneAxis = 'y';\n        // eslint-enable valid-jsdoc\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    init(chart, userOptions) {\n        Series_fireEvent(this, 'init', { options: userOptions });\n        // Create the data table\n        this.dataTable ?? (this.dataTable = new Data_DataTableCore());\n        const series = this, chartSeries = chart.series;\n        // The 'eventsToUnbind' property moved from prototype into the\n        // Series init to avoid reference to the same array between\n        // the different series and charts. #12959, #13937\n        this.eventsToUnbind = [];\n        /**\n         * Read only. The chart that the series belongs to.\n         *\n         * @name Highcharts.Series#chart\n         * @type {Highcharts.Chart}\n         */\n        series.chart = chart;\n        /**\n         * Read only. The series' type, like \"line\", \"area\", \"column\" etc.\n         * The type in the series options anc can be altered using\n         * {@link Series#update}.\n         *\n         * @name Highcharts.Series#type\n         * @type {string}\n         */\n        /**\n         * Read only. The series' current options. To update, use\n         * {@link Series#update}.\n         *\n         * @name Highcharts.Series#options\n         * @type {Highcharts.SeriesOptionsType}\n         */\n        series.options = series.setOptions(userOptions);\n        const options = series.options, visible = options.visible !== false;\n        /**\n         * All child series that are linked to the current series through the\n         * [linkedTo](https://api.highcharts.com/highcharts/series.line.linkedTo)\n         * option.\n         *\n         * @name Highcharts.Series#linkedSeries\n         * @type {Array<Highcharts.Series>}\n         * @readonly\n         */\n        series.linkedSeries = [];\n        // Bind the axes\n        series.bindAxes();\n        Series_extend(series, {\n            /**\n             * The series name as given in the options. Defaults to\n             * \"Series {n}\".\n             *\n             * @name Highcharts.Series#name\n             * @type {string}\n             */\n            name: options.name,\n            state: '',\n            /**\n             * Read only. The series' visibility state as set by {@link\n             * Series#show}, {@link Series#hide}, or in the initial\n             * configuration.\n             *\n             * @name Highcharts.Series#visible\n             * @type {boolean}\n             */\n            visible, // True by default\n            /**\n             * Read only. The series' selected state as set by {@link\n             * Highcharts.Series#select}.\n             *\n             * @name Highcharts.Series#selected\n             * @type {boolean}\n             */\n            selected: options.selected === true // False by default\n        });\n        Series_registerEventOptions(this, options);\n        const events = options.events;\n        if ((events && events.click) ||\n            (options.point &&\n                options.point.events &&\n                options.point.events.click) ||\n            options.allowPointSelect) {\n            chart.runTrackerClick = true;\n        }\n        series.getColor();\n        series.getSymbol();\n        // Mark cartesian\n        if (series.isCartesian) {\n            chart.hasCartesianSeries = true;\n        }\n        // Get the index and register the series in the chart. The index is\n        // one more than the current latest series index (#5960).\n        let lastSeries;\n        if (chartSeries.length) {\n            lastSeries = chartSeries[chartSeries.length - 1];\n        }\n        series._i = Series_pick(lastSeries && lastSeries._i, -1) + 1;\n        series.opacity = series.options.opacity;\n        // Insert the series and re-order all series above the insertion\n        // point.\n        chart.orderItems('series', Series_insertItem(this, chartSeries));\n        // Set options for series with sorting and set data later.\n        if (options.dataSorting && options.dataSorting.enabled) {\n            series.setDataSortingOptions();\n        }\n        else if (!series.points && !series.data) {\n            series.setData(options.data, false);\n        }\n        Series_fireEvent(this, 'afterInit');\n    }\n    /**\n     * Check whether the series item is itself or inherits from a certain\n     * series type.\n     *\n     * @function Highcharts.Series#is\n     * @param {string} type The type of series to check for, can be either\n     *        featured or custom series types. For example `column`, `pie`,\n     *        `ohlc` etc.\n     *\n     * @return {boolean}\n     *        True if this item is or inherits from the given type.\n     */\n    is(type) {\n        return seriesTypes[type] && this instanceof seriesTypes[type];\n    }\n    /**\n     * Set the xAxis and yAxis properties of cartesian series, and register\n     * the series in the `axis.series` array.\n     *\n     * @private\n     * @function Highcharts.Series#bindAxes\n     */\n    bindAxes() {\n        const series = this, seriesOptions = series.options, chart = series.chart;\n        let axisOptions;\n        Series_fireEvent(this, 'bindAxes', null, function () {\n            // Repeat for xAxis and yAxis\n            (series.axisTypes || []).forEach(function (coll) {\n                // Loop through the chart's axis objects\n                (chart[coll] || []).forEach(function (axis) {\n                    axisOptions = axis.options;\n                    // Apply if the series xAxis or yAxis option matches\n                    // the number of the axis, or if undefined, use the\n                    // first axis\n                    if (Series_pick(seriesOptions[coll], 0) === axis.index ||\n                        (typeof seriesOptions[coll] !==\n                            'undefined' &&\n                            seriesOptions[coll] === axisOptions.id)) {\n                        // Register this series in the axis.series lookup\n                        Series_insertItem(series, axis.series);\n                        // Set this series.xAxis or series.yAxis reference\n                        /**\n                         * Read only. The unique xAxis object associated\n                         * with the series.\n                         *\n                         * @name Highcharts.Series#xAxis\n                         * @type {Highcharts.Axis}\n                         */\n                        /**\n                         * Read only. The unique yAxis object associated\n                         * with the series.\n                         *\n                         * @name Highcharts.Series#yAxis\n                         * @type {Highcharts.Axis}\n                         */\n                        series[coll] = axis;\n                        // Mark dirty for redraw\n                        axis.isDirty = true;\n                    }\n                });\n                // The series needs an X and an Y axis\n                if (!series[coll] &&\n                    series.optionalAxis !== coll) {\n                    Series_error(18, true, chart);\n                }\n            });\n        });\n        Series_fireEvent(this, 'afterBindAxes');\n    }\n    /**\n     * Define hasData functions for series. These return true if there\n     * are data points on this series within the plot area.\n     *\n     * @private\n     * @function Highcharts.Series#hasData\n     */\n    hasData() {\n        return ((this.visible &&\n            typeof this.dataMax !== 'undefined' &&\n            typeof this.dataMin !== 'undefined') || ( // #3703\n        this.visible &&\n            this.dataTable.rowCount > 0 // #9758\n        ));\n    }\n    /**\n     * Determine whether the marker in a series has changed.\n     *\n     * @private\n     * @function Highcharts.Series#hasMarkerChanged\n     */\n    hasMarkerChanged(options, oldOptions) {\n        const marker = options.marker, oldMarker = oldOptions.marker || {};\n        return marker && ((oldMarker.enabled && !marker.enabled) ||\n            oldMarker.symbol !== marker.symbol || // #10870, #15946\n            oldMarker.height !== marker.height || // #16274\n            oldMarker.width !== marker.width // #16274\n        );\n    }\n    /**\n     * Return an auto incremented x value based on the pointStart and\n     * pointInterval options. This is only used if an x value is not given\n     * for the point that calls autoIncrement.\n     *\n     * @private\n     * @function Highcharts.Series#autoIncrement\n     */\n    autoIncrement(x) {\n        const options = this.options, { pointIntervalUnit, relativeXValue } = this.options, time = this.chart.time, xIncrement = this.xIncrement ??\n            time.parse(options.pointStart) ??\n            0;\n        let pointInterval;\n        this.pointInterval = pointInterval = Series_pick(this.pointInterval, options.pointInterval, 1);\n        if (relativeXValue && Series_isNumber(x)) {\n            pointInterval *= x;\n        }\n        // Added code for pointInterval strings\n        if (pointIntervalUnit) {\n            const d = time.toParts(xIncrement);\n            if (pointIntervalUnit === 'day') {\n                d[2] += pointInterval;\n            }\n            else if (pointIntervalUnit === 'month') {\n                d[1] += pointInterval;\n            }\n            else if (pointIntervalUnit === 'year') {\n                d[0] += pointInterval;\n            }\n            pointInterval = time.makeTime.apply(time, d) - xIncrement;\n        }\n        if (relativeXValue && Series_isNumber(x)) {\n            return xIncrement + pointInterval;\n        }\n        this.xIncrement = xIncrement + pointInterval;\n        return xIncrement;\n    }\n    /**\n     * Internal function to set properties for series if data sorting is\n     * enabled.\n     *\n     * @private\n     * @function Highcharts.Series#setDataSortingOptions\n     */\n    setDataSortingOptions() {\n        const options = this.options;\n        Series_extend(this, {\n            requireSorting: false,\n            sorted: false,\n            enabledDataSorting: true,\n            allowDG: false\n        });\n        // To allow unsorted data for column series.\n        if (!Series_defined(options.pointRange)) {\n            options.pointRange = 1;\n        }\n    }\n    /**\n     * Set the series options by merging from the options tree. Called\n     * internally on initializing and updating series. This function will\n     * not redraw the series. For API usage, use {@link Series#update}.\n     * @private\n     * @function Highcharts.Series#setOptions\n     * @param {Highcharts.SeriesOptionsType} itemOptions\n     * The series options.\n     * @emits Highcharts.Series#event:afterSetOptions\n     */\n    setOptions(itemOptions) {\n        const chart = this.chart, chartOptions = chart.options, plotOptions = chartOptions.plotOptions, userOptions = chart.userOptions || {}, seriesUserOptions = Series_merge(itemOptions), styledMode = chart.styledMode, e = {\n            plotOptions: plotOptions,\n            userOptions: seriesUserOptions\n        };\n        let zone;\n        Series_fireEvent(this, 'setOptions', e);\n        // These may be modified by the event\n        const typeOptions = e.plotOptions[this.type], userPlotOptions = (userOptions.plotOptions || {}), userPlotOptionsSeries = userPlotOptions.series || {}, defaultPlotOptionsType = (Series_defaultOptions.plotOptions[this.type] || {}), userPlotOptionsType = userPlotOptions[this.type] || {};\n        // Use copy to prevent undetected changes (#9762)\n        /**\n         * Contains series options by the user without defaults.\n         * @name Highcharts.Series#userOptions\n         * @type {Highcharts.SeriesOptionsType}\n         */\n        this.userOptions = e.userOptions;\n        const options = Series_merge(typeOptions, plotOptions.series, \n        // #3881, chart instance plotOptions[type] should trump\n        // plotOptions.series\n        userPlotOptionsType, seriesUserOptions);\n        // The tooltip options are merged between global and series specific\n        // options. Importance order asscendingly:\n        // globals: (1)tooltip, (2)plotOptions.series,\n        // (3)plotOptions[this.type]\n        // init userOptions with possible later updates: 4-6 like 1-3 and\n        // (7)this series options\n        this.tooltipOptions = Series_merge(Series_defaultOptions.tooltip, // 1\n        Series_defaultOptions.plotOptions.series?.tooltip, // 2\n        defaultPlotOptionsType?.tooltip, // 3\n        chart.userOptions.tooltip, // 4\n        userPlotOptions.series?.tooltip, // 5\n        userPlotOptionsType.tooltip, // 6\n        seriesUserOptions.tooltip // 7\n        );\n        // When shared tooltip, stickyTracking is true by default,\n        // unless user says otherwise.\n        this.stickyTracking = Series_pick(seriesUserOptions.stickyTracking, userPlotOptionsType.stickyTracking, userPlotOptionsSeries.stickyTracking, (this.tooltipOptions.shared && !this.noSharedTooltip ?\n            true :\n            options.stickyTracking));\n        // Delete marker object if not allowed (#1125)\n        if (typeOptions.marker === null) {\n            delete options.marker;\n        }\n        // Handle color zones\n        this.zoneAxis = options.zoneAxis || 'y';\n        const zones = this.zones = // #20440, create deep copy of zones options\n            (options.zones || []).map((z) => ({ ...z }));\n        if ((options.negativeColor || options.negativeFillColor) &&\n            !options.zones) {\n            zone = {\n                value: options[this.zoneAxis + 'Threshold'] ||\n                    options.threshold ||\n                    0,\n                className: 'highcharts-negative'\n            };\n            if (!styledMode) {\n                zone.color = options.negativeColor;\n                zone.fillColor = options.negativeFillColor;\n            }\n            zones.push(zone);\n        }\n        // Push one extra zone for the rest\n        if (zones.length && Series_defined(zones[zones.length - 1].value)) {\n            zones.push(styledMode ? {} : {\n                color: this.color,\n                fillColor: this.fillColor\n            });\n        }\n        Series_fireEvent(this, 'afterSetOptions', { options: options });\n        return options;\n    }\n    /**\n     * Return series name in \"Series {Number}\" format or the one defined by\n     * a user. This method can be simply overridden as series name format\n     * can vary (e.g. technical indicators).\n     *\n     * @function Highcharts.Series#getName\n     *\n     * @return {string}\n     * The series name.\n     */\n    getName() {\n        // #4119\n        return Series_pick(this.options.name, 'Series ' + (this.index + 1));\n    }\n    /**\n     * @private\n     * @function Highcharts.Series#getCyclic\n     */\n    getCyclic(prop, value, defaults) {\n        const chart = this.chart, indexName = `${prop}Index`, counterName = `${prop}Counter`, len = (\n        // Symbol count\n        defaults?.length ||\n            // Color count\n            chart.options.chart.colorCount);\n        let i, setting;\n        if (!value) {\n            // Pick up either the colorIndex option, or the series.colorIndex\n            // after Series.update()\n            setting = Series_pick(prop === 'color' ? this.options.colorIndex : void 0, this[indexName]);\n            if (Series_defined(setting)) { // After Series.update()\n                i = setting;\n            }\n            else {\n                // #6138\n                if (!chart.series.length) {\n                    chart[counterName] = 0;\n                }\n                i = chart[counterName] % len;\n                chart[counterName] += 1;\n            }\n            if (defaults) {\n                value = defaults[i];\n            }\n        }\n        // Set the colorIndex\n        if (typeof i !== 'undefined') {\n            this[indexName] = i;\n        }\n        this[prop] = value;\n    }\n    /**\n     * Get the series' color based on either the options or pulled from\n     * global options.\n     *\n     * @private\n     * @function Highcharts.Series#getColor\n     */\n    getColor() {\n        if (this.chart.styledMode) {\n            this.getCyclic('color');\n        }\n        else if (this.options.colorByPoint) {\n            this.color = \"#cccccc\" /* Palette.neutralColor20 */;\n        }\n        else {\n            this.getCyclic('color', this.options.color ||\n                Series_defaultOptions.plotOptions[this.type].color, this.chart.options.colors);\n        }\n    }\n    /**\n     * Get all points' instances created for this series.\n     *\n     * @private\n     * @function Highcharts.Series#getPointsCollection\n     */\n    getPointsCollection() {\n        return (this.hasGroupedData ? this.points : this.data) || [];\n    }\n    /**\n     * Get the series' symbol based on either the options or pulled from\n     * global options.\n     *\n     * @private\n     * @function Highcharts.Series#getSymbol\n     */\n    getSymbol() {\n        const seriesMarkerOption = this.options.marker;\n        this.getCyclic('symbol', seriesMarkerOption.symbol, this.chart.options.symbols);\n    }\n    /**\n     * Shorthand to get one of the series' data columns from `Series.dataTable`.\n     *\n     * @private\n     * @function Highcharts.Series#getColumn\n     */\n    getColumn(columnName, modified) {\n        return (modified ? this.dataTable.modified : this.dataTable)\n            .getColumn(columnName, true) || [];\n    }\n    /**\n     * Finds the index of an existing point that matches the given point\n     * options.\n     *\n     * @private\n     * @function Highcharts.Series#findPointIndex\n     * @param {Highcharts.PointOptionsObject} optionsObject\n     * The options of the point.\n     * @param {number} fromIndex\n     * The index to start searching from, used for optimizing series with\n     * required sorting.\n     * @return {number|undefined}\n     * Returns the index of a matching point, or undefined if no match is found.\n     */\n    findPointIndex(optionsObject, fromIndex) {\n        const id = optionsObject.id, x = optionsObject.x, oldData = this.points, dataSorting = this.options.dataSorting;\n        let matchingPoint, matchedById, pointIndex;\n        if (id) {\n            const item = this.chart.get(id);\n            if (item instanceof Series_Point) {\n                matchingPoint = item;\n            }\n        }\n        else if (this.linkedParent ||\n            this.enabledDataSorting ||\n            this.options.relativeXValue) {\n            let matcher = (oldPoint) => !oldPoint.touched &&\n                oldPoint.index === optionsObject.index;\n            if (dataSorting && dataSorting.matchByName) {\n                matcher = (oldPoint) => !oldPoint.touched &&\n                    oldPoint.name === optionsObject.name;\n            }\n            else if (this.options.relativeXValue) {\n                matcher = (oldPoint) => !oldPoint.touched &&\n                    oldPoint.options.x === optionsObject.x;\n            }\n            matchingPoint = Series_find(oldData, matcher);\n            // Add unmatched point as a new point\n            if (!matchingPoint) {\n                return void 0;\n            }\n        }\n        if (matchingPoint) {\n            pointIndex = matchingPoint && matchingPoint.index;\n            if (typeof pointIndex !== 'undefined') {\n                matchedById = true;\n            }\n        }\n        // Search for the same X in the existing data set\n        if (typeof pointIndex === 'undefined' && Series_isNumber(x)) {\n            pointIndex = this.getColumn('x').indexOf(x, fromIndex);\n        }\n        // Reduce pointIndex if data is cropped\n        if (pointIndex !== -1 &&\n            typeof pointIndex !== 'undefined' &&\n            this.cropped) {\n            pointIndex = (pointIndex >= this.cropStart) ?\n                pointIndex - this.cropStart : pointIndex;\n        }\n        if (!matchedById &&\n            Series_isNumber(pointIndex) &&\n            oldData[pointIndex] && oldData[pointIndex].touched) {\n            pointIndex = void 0;\n        }\n        return pointIndex;\n    }\n    /**\n     * Internal function called from setData. If the point count is the same\n     * as it was, or if there are overlapping X values, just run\n     * Point.update which is cheaper, allows animation, and keeps references\n     * to points. This also allows adding or removing points if the X-es\n     * don't match.\n     *\n     * @private\n     * @function Highcharts.Series#updateData\n     */\n    updateData(data, animation) {\n        const options = this.options, dataSorting = options.dataSorting, oldData = this.points, pointsToAdd = [], requireSorting = this.requireSorting, equalLength = data.length === oldData.length;\n        let hasUpdatedByKey, i, point, lastIndex, succeeded = true;\n        this.xIncrement = null;\n        // Iterate the new data\n        data.forEach(function (pointOptions, i) {\n            const optionsObject = (Series_defined(pointOptions) &&\n                this.pointClass.prototype.optionsToObject.call({ series: this }, pointOptions)) || {};\n            let pointIndex;\n            // Get the x of the new data point\n            const x = optionsObject.x, id = optionsObject.id;\n            if (id || Series_isNumber(x)) {\n                pointIndex = this.findPointIndex(optionsObject, lastIndex);\n                // Matching X not found\n                // or used already due to ununique x values (#8995),\n                // add point (but later)\n                if (pointIndex === -1 ||\n                    typeof pointIndex === 'undefined') {\n                    pointsToAdd.push(pointOptions);\n                    // Matching X found, update\n                }\n                else if (oldData[pointIndex] &&\n                    pointOptions !== options.data[pointIndex]) {\n                    oldData[pointIndex].update(pointOptions, false, null, false);\n                    // Mark it touched, below we will remove all points that\n                    // are not touched.\n                    oldData[pointIndex].touched = true;\n                    // Speed optimize by only searching after last known\n                    // index. Performs ~20% bettor on large data sets.\n                    if (requireSorting) {\n                        lastIndex = pointIndex + 1;\n                    }\n                    // Point exists, no changes, don't remove it\n                }\n                else if (oldData[pointIndex]) {\n                    oldData[pointIndex].touched = true;\n                }\n                // If the length is equal and some of the nodes had a\n                // match in the same position, we don't want to remove\n                // non-matches.\n                if (!equalLength ||\n                    i !== pointIndex ||\n                    (dataSorting && dataSorting.enabled) ||\n                    this.hasDerivedData) {\n                    hasUpdatedByKey = true;\n                }\n            }\n            else {\n                // Gather all points that are not matched\n                pointsToAdd.push(pointOptions);\n            }\n        }, this);\n        // Remove points that don't exist in the updated data set\n        if (hasUpdatedByKey) {\n            i = oldData.length;\n            while (i--) {\n                point = oldData[i];\n                if (point && !point.touched && point.remove) {\n                    point.remove(false, animation);\n                }\n            }\n            // If we did not find keys (ids or x-values), and the length is the\n            // same, update one-to-one\n        }\n        else if (equalLength && (!dataSorting || !dataSorting.enabled)) {\n            data.forEach(function (point, i) {\n                // .update doesn't exist on a linked, hidden series (#3709)\n                // (#10187)\n                if (point !== oldData[i].y && !oldData[i].destroyed) {\n                    oldData[i].update(point, false, null, false);\n                }\n            });\n            // Don't add new points since those configs are used above\n            pointsToAdd.length = 0;\n            // Did not succeed in updating data\n        }\n        else {\n            succeeded = false;\n        }\n        oldData.forEach(function (point) {\n            if (point) {\n                point.touched = false;\n            }\n        });\n        if (!succeeded) {\n            return false;\n        }\n        // Add new points\n        pointsToAdd.forEach(function (point) {\n            this.addPoint(point, false, null, null, false);\n        }, this);\n        const xData = this.getColumn('x');\n        if (this.xIncrement === null &&\n            xData.length) {\n            this.xIncrement = Series_arrayMax(xData);\n            this.autoIncrement();\n        }\n        return true;\n    }\n    dataColumnKeys() {\n        return ['x', ...(this.pointArrayMap || ['y'])];\n    }\n    /**\n     * Apply a new set of data to the series and optionally redraw it. The\n     * new data array is passed by reference (except in case of\n     * `updatePoints`), and may later be mutated when updating the chart\n     * data.\n     *\n     * Note the difference in behaviour when setting the same amount of\n     * points, or a different amount of points, as handled by the\n     * `updatePoints` parameter.\n     *\n     * @sample highcharts/members/series-setdata/\n     *         Set new data from a button\n     * @sample highcharts/members/series-setdata-pie/\n     *         Set data in a pie\n     * @sample stock/members/series-setdata/\n     *         Set new data in Highcharts Stock\n     * @sample maps/members/series-setdata/\n     *         Set new data in Highmaps\n     *\n     * @function Highcharts.Series#setData\n     *\n     * @param {Array<Highcharts.PointOptionsType>} data\n     *        Takes an array of data in the same format as described under\n     *        `series.{type}.data` for the given series type, for example a\n     *        line series would take data in the form described under\n     *        [series.line.data](https://api.highcharts.com/highcharts/series.line.data).\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after the series is altered. If\n     *        doing more operations on the chart, it is a good idea to set\n     *        redraw to false and call {@link Chart#redraw} after.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        When the updated data is the same length as the existing data,\n     *        points will be updated by default, and animation visualizes\n     *        how the points are changed. Set false to disable animation, or\n     *        a configuration object to set duration or easing.\n     *\n     * @param {boolean} [updatePoints=true]\n     *        When this is true, points will be updated instead of replaced\n     *        whenever possible. This occurs a) when the updated data is the\n     *        same length as the existing data, b) when points are matched\n     *        by their id's, or c) when points can be matched by X values.\n     *        This allows updating with animation and performs better. In\n     *        this case, the original array is not passed by reference. Set\n     *        `false` to prevent.\n     */\n    setData(data, redraw = true, animation, updatePoints) {\n        const series = this, oldData = series.points, oldDataLength = (oldData && oldData.length) || 0, options = series.options, chart = series.chart, dataSorting = options.dataSorting, xAxis = series.xAxis, turboThreshold = options.turboThreshold, table = this.dataTable, dataColumnKeys = this.dataColumnKeys(), pointValKey = series.pointValKey || 'y', pointArrayMap = series.pointArrayMap || [], valueCount = pointArrayMap.length, keys = options.keys;\n        let i, updatedData, indexOfX = 0, indexOfY = 1, copiedData;\n        if (!chart.options.chart.allowMutatingData) { // #4259\n            // Remove old reference\n            if (options.data) {\n                delete series.options.data;\n            }\n            if (series.userOptions.data) {\n                delete series.userOptions.data;\n            }\n            copiedData = Series_merge(true, data);\n        }\n        data = copiedData || data || [];\n        const dataLength = data.length;\n        if (dataSorting && dataSorting.enabled) {\n            data = this.sortData(data);\n        }\n        // First try to run Point.update which is cheaper, allows animation, and\n        // keeps references to points.\n        if (chart.options.chart.allowMutatingData &&\n            updatePoints !== false &&\n            dataLength &&\n            oldDataLength &&\n            !series.cropped &&\n            !series.hasGroupedData &&\n            series.visible &&\n            // Soft updating has no benefit in boost, and causes JS error\n            // (#8355)\n            !series.boosted) {\n            updatedData = this.updateData(data, animation);\n        }\n        if (!updatedData) {\n            // Reset properties\n            series.xIncrement = null;\n            series.colorCounter = 0; // For series with colorByPoint (#1547)\n            // In turbo mode, look for one- or twodimensional arrays of numbers.\n            // The first and the last valid value are tested, and we assume that\n            // all the rest are defined the same way. Although the 'for' loops\n            // are similar, they are repeated inside each if-else conditional\n            // for max performance.\n            let runTurbo = turboThreshold && dataLength > turboThreshold;\n            if (runTurbo) {\n                const firstPoint = series.getFirstValidPoint(data), lastPoint = series.getFirstValidPoint(data, dataLength - 1, -1), isShortArray = (a) => Boolean(Series_isArray(a) && (keys || Series_isNumber(a[0])));\n                // Assume all points are numbers\n                if (Series_isNumber(firstPoint) && Series_isNumber(lastPoint)) {\n                    const x = [], valueData = [];\n                    for (const value of data) {\n                        x.push(this.autoIncrement());\n                        valueData.push(value);\n                    }\n                    table.setColumns({\n                        x,\n                        [pointValKey]: valueData\n                    });\n                    // Assume all points are arrays when first point is\n                }\n                else if (isShortArray(firstPoint) &&\n                    isShortArray(lastPoint)) {\n                    if (valueCount) { // [x, low, high] or [x, o, h, l, c]\n                        // When autoX is 1, the x is skipped: [low, high]. When\n                        // autoX is 0, the x is included: [x, low, high]\n                        const autoX = firstPoint.length === valueCount ?\n                            1 : 0, colArray = new Array(dataColumnKeys.length)\n                            .fill(0).map(() => []);\n                        for (const pt of data) {\n                            if (autoX) {\n                                colArray[0].push(this.autoIncrement());\n                            }\n                            for (let j = autoX; j <= valueCount; j++) {\n                                colArray[j]?.push(pt[j - autoX]);\n                            }\n                        }\n                        table.setColumns(dataColumnKeys.reduce((columns, columnName, i) => {\n                            columns[columnName] = colArray[i];\n                            return columns;\n                        }, {}));\n                    }\n                    else { // [x, y]\n                        if (keys) {\n                            indexOfX = keys.indexOf('x');\n                            indexOfY = keys.indexOf('y');\n                            indexOfX = indexOfX >= 0 ? indexOfX : 0;\n                            indexOfY = indexOfY >= 0 ? indexOfY : 1;\n                        }\n                        if (firstPoint.length === 1) {\n                            indexOfY = 0;\n                        }\n                        const xData = [], valueData = [];\n                        if (indexOfX === indexOfY) {\n                            for (const pt of data) {\n                                xData.push(this.autoIncrement());\n                                valueData.push(pt[indexOfY]);\n                            }\n                        }\n                        else {\n                            for (const pt of data) {\n                                xData.push(pt[indexOfX]);\n                                valueData.push(pt[indexOfY]);\n                            }\n                        }\n                        table.setColumns({\n                            x: xData,\n                            [pointValKey]: valueData\n                        });\n                    }\n                }\n                else {\n                    // Highcharts expects configs to be numbers or arrays in\n                    // turbo mode\n                    runTurbo = false;\n                }\n            }\n            if (!runTurbo) {\n                const columns = dataColumnKeys.reduce((columns, columnName) => {\n                    columns[columnName] = [];\n                    return columns;\n                }, {});\n                for (i = 0; i < dataLength; i++) {\n                    const pt = series.pointClass.prototype.applyOptions.apply({ series }, [data[i]]);\n                    for (const key of dataColumnKeys) {\n                        columns[key][i] = pt[key];\n                    }\n                }\n                table.setColumns(columns);\n            }\n            // Forgetting to cast strings to numbers is a common caveat when\n            // handling CSV or JSON\n            if (Series_isString(this.getColumn('y')[0])) {\n                Series_error(14, true, chart);\n            }\n            series.data = [];\n            series.options.data = series.userOptions.data = data;\n            // Destroy old points\n            i = oldDataLength;\n            while (i--) {\n                oldData[i]?.destroy();\n            }\n            // Reset minRange (#878)\n            if (xAxis) {\n                xAxis.minRange = xAxis.userMinRange;\n            }\n            // Redraw\n            series.isDirty = chart.isDirtyBox = true;\n            series.isDirtyData = !!oldData;\n            animation = false;\n        }\n        // Typically for pie series, points need to be processed and\n        // generated prior to rendering the legend\n        if (options.legendType === 'point') {\n            this.processData();\n            this.generatePoints();\n        }\n        if (redraw) {\n            chart.redraw(animation);\n        }\n    }\n    /**\n     * Internal function to sort series data\n     *\n     * @private\n     * @function Highcharts.Series#sortData\n     * @param {Array<Highcharts.PointOptionsType>} data\n     * Force data grouping.\n     */\n    sortData(data) {\n        const series = this, options = series.options, dataSorting = options.dataSorting, sortKey = dataSorting.sortKey || 'y', getPointOptionsObject = function (series, pointOptions) {\n            return (Series_defined(pointOptions) &&\n                series.pointClass.prototype.optionsToObject.call({\n                    series: series\n                }, pointOptions)) || {};\n        };\n        data.forEach(function (pointOptions, i) {\n            data[i] = getPointOptionsObject(series, pointOptions);\n            data[i].index = i;\n        }, this);\n        // Sorting\n        const sortedData = data.concat().sort((a, b) => {\n            const aValue = Series_getNestedProperty(sortKey, a);\n            const bValue = Series_getNestedProperty(sortKey, b);\n            return bValue < aValue ? -1 : bValue > aValue ? 1 : 0;\n        });\n        // Set x value depending on the position in the array\n        sortedData.forEach(function (point, i) {\n            point.x = i;\n        }, this);\n        // Set the same x for linked series points if they don't have their\n        // own sorting\n        if (series.linkedSeries) {\n            series.linkedSeries.forEach(function (linkedSeries) {\n                const options = linkedSeries.options, seriesData = options.data;\n                if ((!options.dataSorting ||\n                    !options.dataSorting.enabled) &&\n                    seriesData) {\n                    seriesData.forEach(function (pointOptions, i) {\n                        seriesData[i] = getPointOptionsObject(linkedSeries, pointOptions);\n                        if (data[i]) {\n                            seriesData[i].x = data[i].x;\n                            seriesData[i].index = i;\n                        }\n                    });\n                    linkedSeries.setData(seriesData, false);\n                }\n            });\n        }\n        return data;\n    }\n    /**\n     * Internal function to process the data by cropping away unused data\n     * points if the series is longer than the crop threshold. This saves\n     * computing time for large series.\n     *\n     * @private\n     * @function Highcharts.Series#getProcessedData\n     * @param {boolean} [forceExtremesFromAll]\n     * Force getting extremes of a total series data range.\n     */\n    getProcessedData(forceExtremesFromAll) {\n        const series = this, { dataTable: table, isCartesian, options, xAxis } = series, cropThreshold = options.cropThreshold, getExtremesFromAll = forceExtremesFromAll ||\n            // X-range series etc, #21003\n            series.getExtremesFromAll, logarithmic = xAxis?.logarithmic, dataLength = table.rowCount;\n        let croppedData, cropped, cropStart = 0, xExtremes, min, max, xData = series.getColumn('x'), modified = table, updatingNames = false;\n        if (xAxis) {\n            // Corrected for log axis (#3053)\n            xExtremes = xAxis.getExtremes();\n            min = xExtremes.min;\n            max = xExtremes.max;\n            updatingNames = !!(xAxis.categories && !xAxis.names.length);\n            // Optionally filter out points outside the plot area\n            if (isCartesian &&\n                series.sorted &&\n                !getExtremesFromAll &&\n                (!cropThreshold ||\n                    dataLength > cropThreshold ||\n                    series.forceCrop)) {\n                // It's outside current extremes\n                if (xData[dataLength - 1] < min ||\n                    xData[0] > max) {\n                    modified = new Data_DataTableCore();\n                    // Only crop if it's actually spilling out\n                }\n                else if (\n                // Don't understand why this condition is needed\n                series.getColumn(series.pointValKey || 'y').length && (xData[0] < min ||\n                    xData[dataLength - 1] > max)) {\n                    croppedData = this.cropData(table, min, max);\n                    modified = croppedData.modified;\n                    cropStart = croppedData.start;\n                    cropped = true;\n                }\n            }\n        }\n        // Find the closest distance between processed points\n        xData = modified.getColumn('x') || [];\n        const closestPointRange = Series_getClosestDistance([\n            logarithmic ?\n                xData.map(logarithmic.log2lin) :\n                xData\n        ], \n        // Unsorted data is not supported by the line tooltip, as well as\n        // data grouping and navigation in Stock charts (#725) and width\n        // calculation of columns (#1900). Avoid warning during the\n        // premature processing pass in updateNames (#16104).\n        () => (series.requireSorting &&\n            !updatingNames &&\n            Series_error(15, false, series.chart)));\n        return {\n            modified,\n            cropped,\n            cropStart,\n            closestPointRange\n        };\n    }\n    /**\n     * Internal function to apply processed data.\n     * In Highcharts Stock, this function is extended to provide data grouping.\n     *\n     * @private\n     * @function Highcharts.Series#processData\n     * @param {boolean} [force]\n     * Force data grouping.\n     */\n    processData(force) {\n        const series = this, xAxis = series.xAxis, table = series.dataTable;\n        // If the series data or axes haven't changed, don't go through\n        // this. Return false to pass the message on to override methods\n        // like in data grouping.\n        if (series.isCartesian &&\n            !series.isDirty &&\n            !xAxis.isDirty &&\n            !series.yAxis.isDirty &&\n            !force) {\n            return false;\n        }\n        const processedData = series.getProcessedData();\n        // Record the properties\n        table.modified = processedData.modified;\n        series.cropped = processedData.cropped; // Undefined or true\n        series.cropStart = processedData.cropStart;\n        series.closestPointRange = (series.basePointRange = processedData.closestPointRange);\n        Series_fireEvent(series, 'afterProcessData');\n    }\n    /**\n     * Iterate over xData and crop values between min and max. Returns\n     * object containing crop start/end cropped xData with corresponding\n     * part of yData, dataMin and dataMax within the cropped range.\n     *\n     * @private\n     * @function Highcharts.Series#cropData\n     */\n    cropData(table, min, max) {\n        const xData = table.getColumn('x', true) || [], dataLength = xData.length, columns = {};\n        let i, j, start = 0, end = dataLength;\n        // Iterate up to find slice start\n        for (i = 0; i < dataLength; i++) {\n            if (xData[i] >= min) {\n                start = Math.max(0, i - 1);\n                break;\n            }\n        }\n        // Proceed to find slice end\n        for (j = i; j < dataLength; j++) {\n            if (xData[j] > max) {\n                end = j + 1;\n                break;\n            }\n        }\n        for (const key of this.dataColumnKeys()) {\n            const column = table.getColumn(key, true);\n            if (column) {\n                columns[key] = column.slice(start, end);\n            }\n        }\n        return {\n            modified: new Data_DataTableCore({ columns }),\n            start,\n            end\n        };\n    }\n    /**\n     * Generate the data point after the data has been processed by cropping\n     * away unused points and optionally grouped in Highcharts Stock.\n     *\n     * @private\n     * @function Highcharts.Series#generatePoints\n     */\n    generatePoints() {\n        const series = this, options = series.options, dataOptions = series.processedData || options.data, table = series.dataTable.modified, xData = series.getColumn('x', true), PointClass = series.pointClass, processedDataLength = table.rowCount, cropStart = series.cropStart || 0, hasGroupedData = series.hasGroupedData, keys = options.keys, points = [], groupCropStartIndex = (options.dataGrouping &&\n            options.dataGrouping.groupAll ?\n            cropStart :\n            0), categories = series.xAxis?.categories, pointArrayMap = series.pointArrayMap || ['y'], \n        // Create a configuration object out of a data row\n        dataColumnKeys = this.dataColumnKeys();\n        let dataLength, cursor, point, i, data = series.data, pOptions;\n        if (!data && !hasGroupedData) {\n            const arr = [];\n            arr.length = dataOptions?.length || 0;\n            data = series.data = arr;\n        }\n        if (keys && hasGroupedData) {\n            // Grouped data has already applied keys (#6590)\n            series.options.keys = false;\n        }\n        for (i = 0; i < processedDataLength; i++) {\n            cursor = cropStart + i;\n            if (!hasGroupedData) {\n                point = data[cursor];\n                pOptions = dataOptions ?\n                    dataOptions[cursor] :\n                    table.getRow(i, pointArrayMap);\n                // #970:\n                if (!point &&\n                    pOptions !== void 0) {\n                    data[cursor] = point = new PointClass(series, pOptions, xData[i]);\n                }\n            }\n            else {\n                // Splat the y data in case of ohlc data array\n                point = new PointClass(series, table.getRow(i, dataColumnKeys) || []);\n                point.dataGroup = series.groupMap[groupCropStartIndex + i];\n                if (point.dataGroup?.options) {\n                    point.options = point.dataGroup.options;\n                    Series_extend(point, point.dataGroup.options);\n                    // Collision of props and options (#9770)\n                    delete point.dataLabels;\n                }\n            }\n            if (point) { // #6279\n                /**\n                 * Contains the point's index in the `Series.points` array.\n                 *\n                 * @name Highcharts.Point#index\n                 * @type {number}\n                 * @readonly\n                 */\n                // For faster access in Point.update\n                point.index = hasGroupedData ?\n                    (groupCropStartIndex + i) : cursor;\n                points[i] = point;\n                // Set point properties for convenient access in tooltip and\n                // data labels\n                point.category = categories?.[point.x] ?? point.x;\n                point.key = point.name ?? point.category;\n            }\n        }\n        // Restore keys options (#6590)\n        series.options.keys = keys;\n        // Hide cropped-away points - this only runs when the number of\n        // points is above cropThreshold, or when switching view from\n        // non-grouped data to grouped data (#637)\n        if (data &&\n            (processedDataLength !== (dataLength = data.length) ||\n                hasGroupedData)) {\n            for (i = 0; i < dataLength; i++) {\n                // When has grouped data, clear all points\n                if (i === cropStart && !hasGroupedData) {\n                    i += processedDataLength;\n                }\n                if (data[i]) {\n                    data[i].destroyElements();\n                    data[i].plotX = void 0; // #1003\n                }\n            }\n        }\n        /**\n         * Read only. An array containing those values converted to points.\n         * In case the series data length exceeds the `cropThreshold`, or if\n         * the data is grouped, `series.data` doesn't contain all the\n         * points. Also, in case a series is hidden, the `data` array may be\n         * empty. In case of cropping, the `data` array may contain `undefined`\n         * values, instead of points. To access raw values,\n         * `series.options.data` will always be up to date. `Series.data` only\n         * contains the points that have been created on demand. To modify the\n         * data, use\n         * {@link Highcharts.Series#setData} or\n         * {@link Highcharts.Point#update}.\n         *\n         * @see Series.points\n         *\n         * @name Highcharts.Series#data\n         * @type {Array<Highcharts.Point>}\n         */\n        series.data = data;\n        /**\n         * An array containing all currently visible point objects. In case\n         * of cropping, the cropped-away points are not part of this array.\n         * The `series.points` array starts at `series.cropStart` compared\n         * to `series.data` and `series.options.data`. If however the series\n         * data is grouped, these can't be correlated one to one. To modify\n         * the data, use {@link Highcharts.Series#setData} or\n         * {@link Highcharts.Point#update}.\n         *\n         * @name Highcharts.Series#points\n         * @type {Array<Highcharts.Point>}\n         */\n        series.points = points;\n        Series_fireEvent(this, 'afterGeneratePoints');\n    }\n    /**\n     * Get current X extremes for the visible data.\n     *\n     * @private\n     * @function Highcharts.Series#getXExtremes\n     * @param {Array<number>} xData\n     * The data to inspect. Defaults to the current data within the visible\n     * range.\n     */\n    getXExtremes(xData) {\n        return {\n            min: Series_arrayMin(xData),\n            max: Series_arrayMax(xData)\n        };\n    }\n    /**\n     * Calculate Y extremes for the visible data. The result is returned\n     * as an object with `dataMin` and `dataMax` properties.\n     *\n     * @private\n     * @function Highcharts.Series#getExtremes\n     * @param {Array<number>} [yData]\n     * The data to inspect. Defaults to the current data within the visible\n     * range.\n     * @param {boolean} [forceExtremesFromAll]\n     * Force getting extremes of a total series data range.\n     */\n    getExtremes(yData, forceExtremesFromAll) {\n        const { xAxis, yAxis } = this, getExtremesFromAll = forceExtremesFromAll ||\n            this.getExtremesFromAll ||\n            this.options.getExtremesFromAll, // #4599, #21003\n        table = getExtremesFromAll && this.cropped ?\n            this.dataTable :\n            this.dataTable.modified, rowCount = table.rowCount, customData = yData || this.stackedYData, yAxisData = customData ?\n            [customData] :\n            (this.keysAffectYAxis || this.pointArrayMap || ['y'])?.map((key) => table.getColumn(key, true) || []) || [], xData = this.getColumn('x', true), activeYData = [], \n        // Handle X outside the viewed area. This does not work with\n        // non-sorted data like scatter (#7639).\n        shoulder = this.requireSorting && !this.is('column') ?\n            1 : 0, \n        // #2117, need to compensate for log X axis\n        positiveValuesOnly = yAxis ? yAxis.positiveValuesOnly : false, doAll = getExtremesFromAll ||\n            this.cropped ||\n            !xAxis; // For colorAxis support\n        let xExtremes, x, i, xMin = 0, xMax = 0;\n        if (xAxis) {\n            xExtremes = xAxis.getExtremes();\n            xMin = xExtremes.min;\n            xMax = xExtremes.max;\n        }\n        for (i = 0; i < rowCount; i++) {\n            x = xData[i];\n            // Check if it is within the selected x axis range\n            if (doAll ||\n                ((xData[i + shoulder] || x) >= xMin &&\n                    (xData[i - shoulder] || x) <= xMax)) {\n                for (const values of yAxisData) {\n                    const val = values[i];\n                    // For points within the visible range, including the\n                    // first point outside the visible range (#7061),\n                    // consider y extremes.\n                    if (Series_isNumber(val) &&\n                        (val > 0 || !positiveValuesOnly)) {\n                        activeYData.push(val);\n                    }\n                }\n            }\n        }\n        const dataExtremes = {\n            activeYData, // Needed for Stock Cumulative Sum\n            dataMin: Series_arrayMin(activeYData),\n            dataMax: Series_arrayMax(activeYData)\n        };\n        Series_fireEvent(this, 'afterGetExtremes', { dataExtremes });\n        return dataExtremes;\n    }\n    /**\n     * Set the current data extremes as `dataMin` and `dataMax` on the\n     * Series item. Use this only when the series properties should be\n     * updated.\n     *\n     * @private\n     * @function Highcharts.Series#applyExtremes\n     */\n    applyExtremes() {\n        const dataExtremes = this.getExtremes();\n        /**\n         * Contains the minimum value of the series' data point. Some series\n         * types like `networkgraph` do not support this property as they\n         * lack a `y`-value.\n         * @name Highcharts.Series#dataMin\n         * @type {number|undefined}\n         * @readonly\n         */\n        this.dataMin = dataExtremes.dataMin;\n        /**\n         * Contains the maximum value of the series' data point. Some series\n         * types like `networkgraph` do not support this property as they\n         * lack a `y`-value.\n         * @name Highcharts.Series#dataMax\n         * @type {number|undefined}\n         * @readonly\n         */\n        this.dataMax = dataExtremes.dataMax;\n        return dataExtremes;\n    }\n    /**\n     * Find and return the first non nullish point in the data\n     *\n     * @private\n     * @function Highcharts.Series.getFirstValidPoint\n     * @param {Array<Highcharts.PointOptionsType>} data\n     *        Array of options for points\n     * @param {number} [start=0]\n     *        Index to start searching from\n     * @param {number} [increment=1]\n     *        Index increment, set -1 to search backwards\n     */\n    getFirstValidPoint(data, start = 0, increment = 1) {\n        const dataLength = data.length;\n        let i = start;\n        while (i >= 0 && i < dataLength) {\n            if (Series_defined(data[i])) {\n                return data[i];\n            }\n            i += increment;\n        }\n    }\n    /**\n     * Translate data points from raw data values to chart specific\n     * positioning data needed later in the `drawPoints` and `drawGraph`\n     * functions. This function can be overridden in plugins and custom\n     * series type implementations.\n     *\n     * @function Highcharts.Series#translate\n     *\n     * @emits Highcharts.Series#events:translate\n     */\n    translate() {\n        this.generatePoints();\n        const series = this, options = series.options, stacking = options.stacking, xAxis = series.xAxis, enabledDataSorting = series.enabledDataSorting, yAxis = series.yAxis, points = series.points, dataLength = points.length, pointPlacement = series.pointPlacementToXValue(), // #7860\n        dynamicallyPlaced = Boolean(pointPlacement), threshold = options.threshold, stackThreshold = options.startFromThreshold ? threshold : 0;\n        let i, plotX, lastPlotX, stackIndicator, closestPointRangePx = Number.MAX_VALUE;\n        /**\n         * Plotted coordinates need to be within a limited range. Drawing\n         * too far outside the viewport causes various rendering issues\n         * (#3201, #3923, #7555).\n         * @private\n         */\n        function limitedRange(val) {\n            return Series_clamp(val, -1e9, 1e9);\n        }\n        // Translate each point\n        for (i = 0; i < dataLength; i++) {\n            const point = points[i], xValue = point.x;\n            let stackItem, stackValues, yValue = point.y, lowValue = point.low;\n            const stacks = stacking && yAxis.stacking?.stacks[(series.negStacks &&\n                yValue <\n                    (stackThreshold ? 0 : threshold) ?\n                '-' :\n                '') + series.stackKey];\n            plotX = xAxis.translate(// #3923\n            xValue, false, false, false, true, pointPlacement);\n            /**\n             * The translated X value for the point in terms of pixels. Relative\n             * to the X axis position if the series has one, otherwise relative\n             * to the plot area. Depending on the series type this value might\n             * not be defined.\n             *\n             * In an inverted chart the x-axis is going from the bottom to the\n             * top so the `plotX` value is the number of pixels from the bottom\n             * of the axis.\n             *\n             * @see Highcharts.Point#pos\n             * @name Highcharts.Point#plotX\n             * @type {number|undefined}\n             */\n            point.plotX = Series_isNumber(plotX) ? Series_correctFloat(// #5236\n            limitedRange(plotX) // #3923\n            ) : void 0;\n            // Calculate the bottom y value for stacked series\n            if (stacking &&\n                series.visible &&\n                stacks &&\n                stacks[xValue]) {\n                stackIndicator = series.getStackIndicator(stackIndicator, xValue, series.index);\n                if (!point.isNull && stackIndicator.key) {\n                    stackItem = stacks[xValue];\n                    stackValues = stackItem.points[stackIndicator.key];\n                }\n                if (stackItem && Series_isArray(stackValues)) {\n                    lowValue = stackValues[0];\n                    yValue = stackValues[1];\n                    if (lowValue === stackThreshold &&\n                        stackIndicator.key === stacks[xValue].base) {\n                        lowValue = Series_pick(Series_isNumber(threshold) ? threshold : yAxis.min);\n                    }\n                    // #1200, #1232\n                    if (yAxis.positiveValuesOnly &&\n                        Series_defined(lowValue) &&\n                        lowValue <= 0) {\n                        lowValue = void 0;\n                    }\n                    point.total = point.stackTotal = Series_pick(stackItem.total);\n                    point.percentage = Series_defined(point.y) && stackItem.total ?\n                        (point.y / stackItem.total * 100) : void 0;\n                    point.stackY = yValue;\n                    // In case of variwide series (where widths of points are\n                    // different in most cases), stack labels are positioned\n                    // wrongly, so the call of the setOffset is omitted here and\n                    // labels are correctly positioned later, at the end of the\n                    // variwide's translate function (#10962)\n                    if (!series.irregularWidths) {\n                        stackItem.setOffset(series.pointXOffset || 0, series.barW || 0, void 0, void 0, void 0, series.xAxis);\n                    }\n                }\n            }\n            // Set translated yBottom or remove it\n            point.yBottom = Series_defined(lowValue) ?\n                limitedRange(yAxis.translate(lowValue, false, true, false, true)) :\n                void 0;\n            // General hook, used for Highcharts Stock compare and cumulative\n            if (series.dataModify) {\n                yValue = series.dataModify.modifyValue(yValue, i);\n            }\n            // Set the plotY value, reset it for redraws #3201, #18422\n            let plotY;\n            if (Series_isNumber(yValue) && point.plotX !== void 0) {\n                plotY = yAxis.translate(yValue, false, true, false, true);\n                plotY = Series_isNumber(plotY) ? limitedRange(plotY) : void 0;\n            }\n            /**\n             * The translated Y value for the point in terms of pixels. Relative\n             * to the Y axis position if the series has one, otherwise relative\n             * to the plot area. Depending on the series type this value might\n             * not be defined.\n             *\n             * In an inverted chart the y-axis is going from right to left\n             * so the `plotY` value is the number of pixels from the right\n             * of the `yAxis`.\n             *\n             * @see Highcharts.Point#pos\n             * @name Highcharts.Point#plotY\n             * @type {number|undefined}\n             */\n            point.plotY = plotY;\n            point.isInside = this.isPointInside(point);\n            // Set client related positions for mouse tracking\n            point.clientX = dynamicallyPlaced ?\n                Series_correctFloat(xAxis.translate(xValue, false, false, false, true, pointPlacement)) :\n                plotX; // #1514, #5383, #5518\n            // Negative points #19028\n            point.negative = (point.y || 0) < (threshold || 0);\n            // Determine auto enabling of markers (#3635, #5099)\n            if (!point.isNull && point.visible !== false) {\n                if (typeof lastPlotX !== 'undefined') {\n                    closestPointRangePx = Math.min(closestPointRangePx, Math.abs(plotX - lastPlotX));\n                }\n                lastPlotX = plotX;\n            }\n            // Find point zone\n            point.zone = this.zones.length ? point.getZone() : void 0;\n            // Animate new points with data sorting\n            if (!point.graphic && series.group && enabledDataSorting) {\n                point.isNew = true;\n            }\n        }\n        series.closestPointRangePx = closestPointRangePx;\n        Series_fireEvent(this, 'afterTranslate');\n    }\n    /**\n     * Return the series points with null points filtered out.\n     *\n     * @function Highcharts.Series#getValidPoints\n     *\n     * @param {Array<Highcharts.Point>} [points]\n     * The points to inspect, defaults to {@link Series.points}.\n     *\n     * @param {boolean} [insideOnly=false]\n     * Whether to inspect only the points that are inside the visible view.\n     *\n     * @param {boolean} [allowNull=false]\n     * Whether to allow null points to pass as valid points.\n     *\n     * @return {Array<Highcharts.Point>}\n     * The valid points.\n     */\n    getValidPoints(points, insideOnly, allowNull) {\n        const chart = this.chart;\n        // #3916, #5029, #5085\n        return (points || this.points || []).filter(function (point) {\n            const { plotX, plotY } = point, \n            // Undefined plotY is treated as null when negative values\n            // in log axis (#18422)\n            asNull = !allowNull && (point.isNull || !Series_isNumber(plotY));\n            if (asNull || (insideOnly && !chart.isInsidePlot(plotX, plotY, { inverted: chart.inverted }))) {\n                return false;\n            }\n            return point.visible !== false;\n        });\n    }\n    /**\n     * Get the clipping for the series. Could be called for a series to\n     * initiate animating the clip or to set the final clip (only width\n     * and x).\n     *\n     * @private\n     * @function Highcharts.Series#getClip\n     */\n    getClipBox() {\n        const { chart, xAxis, yAxis } = this;\n        // If no axes on the series, use global clipBox\n        let { x, y, width, height } = Series_merge(chart.clipBox);\n        // Otherwise, use clipBox.width which is corrected for plotBorderWidth\n        // and clipOffset\n        if (xAxis && xAxis.len !== chart.plotSizeX) {\n            width = xAxis.len;\n        }\n        if (yAxis && yAxis.len !== chart.plotSizeY) {\n            height = yAxis.len;\n        }\n        // If the chart is inverted and the series is not invertible, the chart\n        // clip box should be inverted, but not the series clip box (#20264)\n        if (chart.inverted && !this.invertible) {\n            [width, height] = [height, width];\n        }\n        return { x, y, width, height };\n    }\n    /**\n     * Get the shared clip key, creating it if it doesn't exist.\n     *\n     * @private\n     * @function Highcharts.Series#getSharedClipKey\n     */\n    getSharedClipKey() {\n        this.sharedClipKey = (this.options.xAxis || 0) + ',' +\n            (this.options.yAxis || 0);\n        return this.sharedClipKey;\n    }\n    /**\n     * Set the clipping for the series. For animated series the clip is later\n     * modified.\n     *\n     * @private\n     * @function Highcharts.Series#setClip\n     */\n    setClip() {\n        const { chart, group, markerGroup } = this, sharedClips = chart.sharedClips, renderer = chart.renderer, clipBox = this.getClipBox(), sharedClipKey = this.getSharedClipKey(); // #4526\n        let clipRect = sharedClips[sharedClipKey];\n        // If a clipping rectangle for the same set of axes does not exist,\n        // create it\n        if (!clipRect) {\n            sharedClips[sharedClipKey] = clipRect = renderer.clipRect(clipBox);\n            // When setting chart size, or when the series is rendered again before\n            // starting animating, in compliance to a responsive rule\n        }\n        else {\n            clipRect.animate(clipBox);\n        }\n        if (group) {\n            // When clip is false, reset to no clip after animation\n            group.clip(this.options.clip === false ? void 0 : clipRect);\n        }\n        // Unclip temporary animation clip\n        if (markerGroup) {\n            markerGroup.clip();\n        }\n    }\n    /**\n     * Animate in the series. Called internally twice. First with the `init`\n     * parameter set to true, which sets up the initial state of the\n     * animation. Then when ready, it is called with the `init` parameter\n     * undefined, in order to perform the actual animation.\n     *\n     * @function Highcharts.Series#animate\n     *\n     * @param {boolean} [init]\n     * Initialize the animation.\n     */\n    animate(init) {\n        const { chart, group, markerGroup } = this, inverted = chart.inverted, animation = Series_animObject(this.options.animation), \n        // The key for temporary animation clips\n        animationClipKey = [\n            this.getSharedClipKey(),\n            animation.duration,\n            animation.easing,\n            animation.defer\n        ].join(',');\n        let animationClipRect = chart.sharedClips[animationClipKey], markerAnimationClipRect = chart.sharedClips[animationClipKey + 'm'];\n        // Initialize the animation. Set up the clipping rectangle.\n        if (init && group) {\n            const clipBox = this.getClipBox();\n            // Create temporary animation clips\n            if (!animationClipRect) {\n                clipBox.width = 0;\n                if (inverted) {\n                    clipBox.x = chart.plotHeight;\n                }\n                animationClipRect = chart.renderer.clipRect(clipBox);\n                chart.sharedClips[animationClipKey] = animationClipRect;\n                // The marker clip box. The number 99 is a safe margin to avoid\n                // markers being clipped during animation.\n                const markerClipBox = {\n                    x: inverted ? -99 : -99,\n                    y: inverted ? -99 : -99,\n                    width: inverted ? chart.plotWidth + 199 : 99,\n                    height: inverted ? 99 : chart.plotHeight + 199\n                };\n                markerAnimationClipRect = chart.renderer.clipRect(markerClipBox);\n                chart.sharedClips[animationClipKey + 'm'] = markerAnimationClipRect;\n            }\n            else {\n                // When height changes during animation, typically due to\n                // responsive settings\n                animationClipRect.attr('height', clipBox.height);\n            }\n            group.clip(animationClipRect);\n            markerGroup?.clip(markerAnimationClipRect);\n            // Run the animation\n        }\n        else if (animationClipRect &&\n            // Only first series in this pane\n            !animationClipRect.hasClass('highcharts-animating')) {\n            const finalBox = this.getClipBox(), step = animation.step;\n            // Only do this when there are actually markers, or we have multiple\n            // series (#20473)\n            if (markerGroup?.element.childNodes.length ||\n                chart.series.length > 1) {\n                // To provide as smooth animation as possible, update the marker\n                // group clipping in steps of the main group animation\n                animation.step = function (val, fx) {\n                    if (step) {\n                        step.apply(fx, arguments);\n                    }\n                    if (fx.prop === 'width' &&\n                        markerAnimationClipRect?.element) {\n                        markerAnimationClipRect.attr(inverted ? 'height' : 'width', val + 99);\n                    }\n                };\n            }\n            animationClipRect\n                .addClass('highcharts-animating')\n                .animate(finalBox, animation);\n        }\n    }\n    /**\n     * This runs after animation to land on the final plot clipping.\n     *\n     * @private\n     * @function Highcharts.Series#afterAnimate\n     *\n     * @emits Highcharts.Series#event:afterAnimate\n     */\n    afterAnimate() {\n        this.setClip();\n        // Destroy temporary clip rectangles that are no longer in use\n        Series_objectEach(this.chart.sharedClips, (clip, key, sharedClips) => {\n            if (clip && !this.chart.container.querySelector(`[clip-path=\"url(#${clip.id})\"]`)) {\n                clip.destroy();\n                delete sharedClips[key];\n            }\n        });\n        this.finishedAnimating = true;\n        Series_fireEvent(this, 'afterAnimate');\n    }\n    /**\n     * Draw the markers for line-like series types, and columns or other\n     * graphical representation for {@link Point} objects for other series\n     * types. The resulting element is typically stored as\n     * {@link Point.graphic}, and is created on the first call and updated\n     * and moved on subsequent calls.\n     *\n     * @function Highcharts.Series#drawPoints\n     */\n    drawPoints(points = this.points) {\n        const series = this, chart = series.chart, styledMode = chart.styledMode, { colorAxis, options } = series, seriesMarkerOptions = options.marker, markerGroup = series[series.specialGroup || 'markerGroup'], xAxis = series.xAxis, globallyEnabled = Series_pick(seriesMarkerOptions.enabled, !xAxis || xAxis.isRadial ? true : null, \n        // Use larger or equal as radius is null in bubbles (#6321)\n        series.closestPointRangePx >= (seriesMarkerOptions.enabledThreshold *\n            seriesMarkerOptions.radius));\n        let i, point, graphic, verb, pointMarkerOptions, hasPointMarker, markerAttribs;\n        if (seriesMarkerOptions.enabled !== false ||\n            series._hasPointMarkers) {\n            for (i = 0; i < points.length; i++) {\n                point = points[i];\n                graphic = point.graphic;\n                verb = graphic ? 'animate' : 'attr';\n                pointMarkerOptions = point.marker || {};\n                hasPointMarker = !!point.marker;\n                const shouldDrawMarker = ((globallyEnabled &&\n                    typeof pointMarkerOptions.enabled === 'undefined') || pointMarkerOptions.enabled) && !point.isNull && point.visible !== false;\n                // Only draw the point if y is defined\n                if (shouldDrawMarker) {\n                    // Shortcuts\n                    const symbol = Series_pick(pointMarkerOptions.symbol, series.symbol, 'rect');\n                    markerAttribs = series.markerAttribs(point, (point.selected && 'select'));\n                    // Set starting position for point sliding animation.\n                    if (series.enabledDataSorting) {\n                        point.startXPos = xAxis.reversed ?\n                            -(markerAttribs.width || 0) :\n                            xAxis.width;\n                    }\n                    const isInside = point.isInside !== false;\n                    if (!graphic &&\n                        isInside &&\n                        ((markerAttribs.width || 0) > 0 || point.hasImage)) {\n                        /**\n                         * SVG graphic representing the point in the chart. In\n                         * some cases it may be a hidden graphic to improve\n                         * accessibility.\n                         *\n                         * Typically this is a simple shape, like a `rect`\n                         * for column charts or `path` for line markers, but\n                         * for some complex series types like boxplot or 3D\n                         * charts, the graphic may be a `g` element\n                         * containing other shapes. The graphic is generated\n                         * the first time {@link Series#drawPoints} runs,\n                         * and updated and moved on subsequent runs.\n                         *\n                         * @see Highcharts.Point#graphics\n                         *\n                         * @name Highcharts.Point#graphic\n                         * @type {Highcharts.SVGElement|undefined}\n                         */\n                        point.graphic = graphic = chart.renderer\n                            .symbol(symbol, markerAttribs.x, markerAttribs.y, markerAttribs.width, markerAttribs.height, hasPointMarker ?\n                            pointMarkerOptions :\n                            seriesMarkerOptions)\n                            .add(markerGroup);\n                        // Sliding animation for new points\n                        if (series.enabledDataSorting &&\n                            chart.hasRendered) {\n                            graphic.attr({\n                                x: point.startXPos\n                            });\n                            verb = 'animate';\n                        }\n                    }\n                    if (graphic && verb === 'animate') { // Update\n                        // Since the marker group isn't clipped, each\n                        // individual marker must be toggled\n                        graphic[isInside ? 'show' : 'hide'](isInside)\n                            .animate(markerAttribs);\n                    }\n                    // Presentational attributes\n                    if (graphic) {\n                        const pointAttr = series.pointAttribs(point, ((styledMode || !point.selected) ?\n                            void 0 :\n                            'select'));\n                        if (!styledMode) {\n                            graphic[verb](pointAttr);\n                        }\n                        else if (colorAxis) { // #14114\n                            graphic['css']({\n                                fill: pointAttr.fill\n                            });\n                        }\n                    }\n                    if (graphic) {\n                        graphic.addClass(point.getClassName(), true);\n                    }\n                }\n                else if (graphic) {\n                    point.graphic = graphic.destroy(); // #1269\n                }\n            }\n        }\n    }\n    /**\n     * Get non-presentational attributes for a point. Used internally for\n     * both styled mode and classic. Can be overridden for different series\n     * types.\n     *\n     * @see Series#pointAttribs\n     *\n     * @function Highcharts.Series#markerAttribs\n     *\n     * @param {Highcharts.Point} point\n     * The Point to inspect.\n     *\n     * @param {string} [state]\n     * The state, can be either `hover`, `select` or undefined.\n     *\n     * @return {Highcharts.SVGAttributes}\n     * A hash containing those attributes that are not settable from CSS.\n     */\n    markerAttribs(point, state) {\n        const seriesOptions = this.options, seriesMarkerOptions = seriesOptions.marker, pointMarkerOptions = point.marker || {}, symbol = (pointMarkerOptions.symbol ||\n            seriesMarkerOptions.symbol), attribs = {};\n        let seriesStateOptions, pointStateOptions, radius = Series_pick(pointMarkerOptions.radius, seriesMarkerOptions && seriesMarkerOptions.radius);\n        // Handle hover and select states\n        if (state) {\n            seriesStateOptions = seriesMarkerOptions.states[state];\n            pointStateOptions = pointMarkerOptions.states &&\n                pointMarkerOptions.states[state];\n            radius = Series_pick(pointStateOptions && pointStateOptions.radius, seriesStateOptions && seriesStateOptions.radius, radius && radius + (seriesStateOptions && seriesStateOptions.radiusPlus ||\n                0));\n        }\n        point.hasImage = symbol && symbol.indexOf('url') === 0;\n        if (point.hasImage) {\n            radius = 0; // And subsequently width and height is not set\n        }\n        const pos = point.pos();\n        if (Series_isNumber(radius) && pos) {\n            if (seriesOptions.crisp) {\n                pos[0] = Series_crisp(pos[0], point.hasImage ?\n                    0 :\n                    symbol === 'rect' ?\n                        // Rectangle symbols need crisp edges, others don't\n                        seriesMarkerOptions?.lineWidth || 0 :\n                        1);\n            }\n            attribs.x = pos[0] - radius;\n            attribs.y = pos[1] - radius;\n        }\n        if (radius) {\n            attribs.width = attribs.height = 2 * radius;\n        }\n        return attribs;\n    }\n    /**\n     * Internal function to get presentational attributes for each point.\n     * Unlike {@link Series#markerAttribs}, this function should return\n     * those attributes that can also be set in CSS. In styled mode,\n     * `pointAttribs` won't be called.\n     *\n     * @private\n     * @function Highcharts.Series#pointAttribs\n     *\n     * @param {Highcharts.Point} [point]\n     * The point instance to inspect.\n     *\n     * @param {string} [state]\n     * The point state, can be either `hover`, `select` or 'normal'. If\n     * undefined, normal state is assumed.\n     *\n     * @return {Highcharts.SVGAttributes}\n     * The presentational attributes to be set on the point.\n     */\n    pointAttribs(point, state) {\n        const seriesMarkerOptions = this.options.marker, pointOptions = point && point.options, pointMarkerOptions = ((pointOptions && pointOptions.marker) || {}), pointColorOption = pointOptions && pointOptions.color, pointColor = point && point.color, zoneColor = point && point.zone && point.zone.color;\n        let seriesStateOptions, pointStateOptions, color = this.color, fill, stroke, strokeWidth = Series_pick(pointMarkerOptions.lineWidth, seriesMarkerOptions.lineWidth), opacity = 1;\n        color = (pointColorOption ||\n            zoneColor ||\n            pointColor ||\n            color);\n        fill = (pointMarkerOptions.fillColor ||\n            seriesMarkerOptions.fillColor ||\n            color);\n        stroke = (pointMarkerOptions.lineColor ||\n            seriesMarkerOptions.lineColor ||\n            color);\n        // Handle hover and select states\n        state = state || 'normal';\n        if (state) {\n            seriesStateOptions = (seriesMarkerOptions.states[state] || {});\n            pointStateOptions = (pointMarkerOptions.states &&\n                pointMarkerOptions.states[state]) || {};\n            strokeWidth = Series_pick(pointStateOptions.lineWidth, seriesStateOptions.lineWidth, strokeWidth + Series_pick(pointStateOptions.lineWidthPlus, seriesStateOptions.lineWidthPlus, 0));\n            fill = (pointStateOptions.fillColor ||\n                seriesStateOptions.fillColor ||\n                fill);\n            stroke = (pointStateOptions.lineColor ||\n                seriesStateOptions.lineColor ||\n                stroke);\n            opacity = Series_pick(pointStateOptions.opacity, seriesStateOptions.opacity, opacity);\n        }\n        return {\n            'stroke': stroke,\n            'stroke-width': strokeWidth,\n            'fill': fill,\n            'opacity': opacity\n        };\n    }\n    /**\n     * Clear DOM objects and free up memory.\n     *\n     * @private\n     * @function Highcharts.Series#destroy\n     *\n     * @emits Highcharts.Series#event:destroy\n     */\n    destroy(keepEventsForUpdate) {\n        const series = this, chart = series.chart, issue134 = /AppleWebKit\\/533/.test(Series_win.navigator.userAgent), data = series.data || [];\n        let destroy, i, point, axis;\n        // Add event hook\n        Series_fireEvent(series, 'destroy', { keepEventsForUpdate });\n        // Remove events\n        this.removeEvents(keepEventsForUpdate);\n        // Erase from axes\n        (series.axisTypes || []).forEach(function (AXIS) {\n            axis = series[AXIS];\n            if (axis && axis.series) {\n                Series_erase(axis.series, series);\n                axis.isDirty = axis.forceRedraw = true;\n            }\n        });\n        // Remove legend items\n        if (series.legendItem) {\n            series.chart.legend.destroyItem(series);\n        }\n        // Destroy all points with their elements\n        i = data.length;\n        while (i--) {\n            point = data[i];\n            if (point && point.destroy) {\n                point.destroy();\n            }\n        }\n        for (const zone of series.zones) {\n            // Destroy SVGElement's but preserve primitive props (#20426)\n            Series_destroyObjectProperties(zone, void 0, true);\n        }\n        // Clear the animation timeout if we are destroying the series\n        // during initial animation\n        Core_Utilities.clearTimeout(series.animationTimeout);\n        // Destroy all SVGElements associated to the series\n        Series_objectEach(series, function (val, prop) {\n            // Survive provides a hook for not destroying\n            if (val instanceof SVG_SVGElement && !val.survive) {\n                // Issue 134 workaround\n                destroy = issue134 && prop === 'group' ?\n                    'hide' :\n                    'destroy';\n                val[destroy]();\n            }\n        });\n        // Remove from hoverSeries\n        if (chart.hoverSeries === series) {\n            chart.hoverSeries = void 0;\n        }\n        Series_erase(chart.series, series);\n        chart.orderItems('series');\n        // Clear all members\n        Series_objectEach(series, function (val, prop) {\n            if (!keepEventsForUpdate || prop !== 'hcEvents') {\n                delete series[prop];\n            }\n        });\n    }\n    /**\n     * Clip the graphs into zones for colors and styling.\n     *\n     * @private\n     * @function Highcharts.Series#applyZones\n     */\n    applyZones() {\n        const series = this, { area, chart, graph, zones, points, xAxis, yAxis, zoneAxis } = series, { inverted, renderer } = chart, axis = this[`${zoneAxis}Axis`], { isXAxis, len = 0, minPointOffset = 0 } = axis || {}, halfWidth = (graph?.strokeWidth() || 0) / 2 + 1, \n        // Avoid points that are so close to the threshold that the graph\n        // line would be split\n        avoidClose = (zone, plotX = 0, plotY = 0) => {\n            if (inverted) {\n                plotY = len - plotY;\n            }\n            const { translated = 0, lineClip } = zone, distance = plotY - translated;\n            lineClip?.push([\n                'L',\n                plotX,\n                Math.abs(distance) < halfWidth ?\n                    plotY - halfWidth * (distance <= 0 ? -1 : 1) :\n                    translated\n            ]);\n        };\n        if (zones.length &&\n            (graph || area) &&\n            axis &&\n            Series_isNumber(axis.min)) {\n            const axisMax = axis.getExtremes().max + minPointOffset, \n            // Invert the x and y coordinates of inverted charts\n            invertPath = (path) => {\n                path.forEach((segment, i) => {\n                    if (segment[0] === 'M' || segment[0] === 'L') {\n                        path[i] = [\n                            segment[0],\n                            isXAxis ? len - segment[1] : segment[1],\n                            isXAxis ? segment[2] : len - segment[2]\n                        ];\n                    }\n                });\n            };\n            // Reset\n            zones.forEach((zone) => {\n                zone.lineClip = [];\n                zone.translated = Series_clamp(axis.toPixels(Series_pick(zone.value, axisMax), true) || 0, 0, len);\n            });\n            // The use of the Color Threshold assumes there are no gaps so it is\n            // safe to hide the original graph and area unless it is not\n            // waterfall series, then use showLine property to set lines between\n            // columns to be visible (#7862)\n            if (graph && !this.showLine) {\n                graph.hide();\n            }\n            if (area) {\n                area.hide();\n            }\n            // Prepare for adaptive clips, avoiding segments close to the\n            // threshold (#19709)\n            if (zoneAxis === 'y' &&\n                // Overheat protection\n                points.length < xAxis.len) {\n                for (const point of points) {\n                    const { plotX, plotY, zone } = point, zoneBelow = zone && zones[zones.indexOf(zone) - 1];\n                    // Close to upper boundary\n                    if (zone) {\n                        avoidClose(zone, plotX, plotY);\n                    }\n                    // Close to lower boundary\n                    if (zoneBelow) {\n                        avoidClose(zoneBelow, plotX, plotY);\n                    }\n                }\n            }\n            // Compute and apply the clips\n            let lastLineClip = [], \n            // Starting point of the first zone. Offset for category axis\n            // (#22188).\n            lastTranslated = axis.toPixels(axis.getExtremes().min - minPointOffset, true);\n            zones.forEach((zone) => {\n                const lineClip = zone.lineClip || [], translated = Math.round(zone.translated || 0);\n                if (xAxis.reversed) {\n                    lineClip.reverse();\n                }\n                let { clip, simpleClip } = zone, x1 = 0, y1 = 0, x2 = xAxis.len, y2 = yAxis.len;\n                if (isXAxis) {\n                    x1 = translated;\n                    x2 = lastTranslated;\n                }\n                else {\n                    y1 = translated;\n                    y2 = lastTranslated;\n                }\n                // Adaptive clips\n                const simplePath = [\n                    ['M', x1, y1],\n                    ['L', x2, y1],\n                    ['L', x2, y2],\n                    ['L', x1, y2],\n                    ['Z']\n                ], adaptivePath = [\n                    simplePath[0],\n                    ...lineClip,\n                    simplePath[1],\n                    simplePath[2],\n                    ...lastLineClip,\n                    simplePath[3],\n                    simplePath[4]\n                ];\n                lastLineClip = lineClip.reverse();\n                lastTranslated = translated;\n                if (inverted) {\n                    invertPath(adaptivePath);\n                    if (area) {\n                        invertPath(simplePath);\n                    }\n                }\n                /* Debug clip paths\n                zone.path?.destroy();\n                zone.path = chart.renderer.path(adaptivePath)\n                    .attr({\n                        stroke: zone.color || this.color || 'gray',\n                        'stroke-width': 1,\n                        'dashstyle': 'Dash'\n                    })\n                    .add(series.group);\n                // */\n                if (clip) {\n                    clip.animate({ d: adaptivePath });\n                    simpleClip?.animate({ d: simplePath });\n                }\n                else {\n                    clip = zone.clip = renderer.path(adaptivePath);\n                    if (area) {\n                        simpleClip = zone.simpleClip = renderer.path(simplePath);\n                    }\n                }\n                // When no data, graph zone is not applied and after setData\n                // clip was ignored. As a result, it should be applied each\n                // time.\n                if (graph) {\n                    zone.graph?.clip(clip);\n                }\n                if (area) {\n                    zone.area?.clip(simpleClip);\n                }\n            });\n        }\n        else if (series.visible) {\n            // If zones were removed, restore graph and area\n            if (graph) {\n                graph.show();\n            }\n            if (area) {\n                area.show();\n            }\n        }\n    }\n    /**\n     * General abstraction for creating plot groups like series.group,\n     * series.dataLabelsGroup and series.markerGroup. On subsequent calls,\n     * the group will only be adjusted to the updated plot size.\n     *\n     * @private\n     * @function Highcharts.Series#plotGroup\n     */\n    plotGroup(prop, name, visibility, zIndex, parent) {\n        let group = this[prop];\n        const isNew = !group, attrs = {\n            visibility,\n            zIndex: zIndex || 0.1 // Pointer logic uses this\n        };\n        // Avoid setting undefined opacity, or in styled mode\n        if (Series_defined(this.opacity) &&\n            !this.chart.styledMode && this.state !== 'inactive' // #13719\n        ) {\n            attrs.opacity = this.opacity;\n        }\n        // Generate it on first call\n        if (!group) {\n            this[prop] = group = this.chart.renderer\n                .g()\n                .add(parent);\n        }\n        // Add the class names, and replace existing ones as response to\n        // Series.update (#6660)\n        group.addClass(('highcharts-' + name +\n            ' highcharts-series-' + this.index +\n            ' highcharts-' + this.type + '-series ' +\n            (Series_defined(this.colorIndex) ?\n                'highcharts-color-' + this.colorIndex + ' ' :\n                '') +\n            (this.options.className || '') +\n            (group.hasClass('highcharts-tracker') ?\n                ' highcharts-tracker' :\n                '')), true);\n        // Place it on first and subsequent (redraw) calls\n        group.attr(attrs)[isNew ? 'attr' : 'animate'](this.getPlotBox(name));\n        return group;\n    }\n    /**\n     * Get the translation and scale for the plot area of this series.\n     *\n     * @function Highcharts.Series#getPlotBox\n     */\n    getPlotBox(name) {\n        let horAxis = this.xAxis, vertAxis = this.yAxis;\n        const chart = this.chart, inverted = (chart.inverted &&\n            !chart.polar &&\n            horAxis &&\n            this.invertible &&\n            name === 'series');\n        // Swap axes for inverted (#2339)\n        if (chart.inverted) {\n            horAxis = vertAxis;\n            vertAxis = this.xAxis;\n        }\n        return {\n            translateX: horAxis ? horAxis.left : chart.plotLeft,\n            translateY: vertAxis ? vertAxis.top : chart.plotTop,\n            rotation: inverted ? 90 : 0,\n            rotationOriginX: inverted ?\n                (horAxis.len - vertAxis.len) / 2 :\n                0,\n            rotationOriginY: inverted ?\n                (horAxis.len + vertAxis.len) / 2 :\n                0,\n            scaleX: inverted ? -1 : 1, // #1623\n            scaleY: 1\n        };\n    }\n    /**\n     * Removes the event handlers attached previously with addEvents.\n     * @private\n     * @function Highcharts.Series#removeEvents\n     */\n    removeEvents(keepEventsForUpdate) {\n        const { eventsToUnbind } = this;\n        if (!keepEventsForUpdate) {\n            // Remove all events\n            Series_removeEvent(this);\n        }\n        if (eventsToUnbind.length) {\n            // Remove only internal events for proper update. #12355 solves\n            // problem with multiple destroy events\n            eventsToUnbind.forEach((unbind) => {\n                unbind();\n            });\n            eventsToUnbind.length = 0;\n        }\n    }\n    /**\n     * Render the graph and markers. Called internally when first rendering\n     * and later when redrawing the chart. This function can be extended in\n     * plugins, but normally shouldn't be called directly.\n     *\n     * @function Highcharts.Series#render\n     *\n     * @emits Highcharts.Series#event:afterRender\n     */\n    render() {\n        const series = this, { chart, options, hasRendered } = series, animOptions = Series_animObject(options.animation), visibility = series.visible ?\n            'inherit' : 'hidden', // #2597\n        zIndex = options.zIndex, chartSeriesGroup = chart.seriesGroup;\n        let animDuration = series.finishedAnimating ?\n            0 : animOptions.duration;\n        Series_fireEvent(this, 'render');\n        // The group\n        series.plotGroup('group', 'series', visibility, zIndex, chartSeriesGroup);\n        series.markerGroup = series.plotGroup('markerGroup', 'markers', visibility, zIndex, chartSeriesGroup);\n        // Initial clipping, applies to columns etc. (#3839).\n        if (options.clip !== false) {\n            series.setClip();\n        }\n        // Initialize the animation\n        if (animDuration) {\n            series.animate?.(true);\n        }\n        // Draw the graph if any\n        if (series.drawGraph) {\n            series.drawGraph();\n            series.applyZones();\n        }\n        // Draw the points\n        if (series.visible) {\n            series.drawPoints();\n        }\n        // Draw the data labels\n        series.drawDataLabels?.();\n        // In pie charts, slices are added to the DOM, but actual rendering\n        // is postponed until labels reserved their space\n        series.redrawPoints?.();\n        // Draw the mouse tracking area\n        if (options.enableMouseTracking) {\n            series.drawTracker?.();\n        }\n        // Run the animation\n        if (animDuration) {\n            series.animate?.();\n        }\n        // Call the afterAnimate function on animation complete (but don't\n        // overwrite the animation.complete option which should be available\n        // to the user).\n        if (!hasRendered) {\n            // Additional time if defer is defined before afterAnimate\n            // will be triggered\n            if (animDuration && animOptions.defer) {\n                animDuration += animOptions.defer;\n            }\n            series.animationTimeout = Series_syncTimeout(() => {\n                series.afterAnimate();\n            }, animDuration || 0);\n        }\n        // Means data is in accordance with what you see\n        series.isDirty = false;\n        // (See #322) series.isDirty = series.isDirtyData = false; // means\n        // data is in accordance with what you see\n        series.hasRendered = true;\n        Series_fireEvent(series, 'afterRender');\n    }\n    /**\n     * Redraw the series. This function is called internally from\n     * `chart.redraw` and normally shouldn't be called directly.\n     * @private\n     * @function Highcharts.Series#redraw\n     */\n    redraw() {\n        // Cache it here as it is set to false in render, but used after\n        const wasDirty = this.isDirty || this.isDirtyData;\n        this.translate();\n        this.render();\n        if (wasDirty) { // #3868, #3945\n            delete this.kdTree;\n        }\n    }\n    /**\n     * Whether to reserve space for the series, either because it is visible or\n     * because the `chart.ignoreHiddenSeries` option is false.\n     *\n     * @private\n     */\n    reserveSpace() {\n        return this.visible || !this.chart.options.chart.ignoreHiddenSeries;\n    }\n    /**\n     * Find the nearest point from a pointer event. This applies to series that\n     * use k-d-trees to get the nearest point. Native pointer events must be\n     * normalized using `Pointer.normalize`, that adds `chartX` and `chartY`\n     * properties.\n     *\n     * @sample highcharts/demo/synchronized-charts\n     *         Synchronized charts with tooltips\n     *\n     * @function Highcharts.Series#searchPoint\n     *\n     * @param {Highcharts.PointerEvent} e\n     *        The normalized pointer event\n     * @param {boolean} [compareX=false]\n     *        Search only by the X value, not Y\n     *\n     * @return {Point|undefined}\n     *        The closest point to the pointer event\n     */\n    searchPoint(e, compareX) {\n        const { xAxis, yAxis } = this, inverted = this.chart.inverted;\n        return this.searchKDTree({\n            clientX: inverted ?\n                xAxis.len - e.chartY + xAxis.pos :\n                e.chartX - xAxis.pos,\n            plotY: inverted ?\n                yAxis.len - e.chartX + yAxis.pos :\n                e.chartY - yAxis.pos\n        }, compareX, e);\n    }\n    /**\n     * Build the k-d-tree that is used by mouse and touch interaction to get\n     * the closest point. Line-like series typically have a one-dimensional\n     * tree where points are searched along the X axis, while scatter-like\n     * series typically search in two dimensions, X and Y.\n     *\n     * @private\n     * @function Highcharts.Series#buildKDTree\n     */\n    buildKDTree(e) {\n        // Prevent multiple k-d-trees from being built simultaneously\n        // (#6235)\n        this.buildingKdTree = true;\n        const series = this, dimensions = series.options.findNearestPointBy\n            .indexOf('y') > -1 ? 2 : 1;\n        /**\n         * Internal function\n         * @private\n         */\n        function kdtree(points, depth, dimensions) {\n            const length = points?.length;\n            let axis, median;\n            if (length) {\n                // Alternate between the axis\n                axis = series.kdAxisArray[depth % dimensions];\n                // Sort point array\n                points.sort((a, b) => (a[axis] || 0) - (b[axis] || 0));\n                median = Math.floor(length / 2);\n                // Build and return node\n                return {\n                    point: points[median],\n                    left: kdtree(points.slice(0, median), depth + 1, dimensions),\n                    right: kdtree(points.slice(median + 1), depth + 1, dimensions)\n                };\n            }\n        }\n        /**\n         * Start the recursive build process with a clone of the points\n         * array and null points filtered out. (#3873)\n         * @private\n         */\n        function startRecursive() {\n            series.kdTree = kdtree(series.getValidPoints(void 0, \n            // For line-type series restrict to plot area, but\n            // column-type series not (#3916, #4511)\n            !series.directTouch), dimensions, dimensions);\n            series.buildingKdTree = false;\n        }\n        delete series.kdTree;\n        // For testing tooltips, don't build async. Also if touchstart, we may\n        // be dealing with click events on mobile, so don't delay (#6817).\n        Series_syncTimeout(startRecursive, series.options.kdNow || e?.type === 'touchstart' ? 0 : 1);\n    }\n    /**\n     * @private\n     * @function Highcharts.Series#searchKDTree\n     */\n    searchKDTree(point, compareX, e, suppliedPointEvaluator, suppliedBSideCheckEvaluator) {\n        const series = this, [kdX, kdY] = this.kdAxisArray, kdComparer = compareX ? 'distX' : 'dist', kdDimensions = (series.options.findNearestPointBy || '')\n            .indexOf('y') > -1 ? 2 : 1, useRadius = !!series.isBubble, pointEvaluator = suppliedPointEvaluator || ((p1, p2, comparisonProp) => [\n            (p1[comparisonProp] || 0) < (p2[comparisonProp] || 0) ?\n                p1 :\n                p2,\n            false\n        ]), bSideCheckEvaluator = suppliedBSideCheckEvaluator || ((a, b) => a < b);\n        /**\n         * Set the one and two dimensional distance on the point object.\n         * @private\n         */\n        function setDistance(p1, p2) {\n            const p1kdX = p1[kdX], p2kdX = p2[kdX], x = (Series_defined(p1kdX) && Series_defined(p2kdX)) ? p1kdX - p2kdX : null, p1kdY = p1[kdY], p2kdY = p2[kdY], y = (Series_defined(p1kdY) && Series_defined(p2kdY)) ? p1kdY - p2kdY : 0, radius = useRadius ? (p2.marker?.radius || 0) : 0;\n            p2.dist = Math.sqrt(((x && x * x) || 0) + y * y) - radius;\n            p2.distX = Series_defined(x) ? (Math.abs(x) - radius) : Number.MAX_VALUE;\n        }\n        /**\n         * @private\n         */\n        function doSearch(search, tree, depth, dimensions) {\n            const point = tree.point, axis = series.kdAxisArray[depth % dimensions];\n            let ret = point, flip = false;\n            setDistance(search, point);\n            // Pick side based on distance to splitting point\n            const tdist = (search[axis] || 0) - (point[axis] || 0) +\n                (useRadius ? (point.marker?.radius || 0) : 0), sideA = tdist < 0 ? 'left' : 'right', sideB = tdist < 0 ? 'right' : 'left';\n            // End of tree\n            if (tree[sideA]) {\n                [ret, flip] = pointEvaluator(point, doSearch(search, tree[sideA], depth + 1, dimensions), kdComparer);\n            }\n            if (tree[sideB]) {\n                const sqrtTDist = Math.sqrt(tdist * tdist), retDist = ret[kdComparer];\n                // Compare distance to current best to splitting point to decide\n                // whether to check side B or no\n                if (bSideCheckEvaluator(sqrtTDist, retDist, flip)) {\n                    ret = pointEvaluator(ret, doSearch(search, tree[sideB], depth + 1, dimensions), kdComparer)[0];\n                }\n            }\n            return ret;\n        }\n        if (!this.kdTree && !this.buildingKdTree) {\n            this.buildKDTree(e);\n        }\n        if (this.kdTree) {\n            return doSearch(point, this.kdTree, kdDimensions, kdDimensions);\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Series#pointPlacementToXValue\n     */\n    pointPlacementToXValue() {\n        const { options, xAxis } = this;\n        let factor = options.pointPlacement;\n        // Point placement is relative to each series pointRange (#5889)\n        if (factor === 'between') {\n            factor = xAxis.reversed ? -0.5 : 0.5; // #11955\n        }\n        return Series_isNumber(factor) ?\n            factor * (options.pointRange || xAxis.pointRange) :\n            0;\n    }\n    /**\n     * @private\n     * @function Highcharts.Series#isPointInside\n     */\n    isPointInside(point) {\n        const { chart, xAxis, yAxis } = this, { plotX = -1, plotY = -1 } = point, isInside = (plotY >= 0 &&\n            plotY <= (yAxis ? yAxis.len : chart.plotHeight) &&\n            plotX >= 0 &&\n            plotX <= (xAxis ? xAxis.len : chart.plotWidth));\n        return isInside;\n    }\n    /**\n     * Draw the tracker object that sits above all data labels and markers to\n     * track mouse events on the graph or points. For the line type charts\n     * the tracker uses the same graphPath, but with a greater stroke width\n     * for better control.\n     * @private\n     */\n    drawTracker() {\n        const series = this, options = series.options, trackByArea = options.trackByArea, trackerPath = [].concat((trackByArea ? series.areaPath : series.graphPath) || []), chart = series.chart, pointer = chart.pointer, renderer = chart.renderer, snap = chart.options.tooltip?.snap || 0, onMouseOver = () => {\n            if (options.enableMouseTracking &&\n                chart.hoverSeries !== series) {\n                series.onMouseOver();\n            }\n        }, \n        /*\n         * Empirical lowest possible opacities for TRACKER_FILL for an\n         * element to stay invisible but clickable\n         * IE9: 0.00000000001 (unlimited)\n         * IE10: 0.0001 (exporting only)\n         * FF: 0.00000000001 (unlimited)\n         * Chrome: 0.000001\n         * Safari: 0.000001\n         * Opera: 0.00000000001 (unlimited)\n         */\n        TRACKER_FILL = 'rgba(192,192,192,' + (Series_svg ? 0.0001 : 0.002) + ')';\n        let tracker = series.tracker;\n        // Draw the tracker\n        if (tracker) {\n            tracker.attr({ d: trackerPath });\n        }\n        else if (series.graph) { // Create\n            series.tracker = tracker = renderer.path(trackerPath)\n                .attr({\n                visibility: series.visible ? 'inherit' : 'hidden',\n                zIndex: 2\n            })\n                .addClass(trackByArea ?\n                'highcharts-tracker-area' :\n                'highcharts-tracker-line')\n                .add(series.group);\n            if (!chart.styledMode) {\n                tracker.attr({\n                    'stroke-linecap': 'round',\n                    'stroke-linejoin': 'round', // #1225\n                    stroke: TRACKER_FILL,\n                    fill: trackByArea ? TRACKER_FILL : 'none',\n                    'stroke-width': series.graph.strokeWidth() +\n                        (trackByArea ? 0 : 2 * snap)\n                });\n            }\n            // The tracker is added to the series group, which is clipped, but\n            // is covered by the marker group. So the marker group also needs to\n            // capture events.\n            [\n                series.tracker,\n                series.markerGroup,\n                series.dataLabelsGroup\n            ].forEach((tracker) => {\n                if (tracker) {\n                    tracker.addClass('highcharts-tracker')\n                        .on('mouseover', onMouseOver)\n                        .on('mouseout', (e) => {\n                        pointer?.onTrackerMouseOut(e);\n                    });\n                    if (options.cursor && !chart.styledMode) {\n                        tracker.css({ cursor: options.cursor });\n                    }\n                    tracker.on('touchstart', onMouseOver);\n                }\n            });\n        }\n        Series_fireEvent(this, 'afterDrawTracker');\n    }\n    /**\n     * Add a point to the series after render time. The point can be added at\n     * the end, or by giving it an X value, to the start or in the middle of the\n     * series.\n     *\n     * @sample highcharts/members/series-addpoint-append/\n     *         Append point\n     * @sample highcharts/members/series-addpoint-append-and-shift/\n     *         Append and shift\n     * @sample highcharts/members/series-addpoint-x-and-y/\n     *         Both X and Y values given\n     * @sample highcharts/members/series-addpoint-pie/\n     *         Append pie slice\n     * @sample stock/members/series-addpoint/\n     *         Append 100 points in Highcharts Stock\n     * @sample stock/members/series-addpoint-shift/\n     *         Append and shift in Highcharts Stock\n     * @sample maps/members/series-addpoint/\n     *         Add a point in Highmaps\n     *\n     * @function Highcharts.Series#addPoint\n     *\n     * @param {Highcharts.PointOptionsType} options\n     *        The point options. If options is a single number, a point with\n     *        that y value is appended to the series. If it is an array, it will\n     *        be interpreted as x and y values respectively. If it is an\n     *        object, advanced options as outlined under `series.data` are\n     *        applied.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after the point is added. When adding\n     *        more than one point, it is highly recommended that the redraw\n     *        option be set to false, and instead {@link Chart#redraw} is\n     *        explicitly called after the adding of points is finished.\n     *        Otherwise, the chart will redraw after adding each point.\n     *\n     * @param {boolean} [shift=false]\n     *        If true, a point is shifted off the start of the series as one is\n     *        appended to the end.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether to apply animation, and optionally animation\n     *        configuration.\n     *\n     * @param {boolean} [withEvent=true]\n     *        Used internally, whether to fire the series `addPoint` event.\n     *\n     * @emits Highcharts.Series#event:addPoint\n     */\n    addPoint(options, redraw, shift, animation, withEvent) {\n        const series = this, seriesOptions = series.options, { chart, data, dataTable: table, xAxis } = series, names = xAxis && xAxis.hasNames && xAxis.names, dataOptions = seriesOptions.data, xData = series.getColumn('x');\n        let isInTheMiddle, i;\n        // Optional redraw, defaults to true\n        redraw = Series_pick(redraw, true);\n        // Get options and push the point to xData, yData and series.options. In\n        // series.generatePoints the Point instance will be created on demand\n        // and pushed to the series.data array.\n        const point = { series: series };\n        series.pointClass.prototype.applyOptions.apply(point, [options]);\n        const x = point.x;\n        // Get the insertion point\n        i = xData.length;\n        if (series.requireSorting && x < xData[i - 1]) {\n            isInTheMiddle = true;\n            while (i && xData[i - 1] > x) {\n                i--;\n            }\n        }\n        // Insert the row at the given index\n        table.setRow(point, i, true, { addColumns: false });\n        if (names && point.name) {\n            names[x] = point.name;\n        }\n        dataOptions?.splice(i, 0, options);\n        if (isInTheMiddle ||\n            // When processedData is present we need to splice an empty slot\n            // into series.data, otherwise generatePoints won't pick it up.\n            series.processedData) {\n            series.data.splice(i, 0, null);\n            series.processData();\n        }\n        // Generate points to be added to the legend (#1329)\n        if (seriesOptions.legendType === 'point') {\n            series.generatePoints();\n        }\n        // Shift the first point off the parallel arrays\n        if (shift) {\n            if (data[0] && !!data[0].remove) {\n                data[0].remove(false);\n            }\n            else {\n                [\n                    data,\n                    dataOptions,\n                    ...Object.values(table.getColumns())\n                ].filter(Series_defined).forEach((coll) => {\n                    coll.shift();\n                });\n                table.rowCount -= 1;\n                Series_fireEvent(table, 'afterDeleteRows');\n            }\n        }\n        // Fire event\n        if (withEvent !== false) {\n            Series_fireEvent(series, 'addPoint', { point: point });\n        }\n        // Redraw\n        series.isDirty = true;\n        series.isDirtyData = true;\n        if (redraw) {\n            chart.redraw(animation); // Animation is set anyway on redraw, #5665\n        }\n    }\n    /**\n     * Remove a point from the series. Unlike the\n     * {@link Highcharts.Point#remove} method, this can also be done on a point\n     * that is not instantiated because it is outside the view or subject to\n     * Highcharts Stock data grouping.\n     *\n     * @sample highcharts/members/series-removepoint/\n     *         Remove cropped point\n     *\n     * @function Highcharts.Series#removePoint\n     *\n     * @param {number} i\n     *        The index of the point in the {@link Highcharts.Series.data|data}\n     *        array.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after the point is added. When\n     *        removing more than one point, it is highly recommended that the\n     *        `redraw` option be set to `false`, and instead {@link\n     *        Highcharts.Chart#redraw} is explicitly called after the adding of\n     *        points is finished.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether and optionally how the series should be animated.\n     *\n     * @emits Highcharts.Point#event:remove\n     */\n    removePoint(i, redraw, animation) {\n        const series = this, { chart, data, points, dataTable: table } = series, point = data[i], remove = function () {\n            // Splice out the point's data from all parallel arrays\n            [\n                // #4935\n                points?.length === data.length ? points : void 0,\n                data,\n                series.options.data,\n                ...Object.values(table.getColumns())\n            ].filter(Series_defined).forEach((coll) => {\n                coll.splice(i, 1);\n            });\n            // Shorthand row deletion in order to avoid including the whole\n            // `deleteRows` function in the DataTableCore module.\n            table.rowCount -= 1;\n            Series_fireEvent(table, 'afterDeleteRows');\n            point?.destroy();\n            // Redraw\n            series.isDirty = true;\n            series.isDirtyData = true;\n            if (redraw) {\n                chart.redraw();\n            }\n        };\n        Series_setAnimation(animation, chart);\n        redraw = Series_pick(redraw, true);\n        // Fire the event with a default handler of removing the point\n        if (point) {\n            point.firePointEvent('remove', null, remove);\n        }\n        else {\n            remove();\n        }\n    }\n    /**\n     * Remove a series and optionally redraw the chart.\n     *\n     * @sample highcharts/members/series-remove/\n     *         Remove first series from a button\n     *\n     * @function Highcharts.Series#remove\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart or wait for an explicit call to\n     *        {@link Highcharts.Chart#redraw}.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether to apply animation, and optionally animation\n     *        configuration.\n     *\n     * @param {boolean} [withEvent=true]\n     *        Used internally, whether to fire the series `remove` event.\n     *\n     * @emits Highcharts.Series#event:remove\n     */\n    remove(redraw, animation, withEvent, keepEvents) {\n        const series = this, chart = series.chart;\n        /**\n         * @private\n         */\n        function remove() {\n            // Destroy elements\n            series.destroy(keepEvents);\n            // Redraw\n            chart.isDirtyLegend = chart.isDirtyBox = true;\n            chart.linkSeries(keepEvents);\n            if (Series_pick(redraw, true)) {\n                chart.redraw(animation);\n            }\n        }\n        // Fire the event with a default handler of removing the point\n        if (withEvent !== false) {\n            Series_fireEvent(series, 'remove', null, remove);\n        }\n        else {\n            remove();\n        }\n    }\n    /**\n     * Update the series with a new set of options. For a clean and precise\n     * handling of new options, all methods and elements from the series are\n     * removed, and it is initialized from scratch. Therefore, this method is\n     * more performance expensive than some other utility methods like {@link\n     * Series#setData} or {@link Series#setVisible}.\n     *\n     * Note that `Series.update` may mutate the passed `data` options.\n     *\n     * @sample highcharts/members/series-update/\n     *         Updating series options\n     * @sample maps/members/series-update/\n     *         Update series options in Highmaps\n     *\n     * @function Highcharts.Series#update\n     *\n     * @param {Highcharts.SeriesOptionsType} options\n     *        New options that will be merged with the series' existing options.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after the series is altered. If doing\n     *        more operations on the chart, it is a good idea to set redraw to\n     *        false and call {@link Chart#redraw} after.\n     *\n     * @emits Highcharts.Series#event:update\n     * @emits Highcharts.Series#event:afterUpdate\n     */\n    update(options, redraw) {\n        options = Series_diffObjects(options, this.userOptions);\n        Series_fireEvent(this, 'update', { options: options });\n        const series = this, chart = series.chart, \n        // Must use user options when changing type because series.options\n        // is merged in with type specific plotOptions\n        oldOptions = series.userOptions, initialType = series.initialType || series.type, plotOptions = chart.options.plotOptions, initialSeriesProto = seriesTypes[initialType].prototype, groups = [\n            'group',\n            'markerGroup',\n            'dataLabelsGroup',\n            'transformGroup'\n        ], optionsToCheck = [\n            'dataGrouping',\n            'pointStart',\n            'pointInterval',\n            'pointIntervalUnit',\n            'keys'\n        ], \n        // Animation must be enabled when calling update before the initial\n        // animation has first run. This happens when calling update\n        // directly after chart initialization, or when applying responsive\n        // rules (#6912).\n        animation = series.finishedAnimating && { animation: false }, kinds = {};\n        let seriesOptions, n, preserve = [\n            'colorIndex',\n            'eventOptions',\n            'navigatorSeries',\n            'symbolIndex',\n            'baseSeries'\n        ], newType = (options.type ||\n            oldOptions.type ||\n            chart.options.chart.type);\n        const keepPoints = !(\n        // Indicators, histograms etc recalculate the data. It should be\n        // possible to omit this.\n        this.hasDerivedData ||\n            // New type requires new point classes\n            (newType && newType !== this.type) ||\n            // New options affecting how the data points are built\n            typeof options.keys !== 'undefined' ||\n            typeof options.pointStart !== 'undefined' ||\n            typeof options.pointInterval !== 'undefined' ||\n            typeof options.relativeXValue !== 'undefined' ||\n            options.joinBy ||\n            options.mapData || // #11636\n            // Changes to data grouping requires new points in new group\n            optionsToCheck.some((option) => series.hasOptionChanged(option)));\n        newType = newType || initialType;\n        if (keepPoints) {\n            preserve.push('data', 'isDirtyData', \n            // GeoHeatMap interpolation\n            'isDirtyCanvas', 'points', 'dataTable', 'processedData', // #17057\n            'xIncrement', 'cropped', '_hasPointMarkers', 'hasDataLabels', \n            // Networkgraph (#14397)\n            'nodes', 'layout', \n            // Treemap\n            'level', \n            // Map specific, consider moving it to series-specific preserve-\n            // properties (#10617)\n            'mapMap', 'mapData', 'minY', 'maxY', 'minX', 'maxX', 'transformGroups' // #18857\n            );\n            if (options.visible !== false) {\n                preserve.push('area', 'graph');\n            }\n            series.parallelArrays.forEach(function (key) {\n                preserve.push(key + 'Data');\n            });\n            if (options.data) {\n                // `setData` uses `dataSorting` options so we need to update\n                // them earlier\n                if (options.dataSorting) {\n                    Series_extend(series.options.dataSorting, options.dataSorting);\n                }\n                this.setData(options.data, false);\n            }\n        }\n        else {\n            this.dataTable.modified = this.dataTable;\n        }\n        // Do the merge, with some forced options\n        options = Series_merge(oldOptions, {\n            // When oldOptions.index is null it should't be cleared.\n            // Otherwise navigator series will have wrong indexes (#10193).\n            index: oldOptions.index === void 0 ?\n                series.index : oldOptions.index,\n            pointStart: \n            // When updating from blank (#7933)\n            plotOptions?.series?.pointStart ??\n                oldOptions.pointStart ??\n                // When updating after addPoint\n                series.getColumn('x')[0]\n        }, !keepPoints && { data: series.options.data }, options, animation);\n        // Merge does not merge arrays, but replaces them. Since points were\n        // updated, `series.options.data` has correct merged options, use it:\n        if (keepPoints && options.data) {\n            options.data = series.options.data;\n        }\n        // Make sure preserved properties are not destroyed (#3094)\n        preserve = groups.concat(preserve);\n        preserve.forEach(function (prop) {\n            preserve[prop] = series[prop];\n            delete series[prop];\n        });\n        let casting = false;\n        if (seriesTypes[newType]) {\n            casting = newType !== series.type;\n            // Destroy the series and delete all properties, it will be\n            // reinserted within the `init` call below\n            series.remove(false, false, false, true);\n            if (casting) {\n                // #20264: Re-detect a certain chart properties from new series\n                chart.propFromSeries();\n                // Modern browsers including IE11\n                if (Object.setPrototypeOf) {\n                    Object.setPrototypeOf(series, seriesTypes[newType].prototype);\n                    // Legacy (IE < 11)\n                }\n                else {\n                    const ownEvents = Object.hasOwnProperty.call(series, 'hcEvents') && series.hcEvents;\n                    for (n in initialSeriesProto) { // eslint-disable-line guard-for-in\n                        series[n] = void 0;\n                    }\n                    // Reinsert all methods and properties from the new type\n                    // prototype (#2270, #3719).\n                    Series_extend(series, seriesTypes[newType].prototype);\n                    // The events are tied to the prototype chain, don't copy if\n                    // they're not the series' own\n                    if (ownEvents) {\n                        series.hcEvents = ownEvents;\n                    }\n                    else {\n                        delete series.hcEvents;\n                    }\n                }\n            }\n        }\n        else {\n            Series_error(17, true, chart, { missingModuleFor: newType });\n        }\n        // Re-register groups (#3094) and other preserved properties\n        preserve.forEach(function (prop) {\n            series[prop] = preserve[prop];\n        });\n        series.init(chart, options);\n        // Remove particular elements of the points. Check `series.options`\n        // because we need to consider the options being set on plotOptions as\n        // well.\n        if (keepPoints && this.points) {\n            seriesOptions = series.options;\n            // What kind of elements to destroy\n            if (seriesOptions.visible === false) {\n                kinds.graphic = 1;\n                kinds.dataLabel = 1;\n            }\n            else {\n                // If the marker got disabled or changed its symbol, width or\n                // height - destroy\n                if (this.hasMarkerChanged(seriesOptions, oldOptions)) {\n                    kinds.graphic = 1;\n                }\n                if (!series.hasDataLabels?.()) {\n                    kinds.dataLabel = 1;\n                }\n            }\n            for (const point of this.points) {\n                if (point && point.series) {\n                    point.resolveColor();\n                    // Destroy elements in order to recreate based on updated\n                    // series options.\n                    if (Object.keys(kinds).length) {\n                        point.destroyElements(kinds);\n                    }\n                    if (seriesOptions.showInLegend === false &&\n                        point.legendItem) {\n                        chart.legend.destroyItem(point);\n                    }\n                }\n            }\n        }\n        series.initialType = initialType;\n        chart.linkSeries(); // Links are lost in series.remove (#3028)\n        // Set data for series with sorting enabled if it isn't set yet (#19715)\n        chart.setSortedData();\n        // #15383: Fire updatedData if the type has changed to keep linked\n        // series such as indicators updated\n        if (casting && series.linkedSeries.length) {\n            series.isDirtyData = true;\n        }\n        Series_fireEvent(this, 'afterUpdate');\n        if (Series_pick(redraw, true)) {\n            chart.redraw(keepPoints ? void 0 : false);\n        }\n    }\n    /**\n     * Used from within series.update\n     * @private\n     */\n    setName(name) {\n        this.name = this.options.name = this.userOptions.name = name;\n        this.chart.isDirtyLegend = true;\n    }\n    /**\n     * Check if the option has changed.\n     * @private\n     */\n    hasOptionChanged(optionName) {\n        const chart = this.chart, option = this.options[optionName], plotOptions = chart.options.plotOptions, oldOption = this.userOptions[optionName], plotOptionsOption = Series_pick(plotOptions?.[this.type]?.[optionName], plotOptions?.series?.[optionName]);\n        // Check if `plotOptions` are defined already, #19203\n        if (oldOption && !Series_defined(plotOptionsOption)) {\n            return option !== oldOption;\n        }\n        return option !== Series_pick(plotOptionsOption, option);\n    }\n    /**\n     * Runs on mouse over the series graphical items.\n     *\n     * @function Highcharts.Series#onMouseOver\n     * @emits Highcharts.Series#event:mouseOver\n     */\n    onMouseOver() {\n        const series = this, chart = series.chart, hoverSeries = chart.hoverSeries, pointer = chart.pointer;\n        pointer?.setHoverChartIndex();\n        // Set normal state to previous series\n        if (hoverSeries && hoverSeries !== series) {\n            hoverSeries.onMouseOut();\n        }\n        // Trigger the event, but to save processing time,\n        // only if defined\n        if (series.options.events.mouseOver) {\n            Series_fireEvent(series, 'mouseOver');\n        }\n        // Hover this\n        series.setState('hover');\n        /**\n         * Contains the original hovered series.\n         *\n         * @name Highcharts.Chart#hoverSeries\n         * @type {Highcharts.Series|null}\n         */\n        chart.hoverSeries = series;\n    }\n    /**\n     * Runs on mouse out of the series graphical items.\n     *\n     * @function Highcharts.Series#onMouseOut\n     *\n     * @emits Highcharts.Series#event:mouseOut\n     */\n    onMouseOut() {\n        // Trigger the event only if listeners exist\n        const series = this, options = series.options, chart = series.chart, tooltip = chart.tooltip, hoverPoint = chart.hoverPoint;\n        // #182, set to null before the mouseOut event fires\n        chart.hoverSeries = null;\n        // Trigger mouse out on the point, which must be in this series\n        if (hoverPoint) {\n            hoverPoint.onMouseOut();\n        }\n        // Fire the mouse out event\n        if (series && options.events.mouseOut) {\n            Series_fireEvent(series, 'mouseOut');\n        }\n        // Hide the tooltip\n        if (tooltip &&\n            !series.stickyTracking &&\n            (!tooltip.shared || series.noSharedTooltip)) {\n            tooltip.hide();\n        }\n        // Reset all inactive states\n        chart.series.forEach(function (s) {\n            s.setState('', true);\n        });\n    }\n    /**\n     * Set the state of the series. Called internally on mouse interaction\n     * operations, but it can also be called directly to visually\n     * highlight a series.\n     *\n     * @function Highcharts.Series#setState\n     *\n     * @param {Highcharts.SeriesStateValue|\"\"} [state]\n     *        The new state, can be either `'hover'`, `'inactive'`, `'select'`,\n     *        or `''` (an empty string), `'normal'` or `undefined` to set to\n     *        normal state.\n     * @param {boolean} [inherit]\n     *        Determines if state should be inherited by points too.\n     */\n    setState(state, inherit) {\n        const series = this, options = series.options, graph = series.graph, inactiveOtherPoints = options.inactiveOtherPoints, stateOptions = options.states, \n        // By default a quick animation to hover/inactive,\n        // slower to un-hover\n        stateAnimation = Series_pick((stateOptions[state || 'normal'] &&\n            stateOptions[state || 'normal'].animation), series.chart.options.chart.animation);\n        let lineWidth = options.lineWidth, opacity = options.opacity;\n        state = state || '';\n        if (series.state !== state) {\n            // Toggle class names\n            [\n                series.group,\n                series.markerGroup,\n                series.dataLabelsGroup\n            ].forEach(function (group) {\n                if (group) {\n                    // Old state\n                    if (series.state) {\n                        group.removeClass('highcharts-series-' + series.state);\n                    }\n                    // New state\n                    if (state) {\n                        group.addClass('highcharts-series-' + state);\n                    }\n                }\n            });\n            series.state = state;\n            if (!series.chart.styledMode) {\n                if (stateOptions[state] &&\n                    stateOptions[state].enabled === false) {\n                    return;\n                }\n                if (state) {\n                    lineWidth = (stateOptions[state].lineWidth ||\n                        lineWidth + (stateOptions[state].lineWidthPlus || 0)); // #4035\n                    opacity = Series_pick(stateOptions[state].opacity, opacity);\n                }\n                if (graph && !graph.dashstyle && Series_isNumber(lineWidth)) {\n                    // Animate the graph stroke-width\n                    for (const graphElement of [\n                        graph,\n                        ...this.zones.map((zone) => zone.graph)\n                    ]) {\n                        graphElement?.animate({\n                            'stroke-width': lineWidth\n                        }, stateAnimation);\n                    }\n                }\n                // For some types (pie, networkgraph, sankey) opacity is\n                // resolved on a point level\n                if (!inactiveOtherPoints) {\n                    [\n                        series.group,\n                        series.markerGroup,\n                        series.dataLabelsGroup,\n                        series.labelBySeries\n                    ].forEach(function (group) {\n                        if (group) {\n                            group.animate({\n                                opacity: opacity\n                            }, stateAnimation);\n                        }\n                    });\n                }\n            }\n        }\n        // Don't loop over points on a series that doesn't apply inactive state\n        // to siblings markers (e.g. line, column)\n        if (inherit && inactiveOtherPoints && series.points) {\n            series.setAllPointsToState(state || void 0);\n        }\n    }\n    /**\n     * Set the state for all points in the series.\n     *\n     * @function Highcharts.Series#setAllPointsToState\n     *\n     * @private\n     *\n     * @param {string} [state]\n     *        Can be either `hover` or undefined to set to normal state.\n     */\n    setAllPointsToState(state) {\n        this.points.forEach(function (point) {\n            if (point.setState) {\n                point.setState(state);\n            }\n        });\n    }\n    /**\n     * Show or hide the series.\n     *\n     * @function Highcharts.Series#setVisible\n     *\n     * @param {boolean} [visible]\n     * True to show the series, false to hide. If undefined, the visibility is\n     * toggled.\n     *\n     * @param {boolean} [redraw=true]\n     * Whether to redraw the chart after the series is altered. If doing more\n     * operations on the chart, it is a good idea to set redraw to false and\n     * call {@link Chart#redraw|chart.redraw()} after.\n     *\n     * @emits Highcharts.Series#event:hide\n     * @emits Highcharts.Series#event:show\n     */\n    setVisible(vis, redraw) {\n        const series = this, chart = series.chart, ignoreHiddenSeries = chart.options.chart.ignoreHiddenSeries, oldVisibility = series.visible;\n        // If called without an argument, toggle visibility\n        series.visible =\n            vis =\n                series.options.visible =\n                    series.userOptions.visible =\n                        typeof vis === 'undefined' ? !oldVisibility : vis; // #5618\n        const showOrHide = vis ? 'show' : 'hide';\n        // Show or hide elements\n        [\n            'group',\n            'dataLabelsGroup',\n            'markerGroup',\n            'tracker',\n            'tt'\n        ].forEach((key) => {\n            series[key]?.[showOrHide]();\n        });\n        // Hide tooltip (#1361)\n        if (chart.hoverSeries === series ||\n            chart.hoverPoint?.series === series) {\n            series.onMouseOut();\n        }\n        if (series.legendItem) {\n            chart.legend.colorizeItem(series, vis);\n        }\n        // Rescale or adapt to resized chart\n        series.isDirty = true;\n        // In a stack, all other series are affected\n        if (series.options.stacking) {\n            chart.series.forEach((otherSeries) => {\n                if (otherSeries.options.stacking && otherSeries.visible) {\n                    otherSeries.isDirty = true;\n                }\n            });\n        }\n        // Show or hide linked series\n        series.linkedSeries.forEach((otherSeries) => {\n            otherSeries.setVisible(vis, false);\n        });\n        if (ignoreHiddenSeries) {\n            chart.isDirtyBox = true;\n        }\n        Series_fireEvent(series, showOrHide);\n        if (redraw !== false) {\n            chart.redraw();\n        }\n    }\n    /**\n     * Show the series if hidden.\n     *\n     * @sample highcharts/members/series-hide/\n     *         Toggle visibility from a button\n     *\n     * @function Highcharts.Series#show\n     * @emits Highcharts.Series#event:show\n     */\n    show() {\n        this.setVisible(true);\n    }\n    /**\n     * Hide the series if visible. If the\n     * [chart.ignoreHiddenSeries](https://api.highcharts.com/highcharts/chart.ignoreHiddenSeries)\n     * option is true, the chart is redrawn without this series.\n     *\n     * @sample highcharts/members/series-hide/\n     *         Toggle visibility from a button\n     *\n     * @function Highcharts.Series#hide\n     * @emits Highcharts.Series#event:hide\n     */\n    hide() {\n        this.setVisible(false);\n    }\n    /**\n     * Select or unselect the series. This means its\n     * {@link Highcharts.Series.selected|selected}\n     * property is set, the checkbox in the legend is toggled and when selected,\n     * the series is returned by the {@link Highcharts.Chart#getSelectedSeries}\n     * function.\n     *\n     * @sample highcharts/members/series-select/\n     *         Select a series from a button\n     *\n     * @function Highcharts.Series#select\n     *\n     * @param {boolean} [selected]\n     * True to select the series, false to unselect. If undefined, the selection\n     * state is toggled.\n     *\n     * @emits Highcharts.Series#event:select\n     * @emits Highcharts.Series#event:unselect\n     */\n    select(selected) {\n        const series = this;\n        series.selected =\n            selected =\n                this.options.selected = (typeof selected === 'undefined' ?\n                    !series.selected :\n                    selected);\n        if (series.checkbox) {\n            series.checkbox.checked = selected;\n        }\n        Series_fireEvent(series, selected ? 'select' : 'unselect');\n    }\n    /**\n     * Checks if a tooltip should be shown for a given point.\n     *\n     * @private\n     */\n    shouldShowTooltip(plotX, plotY, options = {}) {\n        options.series = this;\n        options.visiblePlotOnly = true;\n        return this.chart.isInsidePlot(plotX, plotY, options);\n    }\n    /**\n     * Draws the legend symbol based on the legendSymbol user option.\n     *\n     * @private\n     */\n    drawLegendSymbol(legend, item) {\n        Legend_LegendSymbol[this.options.legendSymbol || 'rectangle']\n            ?.call(this, legend, item);\n    }\n}\nSeries.defaultOptions = SeriesDefaults;\n/**\n * Registry of all available series types.\n *\n * @name Highcharts.Series.types\n * @type {Highcharts.Dictionary<typeof_Highcharts.Series>}\n */\nSeries.types = Series_SeriesRegistry.seriesTypes;\n/* *\n *\n *  Static Functions\n *\n * */\n/**\n * Registers a series class to be accessible via `Series.types`.\n *\n * @function Highcharts.Series.registerType\n *\n * @param {string} seriesType\n * The series type as an identifier string in lower case.\n *\n * @param {Function} SeriesClass\n * The series class as a class pattern or a constructor function with\n * prototype.\n */\nSeries.registerType = Series_SeriesRegistry.registerSeriesType;\nSeries_extend(Series.prototype, {\n    axisTypes: ['xAxis', 'yAxis'],\n    coll: 'series',\n    colorCounter: 0,\n    directTouch: false,\n    invertible: true,\n    isCartesian: true,\n    kdAxisArray: ['clientX', 'plotY'],\n    // Each point's x and y values are stored in this.xData and this.yData:\n    parallelArrays: ['x', 'y'],\n    pointClass: Series_Point,\n    requireSorting: true,\n    // Requires the data to be sorted:\n    sorted: true\n});\n/* *\n *\n *  Registry\n *\n * */\nSeries_SeriesRegistry.series = Series;\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_Series = (Series);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * This is a placeholder type of the possible series options for\n * [Highcharts](../highcharts/series), [Highcharts Stock](../highstock/series),\n * [Highmaps](../highmaps/series), and [Gantt](../gantt/series).\n *\n * In TypeScript is this dynamically generated to reference all possible types\n * of series options.\n *\n * @ignore-declaration\n * @typedef {Highcharts.SeriesOptions|Highcharts.Dictionary<*>} Highcharts.SeriesOptionsType\n */\n/**\n * Options for `dataSorting`.\n *\n * @interface Highcharts.DataSortingOptionsObject\n * @since 8.0.0\n */ /**\n* Enable or disable data sorting for the series.\n* @name Highcharts.DataSortingOptionsObject#enabled\n* @type {boolean|undefined}\n*/ /**\n* Whether to allow matching points by name in an update.\n* @name Highcharts.DataSortingOptionsObject#matchByName\n* @type {boolean|undefined}\n*/ /**\n* Determines what data value should be used to sort by.\n* @name Highcharts.DataSortingOptionsObject#sortKey\n* @type {string|undefined}\n*/\n/**\n * Function callback when a series has been animated.\n *\n * @callback Highcharts.SeriesAfterAnimateCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        The series where the event occurred.\n *\n * @param {Highcharts.SeriesAfterAnimateEventObject} event\n *        Event arguments.\n */\n/**\n * Event information regarding completed animation of a series.\n *\n * @interface Highcharts.SeriesAfterAnimateEventObject\n */ /**\n* Animated series.\n* @name Highcharts.SeriesAfterAnimateEventObject#target\n* @type {Highcharts.Series}\n*/ /**\n* Event type.\n* @name Highcharts.SeriesAfterAnimateEventObject#type\n* @type {\"afterAnimate\"}\n*/\n/**\n * Function callback when the checkbox next to the series' name in the legend is\n * clicked.\n *\n * @callback Highcharts.SeriesCheckboxClickCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        The series where the event occurred.\n *\n * @param {Highcharts.SeriesCheckboxClickEventObject} event\n *        Event arguments.\n */\n/**\n * Event information regarding check of a series box.\n *\n * @interface Highcharts.SeriesCheckboxClickEventObject\n */ /**\n* Whether the box has been checked.\n* @name Highcharts.SeriesCheckboxClickEventObject#checked\n* @type {boolean}\n*/ /**\n* Related series.\n* @name Highcharts.SeriesCheckboxClickEventObject#item\n* @type {Highcharts.Series}\n*/ /**\n* Related series.\n* @name Highcharts.SeriesCheckboxClickEventObject#target\n* @type {Highcharts.Series}\n*/ /**\n* Event type.\n* @name Highcharts.SeriesCheckboxClickEventObject#type\n* @type {\"checkboxClick\"}\n*/\n/**\n * Function callback when a series is clicked. Return false to cancel toogle\n * actions.\n *\n * @callback Highcharts.SeriesClickCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        The series where the event occurred.\n *\n * @param {Highcharts.SeriesClickEventObject} event\n *        Event arguments.\n */\n/**\n * Common information for a click event on a series.\n *\n * @interface Highcharts.SeriesClickEventObject\n * @extends global.Event\n */ /**\n* Nearest point on the graph.\n* @name Highcharts.SeriesClickEventObject#point\n* @type {Highcharts.Point}\n*/\n/**\n * Gets fired when the series is hidden after chart generation time, either by\n * clicking the legend item or by calling `.hide()`.\n *\n * @callback Highcharts.SeriesHideCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        The series where the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * The SVG value used for the `stroke-linecap` and `stroke-linejoin` of a line\n * graph.\n *\n * @typedef {\"butt\"|\"round\"|\"square\"|string} Highcharts.SeriesLinecapValue\n */\n/**\n * Gets fired when the legend item belonging to the series is clicked. The\n * default action is to toggle the visibility of the series. This can be\n * prevented by returning `false` or calling `event.preventDefault()`.\n *\n * **Note:** This option is deprecated in favor of\n * Highcharts.LegendItemClickCallbackFunction.\n *\n * @deprecated 11.4.4\n * @callback Highcharts.SeriesLegendItemClickCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        The series where the event occurred.\n *\n * @param {Highcharts.SeriesLegendItemClickEventObject} event\n *        The event that occurred.\n */\n/**\n * Information about the event.\n *\n * **Note:** This option is deprecated in favor of\n * Highcharts.LegendItemClickEventObject.\n *\n * @deprecated 11.4.4\n * @interface Highcharts.SeriesLegendItemClickEventObject\n */ /**\n* Related browser event.\n* @name Highcharts.SeriesLegendItemClickEventObject#browserEvent\n* @type {global.PointerEvent}\n*/ /**\n* Prevent the default action of toggle the visibility of the series.\n* @name Highcharts.SeriesLegendItemClickEventObject#preventDefault\n* @type {Function}\n*/ /**\n* Related series.\n* @name Highcharts.SeriesCheckboxClickEventObject#target\n* @type {Highcharts.Series}\n*/ /**\n* Event type.\n* @name Highcharts.SeriesCheckboxClickEventObject#type\n* @type {\"checkboxClick\"}\n*/\n/**\n * Gets fired when the mouse leaves the graph.\n *\n * @callback Highcharts.SeriesMouseOutCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        Series where the event occurred.\n *\n * @param {global.PointerEvent} event\n *        Event that occurred.\n */\n/**\n * Gets fired when the mouse enters the graph.\n *\n * @callback Highcharts.SeriesMouseOverCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        Series where the event occurred.\n *\n * @param {global.PointerEvent} event\n *        Event that occurred.\n */\n/**\n * Translation and scale for the plot area of a series.\n *\n * @interface Highcharts.SeriesPlotBoxObject\n */ /**\n* @name Highcharts.SeriesPlotBoxObject#scaleX\n* @type {number}\n*/ /**\n* @name Highcharts.SeriesPlotBoxObject#scaleY\n* @type {number}\n*/ /**\n* @name Highcharts.SeriesPlotBoxObject#translateX\n* @type {number}\n*/ /**\n* @name Highcharts.SeriesPlotBoxObject#translateY\n* @type {number}\n*/\n/**\n * Gets fired when the series is shown after chart generation time, either by\n * clicking the legend item or by calling `.show()`.\n *\n * @callback Highcharts.SeriesShowCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        Series where the event occurred.\n *\n * @param {global.Event} event\n *        Event that occurred.\n */\n/**\n * Possible key values for the series state options.\n *\n * @typedef {\"hover\"|\"inactive\"|\"normal\"|\"select\"} Highcharts.SeriesStateValue\n */\n''; // Detach doclets above\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Series options for specific data and the data itself. In TypeScript you\n * have to cast the series options to specific series types, to get all\n * possible options for a series.\n *\n * @example\n * // TypeScript example\n * Highcharts.chart('container', {\n *     series: [{\n *         color: '#06C',\n *         data: [[0, 1], [2, 3]]\n *     } as Highcharts.SeriesLineOptions ]\n * });\n *\n * @type      {Array<*>}\n * @apioption series\n */\n/**\n * An id for the series. This can be used after render time to get a pointer\n * to the series object through `chart.get()`.\n *\n * @sample {highcharts} highcharts/plotoptions/series-id/\n *         Get series by id\n *\n * @type      {string}\n * @since     1.2.0\n * @apioption series.id\n */\n/**\n * The index of the series in the chart, affecting the internal index in the\n * `chart.series` array, the visible Z index as well as the order in the\n * legend.\n *\n * @type      {number}\n * @since     2.3.0\n * @apioption series.index\n */\n/**\n * The sequential index of the series in the legend.\n *\n * @see [legend.reversed](#legend.reversed),\n *      [yAxis.reversedStacks](#yAxis.reversedStacks)\n *\n * @sample {highcharts|highstock} highcharts/series/legendindex/\n *         Legend in opposite order\n *\n * @type      {number}\n * @apioption series.legendIndex\n */\n/**\n * The name of the series as shown in the legend, tooltip etc.\n *\n * @sample {highcharts} highcharts/series/name/\n *         Series name\n * @sample {highmaps} maps/demo/category-map/\n *         Series name\n *\n * @type      {string}\n * @apioption series.name\n */\n/**\n * This option allows grouping series in a stacked chart. The stack option\n * can be a string or anything else, as long as the grouped series' stack\n * options match each other after conversion into a string.\n *\n * @sample {highcharts} highcharts/series/stack/\n *         Stacked and grouped columns\n * @sample {highcharts} highcharts/series/stack-centerincategory/\n *         Stacked and grouped, centered in category\n *\n * @type      {number|string}\n * @since     2.1\n * @product   highcharts highstock\n * @apioption series.stack\n */\n/**\n * The type of series, for example `line` or `column`. By default, the\n * series type is inherited from [chart.type](#chart.type), so unless the\n * chart is a combination of series types, there is no need to set it on the\n * series level.\n *\n * @sample {highcharts} highcharts/series/type/\n *         Line and column in the same chart\n * @sample highcharts/series/type-dynamic/\n *         Dynamic types with button selector\n * @sample {highmaps} maps/demo/mapline-mappoint/\n *         Multiple types in the same map\n *\n * @type      {string}\n * @apioption series.type\n */\n/**\n * When using dual or multiple x axes, this number defines which xAxis the\n * particular series is connected to. It refers to either the\n * {@link #xAxis.id|axis id}\n * or the index of the axis in the xAxis array, with 0 being the first.\n *\n * @type      {number|string}\n * @default   0\n * @product   highcharts highstock\n * @apioption series.xAxis\n */\n/**\n * When using dual or multiple y axes, this number defines which yAxis the\n * particular series is connected to. It refers to either the\n * {@link #yAxis.id|axis id}\n * or the index of the axis in the yAxis array, with 0 being the first.\n *\n * @sample {highcharts} highcharts/series/yaxis/\n *         Apply the column series to the secondary Y axis\n *\n * @type      {number|string}\n * @default   0\n * @product   highcharts highstock\n * @apioption series.yAxis\n */\n/**\n * Define the visual z index of the series.\n *\n * @sample {highcharts} highcharts/plotoptions/series-zindex-default/\n *         With no z index, the series defined last are on top\n * @sample {highcharts} highcharts/plotoptions/series-zindex/\n *         With a z index, the series with the highest z index is on top\n * @sample {highstock} highcharts/plotoptions/series-zindex-default/\n *         With no z index, the series defined last are on top\n * @sample {highstock} highcharts/plotoptions/series-zindex/\n *         With a z index, the series with the highest z index is on top\n *\n * @type      {number}\n * @product   highcharts highstock\n * @apioption series.zIndex\n */\n''; // Include precedent doclets in transpiled\n\n;// ./code/es-modules/Core/Legend/Legend.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject: Legend_animObject, setAnimation: Legend_setAnimation } = AnimationUtilities;\n\nconst { registerEventOptions: Legend_registerEventOptions } = Core_Foundation;\n\nconst { composed: Legend_composed, marginNames } = Core_Globals;\n\n\n\nconst { distribute: Legend_distribute } = Renderer_RendererUtilities;\n\nconst { format: Legend_format } = Core_Templating;\n\nconst { addEvent: Legend_addEvent, createElement: Legend_createElement, css: Legend_css, defined: Legend_defined, discardElement: Legend_discardElement, find: Legend_find, fireEvent: Legend_fireEvent, isNumber: Legend_isNumber, merge: Legend_merge, pick: Legend_pick, pushUnique: Legend_pushUnique, relativeLength: Legend_relativeLength, stableSort: Legend_stableSort, syncTimeout: Legend_syncTimeout } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * The overview of the chart's series. The legend object is instantiated\n * internally in the chart constructor, and is available from the `chart.legend`\n * property. Each chart has only one legend.\n *\n * @class\n * @name Highcharts.Legend\n *\n * @param {Highcharts.Chart} chart\n * The chart instance.\n *\n * @param {Highcharts.LegendOptions} options\n * Legend options.\n */\nclass Legend {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initialize the legend.\n     *\n     * @private\n     * @function Highcharts.Legend#init\n     *\n     * @param {Highcharts.Chart} chart\n     * The chart instance.\n     *\n     * @param {Highcharts.LegendOptions} options\n     * Legend options.\n     */\n    constructor(chart, options) {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this.allItems = [];\n        this.initialItemY = 0;\n        this.itemHeight = 0;\n        this.itemMarginBottom = 0;\n        this.itemMarginTop = 0;\n        this.itemX = 0;\n        this.itemY = 0;\n        this.lastItemY = 0;\n        this.lastLineHeight = 0;\n        this.legendHeight = 0;\n        this.legendWidth = 0;\n        this.maxItemWidth = 0;\n        this.maxLegendWidth = 0;\n        this.offsetWidth = 0;\n        this.padding = 0;\n        this.pages = [];\n        this.symbolHeight = 0;\n        this.symbolWidth = 0;\n        this.titleHeight = 0;\n        this.totalItemWidth = 0;\n        this.widthOption = 0;\n        /**\n         * Chart of this legend.\n         *\n         * @readonly\n         * @name Highcharts.Legend#chart\n         * @type {Highcharts.Chart}\n         */\n        this.chart = chart;\n        this.setOptions(options);\n        if (options.enabled) {\n            // Render it\n            this.render();\n            Legend_registerEventOptions(this, options);\n            // Move checkboxes\n            Legend_addEvent(this.chart, 'endResize', function () {\n                this.legend.positionCheckboxes();\n            });\n        }\n        // On Legend.init and Legend.update, make sure that proximate layout\n        // events are either added or removed (#18362).\n        Legend_addEvent(this.chart, 'render', () => {\n            if (this.options.enabled && this.proximate) {\n                this.proximatePositions();\n                this.positionItems();\n            }\n        });\n    }\n    /**\n     * @private\n     * @function Highcharts.Legend#setOptions\n     * @param {Highcharts.LegendOptions} options\n     */\n    setOptions(options) {\n        const padding = Legend_pick(options.padding, 8);\n        /**\n         * Legend options.\n         *\n         * @readonly\n         * @name Highcharts.Legend#options\n         * @type {Highcharts.LegendOptions}\n         */\n        this.options = options;\n        if (!this.chart.styledMode) {\n            this.itemStyle = options.itemStyle;\n            this.itemHiddenStyle = Legend_merge(this.itemStyle, options.itemHiddenStyle);\n        }\n        this.itemMarginTop = options.itemMarginTop;\n        this.itemMarginBottom = options.itemMarginBottom;\n        this.padding = padding;\n        this.initialItemY = padding - 5; // 5 is pixels above the text\n        this.symbolWidth = Legend_pick(options.symbolWidth, 16);\n        this.pages = [];\n        this.proximate = options.layout === 'proximate' && !this.chart.inverted;\n        // #12705: baseline has to be reset on every update\n        this.baseline = void 0;\n    }\n    /**\n     * Update the legend with new options. Equivalent to running `chart.update`\n     * with a legend configuration option.\n     *\n     * @sample highcharts/legend/legend-update/\n     *         Legend update\n     *\n     * @function Highcharts.Legend#update\n     *\n     * @param {Highcharts.LegendOptions} options\n     * Legend options.\n     *\n     * @param {boolean} [redraw=true]\n     * Whether to redraw the chart after the axis is altered. If doing more\n     * operations on the chart, it is a good idea to set redraw to false and\n     * call {@link Chart#redraw} after. Whether to redraw the chart.\n     *\n     * @emits Highcharts.Legends#event:afterUpdate\n     */\n    update(options, redraw) {\n        const chart = this.chart;\n        this.setOptions(Legend_merge(true, this.options, options));\n        if ('events' in this.options) {\n            // Legend event handlers\n            Legend_registerEventOptions(this, this.options);\n        }\n        this.destroy();\n        chart.isDirtyLegend = chart.isDirtyBox = true;\n        if (Legend_pick(redraw, true)) {\n            chart.redraw();\n        }\n        Legend_fireEvent(this, 'afterUpdate', { redraw });\n    }\n    /**\n     * Set the colors for the legend item.\n     *\n     * @private\n     * @function Highcharts.Legend#colorizeItem\n     * @param {Highcharts.BubbleLegendItem|Highcharts.Point|Highcharts.Series} item\n     *        A Series or Point instance\n     * @param {boolean} [visible=false]\n     *        Dimmed or colored\n     *\n     * @todo\n     * Make events official: Fires the event `afterColorizeItem`.\n     */\n    colorizeItem(item, visible) {\n        const originalColor = item.color, { area, group, label, line, symbol } = item.legendItem || {};\n        if (item instanceof Series_Series || item instanceof Series_Point) {\n            item.color = item.options?.legendSymbolColor || originalColor;\n        }\n        group?.[visible ? 'removeClass' : 'addClass']('highcharts-legend-item-hidden');\n        if (!this.chart.styledMode) {\n            const { itemHiddenStyle = {} } = this, hiddenColor = itemHiddenStyle.color, { fillColor, fillOpacity, lineColor, marker } = item.options, colorizeHidden = (attr) => {\n                if (!visible) {\n                    if (attr.fill) {\n                        attr.fill = hiddenColor;\n                    }\n                    if (attr.stroke) {\n                        attr.stroke = hiddenColor;\n                    }\n                }\n                return attr;\n            };\n            label?.css(Legend_merge(visible ? this.itemStyle : itemHiddenStyle));\n            line?.attr(colorizeHidden({ stroke: lineColor || item.color }));\n            if (symbol) {\n                // Apply marker options\n                symbol.attr(colorizeHidden(marker && symbol.isMarker ? // #585\n                    item.pointAttribs() :\n                    { fill: item.color }));\n            }\n            area?.attr(colorizeHidden({\n                fill: fillColor || item.color,\n                'fill-opacity': fillColor ? 1 : (fillOpacity ?? 0.75)\n            }));\n        }\n        item.color = originalColor;\n        Legend_fireEvent(this, 'afterColorizeItem', { item, visible });\n    }\n    /**\n     * @private\n     * @function Highcharts.Legend#positionItems\n     */\n    positionItems() {\n        // Now that the legend width and height are established, put the items\n        // in the final position\n        this.allItems.forEach(this.positionItem, this);\n        if (!this.chart.isResizing) {\n            this.positionCheckboxes();\n        }\n    }\n    /**\n     * Position the legend item.\n     *\n     * @private\n     * @function Highcharts.Legend#positionItem\n     * @param {Highcharts.BubbleLegendItem|Highcharts.Point|Highcharts.Series} item\n     * The item to position\n     */\n    positionItem(item) {\n        const legend = this, { group, x = 0, y = 0 } = item.legendItem || {}, options = legend.options, symbolPadding = options.symbolPadding, ltr = !options.rtl, checkbox = item.checkbox;\n        if (group && group.element) {\n            const attribs = {\n                translateX: ltr ?\n                    x :\n                    legend.legendWidth - x - 2 * symbolPadding - 4,\n                translateY: y\n            };\n            const complete = () => {\n                Legend_fireEvent(this, 'afterPositionItem', { item });\n            };\n            group[Legend_defined(group.translateY) ? 'animate' : 'attr'](attribs, void 0, complete);\n        }\n        if (checkbox) {\n            checkbox.x = x;\n            checkbox.y = y;\n        }\n    }\n    /**\n     * Destroy a single legend item, used internally on removing series items.\n     *\n     * @private\n     * @function Highcharts.Legend#destroyItem\n     * @param {Highcharts.BubbleLegendItem|Highcharts.Point|Highcharts.Series} item\n     * The item to remove\n     */\n    destroyItem(item) {\n        const checkbox = item.checkbox, legendItem = item.legendItem || {};\n        // Destroy SVG elements\n        for (const key of ['group', 'label', 'line', 'symbol']) {\n            if (legendItem[key]) {\n                legendItem[key] = legendItem[key].destroy();\n            }\n        }\n        if (checkbox) {\n            Legend_discardElement(checkbox);\n        }\n        item.legendItem = void 0;\n    }\n    /**\n     * Destroy the legend. Used internally. To reflow objects, `chart.redraw`\n     * must be called after destruction.\n     *\n     * @private\n     * @function Highcharts.Legend#destroy\n     */\n    destroy() {\n        const legend = this;\n        // Destroy items\n        for (const item of this.getAllItems()) {\n            this.destroyItem(item);\n        }\n        // Destroy legend elements\n        for (const key of [\n            'clipRect',\n            'up',\n            'down',\n            'pager',\n            'nav',\n            'box',\n            'title',\n            'group'\n        ]) {\n            if (legend[key]) {\n                legend[key] = legend[key].destroy();\n            }\n        }\n        this.display = null; // Reset in .render on update.\n    }\n    /**\n     * Position the checkboxes after the width is determined.\n     *\n     * @private\n     * @function Highcharts.Legend#positionCheckboxes\n     */\n    positionCheckboxes() {\n        const alignAttr = this.group && this.group.alignAttr, clipHeight = this.clipHeight || this.legendHeight, titleHeight = this.titleHeight;\n        let translateY;\n        if (alignAttr) {\n            translateY = alignAttr.translateY;\n            this.allItems.forEach(function (item) {\n                const checkbox = item.checkbox;\n                let top;\n                if (checkbox) {\n                    top = translateY + titleHeight + checkbox.y +\n                        (this.scrollOffset || 0) + 3;\n                    Legend_css(checkbox, {\n                        left: (alignAttr.translateX + item.checkboxOffset +\n                            checkbox.x - 20) + 'px',\n                        top: top + 'px',\n                        display: this.proximate || (top > translateY - 6 &&\n                            top < translateY + clipHeight - 6) ?\n                            '' :\n                            'none'\n                    });\n                }\n            }, this);\n        }\n    }\n    /**\n     * Render the legend title on top of the legend.\n     *\n     * @private\n     * @function Highcharts.Legend#renderTitle\n     */\n    renderTitle() {\n        const options = this.options, padding = this.padding, titleOptions = options.title;\n        let bBox, titleHeight = 0;\n        if (titleOptions.text) {\n            if (!this.title) {\n                /**\n                 * SVG element of the legend title.\n                 *\n                 * @readonly\n                 * @name Highcharts.Legend#title\n                 * @type {Highcharts.SVGElement}\n                 */\n                this.title = this.chart.renderer.label(titleOptions.text, padding - 3, padding - 4, void 0, void 0, void 0, options.useHTML, void 0, 'legend-title')\n                    .attr({ zIndex: 1 });\n                if (!this.chart.styledMode) {\n                    this.title.css(titleOptions.style);\n                }\n                this.title.add(this.group);\n            }\n            // Set the max title width (#7253)\n            if (!titleOptions.width) {\n                this.title.css({\n                    width: this.maxLegendWidth + 'px'\n                });\n            }\n            bBox = this.title.getBBox();\n            titleHeight = bBox.height;\n            this.offsetWidth = bBox.width; // #1717\n            this.contentGroup.attr({ translateY: titleHeight });\n        }\n        this.titleHeight = titleHeight;\n    }\n    /**\n     * Set the legend item text.\n     *\n     * @function Highcharts.Legend#setText\n     * @param {Highcharts.Point|Highcharts.Series} item\n     *        The item for which to update the text in the legend.\n     */\n    setText(item) {\n        const options = this.options;\n        item.legendItem.label.attr({\n            text: options.labelFormat ?\n                Legend_format(options.labelFormat, item, this.chart) :\n                options.labelFormatter.call(item)\n        });\n    }\n    /**\n     * Render a single specific legend item. Called internally from the `render`\n     * function.\n     *\n     * @private\n     * @function Highcharts.Legend#renderItem\n     * @param {Highcharts.BubbleLegendItem|Highcharts.Point|Highcharts.Series} item\n     * The item to render.\n     */\n    renderItem(item) {\n        const legend = this, legendItem = item.legendItem = item.legendItem || {}, chart = legend.chart, renderer = chart.renderer, options = legend.options, horizontal = options.layout === 'horizontal', symbolWidth = legend.symbolWidth, symbolPadding = options.symbolPadding || 0, itemStyle = legend.itemStyle, itemHiddenStyle = legend.itemHiddenStyle, itemDistance = horizontal ? Legend_pick(options.itemDistance, 20) : 0, ltr = !options.rtl, isSeries = !item.series, series = !isSeries && item.series.drawLegendSymbol ?\n            item.series :\n            item, seriesOptions = series.options, showCheckbox = (!!legend.createCheckboxForItem &&\n            seriesOptions &&\n            seriesOptions.showCheckbox), useHTML = options.useHTML, itemClassName = item.options.className;\n        let label = legendItem.label, \n        // Full width minus text width\n        itemExtraWidth = symbolWidth + symbolPadding +\n            itemDistance + (showCheckbox ? 20 : 0);\n        if (!label) { // Generate it once, later move it\n            // Generate the group box, a group to hold the symbol and text. Text\n            // is to be appended in Legend class.\n            legendItem.group = renderer\n                .g('legend-item')\n                .addClass('highcharts-' + series.type + '-series ' +\n                'highcharts-color-' + item.colorIndex +\n                (itemClassName ? ' ' + itemClassName : '') +\n                (isSeries ?\n                    ' highcharts-series-' + item.index :\n                    ''))\n                .attr({ zIndex: 1 })\n                .add(legend.scrollGroup);\n            // Generate the list item text and add it to the group\n            legendItem.label = label = renderer.text('', ltr ?\n                symbolWidth + symbolPadding :\n                -symbolPadding, legend.baseline || 0, useHTML);\n            if (!chart.styledMode) {\n                // Merge to prevent modifying original (#1021)\n                label.css(Legend_merge(item.visible ?\n                    itemStyle :\n                    itemHiddenStyle));\n            }\n            label\n                .attr({\n                align: ltr ? 'left' : 'right',\n                zIndex: 2\n            })\n                .add(legendItem.group);\n            // Get the baseline for the first item - the font size is equal for\n            // all\n            if (!legend.baseline) {\n                legend.fontMetrics = renderer.fontMetrics(label);\n                legend.baseline =\n                    legend.fontMetrics.f + 3 + legend.itemMarginTop;\n                label.attr('y', legend.baseline);\n                legend.symbolHeight =\n                    Legend_pick(options.symbolHeight, legend.fontMetrics.f);\n                if (options.squareSymbol) {\n                    legend.symbolWidth = Legend_pick(options.symbolWidth, Math.max(legend.symbolHeight, 16));\n                    itemExtraWidth = legend.symbolWidth + symbolPadding +\n                        itemDistance + (showCheckbox ? 20 : 0);\n                    if (ltr) {\n                        label.attr('x', legend.symbolWidth + symbolPadding);\n                    }\n                }\n            }\n            // Draw the legend symbol inside the group box\n            series.drawLegendSymbol(legend, item);\n            if (legend.setItemEvents) {\n                legend.setItemEvents(item, label, useHTML);\n            }\n        }\n        // Add the HTML checkbox on top\n        if (showCheckbox && !item.checkbox && legend.createCheckboxForItem) {\n            legend.createCheckboxForItem(item);\n        }\n        // Colorize the items\n        legend.colorizeItem(item, item.visible);\n        // Take care of max width and text overflow (#6659)\n        if (chart.styledMode || !itemStyle.width) {\n            label.css({\n                width: ((options.itemWidth ||\n                    legend.widthOption ||\n                    chart.spacingBox.width) - itemExtraWidth) + 'px'\n            });\n        }\n        // Always update the text\n        legend.setText(item);\n        // Calculate the positions for the next line\n        const bBox = label.getBBox();\n        const fontMetricsH = (legend.fontMetrics && legend.fontMetrics.h) || 0;\n        item.itemWidth = item.checkboxOffset =\n            options.itemWidth ||\n                legendItem.labelWidth ||\n                bBox.width + itemExtraWidth;\n        legend.maxItemWidth = Math.max(legend.maxItemWidth, item.itemWidth);\n        legend.totalItemWidth += item.itemWidth;\n        legend.itemHeight = item.itemHeight = Math.round(legendItem.labelHeight ||\n            // Use bBox for multiline (#16398)\n            (bBox.height > fontMetricsH * 1.5 ? bBox.height : fontMetricsH));\n    }\n    /**\n     * Get the position of the item in the layout. We now know the\n     * maxItemWidth from the previous loop.\n     *\n     * @private\n     * @function Highcharts.Legend#layoutItem\n     * @param {Highcharts.BubbleLegendItem|Highcharts.Point|Highcharts.Series} item\n     */\n    layoutItem(item) {\n        const options = this.options, padding = this.padding, horizontal = options.layout === 'horizontal', itemHeight = item.itemHeight, itemMarginBottom = this.itemMarginBottom, itemMarginTop = this.itemMarginTop, itemDistance = horizontal ? Legend_pick(options.itemDistance, 20) : 0, maxLegendWidth = this.maxLegendWidth, itemWidth = (options.alignColumns &&\n            this.totalItemWidth > maxLegendWidth) ?\n            this.maxItemWidth :\n            item.itemWidth, legendItem = item.legendItem || {};\n        // If the item exceeds the width, start a new line\n        if (horizontal &&\n            this.itemX - padding + itemWidth > maxLegendWidth) {\n            this.itemX = padding;\n            if (this.lastLineHeight) { // Not for the first line (#10167)\n                this.itemY += (itemMarginTop +\n                    this.lastLineHeight +\n                    itemMarginBottom);\n            }\n            this.lastLineHeight = 0; // Reset for next line (#915, #3976)\n        }\n        // Set the edge positions\n        this.lastItemY = itemMarginTop + this.itemY + itemMarginBottom;\n        this.lastLineHeight = Math.max(// #915\n        itemHeight, this.lastLineHeight);\n        // Cache the position of the newly generated or reordered items\n        legendItem.x = this.itemX;\n        legendItem.y = this.itemY;\n        // Advance\n        if (horizontal) {\n            this.itemX += itemWidth;\n        }\n        else {\n            this.itemY +=\n                itemMarginTop + itemHeight + itemMarginBottom;\n            this.lastLineHeight = itemHeight;\n        }\n        // The width of the widest item\n        this.offsetWidth = this.widthOption || Math.max((horizontal ? this.itemX - padding - (item.checkbox ?\n            // Decrease by itemDistance only when no checkbox #4853\n            0 :\n            itemDistance) : itemWidth) + padding, this.offsetWidth);\n    }\n    /**\n     * Get all items, which is one item per series for most series and one\n     * item per point for pie series and its derivatives. Fires the event\n     * `afterGetAllItems`.\n     *\n     * @private\n     * @function Highcharts.Legend#getAllItems\n     * @return {Array<(Highcharts.BubbleLegendItem|Highcharts.Point|Highcharts.Series)>}\n     * The current items in the legend.\n     * @emits Highcharts.Legend#event:afterGetAllItems\n     */\n    getAllItems() {\n        let allItems = [];\n        this.chart.series.forEach(function (series) {\n            const seriesOptions = series && series.options;\n            // Handle showInLegend. If the series is linked to another series,\n            // defaults to false.\n            if (series && Legend_pick(seriesOptions.showInLegend, !Legend_defined(seriesOptions.linkedTo) ? void 0 : false, true)) {\n                // Use points or series for the legend item depending on\n                // legendType\n                allItems = allItems.concat((series.legendItem || {}).labels ||\n                    (seriesOptions.legendType === 'point' ?\n                        series.data :\n                        series));\n            }\n        });\n        Legend_fireEvent(this, 'afterGetAllItems', { allItems });\n        return allItems;\n    }\n    /**\n     * Get a short, three letter string reflecting the alignment and layout.\n     *\n     * @private\n     * @function Highcharts.Legend#getAlignment\n     * @return {string}\n     * The alignment, empty string if floating\n     */\n    getAlignment() {\n        const options = this.options;\n        // Use the first letter of each alignment option in order to detect\n        // the side. (#4189 - use charAt(x) notation instead of [x] for IE7)\n        if (this.proximate) {\n            return options.align.charAt(0) + 'tv';\n        }\n        return options.floating ? '' : (options.align.charAt(0) +\n            options.verticalAlign.charAt(0) +\n            options.layout.charAt(0));\n    }\n    /**\n     * Adjust the chart margins by reserving space for the legend on only one\n     * side of the chart. If the position is set to a corner, top or bottom is\n     * reserved for horizontal legends and left or right for vertical ones.\n     *\n     * @private\n     * @function Highcharts.Legend#adjustMargins\n     * @param {Array<number>} margin\n     * @param {Array<number>} spacing\n     */\n    adjustMargins(margin, spacing) {\n        const chart = this.chart, options = this.options, alignment = this.getAlignment();\n        if (alignment) {\n            ([\n                /(lth|ct|rth)/,\n                /(rtv|rm|rbv)/,\n                /(rbh|cb|lbh)/,\n                /(lbv|lm|ltv)/\n            ]).forEach(function (alignments, side) {\n                if (alignments.test(alignment) && !Legend_defined(margin[side])) {\n                    // Now we have detected on which side of the chart we should\n                    // reserve space for the legend\n                    chart[marginNames[side]] = Math.max(chart[marginNames[side]], (chart.legend[(side + 1) % 2 ? 'legendHeight' : 'legendWidth'] +\n                        [1, -1, -1, 1][side] * options[(side % 2) ? 'x' : 'y'] +\n                        Legend_pick(options.margin, 12) +\n                        spacing[side] +\n                        (chart.titleOffset[side] || 0)));\n                }\n            });\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Legend#proximatePositions\n     */\n    proximatePositions() {\n        const chart = this.chart, boxes = [], alignLeft = this.options.align === 'left';\n        this.allItems.forEach(function (item) {\n            let lastPoint, height, useFirstPoint = alignLeft, target, top;\n            if (item.yAxis) {\n                if (item.xAxis.options.reversed) {\n                    useFirstPoint = !useFirstPoint;\n                }\n                if (item.points) {\n                    lastPoint = Legend_find(useFirstPoint ?\n                        item.points :\n                        item.points.slice(0).reverse(), function (item) {\n                        return Legend_isNumber(item.plotY);\n                    });\n                }\n                height = this.itemMarginTop +\n                    item.legendItem.label.getBBox().height +\n                    this.itemMarginBottom;\n                top = item.yAxis.top - chart.plotTop;\n                if (item.visible) {\n                    target = lastPoint ?\n                        lastPoint.plotY :\n                        item.yAxis.height;\n                    target += top - 0.3 * height;\n                }\n                else {\n                    target = top + item.yAxis.height;\n                }\n                boxes.push({\n                    target: target,\n                    size: height,\n                    item\n                });\n            }\n        }, this);\n        let legendItem;\n        for (const box of Legend_distribute(boxes, chart.plotHeight)) {\n            legendItem = box.item.legendItem || {};\n            if (Legend_isNumber(box.pos)) {\n                legendItem.y = chart.plotTop - chart.spacing[0] + box.pos;\n            }\n        }\n    }\n    /**\n     * Render the legend. This method can be called both before and after\n     * `chart.render`. If called after, it will only rearrange items instead\n     * of creating new ones. Called internally on initial render and after\n     * redraws.\n     *\n     * @private\n     * @function Highcharts.Legend#render\n     */\n    render() {\n        const legend = this, chart = legend.chart, renderer = chart.renderer, options = legend.options, padding = legend.padding, \n        // Add each series or point\n        allItems = legend.getAllItems();\n        let display, legendWidth, legendHeight, legendGroup = legend.group, allowedWidth, box = legend.box;\n        legend.itemX = padding;\n        legend.itemY = legend.initialItemY;\n        legend.offsetWidth = 0;\n        legend.lastItemY = 0;\n        legend.widthOption = Legend_relativeLength(options.width, chart.spacingBox.width - padding);\n        // Compute how wide the legend is allowed to be\n        allowedWidth = chart.spacingBox.width - 2 * padding - options.x;\n        if (['rm', 'lm'].indexOf(legend.getAlignment().substring(0, 2)) > -1) {\n            allowedWidth /= 2;\n        }\n        legend.maxLegendWidth = legend.widthOption || allowedWidth;\n        if (!legendGroup) {\n            /**\n             * SVG group of the legend.\n             *\n             * @readonly\n             * @name Highcharts.Legend#group\n             * @type {Highcharts.SVGElement}\n             */\n            legend.group = legendGroup = renderer\n                .g('legend')\n                .addClass(options.className || '')\n                .attr({ zIndex: 7 })\n                .add();\n            legend.contentGroup = renderer\n                .g()\n                .attr({ zIndex: 1 }) // Above background\n                .add(legendGroup);\n            legend.scrollGroup = renderer\n                .g()\n                .add(legend.contentGroup);\n        }\n        legend.renderTitle();\n        // Sort by legendIndex\n        Legend_stableSort(allItems, (a, b) => ((a.options && a.options.legendIndex) || 0) -\n            ((b.options && b.options.legendIndex) || 0));\n        // Reversed legend\n        if (options.reversed) {\n            allItems.reverse();\n        }\n        /**\n         * All items for the legend, which is an array of series for most series\n         * and an array of points for pie series and its derivatives.\n         *\n         * @readonly\n         * @name Highcharts.Legend#allItems\n         * @type {Array<(Highcharts.Point|Highcharts.Series)>}\n         */\n        legend.allItems = allItems;\n        legend.display = display = !!allItems.length;\n        // Render the items. First we run a loop to set the text and properties\n        // and read all the bounding boxes. The next loop computes the item\n        // positions based on the bounding boxes.\n        legend.lastLineHeight = 0;\n        legend.maxItemWidth = 0;\n        legend.totalItemWidth = 0;\n        legend.itemHeight = 0;\n        allItems.forEach(legend.renderItem, legend);\n        allItems.forEach(legend.layoutItem, legend);\n        // Get the box\n        legendWidth = (legend.widthOption || legend.offsetWidth) + padding;\n        legendHeight = legend.lastItemY + legend.lastLineHeight +\n            legend.titleHeight;\n        legendHeight = legend.handleOverflow(legendHeight);\n        legendHeight += padding;\n        // Draw the border and/or background\n        if (!box) {\n            /**\n             * SVG element of the legend box.\n             *\n             * @readonly\n             * @name Highcharts.Legend#box\n             * @type {Highcharts.SVGElement}\n             */\n            legend.box = box = renderer.rect()\n                .addClass('highcharts-legend-box')\n                .attr({\n                r: options.borderRadius\n            })\n                .add(legendGroup);\n        }\n        // Presentational\n        if (!chart.styledMode) {\n            box\n                .attr({\n                stroke: options.borderColor,\n                'stroke-width': options.borderWidth || 0,\n                fill: options.backgroundColor || 'none'\n            })\n                .shadow(options.shadow);\n        }\n        if (legendWidth > 0 && legendHeight > 0) {\n            box[box.placed ? 'animate' : 'attr'](box.crisp.call({}, {\n                x: 0,\n                y: 0,\n                width: legendWidth,\n                height: legendHeight\n            }, box.strokeWidth()));\n        }\n        // Hide the border if no items\n        legendGroup[display ? 'show' : 'hide']();\n        // Open for responsiveness\n        if (chart.styledMode && legendGroup.getStyle('display') === 'none') {\n            legendWidth = legendHeight = 0;\n        }\n        legend.legendWidth = legendWidth;\n        legend.legendHeight = legendHeight;\n        if (display) {\n            legend.align();\n        }\n        if (!this.proximate) {\n            this.positionItems();\n        }\n        Legend_fireEvent(this, 'afterRender');\n    }\n    /**\n     * Align the legend to chart's box.\n     *\n     * @private\n     * @function Highcharts.align\n     * @param {Highcharts.BBoxObject} alignTo\n     */\n    align(alignTo = this.chart.spacingBox) {\n        const chart = this.chart, options = this.options;\n        // If aligning to the top and the layout is horizontal, adjust for\n        // the title (#7428)\n        let y = alignTo.y;\n        if (/(lth|ct|rth)/.test(this.getAlignment()) &&\n            chart.titleOffset[0] > 0) {\n            y += chart.titleOffset[0];\n        }\n        else if (/(lbh|cb|rbh)/.test(this.getAlignment()) &&\n            chart.titleOffset[2] > 0) {\n            y -= chart.titleOffset[2];\n        }\n        if (y !== alignTo.y) {\n            alignTo = Legend_merge(alignTo, { y });\n        }\n        if (!chart.hasRendered) {\n            // Avoid animation when adjusting alignment for responsiveness and\n            // colorAxis label layout\n            this.group.placed = false;\n        }\n        this.group.align(Legend_merge(options, {\n            width: this.legendWidth,\n            height: this.legendHeight,\n            verticalAlign: this.proximate ? 'top' : options.verticalAlign\n        }), true, alignTo);\n    }\n    /**\n     * Set up the overflow handling by adding navigation with up and down arrows\n     * below the legend.\n     *\n     * @private\n     * @function Highcharts.Legend#handleOverflow\n     */\n    handleOverflow(legendHeight) {\n        const legend = this, chart = this.chart, renderer = chart.renderer, options = this.options, optionsY = options.y, alignTop = options.verticalAlign === 'top', padding = this.padding, maxHeight = options.maxHeight, navOptions = options.navigation, animation = Legend_pick(navOptions.animation, true), arrowSize = navOptions.arrowSize || 12, pages = this.pages, allItems = this.allItems, clipToHeight = function (height) {\n            if (typeof height === 'number') {\n                clipRect.attr({\n                    height: height\n                });\n            }\n            else if (clipRect) { // Reset (#5912)\n                legend.clipRect = clipRect.destroy();\n                legend.contentGroup.clip();\n            }\n            // Use HTML\n            if (legend.contentGroup.div) {\n                legend.contentGroup.div.style.clip = height ?\n                    'rect(' + padding + 'px,9999px,' +\n                        (padding + height) + 'px,0)' :\n                    'auto';\n            }\n        }, addTracker = function (key) {\n            legend[key] = renderer\n                .circle(0, 0, arrowSize * 1.3)\n                .translate(arrowSize / 2, arrowSize / 2)\n                .add(nav);\n            if (!chart.styledMode) {\n                legend[key].attr('fill', 'rgba(0,0,0,0.0001)');\n            }\n            return legend[key];\n        };\n        let clipHeight, lastY, legendItem, spaceHeight = (chart.spacingBox.height +\n            (alignTop ? -optionsY : optionsY) - padding), nav = this.nav, clipRect = this.clipRect;\n        // Adjust the height\n        if (options.layout === 'horizontal' &&\n            options.verticalAlign !== 'middle' &&\n            !options.floating) {\n            spaceHeight /= 2;\n        }\n        if (maxHeight) {\n            spaceHeight = Math.min(spaceHeight, maxHeight);\n        }\n        // Reset the legend height and adjust the clipping rectangle\n        pages.length = 0;\n        if (legendHeight &&\n            spaceHeight > 0 &&\n            legendHeight > spaceHeight &&\n            navOptions.enabled !== false) {\n            this.clipHeight = clipHeight =\n                Math.max(spaceHeight - 20 - this.titleHeight - padding, 0);\n            this.currentPage = Legend_pick(this.currentPage, 1);\n            this.fullHeight = legendHeight;\n            // Fill pages with Y positions so that the top of each a legend item\n            // defines the scroll top for each page (#2098)\n            allItems.forEach((item, i) => {\n                legendItem = item.legendItem || {};\n                const y = legendItem.y || 0, h = Math.round(legendItem.label.getBBox().height);\n                let len = pages.length;\n                if (!len || (y - pages[len - 1] > clipHeight &&\n                    (lastY || y) !== pages[len - 1])) {\n                    pages.push(lastY || y);\n                    len++;\n                }\n                // Keep track of which page each item is on\n                legendItem.pageIx = len - 1;\n                if (lastY) {\n                    (allItems[i - 1].legendItem || {}).pageIx = len - 1;\n                }\n                // Add the last page if needed (#2617, #13683)\n                if (\n                // Check the last item\n                i === allItems.length - 1 &&\n                    // If adding next page is needed (#18768)\n                    y + h - pages[len - 1] > clipHeight &&\n                    y > pages[len - 1]) {\n                    pages.push(y);\n                    legendItem.pageIx = len;\n                }\n                if (y !== lastY) {\n                    lastY = y;\n                }\n            });\n            // Only apply clipping if needed. Clipping causes blurred legend in\n            // PDF export (#1787)\n            if (!clipRect) {\n                clipRect = legend.clipRect =\n                    renderer.clipRect(0, padding - 2, 9999, 0);\n                legend.contentGroup.clip(clipRect);\n            }\n            clipToHeight(clipHeight);\n            // Add navigation elements\n            if (!nav) {\n                this.nav = nav = renderer.g()\n                    .attr({ zIndex: 1 })\n                    .add(this.group);\n                this.up = renderer\n                    .symbol('triangle', 0, 0, arrowSize, arrowSize)\n                    .add(nav);\n                addTracker('upTracker')\n                    .on('click', function () {\n                    legend.scroll(-1, animation);\n                });\n                this.pager = renderer.text('', 15, 10)\n                    .addClass('highcharts-legend-navigation');\n                if (!chart.styledMode && navOptions.style) {\n                    this.pager.css(navOptions.style);\n                }\n                this.pager.add(nav);\n                this.down = renderer\n                    .symbol('triangle-down', 0, 0, arrowSize, arrowSize)\n                    .add(nav);\n                addTracker('downTracker')\n                    .on('click', function () {\n                    legend.scroll(1, animation);\n                });\n            }\n            // Set initial position\n            legend.scroll(0);\n            legendHeight = spaceHeight;\n            // Reset\n        }\n        else if (nav) {\n            clipToHeight();\n            this.nav = nav.destroy(); // #6322\n            this.scrollGroup.attr({\n                translateY: 1\n            });\n            this.clipHeight = 0; // #1379\n        }\n        return legendHeight;\n    }\n    /**\n     * Scroll the legend by a number of pages.\n     *\n     * @private\n     * @function Highcharts.Legend#scroll\n     *\n     * @param {number} scrollBy\n     *        The number of pages to scroll.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether and how to apply animation.\n     *\n     */\n    scroll(scrollBy, animation) {\n        const chart = this.chart, pages = this.pages, pageCount = pages.length, clipHeight = this.clipHeight, navOptions = this.options.navigation, pager = this.pager, padding = this.padding;\n        let currentPage = this.currentPage + scrollBy;\n        // When resizing while looking at the last page\n        if (currentPage > pageCount) {\n            currentPage = pageCount;\n        }\n        if (currentPage > 0) {\n            if (typeof animation !== 'undefined') {\n                Legend_setAnimation(animation, chart);\n            }\n            this.nav.attr({\n                translateX: padding,\n                translateY: clipHeight + this.padding + 7 + this.titleHeight,\n                visibility: 'inherit'\n            });\n            [this.up, this.upTracker].forEach(function (elem) {\n                elem.attr({\n                    'class': currentPage === 1 ?\n                        'highcharts-legend-nav-inactive' :\n                        'highcharts-legend-nav-active'\n                });\n            });\n            pager.attr({\n                text: currentPage + '/' + pageCount\n            });\n            [this.down, this.downTracker].forEach(function (elem) {\n                elem.attr({\n                    // Adjust to text width\n                    x: 18 + this.pager.getBBox().width,\n                    'class': currentPage === pageCount ?\n                        'highcharts-legend-nav-inactive' :\n                        'highcharts-legend-nav-active'\n                });\n            }, this);\n            if (!chart.styledMode) {\n                this.up\n                    .attr({\n                    fill: currentPage === 1 ?\n                        navOptions.inactiveColor :\n                        navOptions.activeColor\n                });\n                this.upTracker\n                    .css({\n                    cursor: currentPage === 1 ? 'default' : 'pointer'\n                });\n                this.down\n                    .attr({\n                    fill: currentPage === pageCount ?\n                        navOptions.inactiveColor :\n                        navOptions.activeColor\n                });\n                this.downTracker\n                    .css({\n                    cursor: currentPage === pageCount ?\n                        'default' :\n                        'pointer'\n                });\n            }\n            this.scrollOffset = -pages[currentPage - 1] + this.initialItemY;\n            this.scrollGroup.animate({\n                translateY: this.scrollOffset\n            });\n            this.currentPage = currentPage;\n            this.positionCheckboxes();\n            // Fire event after scroll animation is complete\n            const animOptions = Legend_animObject(Legend_pick(animation, chart.renderer.globalAnimation, true));\n            Legend_syncTimeout(() => {\n                Legend_fireEvent(this, 'afterScroll', { currentPage });\n            }, animOptions.duration);\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Legend#setItemEvents\n     * @param {Highcharts.BubbleLegendItem|Point|Highcharts.Series} item\n     * @param {Highcharts.SVGElement} legendLabel\n     * @param {boolean} [useHTML=false]\n     * @emits Highcharts.Legend#event:itemClick\n     */\n    setItemEvents(item, legendLabel, useHTML) {\n        const legend = this, legendItem = item.legendItem || {}, boxWrapper = legend.chart.renderer.boxWrapper, isPoint = item instanceof Series_Point, isSeries = item instanceof Series_Series, activeClass = 'highcharts-legend-' +\n            (isPoint ? 'point' : 'series') + '-active', styledMode = legend.chart.styledMode, \n        // When `useHTML`, the symbol is rendered in other group, so\n        // we need to apply events listeners to both places\n        legendElements = useHTML ?\n            [legendLabel, legendItem.symbol] :\n            [legendItem.group];\n        const setOtherItemsState = (state) => {\n            legend.allItems.forEach((otherItem) => {\n                if (item !== otherItem) {\n                    [otherItem]\n                        .concat(otherItem.linkedSeries || [])\n                        .forEach((otherItem) => {\n                        otherItem.setState(state, !isPoint);\n                    });\n                }\n            });\n        };\n        // Set the events on the item group, or in case of useHTML, the item\n        // itself (#1249)\n        for (const element of legendElements) {\n            if (element) {\n                element\n                    .on('mouseover', function () {\n                    if (item.visible) {\n                        setOtherItemsState('inactive');\n                    }\n                    item.setState('hover');\n                    // A CSS class to dim or hide other than the hovered\n                    // series.\n                    // Works only if hovered series is visible (#10071).\n                    if (item.visible) {\n                        boxWrapper.addClass(activeClass);\n                    }\n                    if (!styledMode) {\n                        legendLabel.css(legend.options.itemHoverStyle);\n                    }\n                })\n                    .on('mouseout', function () {\n                    if (!legend.chart.styledMode) {\n                        legendLabel.css(Legend_merge(item.visible ?\n                            legend.itemStyle :\n                            legend.itemHiddenStyle));\n                    }\n                    setOtherItemsState('');\n                    // A CSS class to dim or hide other than the hovered\n                    // series.\n                    boxWrapper.removeClass(activeClass);\n                    item.setState();\n                })\n                    .on('click', function (event) {\n                    const defaultItemClick = function () {\n                        if (item.setVisible) {\n                            item.setVisible();\n                        }\n                        // Reset inactive state\n                        setOtherItemsState(item.visible ? 'inactive' : '');\n                    };\n                    // A CSS class to dim or hide other than the hovered\n                    // series. Event handling in iOS causes the activeClass\n                    // to be added prior to click in some cases (#7418).\n                    boxWrapper.removeClass(activeClass);\n                    Legend_fireEvent(legend, 'itemClick', {\n                        // Pass over the click/touch event. #4.\n                        browserEvent: event,\n                        legendItem: item\n                    }, defaultItemClick);\n                    // Deprecated logic\n                    // Click the name or symbol\n                    if (isPoint) {\n                        item.firePointEvent('legendItemClick', {\n                            browserEvent: event\n                        });\n                    }\n                    else if (isSeries) {\n                        Legend_fireEvent(item, 'legendItemClick', {\n                            browserEvent: event\n                        });\n                    }\n                });\n            }\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Legend#createCheckboxForItem\n     * @param {Highcharts.BubbleLegendItem|Point|Highcharts.Series} item\n     * @emits Highcharts.Series#event:checkboxClick\n     */\n    createCheckboxForItem(item) {\n        const legend = this;\n        item.checkbox = Legend_createElement('input', {\n            type: 'checkbox',\n            className: 'highcharts-legend-checkbox',\n            checked: item.selected,\n            defaultChecked: item.selected // Required by IE7\n        }, legend.options.itemCheckboxStyle, legend.chart.container);\n        Legend_addEvent(item.checkbox, 'click', function (event) {\n            const target = event.target;\n            Legend_fireEvent(item.series || item, 'checkboxClick', {\n                checked: target.checked,\n                item: item\n            }, function () {\n                item.select();\n            });\n        });\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (Legend) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ChartClass) {\n        if (Legend_pushUnique(Legend_composed, 'Core.Legend')) {\n            Legend_addEvent(ChartClass, 'beforeMargins', function () {\n                /**\n                 * The legend contains an interactive overview over chart items,\n                 * usually individual series or points depending on the series\n                 * type. The color axis and bubble legend are also rendered in\n                 * the chart legend.\n                 *\n                 * @name Highcharts.Chart#legend\n                 * @type {Highcharts.Legend}\n                 */\n                this.legend = new Legend(this, this.options.legend);\n            });\n        }\n    }\n    Legend.compose = compose;\n})(Legend || (Legend = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Legend_Legend = (Legend);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @interface Highcharts.LegendItemObject\n */ /**\n* @name Highcharts.LegendItemObject#item\n* @type {Highcharts.SVGElement|undefined}\n*/ /**\n* @name Highcharts.LegendItemObject#line\n* @type {Highcharts.SVGElement|undefined}\n*/ /**\n* @name Highcharts.LegendItemObject#symbol\n* @type {Highcharts.SVGElement|undefined}\n*/\n/**\n * Gets fired when the legend item is clicked. The default\n * action is to toggle the visibility of the series or point. This can be\n * prevented by returning `false` or calling `event.preventDefault()`.\n *\n * @callback Highcharts.LegendItemClickCallbackFunction\n *\n * @param {Highcharts.Legend} this\n *        The legend on which the event occurred.\n *\n * @param {Highcharts.LegendItemClickEventObject} event\n *        The event that occurred.\n */\n/**\n * Information about the legend click event.\n *\n * @interface Highcharts.LegendItemClickEventObject\n */ /**\n* Related browser event.\n* @name Highcharts.LegendItemClickEventObject#browserEvent\n* @type {Highcharts.PointerEvent}\n*/ /**\n* Prevent the default action of toggle the visibility of the series or point.\n* @name Highcharts.LegendItemClickEventObject#preventDefault\n* @type {Function}\n* */ /**\n* Related legend item, it can be series, point, color axis or data class from\n* color axis.\n* @name Highcharts.LegendItemClickEventObject#legendItem\n* @type {Highcharts.Series|Highcharts.Point|Highcharts.LegendItemObject}\n* */ /**\n* Related legend.\n* @name Highcharts.LegendItemClickEventObject#target\n* @type {Highcharts.Legend}\n*/ /**\n* Event type.\n* @name Highcharts.LegendItemClickEventObject#type\n* @type {\"itemClick\"}\n*/\n/**\n * Gets fired when the legend item belonging to a point is clicked. The default\n * action is to toggle the visibility of the point. This can be prevented by\n * returning `false` or calling `event.preventDefault()`.\n *\n * **Note:** This option is deprecated in favor of\n * Highcharts.LegendItemClickCallbackFunction.\n *\n * @deprecated 11.4.4\n * @callback Highcharts.PointLegendItemClickCallbackFunction\n *\n * @param {Highcharts.Point} this\n *        The point on which the event occurred.\n *\n * @param {Highcharts.PointLegendItemClickEventObject} event\n *        The event that occurred.\n */\n/**\n * Information about the legend click event.\n *\n * **Note:** This option is deprecated in favor of\n * Highcharts.LegendItemClickEventObject.\n *\n * @deprecated 11.4.4\n * @interface Highcharts.PointLegendItemClickEventObject\n */ /**\n* Related browser event.\n* @name Highcharts.PointLegendItemClickEventObject#browserEvent\n* @type {Highcharts.PointerEvent}\n*/ /**\n* Prevent the default action of toggle the visibility of the point.\n* @name Highcharts.PointLegendItemClickEventObject#preventDefault\n* @type {Function}\n*/ /**\n* Related point.\n* @name Highcharts.PointLegendItemClickEventObject#target\n* @type {Highcharts.Point}\n*/ /**\n* Event type.\n* @name Highcharts.PointLegendItemClickEventObject#type\n* @type {\"legendItemClick\"}\n*/\n/**\n * Series color as used by the legend and some series types.\n * @name Highcharts.Series#color\n * @type {Highcharts.ColorType|undefined}\n */ /**\n* Legend data for the series.\n* @name Highcharts.Series#legendItem\n* @type {Highcharts.LegendItemObject|undefined}\n* @since 10.3.0\n*/\n/**\n * Gets fired when the legend item belonging to a series is clicked. The default\n * action is to toggle the visibility of the series. This can be prevented by\n * returning `false` or calling `event.preventDefault()`.\n *\n * **Note:** This option is deprecated in favor of\n * Highcharts.LegendItemClickCallbackFunction.\n *\n * @deprecated 11.4.4\n * @callback Highcharts.SeriesLegendItemClickCallbackFunction\n *\n * @param {Highcharts.Series} this\n *        The series where the event occurred.\n *\n * @param {Highcharts.SeriesLegendItemClickEventObject} event\n *        The event that occurred.\n */\n/**\n * Information about the legend click event.\n *\n * **Note:** This option is deprecated in favor of\n * Highcharts.LegendItemClickEventObject.\n *\n * @deprecated 11.4.4\n * @interface Highcharts.SeriesLegendItemClickEventObject\n */ /**\n* Related browser event.\n* @name Highcharts.SeriesLegendItemClickEventObject#browserEvent\n* @type {Highcharts.PointerEvent}\n*/ /**\n* Prevent the default action of toggle the visibility of the series.\n* @name Highcharts.SeriesLegendItemClickEventObject#preventDefault\n* @type {Function}\n*/ /**\n* Related series.\n* @name Highcharts.SeriesLegendItemClickEventObject#target\n* @type {Highcharts.Series}\n*/ /**\n* Event type.\n* @name Highcharts.SeriesLegendItemClickEventObject#type\n* @type {\"legendItemClick\"}\n*/\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Chart/Chart.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animate: Chart_animate, animObject: Chart_animObject, setAnimation: Chart_setAnimation } = AnimationUtilities;\n\n\nconst { defaultOptions: Chart_defaultOptions } = Defaults;\n\nconst { numberFormat: Chart_numberFormat } = Core_Templating;\n\nconst { registerEventOptions: Chart_registerEventOptions } = Core_Foundation;\n\nconst { charts: Chart_charts, doc: Chart_doc, marginNames: Chart_marginNames, svg: Chart_svg, win: Chart_win } = Core_Globals;\n\n\n\nconst { seriesTypes: Chart_seriesTypes } = Series_SeriesRegistry;\n\n\n\n\n\nconst { addEvent: Chart_addEvent, attr: Chart_attr, createElement: Chart_createElement, css: Chart_css, defined: Chart_defined, diffObjects: Chart_diffObjects, discardElement: Chart_discardElement, erase: Chart_erase, error: Chart_error, extend: Chart_extend, find: Chart_find, fireEvent: Chart_fireEvent, getAlignFactor: Chart_getAlignFactor, getStyle: Chart_getStyle, isArray: Chart_isArray, isNumber: Chart_isNumber, isObject: Chart_isObject, isString: Chart_isString, merge: Chart_merge, objectEach: Chart_objectEach, pick: Chart_pick, pInt: Chart_pInt, relativeLength: Chart_relativeLength, removeEvent: Chart_removeEvent, splat: Chart_splat, syncTimeout: Chart_syncTimeout, uniqueKey: Chart_uniqueKey } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/**\n * The Chart class. The recommended constructor is {@link Highcharts#chart}.\n *\n * @example\n * let chart = Highcharts.chart('container', {\n *        title: {\n *               text: 'My chart'\n *        },\n *        series: [{\n *            data: [1, 3, 2, 4]\n *        }]\n * })\n *\n * @class\n * @name Highcharts.Chart\n *\n * @param {string|Highcharts.HTMLDOMElement} [renderTo]\n *        The DOM element to render to, or its id.\n *\n * @param {Highcharts.Options} options\n *        The chart options structure.\n *\n * @param {Highcharts.ChartCallbackFunction} [callback]\n *        Function to run when the chart has loaded and all external images\n *        are loaded. Defining a\n *        [chart.events.load](https://api.highcharts.com/highcharts/chart.events.load)\n *        handler is equivalent.\n */\nclass Chart {\n    /**\n     * Factory function for basic charts.\n     *\n     * @example\n     * // Render a chart in to div#container\n     * let chart = Highcharts.chart('container', {\n     *     title: {\n     *         text: 'My chart'\n     *     },\n     *     series: [{\n     *         data: [1, 3, 2, 4]\n     *     }]\n     * });\n     *\n     * @function Highcharts.chart\n     *\n     * @param {string|Highcharts.HTMLDOMElement} [renderTo]\n     * The DOM element to render to, or its id.\n     *\n     * @param {Highcharts.Options} options\n     * The chart options structure.\n     *\n     * @param {Highcharts.ChartCallbackFunction} [callback]\n     * Function to run when the chart has loaded and all external images are\n     * loaded. Defining a\n     * [chart.events.load](https://api.highcharts.com/highcharts/chart.events.load)\n     * handler is equivalent.\n     *\n     * @return {Highcharts.Chart}\n     * Returns the Chart object.\n     */\n    static chart(a, b, c) {\n        return new Chart(a, b, c);\n    }\n    // Implementation\n    constructor(a, \n    /* eslint-disable @typescript-eslint/no-unused-vars */\n    b, c\n    /* eslint-enable @typescript-eslint/no-unused-vars */\n    ) {\n        this.sharedClips = {};\n        const args = [\n            // ES5 builds fail unless we cast it to an Array\n            ...arguments\n        ];\n        // Remove the optional first argument, renderTo, and set it on this.\n        if (Chart_isString(a) || a.nodeName) {\n            this.renderTo = args.shift();\n        }\n        this.init(args[0], args[1]);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Function setting zoom options after chart init and after chart update.\n     * Offers support for deprecated options.\n     *\n     * @private\n     * @function Highcharts.Chart#setZoomOptions\n     */\n    setZoomOptions() {\n        const chart = this, options = chart.options.chart, zooming = options.zooming;\n        chart.zooming = {\n            ...zooming,\n            type: Chart_pick(options.zoomType, zooming.type),\n            key: Chart_pick(options.zoomKey, zooming.key),\n            pinchType: Chart_pick(options.pinchType, zooming.pinchType),\n            singleTouch: Chart_pick(options.zoomBySingleTouch, zooming.singleTouch, false),\n            resetButton: Chart_merge(zooming.resetButton, options.resetZoomButton)\n        };\n    }\n    /**\n     * Overridable function that initializes the chart. The constructor's\n     * arguments are passed on directly.\n     *\n     * @function Highcharts.Chart#init\n     *\n     * @param {Highcharts.Options} userOptions\n     *        Custom options.\n     *\n     * @param {Function} [callback]\n     *        Function to run when the chart has loaded and all external\n     *        images are loaded.\n     *\n     *\n     * @emits Highcharts.Chart#event:init\n     * @emits Highcharts.Chart#event:afterInit\n     */\n    init(userOptions, callback) {\n        // Fire the event with a default function\n        Chart_fireEvent(this, 'init', { args: arguments }, function () {\n            const options = Chart_merge(Chart_defaultOptions, userOptions), // Do the merge\n            optionsChart = options.chart, renderTo = this.renderTo || optionsChart.renderTo;\n            /**\n             * The original options given to the constructor or a chart factory\n             * like {@link Highcharts.chart} and {@link Highcharts.stockChart}.\n             * The original options are shallow copied to avoid mutation. The\n             * copy, `chart.userOptions`, may later be mutated to reflect\n             * updated options throughout the lifetime of the chart.\n             *\n             * For collections, like `series`, `xAxis` and `yAxis`, the chart\n             * user options should always be reflected by the item user option,\n             * so for example the following should always be true:\n             *\n             * `chart.xAxis[0].userOptions === chart.userOptions.xAxis[0]`\n             *\n             * @name Highcharts.Chart#userOptions\n             * @type {Highcharts.Options}\n             */\n            this.userOptions = Chart_extend({}, userOptions);\n            if (!(this.renderTo = (Chart_isString(renderTo) ?\n                Chart_doc.getElementById(renderTo) :\n                renderTo))) {\n                // Display an error if the renderTo is wrong\n                Chart_error(13, true, this);\n            }\n            this.margin = [];\n            this.spacing = [];\n            // An array of functions that returns labels that should be\n            // considered for anti-collision\n            this.labelCollectors = [];\n            this.callback = callback;\n            this.isResizing = 0;\n            /**\n             * The options structure for the chart after merging\n             * {@link #defaultOptions} and {@link #userOptions}. It contains\n             * members for the sub elements like series, legend, tooltip etc.\n             *\n             * @name Highcharts.Chart#options\n             * @type {Highcharts.Options}\n             */\n            this.options = options;\n            /**\n             * All the axes in the chart.\n             *\n             * @see  Highcharts.Chart.xAxis\n             * @see  Highcharts.Chart.yAxis\n             *\n             * @name Highcharts.Chart#axes\n             * @type {Array<Highcharts.Axis>}\n             */\n            this.axes = [];\n            /**\n             * All the current series in the chart.\n             *\n             * @name Highcharts.Chart#series\n             * @type {Array<Highcharts.Series>}\n             */\n            this.series = [];\n            this.locale = options.lang.locale ??\n                this.renderTo.closest('[lang]')?.lang;\n            /**\n             * The `Time` object associated with the chart. Since v6.0.5,\n             * time settings can be applied individually for each chart. If\n             * no individual settings apply, the `Time` object is shared by\n             * all instances.\n             *\n             * @name Highcharts.Chart#time\n             * @type {Highcharts.Time}\n             */\n            this.time = new Core_Time(Chart_extend(options.time || {}, {\n                locale: this.locale\n            }));\n            options.time = this.time.options;\n            /**\n             * Callback function to override the default function that formats\n             * all the numbers in the chart. Returns a string with the formatted\n             * number.\n             *\n             * @name Highcharts.Chart#numberFormatter\n             * @type {Highcharts.NumberFormatterCallbackFunction}\n             */\n            this.numberFormatter = (optionsChart.numberFormatter || Chart_numberFormat).bind(this);\n            /**\n             * Whether the chart is in styled mode, meaning all presentational\n             * attributes are avoided.\n             *\n             * @name Highcharts.Chart#styledMode\n             * @type {boolean}\n             */\n            this.styledMode = optionsChart.styledMode;\n            this.hasCartesianSeries = optionsChart.showAxes;\n            const chart = this;\n            /**\n             * Index position of the chart in the {@link Highcharts#charts}\n             * property.\n             *\n             * @name Highcharts.Chart#index\n             * @type {number}\n             * @readonly\n             */\n            chart.index = Chart_charts.length; // Add the chart to the global lookup\n            Chart_charts.push(chart);\n            Core_Globals.chartCount++;\n            // Chart event handlers\n            Chart_registerEventOptions(this, optionsChart);\n            /**\n             * A collection of the X axes in the chart.\n             *\n             * @name Highcharts.Chart#xAxis\n             * @type {Array<Highcharts.Axis>}\n             */\n            chart.xAxis = [];\n            /**\n             * A collection of the Y axes in the chart.\n             *\n             * @name Highcharts.Chart#yAxis\n             * @type {Array<Highcharts.Axis>}\n             *\n             * @todo\n             * Make events official: Fire the event `afterInit`.\n             */\n            chart.yAxis = [];\n            chart.pointCount = chart.colorCounter = chart.symbolCounter = 0;\n            this.setZoomOptions();\n            // Fire after init but before first render, before axes and series\n            // have been initialized.\n            Chart_fireEvent(chart, 'afterInit');\n            chart.firstRender();\n        });\n    }\n    /**\n     * Internal function to unitialize an individual series.\n     *\n     * @private\n     * @function Highcharts.Chart#initSeries\n     */\n    initSeries(options) {\n        const chart = this, optionsChart = chart.options.chart, type = (options.type ||\n            optionsChart.type), SeriesClass = Chart_seriesTypes[type];\n        // No such series type\n        if (!SeriesClass) {\n            Chart_error(17, true, chart, { missingModuleFor: type });\n        }\n        const series = new SeriesClass();\n        if (typeof series.init === 'function') {\n            series.init(chart, options);\n        }\n        return series;\n    }\n    /**\n     * Internal function to set data for all series with enabled sorting.\n     *\n     * @private\n     * @function Highcharts.Chart#setSortedData\n     */\n    setSortedData() {\n        this.getSeriesOrderByLinks().forEach(function (series) {\n            // We need to set data for series with sorting after series init\n            if (!series.points && !series.data && series.enabledDataSorting) {\n                series.setData(series.options.data, false);\n            }\n        });\n    }\n    /**\n     * Sort and return chart series in order depending on the number of linked\n     * series.\n     *\n     * @private\n     * @function Highcharts.Series#getSeriesOrderByLinks\n     */\n    getSeriesOrderByLinks() {\n        return this.series.concat().sort(function (a, b) {\n            if (a.linkedSeries.length || b.linkedSeries.length) {\n                return b.linkedSeries.length - a.linkedSeries.length;\n            }\n            return 0;\n        });\n    }\n    /**\n     * Order all series or axes above a given index. When series or axes are\n     * added and ordered by configuration, only the last series is handled\n     * (#248, #1123, #2456, #6112). This function is called on series and axis\n     * initialization and destroy.\n     *\n     * @private\n     * @function Highcharts.Chart#orderItems\n     * @param {string} coll The collection name\n     * @param {number} [fromIndex=0]\n     * If this is given, only the series above this index are handled.\n     */\n    orderItems(coll, fromIndex = 0) {\n        const collection = this[coll], \n        // Item options should be reflected in chart.options.series,\n        // chart.options.yAxis etc\n        optionsArray = this.options[coll] = Chart_splat(this.options[coll])\n            .slice(), userOptionsArray = this.userOptions[coll] = this.userOptions[coll] ?\n            Chart_splat(this.userOptions[coll]).slice() :\n            [];\n        if (this.hasRendered) {\n            // Remove all above index\n            optionsArray.splice(fromIndex);\n            userOptionsArray.splice(fromIndex);\n        }\n        if (collection) {\n            for (let i = fromIndex, iEnd = collection.length; i < iEnd; ++i) {\n                const item = collection[i];\n                if (item) {\n                    /**\n                     * Contains the series' index in the `Chart.series` array.\n                     *\n                     * @name Highcharts.Series#index\n                     * @type {number}\n                     * @readonly\n                     */\n                    item.index = i;\n                    if (item instanceof Series_Series) {\n                        item.name = item.getName();\n                    }\n                    if (!item.options.isInternal) {\n                        optionsArray[i] = item.options;\n                        userOptionsArray[i] = item.userOptions;\n                    }\n                }\n            }\n        }\n    }\n    /**\n     * Check whether a given point is within the plot area.\n     *\n     * @function Highcharts.Chart#isInsidePlot\n     *\n     * @param {number} plotX\n     * Pixel x relative to the plot area.\n     *\n     * @param {number} plotY\n     * Pixel y relative to the plot area.\n     *\n     * @param {Highcharts.ChartIsInsideOptionsObject} [options]\n     * Options object.\n     *\n     * @return {boolean}\n     * Returns true if the given point is inside the plot area.\n     */\n    isInsidePlot(plotX, plotY, options = {}) {\n        const { inverted, plotBox, plotLeft, plotTop, scrollablePlotBox } = this, { scrollLeft = 0, scrollTop = 0 } = (options.visiblePlotOnly &&\n            this.scrollablePlotArea?.scrollingContainer) || {}, series = options.series, box = (options.visiblePlotOnly && scrollablePlotBox) || plotBox, x = options.inverted ? plotY : plotX, y = options.inverted ? plotX : plotY, e = {\n            x,\n            y,\n            isInsidePlot: true,\n            options\n        };\n        if (!options.ignoreX) {\n            const xAxis = (series &&\n                (inverted && !this.polar ? series.yAxis : series.xAxis)) || {\n                pos: plotLeft,\n                len: Infinity\n            };\n            const chartX = options.paneCoordinates ?\n                xAxis.pos + x : plotLeft + x;\n            if (!(chartX >= Math.max(scrollLeft + plotLeft, xAxis.pos) &&\n                chartX <= Math.min(scrollLeft + plotLeft + box.width, xAxis.pos + xAxis.len))) {\n                e.isInsidePlot = false;\n            }\n        }\n        if (!options.ignoreY && e.isInsidePlot) {\n            const yAxis = (!inverted && options.axis &&\n                !options.axis.isXAxis && options.axis) || (series && (inverted ? series.xAxis : series.yAxis)) || {\n                pos: plotTop,\n                len: Infinity\n            };\n            const chartY = options.paneCoordinates ?\n                yAxis.pos + y : plotTop + y;\n            if (!(chartY >= Math.max(scrollTop + plotTop, yAxis.pos) &&\n                chartY <= Math.min(scrollTop + plotTop + box.height, yAxis.pos + yAxis.len))) {\n                e.isInsidePlot = false;\n            }\n        }\n        Chart_fireEvent(this, 'afterIsInsidePlot', e);\n        return e.isInsidePlot;\n    }\n    /**\n     * Redraw the chart after changes have been done to the data, axis extremes\n     * chart size or chart elements. All methods for updating axes, series or\n     * points have a parameter for redrawing the chart. This is `true` by\n     * default. But in many cases you want to do more than one operation on the\n     * chart before redrawing, for example add a number of points. In those\n     * cases it is a waste of resources to redraw the chart for each new point\n     * added. So you add the points and call `chart.redraw()` after.\n     *\n     * @function Highcharts.Chart#redraw\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     * If or how to apply animation to the redraw. When `undefined`, it applies\n     * the animation that is set in the `chart.animation` option.\n     *\n     * @emits Highcharts.Chart#event:afterSetExtremes\n     * @emits Highcharts.Chart#event:beforeRedraw\n     * @emits Highcharts.Chart#event:predraw\n     * @emits Highcharts.Chart#event:redraw\n     * @emits Highcharts.Chart#event:render\n     * @emits Highcharts.Chart#event:updatedData\n     */\n    redraw(animation) {\n        Chart_fireEvent(this, 'beforeRedraw');\n        const chart = this, axes = chart.hasCartesianSeries ? chart.axes : chart.colorAxis || [], series = chart.series, pointer = chart.pointer, legend = chart.legend, legendUserOptions = chart.userOptions.legend, renderer = chart.renderer, isHiddenChart = renderer.isHidden(), afterRedraw = [];\n        let hasDirtyStacks, hasStackedSeries, i, isDirtyBox = chart.isDirtyBox, redrawLegend = chart.isDirtyLegend, serie;\n        renderer.rootFontSize = renderer.boxWrapper.getStyle('font-size');\n        // Handle responsive rules, not only on resize (#6130)\n        if (chart.setResponsive) {\n            chart.setResponsive(false);\n        }\n        // Set the global animation. When chart.hasRendered is not true, the\n        // redraw call comes from a responsive rule and animation should not\n        // occur.\n        Chart_setAnimation(chart.hasRendered ? animation : false, chart);\n        if (isHiddenChart) {\n            chart.temporaryDisplay();\n        }\n        // Adjust title layout (reflow multiline text)\n        chart.layOutTitles(false);\n        // Link stacked series\n        i = series.length;\n        while (i--) {\n            serie = series[i];\n            if (serie.options.stacking || serie.options.centerInCategory) {\n                hasStackedSeries = true;\n                if (serie.isDirty) {\n                    hasDirtyStacks = true;\n                    break;\n                }\n            }\n        }\n        if (hasDirtyStacks) { // Mark others as dirty\n            i = series.length;\n            while (i--) {\n                serie = series[i];\n                if (serie.options.stacking) {\n                    serie.isDirty = true;\n                }\n            }\n        }\n        // Handle updated data in the series\n        series.forEach(function (serie) {\n            if (serie.isDirty) {\n                if (serie.options.legendType === 'point') {\n                    if (typeof serie.updateTotals === 'function') {\n                        serie.updateTotals();\n                    }\n                    redrawLegend = true;\n                }\n                else if (legendUserOptions &&\n                    (!!legendUserOptions.labelFormatter ||\n                        legendUserOptions.labelFormat)) {\n                    redrawLegend = true; // #2165\n                }\n            }\n            if (serie.isDirtyData) {\n                Chart_fireEvent(serie, 'updatedData');\n            }\n        });\n        // Handle added or removed series\n        if (redrawLegend && legend && legend.options.enabled) {\n            // Draw legend graphics\n            legend.render();\n            chart.isDirtyLegend = false;\n        }\n        // Reset stacks\n        if (hasStackedSeries) {\n            chart.getStacks();\n        }\n        // Set axes scales\n        axes.forEach(function (axis) {\n            axis.updateNames();\n            axis.setScale();\n        });\n        chart.getMargins(); // #3098\n        // If one axis is dirty, all axes must be redrawn (#792, #2169)\n        axes.forEach(function (axis) {\n            if (axis.isDirty) {\n                isDirtyBox = true;\n            }\n        });\n        // Redraw axes\n        axes.forEach(function (axis) {\n            // Fire 'afterSetExtremes' only if extremes are set\n            const key = axis.min + ',' + axis.max;\n            if (axis.extKey !== key) { // #821, #4452\n                axis.extKey = key;\n                // Prevent a recursive call to chart.redraw() (#1119)\n                afterRedraw.push(function () {\n                    Chart_fireEvent(axis, 'afterSetExtremes', Chart_extend(axis.eventArgs, axis.getExtremes())); // #747, #751\n                    delete axis.eventArgs;\n                });\n            }\n            if (isDirtyBox || hasStackedSeries) {\n                axis.redraw();\n            }\n        });\n        // The plot areas size has changed\n        if (isDirtyBox) {\n            chart.drawChartBox();\n        }\n        // Fire an event before redrawing series, used by the boost module to\n        // clear previous series renderings.\n        Chart_fireEvent(chart, 'predraw');\n        // Redraw affected series\n        series.forEach(function (serie) {\n            if ((isDirtyBox || serie.isDirty) && serie.visible) {\n                serie.redraw();\n            }\n            // Set it here, otherwise we will have unlimited 'updatedData' calls\n            // for a hidden series after setData(). Fixes #6012\n            serie.isDirtyData = false;\n        });\n        // Move tooltip or reset\n        if (pointer) {\n            pointer.reset(true);\n        }\n        // Redraw if canvas\n        renderer.draw();\n        // Fire the events\n        Chart_fireEvent(chart, 'redraw');\n        Chart_fireEvent(chart, 'render');\n        if (isHiddenChart) {\n            chart.temporaryDisplay(true);\n        }\n        // Fire callbacks that are put on hold until after the redraw\n        afterRedraw.forEach(function (callback) {\n            callback.call();\n        });\n    }\n    /**\n     * Get an axis, series or point object by `id` as given in the configuration\n     * options. Returns `undefined` if no item is found.\n     *\n     * @sample highcharts/plotoptions/series-id/\n     *         Get series by id\n     *\n     * @function Highcharts.Chart#get\n     *\n     * @param {string} id\n     * The id as given in the configuration options.\n     *\n     * @return {Highcharts.Axis|Highcharts.Series|Highcharts.Point|undefined}\n     * The retrieved item.\n     */\n    get(id) {\n        const series = this.series;\n        /**\n         * @private\n         */\n        function itemById(item) {\n            return (item.id === id ||\n                (item.options && item.options.id === id));\n        }\n        let ret = \n        // Search axes\n        Chart_find(this.axes, itemById) ||\n            // Search series\n            Chart_find(this.series, itemById);\n        // Search points\n        for (let i = 0; !ret && i < series.length; i++) {\n            ret = Chart_find(series[i].points || [], itemById);\n        }\n        return ret;\n    }\n    /**\n     * Create the Axis instances based on the config options.\n     *\n     * @private\n     * @function Highcharts.Chart#createAxes\n     * @emits Highcharts.Chart#event:afterCreateAxes\n     * @emits Highcharts.Chart#event:createAxes\n     */\n    createAxes() {\n        const options = this.userOptions;\n        Chart_fireEvent(this, 'createAxes');\n        for (const coll of ['xAxis', 'yAxis']) {\n            const arr = options[coll] = Chart_splat(options[coll] || {});\n            for (const axisOptions of arr) {\n                // eslint-disable-next-line no-new\n                new Axis_Axis(this, axisOptions, coll);\n            }\n        }\n        Chart_fireEvent(this, 'afterCreateAxes');\n    }\n    /**\n     * Returns an array of all currently selected points in the chart. Points\n     * can be selected by clicking or programmatically by the\n     * {@link Highcharts.Point#select}\n     * function.\n     *\n     * @sample highcharts/plotoptions/series-allowpointselect-line/\n     *         Get selected points\n     * @sample highcharts/members/point-select-lasso/\n     *         Lasso selection\n     * @sample highcharts/chart/events-selection-points/\n     *         Rectangle selection\n     *\n     * @function Highcharts.Chart#getSelectedPoints\n     *\n     * @return {Array<Highcharts.Point>}\n     *         The currently selected points.\n     */\n    getSelectedPoints() {\n        return this.series.reduce((acc, series) => {\n            // For one-to-one points inspect series.data in order to retrieve\n            // points outside the visible range (#6445). For grouped data,\n            // inspect the generated series.points.\n            series.getPointsCollection()\n                .forEach((point) => {\n                if (Chart_pick(point.selectedStaging, point.selected)) {\n                    acc.push(point);\n                }\n            });\n            return acc;\n        }, []);\n    }\n    /**\n     * Returns an array of all currently selected series in the chart. Series\n     * can be selected either programmatically by the\n     * {@link Highcharts.Series#select}\n     * function or by checking the checkbox next to the legend item if\n     * [series.showCheckBox](https://api.highcharts.com/highcharts/plotOptions.series.showCheckbox)\n     * is true.\n     *\n     * @sample highcharts/members/chart-getselectedseries/\n     *         Get selected series\n     *\n     * @function Highcharts.Chart#getSelectedSeries\n     *\n     * @return {Array<Highcharts.Series>}\n     *         The currently selected series.\n     */\n    getSelectedSeries() {\n        return this.series.filter((s) => s.selected);\n    }\n    /**\n     * Set a new title or subtitle for the chart.\n     *\n     * @sample highcharts/members/chart-settitle/\n     *         Set title text and styles\n     *\n     * @function Highcharts.Chart#setTitle\n     *\n     * @param {Highcharts.TitleOptions} [titleOptions]\n     *        New title options. The title text itself is set by the\n     *        `titleOptions.text` property.\n     *\n     * @param {Highcharts.SubtitleOptions} [subtitleOptions]\n     *        New subtitle options. The subtitle text itself is set by the\n     *        `subtitleOptions.text` property.\n     *\n     * @param {boolean} [redraw]\n     *        Whether to redraw the chart or wait for a later call to\n     *        `chart.redraw()`.\n     */\n    setTitle(titleOptions, subtitleOptions, redraw) {\n        this.applyDescription('title', titleOptions);\n        this.applyDescription('subtitle', subtitleOptions);\n        // The initial call also adds the caption. On update, chart.update will\n        // relay to Chart.setCaption.\n        this.applyDescription('caption', void 0);\n        this.layOutTitles(redraw);\n    }\n    /**\n     * Apply a title, subtitle or caption for the chart\n     *\n     * @private\n     * @function Highcharts.Chart#applyDescription\n     * @param key {string}\n     * Either title, subtitle or caption\n     * @param {Highcharts.TitleOptions|Highcharts.SubtitleOptions|Highcharts.CaptionOptions|undefined} explicitOptions\n     * The options to set, will be merged with default options.\n     */\n    applyDescription(key, explicitOptions) {\n        const chart = this;\n        // Merge default options with explicit options\n        const options = this.options[key] = Chart_merge(this.options[key], explicitOptions);\n        let elem = this[key];\n        if (elem && explicitOptions) {\n            this[key] = elem = elem.destroy(); // Remove old\n        }\n        if (options && !elem) {\n            elem = this.renderer.text(options.text, 0, 0, options.useHTML)\n                .attr({\n                align: options.align,\n                'class': 'highcharts-' + key,\n                zIndex: options.zIndex || 4\n            })\n                .css({\n                textOverflow: 'ellipsis',\n                whiteSpace: 'nowrap'\n            })\n                .add();\n            // Update methods, relay to `applyDescription`\n            elem.update = function (updateOptions, redraw) {\n                chart.applyDescription(key, updateOptions);\n                chart.layOutTitles(redraw);\n            };\n            // Presentational\n            if (!this.styledMode) {\n                elem.css(Chart_extend(key === 'title' ? {\n                    // #2944\n                    fontSize: this.options.isStock ? '1em' : '1.2em'\n                } : {}, options.style));\n            }\n            // Get unwrapped text length and reset\n            elem.textPxLength = elem.getBBox().width;\n            elem.css({ whiteSpace: options.style?.whiteSpace });\n            /**\n             * The chart title. The title has an `update` method that allows\n             * modifying the options directly or indirectly via\n             * `chart.update`.\n             *\n             * @sample highcharts/members/title-update/\n             *         Updating titles\n             *\n             * @name Highcharts.Chart#title\n             * @type {Highcharts.TitleObject}\n             */\n            /**\n             * The chart subtitle. The subtitle has an `update` method that\n             * allows modifying the options directly or indirectly via\n             * `chart.update`.\n             *\n             * @name Highcharts.Chart#subtitle\n             * @type {Highcharts.SubtitleObject}\n             */\n            this[key] = elem;\n        }\n    }\n    /**\n     * Internal function to lay out the chart title, subtitle and caption, and\n     * cache the full offset height for use in `getMargins`. The result is\n     * stored in `this.titleOffset`.\n     *\n     * @private\n     * @function Highcharts.Chart#layOutTitles\n     *\n     * @param {boolean} [redraw=true]\n     * @emits Highcharts.Chart#event:afterLayOutTitles\n     */\n    layOutTitles(redraw = true) {\n        const titleOffset = [0, 0, 0], { options, renderer, spacingBox } = this;\n        // Lay out the title, subtitle and caption respectively\n        ['title', 'subtitle', 'caption'].forEach((key) => {\n            const desc = this[key], descOptions = this.options[key], alignTo = Chart_merge(spacingBox), textPxLength = desc?.textPxLength || 0;\n            if (desc && descOptions) {\n                // Provide a hook for the exporting button to shift the title\n                Chart_fireEvent(this, 'layOutTitle', { alignTo, key, textPxLength });\n                const fontMetrics = renderer.fontMetrics(desc), baseline = fontMetrics.b, lineHeight = fontMetrics.h, verticalAlign = descOptions.verticalAlign || 'top', topAligned = verticalAlign === 'top', \n                // Use minScale only for top-aligned titles. It is not\n                // likely that we will need scaling for other positions, but\n                // if it is requested, we need to adjust the vertical\n                // position to the scale.\n                minScale = topAligned && descOptions.minScale || 1, offset = key === 'title' ?\n                    topAligned ? -3 : 0 :\n                    // Floating subtitle (#6574)\n                    topAligned ? titleOffset[0] + 2 : 0, uncappedScale = Math.min(alignTo.width / textPxLength, 1), scale = Math.max(minScale, uncappedScale), alignAttr = Chart_merge({\n                    y: verticalAlign === 'bottom' ?\n                        baseline :\n                        offset + baseline\n                }, {\n                    align: key === 'title' ?\n                        // Title defaults to center for short titles,\n                        // left for word-wrapped titles\n                        (uncappedScale < minScale ? 'left' : 'center') :\n                        // Subtitle defaults to the title.align\n                        this.title?.alignValue\n                }, descOptions), width = descOptions.width || ((uncappedScale > minScale ?\n                    // One line\n                    this.chartWidth :\n                    // Allow word wrap\n                    alignTo.width) / scale);\n                // No animation when switching alignment\n                if (desc.alignValue !== alignAttr.align) {\n                    desc.placed = false;\n                }\n                // Set the width and read the height\n                const height = Math.round(desc\n                    .css({ width: `${width}px` })\n                    // Skip the cache for HTML (#3481, #11666)\n                    .getBBox(descOptions.useHTML).height);\n                alignAttr.height = height;\n                // Perform scaling and alignment\n                desc\n                    .align(alignAttr, false, alignTo)\n                    .attr({\n                    align: alignAttr.align,\n                    scaleX: scale,\n                    scaleY: scale,\n                    'transform-origin': `${alignTo.x +\n                        textPxLength *\n                            scale *\n                            Chart_getAlignFactor(alignAttr.align)} ${lineHeight}`\n                });\n                // Adjust the rendered title offset\n                if (!descOptions.floating) {\n                    const offset = height * (\n                    // When scaling down the title, preserve the offset as\n                    // long as it's only one line, but scale down the offset\n                    // if the title wraps to multiple lines.\n                    height < lineHeight * 1.2 ? 1 : scale);\n                    if (verticalAlign === 'top') {\n                        titleOffset[0] = Math.ceil(titleOffset[0] + offset);\n                    }\n                    else if (verticalAlign === 'bottom') {\n                        titleOffset[2] = Math.ceil(titleOffset[2] + offset);\n                    }\n                }\n            }\n        }, this);\n        // Handle title.margin and caption.margin\n        if (titleOffset[0] &&\n            (options.title?.verticalAlign || 'top') === 'top') {\n            titleOffset[0] += options.title?.margin || 0;\n        }\n        if (titleOffset[2] &&\n            options.caption?.verticalAlign === 'bottom') {\n            titleOffset[2] += options.caption?.margin || 0;\n        }\n        const requiresDirtyBox = (!this.titleOffset ||\n            this.titleOffset.join(',') !== titleOffset.join(','));\n        // Used in getMargins\n        this.titleOffset = titleOffset;\n        Chart_fireEvent(this, 'afterLayOutTitles');\n        if (!this.isDirtyBox && requiresDirtyBox) {\n            this.isDirtyBox = this.isDirtyLegend = requiresDirtyBox;\n            // Redraw if necessary (#2719, #2744)\n            if (this.hasRendered && redraw && this.isDirtyBox) {\n                this.redraw();\n            }\n        }\n    }\n    /**\n     * Internal function to get the available size of the container element\n     *\n     * @private\n     * @function Highcharts.Chart#getContainerBox\n     */\n    getContainerBox() {\n        // Temporarily hide support divs from a11y and others, #21888\n        const nonContainers = [].map.call(this.renderTo.children, (child) => {\n            if (child !== this.container) {\n                const display = child.style.display;\n                child.style.display = 'none';\n                return [child, display];\n            }\n        }), box = {\n            width: Chart_getStyle(this.renderTo, 'width', true) || 0,\n            height: (Chart_getStyle(this.renderTo, 'height', true) || 0)\n        };\n        // Restore the non-containers\n        nonContainers.filter(Boolean).forEach(([div, display]) => {\n            div.style.display = display;\n        });\n        return box;\n    }\n    /**\n     * Internal function to get the chart width and height according to options\n     * and container size. Sets {@link Chart.chartWidth} and\n     * {@link Chart.chartHeight}.\n     *\n     * @private\n     * @function Highcharts.Chart#getChartSize\n     */\n    getChartSize() {\n        const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox(), enableDefaultHeight = containerBox.height <= 1 ||\n            ( // #21510, prevent infinite reflow\n            !chart.renderTo.parentElement?.style.height &&\n                chart.renderTo.style.height === '100%');\n        /**\n         * The current pixel width of the chart.\n         *\n         * @name Highcharts.Chart#chartWidth\n         * @type {number}\n         */\n        chart.chartWidth = Math.max(// #1393\n        0, widthOption || containerBox.width || 600 // #1460\n        );\n        /**\n         * The current pixel height of the chart.\n         *\n         * @name Highcharts.Chart#chartHeight\n         * @type {number}\n         */\n        chart.chartHeight = Math.max(0, Chart_relativeLength(heightOption, chart.chartWidth) ||\n            (enableDefaultHeight ? 400 : containerBox.height));\n        chart.containerBox = containerBox;\n    }\n    /**\n     * If the renderTo element has no offsetWidth, most likely one or more of\n     * its parents are hidden. Loop up the DOM tree to temporarily display the\n     * parents, then save the original display properties, and when the true\n     * size is retrieved, reset them. Used on first render and on redraws.\n     *\n     * @private\n     * @function Highcharts.Chart#temporaryDisplay\n     *\n     * @param {boolean} [revert]\n     * Revert to the saved original styles.\n     */\n    temporaryDisplay(revert) {\n        let node = this.renderTo, tempStyle;\n        if (!revert) {\n            while (node && node.style) {\n                // When rendering to a detached node, it needs to be temporarily\n                // attached in order to read styling and bounding boxes (#5783,\n                // #7024).\n                if (!Chart_doc.body.contains(node) && !node.parentNode) {\n                    node.hcOrigDetached = true;\n                    Chart_doc.body.appendChild(node);\n                }\n                if (Chart_getStyle(node, 'display', false) === 'none' ||\n                    node.hcOricDetached) {\n                    node.hcOrigStyle = {\n                        display: node.style.display,\n                        height: node.style.height,\n                        overflow: node.style.overflow\n                    };\n                    tempStyle = {\n                        display: 'block',\n                        overflow: 'hidden'\n                    };\n                    if (node !== this.renderTo) {\n                        tempStyle.height = 0;\n                    }\n                    Chart_css(node, tempStyle);\n                    // If it still doesn't have an offset width after setting\n                    // display to block, it probably has an !important priority\n                    // #2631, 6803\n                    if (!node.offsetWidth) {\n                        node.style.setProperty('display', 'block', 'important');\n                    }\n                }\n                node = node.parentNode;\n                if (node === Chart_doc.body) {\n                    break;\n                }\n            }\n        }\n        else {\n            while (node && node.style) {\n                if (node.hcOrigStyle) {\n                    Chart_css(node, node.hcOrigStyle);\n                    delete node.hcOrigStyle;\n                }\n                if (node.hcOrigDetached) {\n                    Chart_doc.body.removeChild(node);\n                    node.hcOrigDetached = false;\n                }\n                node = node.parentNode;\n            }\n        }\n    }\n    /**\n     * Set the {@link Chart.container|chart container's} class name, in\n     * addition to `highcharts-container`.\n     *\n     * @function Highcharts.Chart#setClassName\n     *\n     * @param {string} [className]\n     * The additional class name.\n     */\n    setClassName(className) {\n        this.container.className = 'highcharts-container ' + (className || '');\n    }\n    /**\n     * Get the containing element, determine the size and create the inner\n     * container div to hold the chart.\n     *\n     * @private\n     * @function Highcharts.Chart#afterGetContainer\n     * @emits Highcharts.Chart#event:afterGetContainer\n     */\n    getContainer() {\n        const chart = this, options = chart.options, optionsChart = options.chart, indexAttrName = 'data-highcharts-chart', containerId = Chart_uniqueKey(), renderTo = chart.renderTo;\n        let containerStyle;\n        // If the container already holds a chart, destroy it. The check for\n        // hasRendered is there because web pages that are saved to disk from\n        // the browser, will preserve the data-highcharts-chart attribute and\n        // the SVG contents, but not an interactive chart. So in this case,\n        // charts[oldChartIndex] will point to the wrong chart if any (#2609).\n        const oldChartIndex = Chart_pInt(Chart_attr(renderTo, indexAttrName));\n        if (Chart_isNumber(oldChartIndex) &&\n            Chart_charts[oldChartIndex] &&\n            Chart_charts[oldChartIndex].hasRendered) {\n            Chart_charts[oldChartIndex].destroy();\n        }\n        // Make a reference to the chart from the div\n        Chart_attr(renderTo, indexAttrName, chart.index);\n        // Remove previous chart\n        renderTo.innerHTML = HTML_AST.emptyHTML;\n        // If the container doesn't have an offsetWidth, it has or is a child of\n        // a node that has display:none. We need to temporarily move it out to a\n        // visible state to determine the size, else the legend and tooltips\n        // won't render properly. The skipClone option is used in sparklines as\n        // a micro optimization, saving about 1-2 ms each chart.\n        if (!optionsChart.skipClone && !renderTo.offsetWidth) {\n            chart.temporaryDisplay();\n        }\n        // Get the width and height\n        chart.getChartSize();\n        const chartHeight = chart.chartHeight;\n        let chartWidth = chart.chartWidth;\n        // Allow table cells and flex-boxes to shrink without the chart blocking\n        // them out (#6427)\n        Chart_css(renderTo, { overflow: 'hidden' });\n        // Create the inner container\n        if (!chart.styledMode) {\n            containerStyle = Chart_extend({\n                position: 'relative',\n                // Needed for context menu (avoidscrollbars) and content\n                // overflow in IE\n                overflow: 'hidden',\n                width: chartWidth + 'px',\n                height: chartHeight + 'px',\n                textAlign: 'left',\n                lineHeight: 'normal', // #427\n                zIndex: 0, // #1072\n                '-webkit-tap-highlight-color': 'rgba(0,0,0,0)',\n                userSelect: 'none', // #13503\n                'touch-action': 'manipulation',\n                outline: 'none',\n                padding: '0px'\n            }, optionsChart.style || {});\n        }\n        /**\n         * The containing HTML element of the chart. The container is\n         * dynamically inserted into the element given as the `renderTo`\n         * parameter in the {@link Highcharts#chart} constructor.\n         *\n         * @name Highcharts.Chart#container\n         * @type {Highcharts.HTMLDOMElement}\n         */\n        const container = Chart_createElement('div', {\n            id: containerId\n        }, containerStyle, renderTo);\n        chart.container = container;\n        // Adjust width if setting height affected it (#20334)\n        chart.getChartSize();\n        if (chartWidth !== chart.chartWidth) {\n            chartWidth = chart.chartWidth;\n            if (!chart.styledMode) {\n                Chart_css(container, {\n                    width: Chart_pick(optionsChart.style?.width, chartWidth + 'px')\n                });\n            }\n        }\n        chart.containerBox = chart.getContainerBox();\n        // Cache the cursor (#1650)\n        chart._cursor = container.style.cursor;\n        // Initialize the renderer\n        const Renderer = optionsChart.renderer || !Chart_svg ?\n            Renderer_RendererRegistry.getRendererType(optionsChart.renderer) :\n            SVG_SVGRenderer;\n        /**\n         * The renderer instance of the chart. Each chart instance has only one\n         * associated renderer.\n         *\n         * @name Highcharts.Chart#renderer\n         * @type {Highcharts.SVGRenderer}\n         */\n        chart.renderer = new Renderer(container, chartWidth, chartHeight, void 0, optionsChart.forExport, options.exporting && options.exporting.allowHTML, chart.styledMode);\n        // Set the initial animation from the options\n        Chart_setAnimation(void 0, chart);\n        chart.setClassName(optionsChart.className);\n        if (!chart.styledMode) {\n            chart.renderer.setStyle(optionsChart.style);\n        }\n        else {\n            // Initialize definitions\n            for (const key in options.defs) { // eslint-disable-line guard-for-in\n                this.renderer.definition(options.defs[key]);\n            }\n        }\n        // Add a reference to the charts index\n        chart.renderer.chartIndex = chart.index;\n        Chart_fireEvent(this, 'afterGetContainer');\n    }\n    /**\n     * Calculate margins by rendering axis labels in a preliminary position.\n     * Title, subtitle and legend have already been rendered at this stage, but\n     * will be moved into their final positions.\n     *\n     * @private\n     * @function Highcharts.Chart#getMargins\n     * @emits Highcharts.Chart#event:getMargins\n     */\n    getMargins(skipAxes) {\n        const { spacing, margin, titleOffset } = this;\n        this.resetMargins();\n        // Adjust for title and subtitle\n        if (titleOffset[0] && !Chart_defined(margin[0])) {\n            this.plotTop = Math.max(this.plotTop, titleOffset[0] + spacing[0]);\n        }\n        if (titleOffset[2] && !Chart_defined(margin[2])) {\n            this.marginBottom = Math.max(this.marginBottom, titleOffset[2] + spacing[2]);\n        }\n        // Adjust for legend\n        if (this.legend && this.legend.display) {\n            this.legend.adjustMargins(margin, spacing);\n        }\n        Chart_fireEvent(this, 'getMargins');\n        if (!skipAxes) {\n            this.getAxisMargins();\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Chart#getAxisMargins\n     */\n    getAxisMargins() {\n        const chart = this, \n        // [top, right, bottom, left]\n        axisOffset = chart.axisOffset = [0, 0, 0, 0], colorAxis = chart.colorAxis, margin = chart.margin, getOffset = function (axes) {\n            axes.forEach(function (axis) {\n                if (axis.visible) {\n                    axis.getOffset();\n                }\n            });\n        };\n        // Pre-render axes to get labels offset width\n        if (chart.hasCartesianSeries) {\n            getOffset(chart.axes);\n        }\n        else if (colorAxis && colorAxis.length) {\n            getOffset(colorAxis);\n        }\n        // Add the axis offsets\n        Chart_marginNames.forEach(function (m, side) {\n            if (!Chart_defined(margin[side])) {\n                chart[m] += axisOffset[side];\n            }\n        });\n        chart.setChartSize();\n    }\n    /**\n     * Return the current options of the chart, but only those that differ from\n     * default options. Items that can be either an object or an array of\n     * objects, like `series`, `xAxis` and `yAxis`, are always returned as\n     * array.\n     *\n     * @sample highcharts/members/chart-getoptions\n     *\n     * @function Highcharts.Chart#getOptions\n     *\n     * @since 11.1.0\n     */\n    getOptions() {\n        return Chart_diffObjects(this.userOptions, Chart_defaultOptions);\n    }\n    /**\n     * Reflows the chart to its container. By default, the Resize Observer is\n     * attached to the chart's div which allows to reflows the chart\n     * automatically to its container, as per the\n     * [chart.reflow](https://api.highcharts.com/highcharts/chart.reflow)\n     * option.\n     *\n     * @sample highcharts/chart/events-container/\n     *         Pop up and reflow\n     *\n     * @function Highcharts.Chart#reflow\n     *\n     * @param {global.Event} [e]\n     *        Event arguments. Used primarily when the function is called\n     *        internally as a response to window resize.\n     */\n    reflow(e) {\n        const chart = this, oldBox = chart.containerBox, containerBox = chart.getContainerBox();\n        delete chart.pointer?.chartPosition;\n        // Width and height checks for display:none. Target is doc in Opera\n        // and win in Firefox, Chrome and IE9.\n        if (!chart.isPrinting &&\n            !chart.isResizing &&\n            oldBox &&\n            // When fired by resize observer inside hidden container\n            containerBox.width) {\n            if (containerBox.width !== oldBox.width ||\n                containerBox.height !== oldBox.height) {\n                Core_Utilities.clearTimeout(chart.reflowTimeout);\n                // When called from window.resize, e is set, else it's called\n                // directly (#2224)\n                chart.reflowTimeout = Chart_syncTimeout(function () {\n                    // Set size, it may have been destroyed in the meantime\n                    // (#1257)\n                    if (chart.container) {\n                        chart.setSize(void 0, void 0, false);\n                    }\n                }, e ? 100 : 0);\n            }\n            chart.containerBox = containerBox;\n        }\n    }\n    /**\n     * Toggle the event handlers necessary for auto resizing, depending on the\n     * `chart.reflow` option.\n     *\n     * @private\n     * @function Highcharts.Chart#setReflow\n     */\n    setReflow() {\n        const chart = this;\n        const runReflow = (e) => {\n            if (chart.options?.chart.reflow && chart.hasLoaded) {\n                chart.reflow(e);\n            }\n        };\n        if (typeof ResizeObserver === 'function') {\n            (new ResizeObserver(runReflow)).observe(chart.renderTo);\n            // Fallback for more legacy browser versions.\n        }\n        else {\n            const unbind = Chart_addEvent(Chart_win, 'resize', runReflow);\n            Chart_addEvent(this, 'destroy', unbind);\n        }\n    }\n    /**\n     * Resize the chart to a given width and height. In order to set the width\n     * only, the height argument may be skipped. To set the height only, pass\n     * `undefined` for the width.\n     *\n     * @sample highcharts/members/chart-setsize-button/\n     *         Test resizing from buttons\n     * @sample highcharts/members/chart-setsize-jquery-resizable/\n     *         Add a jQuery UI resizable\n     * @sample stock/members/chart-setsize/\n     *         Highcharts Stock with UI resizable\n     *\n     * @function Highcharts.Chart#setSize\n     *\n     * @param {number|null} [width]\n     *        The new pixel width of the chart. Since v4.2.6, the argument can\n     *        be `undefined` in order to preserve the current value (when\n     *        setting height only), or `null` to adapt to the width of the\n     *        containing element.\n     *\n     * @param {number|null} [height]\n     *        The new pixel height of the chart. Since v4.2.6, the argument can\n     *        be `undefined` in order to preserve the current value, or `null`\n     *        in order to adapt to the height of the containing element.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether and how to apply animation. When `undefined`, it applies\n     *        the animation that is set in the `chart.animation` option.\n     *\n     *\n     * @emits Highcharts.Chart#event:endResize\n     * @emits Highcharts.Chart#event:resize\n     */\n    setSize(width, height, animation) {\n        const chart = this, renderer = chart.renderer;\n        // Handle the isResizing counter\n        chart.isResizing += 1;\n        // Set the animation for the current process\n        Chart_setAnimation(animation, chart);\n        const globalAnimation = renderer.globalAnimation;\n        chart.oldChartHeight = chart.chartHeight;\n        chart.oldChartWidth = chart.chartWidth;\n        if (typeof width !== 'undefined') {\n            chart.options.chart.width = width;\n        }\n        if (typeof height !== 'undefined') {\n            chart.options.chart.height = height;\n        }\n        chart.getChartSize();\n        const { chartWidth, chartHeight, scrollablePixelsX = 0, scrollablePixelsY = 0 } = chart;\n        // Avoid expensive redrawing if the computed size didn't change\n        if (chart.isDirtyBox ||\n            chartWidth !== chart.oldChartWidth ||\n            chartHeight !== chart.oldChartHeight) {\n            // Resize the container with the global animation applied if enabled\n            // (#2503)\n            if (!chart.styledMode) {\n                (globalAnimation ? Chart_animate : Chart_css)(chart.container, {\n                    width: `${chartWidth + scrollablePixelsX}px`,\n                    height: `${chartHeight + scrollablePixelsY}px`\n                }, globalAnimation);\n            }\n            chart.setChartSize(true);\n            renderer.setSize(chartWidth, chartHeight, globalAnimation);\n            // Handle axes\n            chart.axes.forEach(function (axis) {\n                axis.isDirty = true;\n                axis.setScale();\n            });\n            chart.isDirtyLegend = true; // Force legend redraw\n            chart.isDirtyBox = true; // Force redraw of plot and chart border\n            chart.layOutTitles(); // #2857\n            chart.getMargins();\n            chart.redraw(globalAnimation);\n            chart.oldChartHeight = void 0;\n            Chart_fireEvent(chart, 'resize');\n            // Fire endResize and set isResizing back. If animation is disabled,\n            // fire without delay, but in a new thread to avoid triggering the\n            // resize observer (#19027).\n            setTimeout(() => {\n                if (chart) {\n                    Chart_fireEvent(chart, 'endResize');\n                }\n            }, Chart_animObject(globalAnimation).duration);\n        }\n        // Handle resizing counter even if we've re-rendered or not (#20548).\n        chart.isResizing -= 1;\n    }\n    /**\n     * Set the public chart properties. This is done before and after the\n     * pre-render to determine margin sizes.\n     *\n     * @private\n     * @function Highcharts.Chart#setChartSize\n     * @emits Highcharts.Chart#event:afterSetChartSize\n     */\n    setChartSize(skipAxes) {\n        const chart = this, { chartHeight, chartWidth, inverted, spacing, renderer } = chart, clipOffset = chart.clipOffset, clipRoundFunc = Math[inverted ? 'floor' : 'round'];\n        let plotLeft, plotTop, plotWidth, plotHeight;\n        /**\n         * The current left position of the plot area in pixels.\n         *\n         * @name Highcharts.Chart#plotLeft\n         * @type {number}\n         */\n        chart.plotLeft = plotLeft = Math.round(chart.plotLeft);\n        /**\n         * The current top position of the plot area in pixels.\n         *\n         * @name Highcharts.Chart#plotTop\n         * @type {number}\n         */\n        chart.plotTop = plotTop = Math.round(chart.plotTop);\n        /**\n         * The current width of the plot area in pixels.\n         *\n         * @name Highcharts.Chart#plotWidth\n         * @type {number}\n         */\n        chart.plotWidth = plotWidth = Math.max(0, Math.round(chartWidth - plotLeft - chart.marginRight));\n        /**\n         * The current height of the plot area in pixels.\n         *\n         * @name Highcharts.Chart#plotHeight\n         * @type {number}\n         */\n        chart.plotHeight = plotHeight = Math.max(0, Math.round(chartHeight - plotTop - chart.marginBottom));\n        chart.plotSizeX = inverted ? plotHeight : plotWidth;\n        chart.plotSizeY = inverted ? plotWidth : plotHeight;\n        // Set boxes used for alignment\n        chart.spacingBox = renderer.spacingBox = {\n            x: spacing[3],\n            y: spacing[0],\n            width: chartWidth - spacing[3] - spacing[1],\n            height: chartHeight - spacing[0] - spacing[2]\n        };\n        chart.plotBox = renderer.plotBox = {\n            x: plotLeft,\n            y: plotTop,\n            width: plotWidth,\n            height: plotHeight\n        };\n        // Compute the clipping box\n        if (clipOffset) {\n            chart.clipBox = {\n                x: clipRoundFunc(clipOffset[3]),\n                y: clipRoundFunc(clipOffset[0]),\n                width: clipRoundFunc(chart.plotSizeX - clipOffset[1] - clipOffset[3]),\n                height: clipRoundFunc(chart.plotSizeY - clipOffset[0] - clipOffset[2])\n            };\n        }\n        if (!skipAxes) {\n            chart.axes.forEach(function (axis) {\n                axis.setAxisSize();\n                axis.setAxisTranslation();\n            });\n            renderer.alignElements();\n        }\n        Chart_fireEvent(chart, 'afterSetChartSize', { skipAxes: skipAxes });\n    }\n    /**\n     * Initial margins before auto size margins are applied.\n     *\n     * @private\n     * @function Highcharts.Chart#resetMargins\n     */\n    resetMargins() {\n        Chart_fireEvent(this, 'resetMargins');\n        const chart = this, chartOptions = chart.options.chart, plotBorderWidth = chartOptions.plotBorderWidth || 0, halfWidth = plotBorderWidth / 2;\n        // Create margin and spacing array\n        ['margin', 'spacing'].forEach(function splashArrays(target) {\n            const value = chartOptions[target], values = Chart_isObject(value) ? value : [value, value, value, value];\n            [\n                'Top',\n                'Right',\n                'Bottom',\n                'Left'\n            ].forEach(function (sideName, side) {\n                chart[target][side] = Chart_pick(chartOptions[target + sideName], values[side]);\n            });\n        });\n        // Set margin names like chart.plotTop, chart.plotLeft,\n        // chart.marginRight, chart.marginBottom.\n        Chart_marginNames.forEach(function (m, side) {\n            chart[m] = Chart_pick(chart.margin[side], chart.spacing[side]);\n        });\n        chart.axisOffset = [0, 0, 0, 0]; // Top, right, bottom, left\n        chart.clipOffset = [\n            halfWidth,\n            halfWidth,\n            halfWidth,\n            halfWidth\n        ];\n        chart.plotBorderWidth = plotBorderWidth;\n    }\n    /**\n     * Internal function to draw or redraw the borders and backgrounds for chart\n     * and plot area.\n     *\n     * @private\n     * @function Highcharts.Chart#drawChartBox\n     * @emits Highcharts.Chart#event:afterDrawChartBox\n     */\n    drawChartBox() {\n        const chart = this, optionsChart = chart.options.chart, renderer = chart.renderer, chartWidth = chart.chartWidth, chartHeight = chart.chartHeight, styledMode = chart.styledMode, plotBGImage = chart.plotBGImage, chartBackgroundColor = optionsChart.backgroundColor, plotBackgroundColor = optionsChart.plotBackgroundColor, plotBackgroundImage = optionsChart.plotBackgroundImage, plotLeft = chart.plotLeft, plotTop = chart.plotTop, plotWidth = chart.plotWidth, plotHeight = chart.plotHeight, plotBox = chart.plotBox, clipRect = chart.clipRect, clipBox = chart.clipBox;\n        let chartBackground = chart.chartBackground, plotBackground = chart.plotBackground, plotBorder = chart.plotBorder, chartBorderWidth, mgn, bgAttr, verb = 'animate';\n        // Chart area\n        if (!chartBackground) {\n            chart.chartBackground = chartBackground = renderer.rect()\n                .addClass('highcharts-background')\n                .add();\n            verb = 'attr';\n        }\n        if (!styledMode) {\n            // Presentational\n            chartBorderWidth = optionsChart.borderWidth || 0;\n            mgn = chartBorderWidth + (optionsChart.shadow ? 8 : 0);\n            bgAttr = {\n                fill: chartBackgroundColor || 'none'\n            };\n            if (chartBorderWidth || chartBackground['stroke-width']) { // #980\n                bgAttr.stroke = optionsChart.borderColor;\n                bgAttr['stroke-width'] = chartBorderWidth;\n            }\n            chartBackground\n                .attr(bgAttr)\n                .shadow(optionsChart.shadow);\n        }\n        else {\n            chartBorderWidth = mgn = chartBackground.strokeWidth();\n        }\n        chartBackground[verb]({\n            x: mgn / 2,\n            y: mgn / 2,\n            width: chartWidth - mgn - chartBorderWidth % 2,\n            height: chartHeight - mgn - chartBorderWidth % 2,\n            r: optionsChart.borderRadius\n        });\n        // Plot background\n        verb = 'animate';\n        if (!plotBackground) {\n            verb = 'attr';\n            chart.plotBackground = plotBackground = renderer.rect()\n                .addClass('highcharts-plot-background')\n                .add();\n        }\n        plotBackground[verb](plotBox);\n        if (!styledMode) {\n            // Presentational attributes for the background\n            plotBackground\n                .attr({\n                fill: plotBackgroundColor || 'none'\n            })\n                .shadow(optionsChart.plotShadow);\n            // Create the background image\n            if (plotBackgroundImage) {\n                if (!plotBGImage) {\n                    chart.plotBGImage = renderer.image(plotBackgroundImage, plotLeft, plotTop, plotWidth, plotHeight).add();\n                }\n                else {\n                    if (plotBackgroundImage !== plotBGImage.attr('href')) {\n                        plotBGImage.attr('href', plotBackgroundImage);\n                    }\n                    plotBGImage.animate(plotBox);\n                }\n            }\n        }\n        // Plot clip\n        if (!clipRect) {\n            chart.clipRect = renderer.clipRect(clipBox);\n        }\n        else {\n            clipRect.animate({\n                width: clipBox.width,\n                height: clipBox.height\n            });\n        }\n        // Plot area border\n        verb = 'animate';\n        if (!plotBorder) {\n            verb = 'attr';\n            chart.plotBorder = plotBorder = renderer.rect()\n                .addClass('highcharts-plot-border')\n                .attr({\n                zIndex: 1 // Above the grid\n            })\n                .add();\n        }\n        if (!styledMode) {\n            // Presentational\n            plotBorder.attr({\n                stroke: optionsChart.plotBorderColor,\n                'stroke-width': optionsChart.plotBorderWidth || 0,\n                fill: 'none'\n            });\n        }\n        plotBorder[verb](plotBorder.crisp({\n            x: plotLeft,\n            y: plotTop,\n            width: plotWidth,\n            height: plotHeight\n        }, -plotBorder.strokeWidth())); // #3282 plotBorder should be negative;\n        // reset\n        chart.isDirtyBox = false;\n        Chart_fireEvent(this, 'afterDrawChartBox');\n    }\n    /**\n     * Detect whether a certain chart property is needed based on inspecting its\n     * options and series. This mainly applies to the chart.inverted property,\n     * and in extensions to the chart.angular and chart.polar properties.\n     *\n     * @private\n     * @function Highcharts.Chart#propFromSeries\n     */\n    propFromSeries() {\n        const chart = this, optionsChart = chart.options.chart, seriesOptions = chart.options.series;\n        let i, klass, value;\n        /**\n         * The flag is set to `true` if a series of the chart is inverted.\n         *\n         * @name Highcharts.Chart#inverted\n         * @type {boolean|undefined}\n         */\n        ['inverted', 'angular', 'polar'].forEach(function (key) {\n            // The default series type's class\n            klass = Chart_seriesTypes[optionsChart.type];\n            // Get the value from available chart-wide properties\n            value =\n                // It is set in the options:\n                optionsChart[key] ||\n                    // The default series class:\n                    (klass && klass.prototype[key]);\n            // Requires it\n            // 4. Check if any the chart's series require it\n            i = seriesOptions && seriesOptions.length;\n            while (!value && i--) {\n                klass = Chart_seriesTypes[seriesOptions[i].type];\n                if (klass && klass.prototype[key]) {\n                    value = true;\n                }\n            }\n            // Set the chart property\n            chart[key] = value;\n        });\n    }\n    /**\n     * Internal function to link two or more series together, based on the\n     * `linkedTo` option. This is done from `Chart.render`, and after\n     * `Chart.addSeries` and `Series.remove`.\n     *\n     * @private\n     * @function Highcharts.Chart#linkSeries\n     * @emits Highcharts.Chart#event:afterLinkSeries\n     */\n    linkSeries(isUpdating) {\n        const chart = this, chartSeries = chart.series;\n        // Reset links\n        chartSeries.forEach(function (series) {\n            series.linkedSeries.length = 0;\n        });\n        // Apply new links\n        chartSeries.forEach(function (series) {\n            const { linkedTo } = series.options;\n            if (Chart_isString(linkedTo)) {\n                let linkedParent;\n                if (linkedTo === ':previous') {\n                    linkedParent = chart.series[series.index - 1];\n                }\n                else {\n                    linkedParent = chart.get(linkedTo);\n                }\n                // #3341 avoid mutual linking\n                if (linkedParent &&\n                    linkedParent.linkedParent !== series) {\n                    linkedParent.linkedSeries.push(series);\n                    /**\n                     * The parent series of the current series, if the current\n                     * series has a [linkedTo](https://api.highcharts.com/highcharts/series.line.linkedTo)\n                     * setting.\n                     *\n                     * @name Highcharts.Series#linkedParent\n                     * @type {Highcharts.Series}\n                     * @readonly\n                     */\n                    series.linkedParent = linkedParent;\n                    if (linkedParent.enabledDataSorting) {\n                        series.setDataSortingOptions();\n                    }\n                    series.visible = Chart_pick(series.options.visible, linkedParent.options.visible, series.visible); // #3879\n                }\n            }\n        });\n        Chart_fireEvent(this, 'afterLinkSeries', { isUpdating });\n    }\n    /**\n     * Render series for the chart.\n     *\n     * @private\n     * @function Highcharts.Chart#renderSeries\n     */\n    renderSeries() {\n        this.series.forEach(function (serie) {\n            serie.translate();\n            serie.render();\n        });\n    }\n    /**\n     * Render all graphics for the chart. Runs internally on initialization.\n     *\n     * @private\n     * @function Highcharts.Chart#render\n     */\n    render() {\n        const chart = this, axes = chart.axes, colorAxis = chart.colorAxis, renderer = chart.renderer, axisLayoutRuns = chart.options.chart.axisLayoutRuns || 2, renderAxes = (axes) => {\n            axes.forEach((axis) => {\n                if (axis.visible) {\n                    axis.render();\n                }\n            });\n        };\n        let expectedSpace = 0, // Correction for X axis labels\n        // If the plot area size has changed significantly, calculate tick\n        // positions again\n        redoHorizontal = true, redoVertical, run = 0;\n        // Title\n        chart.setTitle();\n        // Fire an event before the margins are computed. This is where the\n        // legend is assigned.\n        Chart_fireEvent(chart, 'beforeMargins');\n        // Get stacks\n        chart.getStacks?.();\n        // Get chart margins\n        chart.getMargins(true);\n        chart.setChartSize();\n        for (const axis of axes) {\n            const { options } = axis, { labels } = options;\n            if (chart.hasCartesianSeries && // #20948\n                axis.horiz &&\n                axis.visible &&\n                labels.enabled &&\n                axis.series.length &&\n                axis.coll !== 'colorAxis' &&\n                !chart.polar) {\n                expectedSpace = options.tickLength;\n                axis.createGroups();\n                // Calculate expected space based on dummy tick\n                const mockTick = new Axis_Tick(axis, 0, '', true), label = mockTick.createLabel('x', labels);\n                mockTick.destroy();\n                if (label &&\n                    Chart_pick(labels.reserveSpace, !Chart_isNumber(options.crossing))) {\n                    expectedSpace = label.getBBox().height +\n                        labels.distance +\n                        Math.max(options.offset || 0, 0);\n                }\n                if (expectedSpace) {\n                    label?.destroy();\n                    break;\n                }\n            }\n        }\n        // Use Math.max to prevent negative plotHeight\n        chart.plotHeight = Math.max(chart.plotHeight - expectedSpace, 0);\n        while ((redoHorizontal || redoVertical || axisLayoutRuns > 1) &&\n            run < axisLayoutRuns // #19794\n        ) {\n            const tempWidth = chart.plotWidth, tempHeight = chart.plotHeight;\n            for (const axis of axes) {\n                if (run === 0) {\n                    // Get margins by pre-rendering axes\n                    axis.setScale();\n                }\n                else if ((axis.horiz && redoHorizontal) ||\n                    (!axis.horiz && redoVertical)) {\n                    // Update to reflect the new margins\n                    axis.setTickInterval(true);\n                }\n            }\n            if (run === 0) {\n                chart.getAxisMargins();\n            }\n            else {\n                // Check again for new, rotated or moved labels\n                chart.getMargins();\n            }\n            redoHorizontal = (tempWidth / chart.plotWidth) > (run ? 1 : 1.1);\n            redoVertical = (tempHeight / chart.plotHeight) > (run ? 1 : 1.05);\n            run++;\n        }\n        // Draw the borders and backgrounds\n        chart.drawChartBox();\n        // Axes\n        if (chart.hasCartesianSeries) {\n            renderAxes(axes);\n        }\n        else if (colorAxis && colorAxis.length) {\n            renderAxes(colorAxis);\n        }\n        // The series\n        if (!chart.seriesGroup) {\n            chart.seriesGroup = renderer.g('series-group')\n                .attr({ zIndex: 3 })\n                .shadow(chart.options.chart.seriesGroupShadow)\n                .add();\n        }\n        chart.renderSeries();\n        // Credits\n        chart.addCredits();\n        // Handle responsiveness\n        if (chart.setResponsive) {\n            chart.setResponsive();\n        }\n        // Set flag\n        chart.hasRendered = true;\n    }\n    /**\n     * Set a new credits label for the chart.\n     *\n     * @sample highcharts/credits/credits-update/\n     *         Add and update credits\n     *\n     * @function Highcharts.Chart#addCredits\n     *\n     * @param {Highcharts.CreditsOptions} [credits]\n     * A configuration object for the new credits.\n     */\n    addCredits(credits) {\n        const chart = this, creds = Chart_merge(true, this.options.credits, credits);\n        if (creds.enabled && !this.credits) {\n            /**\n             * The chart's credits label. The label has an `update` method that\n             * allows setting new options as per the\n             * [credits options set](https://api.highcharts.com/highcharts/credits).\n             *\n             * @name Highcharts.Chart#credits\n             * @type {Highcharts.SVGElement}\n             */\n            this.credits = this.renderer.text(creds.text + (this.mapCredits || ''), 0, 0)\n                .addClass('highcharts-credits')\n                .on('click', function () {\n                if (creds.href) {\n                    Chart_win.location.href = creds.href;\n                }\n            })\n                .attr({\n                align: creds.position.align,\n                zIndex: 8\n            });\n            if (!chart.styledMode) {\n                this.credits.css(creds.style);\n            }\n            this.credits\n                .add()\n                .align(creds.position);\n            // Dynamically update\n            this.credits.update = function (options) {\n                chart.credits = chart.credits.destroy();\n                chart.addCredits(options);\n            };\n        }\n    }\n    /**\n     * Remove the chart and purge memory. This method is called internally\n     * before adding a second chart into the same container, as well as on\n     * window unload to prevent leaks.\n     *\n     * @sample highcharts/members/chart-destroy/\n     *         Destroy the chart from a button\n     * @sample stock/members/chart-destroy/\n     *         Destroy with Highcharts Stock\n     *\n     * @function Highcharts.Chart#destroy\n     *\n     * @emits Highcharts.Chart#event:destroy\n     */\n    destroy() {\n        const chart = this, axes = chart.axes, series = chart.series, container = chart.container, parentNode = container && container.parentNode;\n        let i;\n        // Fire the chart.destroy event\n        Chart_fireEvent(chart, 'destroy');\n        // Delete the chart from charts lookup array\n        if (chart.renderer.forExport) {\n            Chart_erase(Chart_charts, chart); // #6569\n        }\n        else {\n            Chart_charts[chart.index] = void 0;\n        }\n        Core_Globals.chartCount--;\n        chart.renderTo.removeAttribute('data-highcharts-chart');\n        // Remove events\n        Chart_removeEvent(chart);\n        // ==== Destroy collections:\n        // Destroy axes\n        i = axes.length;\n        while (i--) {\n            axes[i] = axes[i].destroy();\n        }\n        // Destroy scroller & scroller series before destroying base series\n        if (this.scroller && this.scroller.destroy) {\n            this.scroller.destroy();\n        }\n        // Destroy each series\n        i = series.length;\n        while (i--) {\n            series[i] = series[i].destroy();\n        }\n        // ==== Destroy chart properties:\n        [\n            'title', 'subtitle', 'chartBackground', 'plotBackground',\n            'plotBGImage', 'plotBorder', 'seriesGroup', 'clipRect', 'credits',\n            'pointer', 'rangeSelector', 'legend', 'resetZoomButton', 'tooltip',\n            'renderer'\n        ].forEach(function (name) {\n            const prop = chart[name];\n            if (prop && prop.destroy) {\n                chart[name] = prop.destroy();\n            }\n        });\n        // Remove container and all SVG, check container as it can break in IE\n        // when destroyed before finished loading\n        if (container) {\n            container.innerHTML = HTML_AST.emptyHTML;\n            Chart_removeEvent(container);\n            if (parentNode) {\n                Chart_discardElement(container);\n            }\n        }\n        // Clean it all up\n        Chart_objectEach(chart, function (val, key) {\n            delete chart[key];\n        });\n    }\n    /**\n     * Prepare for first rendering after all data are loaded.\n     *\n     * @private\n     * @function Highcharts.Chart#firstRender\n     * @emits Highcharts.Chart#event:beforeRender\n     */\n    firstRender() {\n        const chart = this, options = chart.options;\n        // Create the container\n        chart.getContainer();\n        chart.resetMargins();\n        chart.setChartSize();\n        // Set the common chart properties (mainly invert) from the given series\n        chart.propFromSeries();\n        // Get axes\n        chart.createAxes();\n        // Initialize the series\n        const series = Chart_isArray(options.series) ? options.series : [];\n        options.series = []; // Avoid mutation\n        series.forEach(\n        // #9680\n        function (serieOptions) {\n            chart.initSeries(serieOptions);\n        });\n        chart.linkSeries();\n        chart.setSortedData();\n        // Run an event after axes and series are initialized, but before\n        // render. At this stage, the series data is indexed and cached in the\n        // xData and yData arrays, so we can access those before rendering. Used\n        // in Highcharts Stock.\n        Chart_fireEvent(chart, 'beforeRender');\n        chart.render();\n        chart.pointer?.getChartPosition(); // #14973\n        // Fire the load event if there are no external images\n        if (!chart.renderer.imgCount && !chart.hasLoaded) {\n            chart.onload();\n        }\n        // If the chart was rendered outside the top container, put it back in\n        // (#3679)\n        chart.temporaryDisplay(true);\n    }\n    /**\n     * Internal function that runs on chart load, async if any images are loaded\n     * in the chart. Runs the callbacks and triggers the `load` and `render`\n     * events.\n     *\n     * @private\n     * @function Highcharts.Chart#onload\n     * @emits Highcharts.Chart#event:load\n     * @emits Highcharts.Chart#event:render\n     */\n    onload() {\n        // Run callbacks, first the ones registered by modules, then user's one\n        this.callbacks.concat([this.callback]).forEach(function (fn) {\n            // Chart destroyed in its own callback (#3600)\n            if (fn && typeof this.index !== 'undefined') {\n                fn.apply(this, [this]);\n            }\n        }, this);\n        Chart_fireEvent(this, 'load');\n        Chart_fireEvent(this, 'render');\n        // Set up auto resize, check for not destroyed (#6068)\n        if (Chart_defined(this.index)) {\n            this.setReflow();\n        }\n        this.warnIfA11yModuleNotLoaded();\n        // Don't run again\n        this.hasLoaded = true;\n    }\n    /**\n     * Emit console warning if the a11y module is not loaded.\n     * @private\n     */\n    warnIfA11yModuleNotLoaded() {\n        const { options, title } = this;\n        if (options && !this.accessibility) {\n            // Make chart behave as an image with the title as alt text\n            this.renderer.boxWrapper.attr({\n                role: 'img',\n                'aria-label': ((title && title.element.textContent) || ''\n                // #17753, < is not allowed in SVG attributes\n                ).replace(/</g, '&lt;')\n            });\n            if (!(options.accessibility && options.accessibility.enabled === false)) {\n                Chart_error('Highcharts warning: Consider including the ' +\n                    '\"accessibility.js\" module to make your chart more ' +\n                    'usable for people with disabilities. Set the ' +\n                    '\"accessibility.enabled\" option to false to remove this ' +\n                    'warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.', false, this);\n            }\n        }\n    }\n    /**\n     * Add a series to the chart after render time. Note that this method should\n     * never be used when adding data synchronously at chart render time, as it\n     * adds expense to the calculations and rendering. When adding data at the\n     * same time as the chart is initialized, add the series as a configuration\n     * option instead. With multiple axes, the `offset` is dynamically adjusted.\n     *\n     * @sample highcharts/members/chart-addseries/\n     *         Add a series from a button\n     * @sample stock/members/chart-addseries/\n     *         Add a series in Highcharts Stock\n     *\n     * @function Highcharts.Chart#addSeries\n     *\n     * @param {Highcharts.SeriesOptionsType} options\n     *        The config options for the series.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after adding.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether to apply animation, and optionally animation\n     *        configuration. When `undefined`, it applies the animation that is\n     *        set in the `chart.animation` option.\n     *\n     * @return {Highcharts.Series}\n     *         The newly created series object.\n     *\n     * @emits Highcharts.Chart#event:addSeries\n     * @emits Highcharts.Chart#event:afterAddSeries\n     */\n    addSeries(options, redraw, animation) {\n        const chart = this;\n        let series;\n        if (options) { // <- not necessary\n            redraw = Chart_pick(redraw, true); // Defaults to true\n            Chart_fireEvent(chart, 'addSeries', { options: options }, function () {\n                series = chart.initSeries(options);\n                chart.isDirtyLegend = true;\n                chart.linkSeries();\n                if (series.enabledDataSorting) {\n                    // We need to call `setData` after `linkSeries`\n                    series.setData(options.data, false);\n                }\n                Chart_fireEvent(chart, 'afterAddSeries', { series: series });\n                if (redraw) {\n                    chart.redraw(animation);\n                }\n            });\n        }\n        return series;\n    }\n    /**\n     * Add an axis to the chart after render time. Note that this method should\n     * never be used when adding data synchronously at chart render time, as it\n     * adds expense to the calculations and rendering. When adding data at the\n     * same time as the chart is initialized, add the axis as a configuration\n     * option instead.\n     *\n     * @sample highcharts/members/chart-addaxis/\n     *         Add and remove axes\n     *\n     * @function Highcharts.Chart#addAxis\n     *\n     * @param {Highcharts.AxisOptions} options\n     *        The axis options.\n     *\n     * @param {boolean} [isX=false]\n     *        Whether it is an X axis or a value axis.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after adding.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether and how to apply animation in the redraw. When\n     *        `undefined`, it applies the animation that is set in the\n     *        `chart.animation` option.\n     *\n     * @return {Highcharts.Axis}\n     *         The newly generated Axis object.\n     */\n    addAxis(options, isX, redraw, animation) {\n        return this.createAxis(isX ? 'xAxis' : 'yAxis', { axis: options, redraw: redraw, animation: animation });\n    }\n    /**\n     * Add a color axis to the chart after render time. Note that this method\n     * should never be used when adding data synchronously at chart render time,\n     * as it adds expense to the calculations and rendering. When adding data at\n     * the same time as the chart is initialized, add the axis as a\n     * configuration option instead.\n     *\n     * @sample highcharts/members/chart-addaxis/\n     *         Add and remove axes\n     *\n     * @function Highcharts.Chart#addColorAxis\n     *\n     * @param {Highcharts.ColorAxisOptions} options\n     *        The axis options.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after adding.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether and how to apply animation in the redraw. When\n     *        `undefined`, it applies the animation that is set in the\n     *        `chart.animation` option.\n     *\n     * @return {Highcharts.Axis}\n     *         The newly generated Axis object.\n     */\n    addColorAxis(options, redraw, animation) {\n        return this.createAxis('colorAxis', { axis: options, redraw: redraw, animation: animation });\n    }\n    /**\n     * Factory for creating different axis types.\n     *\n     * @private\n     * @function Highcharts.Chart#createAxis\n     *\n     * @param {string} coll\n     *        An axis type.\n     *\n     * @param {...Array<*>} arguments\n     *        All arguments for the constructor.\n     *\n     * @return {Highcharts.Axis}\n     *         The newly generated Axis object.\n     */\n    createAxis(coll, options) {\n        const axis = new Axis_Axis(this, options.axis, coll);\n        if (Chart_pick(options.redraw, true)) {\n            this.redraw(options.animation);\n        }\n        return axis;\n    }\n    /**\n     * Dim the chart and show a loading text or symbol. Options for the loading\n     * screen are defined in {@link\n     * https://api.highcharts.com/highcharts/loading|the loading options}.\n     *\n     * @sample highcharts/members/chart-hideloading/\n     *         Show and hide loading from a button\n     * @sample highcharts/members/chart-showloading/\n     *         Apply different text labels\n     * @sample stock/members/chart-show-hide-loading/\n     *         Toggle loading in Highcharts Stock\n     *\n     * @function Highcharts.Chart#showLoading\n     *\n     * @param {string} [str]\n     *        An optional text to show in the loading label instead of the\n     *        default one. The default text is set in\n     *        [lang.loading](https://api.highcharts.com/highcharts/lang.loading).\n     */\n    showLoading(str) {\n        const chart = this, options = chart.options, loadingOptions = options.loading, setLoadingSize = function () {\n            if (loadingDiv) {\n                Chart_css(loadingDiv, {\n                    left: chart.plotLeft + 'px',\n                    top: chart.plotTop + 'px',\n                    width: chart.plotWidth + 'px',\n                    height: chart.plotHeight + 'px'\n                });\n            }\n        };\n        let loadingDiv = chart.loadingDiv, loadingSpan = chart.loadingSpan;\n        // Create the layer at the first call\n        if (!loadingDiv) {\n            chart.loadingDiv = loadingDiv = Chart_createElement('div', {\n                className: 'highcharts-loading highcharts-loading-hidden'\n            }, null, chart.container);\n        }\n        if (!loadingSpan) {\n            chart.loadingSpan = loadingSpan = Chart_createElement('span', { className: 'highcharts-loading-inner' }, null, loadingDiv);\n            Chart_addEvent(chart, 'redraw', setLoadingSize); // #1080\n        }\n        loadingDiv.className = 'highcharts-loading';\n        // Update text\n        HTML_AST.setElementHTML(loadingSpan, Chart_pick(str, options.lang.loading, ''));\n        if (!chart.styledMode) {\n            // Update visuals\n            Chart_css(loadingDiv, Chart_extend(loadingOptions.style, {\n                zIndex: 10\n            }));\n            Chart_css(loadingSpan, loadingOptions.labelStyle);\n            // Show it\n            if (!chart.loadingShown) {\n                Chart_css(loadingDiv, {\n                    opacity: 0,\n                    display: ''\n                });\n                Chart_animate(loadingDiv, {\n                    opacity: loadingOptions.style.opacity || 0.5\n                }, {\n                    duration: loadingOptions.showDuration || 0\n                });\n            }\n        }\n        chart.loadingShown = true;\n        setLoadingSize();\n    }\n    /**\n     * Hide the loading layer.\n     *\n     * @see Highcharts.Chart#showLoading\n     *\n     * @sample highcharts/members/chart-hideloading/\n     *         Show and hide loading from a button\n     * @sample stock/members/chart-show-hide-loading/\n     *         Toggle loading in Highcharts Stock\n     *\n     * @function Highcharts.Chart#hideLoading\n     */\n    hideLoading() {\n        const options = this.options, loadingDiv = this.loadingDiv;\n        if (loadingDiv) {\n            loadingDiv.className =\n                'highcharts-loading highcharts-loading-hidden';\n            if (!this.styledMode) {\n                Chart_animate(loadingDiv, {\n                    opacity: 0\n                }, {\n                    duration: options.loading.hideDuration || 100,\n                    complete: function () {\n                        Chart_css(loadingDiv, { display: 'none' });\n                    }\n                });\n            }\n        }\n        this.loadingShown = false;\n    }\n    /**\n     * A generic function to update any element of the chart. Elements can be\n     * enabled and disabled, moved, re-styled, re-formatted etc.\n     *\n     * A special case is configuration objects that take arrays, for example\n     * [xAxis](https://api.highcharts.com/highcharts/xAxis),\n     * [yAxis](https://api.highcharts.com/highcharts/yAxis) or\n     * [series](https://api.highcharts.com/highcharts/series). For these\n     * collections, an `id` option is used to map the new option set to an\n     * existing object. If an existing object of the same id is not found, the\n     * corresponding item is updated. So for example, running `chart.update`\n     * with a series item without an id, will cause the existing chart's series\n     * with the same index in the series array to be updated. When the\n     * `oneToOne` parameter is true, `chart.update` will also take care of\n     * adding and removing items from the collection. Read more under the\n     * parameter description below.\n     *\n     * Note that when changing series data, `chart.update` may mutate the passed\n     * data options.\n     *\n     * See also the\n     * [responsive option set](https://api.highcharts.com/highcharts/responsive).\n     * Switching between `responsive.rules` basically runs `chart.update` under\n     * the hood.\n     *\n     * @sample highcharts/members/chart-update/\n     *         Update chart geometry\n     *\n     * @function Highcharts.Chart#update\n     *\n     * @param {Highcharts.Options} options\n     *        A configuration object for the new chart options.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart.\n     *\n     * @param {boolean} [oneToOne=false]\n     *        When `true`, the `series`, `xAxis`, `yAxis` and `annotations`\n     *        collections will be updated one to one, and items will be either\n     *        added or removed to match the new updated options. For example,\n     *        if the chart has two series and we call `chart.update` with a\n     *        configuration containing three series, one will be added. If we\n     *        call `chart.update` with one series, one will be removed. Setting\n     *        an empty `series` array will remove all series, but leaving out\n     *        the`series` property will leave all series untouched. If the\n     *        series have id's, the new series options will be matched by id,\n     *        and the remaining ones removed.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Whether to apply animation, and optionally animation\n     *        configuration. When `undefined`, it applies the animation that is\n     *        set in the `chart.animation` option.\n     *\n     * @emits Highcharts.Chart#event:update\n     * @emits Highcharts.Chart#event:afterUpdate\n     */\n    update(options, redraw, oneToOne, animation) {\n        const chart = this, adders = {\n            credits: 'addCredits',\n            title: 'setTitle',\n            subtitle: 'setSubtitle',\n            caption: 'setCaption'\n        }, isResponsiveOptions = options.isResponsiveOptions, itemsForRemoval = [];\n        let updateAllAxes, updateAllSeries, runSetSize;\n        Chart_fireEvent(chart, 'update', { options: options });\n        // If there are responsive rules in action, undo the responsive rules\n        // before we apply the updated options and replay the responsive rules\n        // on top from the chart.redraw function (#9617).\n        if (!isResponsiveOptions) {\n            chart.setResponsive(false, true);\n        }\n        options = Chart_diffObjects(options, chart.options);\n        chart.userOptions = Chart_merge(chart.userOptions, options);\n        // If the top-level chart option is present, some special updates are\n        // required\n        const optionsChart = options.chart;\n        if (optionsChart) {\n            Chart_merge(true, chart.options.chart, optionsChart);\n            // Add support for deprecated zooming options like zoomType, #17861\n            this.setZoomOptions();\n            // Setter function\n            if ('className' in optionsChart) {\n                chart.setClassName(optionsChart.className);\n            }\n            if ('inverted' in optionsChart ||\n                'polar' in optionsChart ||\n                'type' in optionsChart) {\n                // Parse options.chart.inverted and options.chart.polar together\n                // with the available series.\n                chart.propFromSeries();\n                updateAllAxes = true;\n            }\n            if ('alignTicks' in optionsChart) { // #6452\n                updateAllAxes = true;\n            }\n            if ('events' in optionsChart) {\n                // Chart event handlers\n                Chart_registerEventOptions(this, optionsChart);\n            }\n            Chart_objectEach(optionsChart, function (val, key) {\n                if (chart.propsRequireUpdateSeries.indexOf('chart.' + key) !==\n                    -1) {\n                    updateAllSeries = true;\n                }\n                // Only dirty box\n                if (chart.propsRequireDirtyBox.indexOf(key) !== -1) {\n                    chart.isDirtyBox = true;\n                }\n                // Chart setSize\n                if (chart.propsRequireReflow.indexOf(key) !== -1) {\n                    chart.isDirtyBox = true;\n                    if (!isResponsiveOptions) {\n                        runSetSize = true;\n                    }\n                }\n            });\n            if (!chart.styledMode && optionsChart.style) {\n                chart.renderer.setStyle(chart.options.chart.style || {});\n            }\n        }\n        // Moved up, because tooltip needs updated plotOptions (#6218)\n        if (!chart.styledMode && options.colors) {\n            this.options.colors = options.colors;\n        }\n        // Some option structures correspond one-to-one to chart objects that\n        // have update methods, for example\n        // options.credits => chart.credits\n        // options.legend => chart.legend\n        // options.title => chart.title\n        // options.tooltip => chart.tooltip\n        // options.subtitle => chart.subtitle\n        // options.mapNavigation => chart.mapNavigation\n        // options.navigator => chart.navigator\n        // options.scrollbar => chart.scrollbar\n        Chart_objectEach(options, function (val, key) {\n            if (chart[key] &&\n                typeof chart[key].update === 'function') {\n                chart[key].update(val, false);\n                // If a one-to-one object does not exist, look for an adder function\n            }\n            else if (typeof chart[adders[key]] === 'function') {\n                chart[adders[key]](val);\n                // Else, just merge the options. For nodes like loading, noData,\n                // plotOptions\n            }\n            else if (key !== 'colors' &&\n                chart.collectionsWithUpdate.indexOf(key) === -1) {\n                Chart_merge(true, chart.options[key], options[key]);\n            }\n            if (key !== 'chart' &&\n                chart.propsRequireUpdateSeries.indexOf(key) !== -1) {\n                updateAllSeries = true;\n            }\n        });\n        // Setters for collections. For axes and series, each item is referred\n        // by an id. If the id is not found, it defaults to the corresponding\n        // item in the collection, so setting one series without an id, will\n        // update the first series in the chart. Setting two series without\n        // an id will update the first and the second respectively (#6019)\n        // chart.update and responsive.\n        this.collectionsWithUpdate.forEach(function (coll) {\n            if (options[coll]) {\n                Chart_splat(options[coll]).forEach(function (newOptions, i) {\n                    const hasId = Chart_defined(newOptions.id);\n                    let item;\n                    // Match by id\n                    if (hasId) {\n                        item = chart.get(newOptions.id);\n                    }\n                    // No match by id found, match by index instead\n                    if (!item && chart[coll]) {\n                        item = chart[coll][Chart_pick(newOptions.index, i)];\n                        // Check if we grabbed an item with an existing but\n                        // different id (#13541). Check that the item in this\n                        // position is not internal (navigator).\n                        if (item && ((hasId && Chart_defined(item.options.id)) ||\n                            item.options.isInternal)) {\n                            item = void 0;\n                        }\n                    }\n                    if (item && item.coll === coll) {\n                        item.update(newOptions, false);\n                        if (oneToOne) {\n                            item.touched = true;\n                        }\n                    }\n                    // If oneToOne and no matching item is found, add one\n                    if (!item && oneToOne && chart.collectionsWithInit[coll]) {\n                        chart.collectionsWithInit[coll][0].apply(chart, \n                        // [newOptions, ...extraArguments, redraw=false]\n                        [\n                            newOptions\n                        ].concat(\n                        // Not all initializers require extra args\n                        chart.collectionsWithInit[coll][1] || []).concat([\n                            false\n                        ])).touched = true;\n                    }\n                });\n                // Add items for removal\n                if (oneToOne) {\n                    chart[coll].forEach(function (item) {\n                        if (!item.touched && !item.options.isInternal) {\n                            itemsForRemoval.push(item);\n                        }\n                        else {\n                            delete item.touched;\n                        }\n                    });\n                }\n            }\n        });\n        itemsForRemoval.forEach(function (item) {\n            if (item.chart && item.remove) { // #9097, avoid removing twice\n                item.remove(false);\n            }\n        });\n        if (updateAllAxes) {\n            chart.axes.forEach(function (axis) {\n                axis.update({}, false);\n            });\n        }\n        // Certain options require the whole series structure to be thrown away\n        // and rebuilt\n        if (updateAllSeries) {\n            chart.getSeriesOrderByLinks().forEach(function (series) {\n                // Avoid removed navigator series\n                if (series.chart) {\n                    series.update({}, false);\n                }\n            }, this);\n        }\n        // Update size. Redraw is forced.\n        const newWidth = optionsChart && optionsChart.width;\n        const newHeight = optionsChart && (Chart_isString(optionsChart.height) ?\n            Chart_relativeLength(optionsChart.height, newWidth || chart.chartWidth) :\n            optionsChart.height);\n        if (\n        // In this case, run chart.setSize with newWidth and newHeight which\n        // are undefined, only for reflowing chart elements because margin\n        // or spacing has been set (#8190)\n        runSetSize ||\n            // In this case, the size is actually set\n            (Chart_isNumber(newWidth) && newWidth !== chart.chartWidth) ||\n            (Chart_isNumber(newHeight) && newHeight !== chart.chartHeight)) {\n            chart.setSize(newWidth, newHeight, animation);\n        }\n        else if (Chart_pick(redraw, true)) {\n            chart.redraw(animation);\n        }\n        Chart_fireEvent(chart, 'afterUpdate', {\n            options: options,\n            redraw: redraw,\n            animation: animation\n        });\n    }\n    /**\n     * Shortcut to set the subtitle options. This can also be done from {@link\n     * Chart#update} or {@link Chart#setTitle}.\n     *\n     * @function Highcharts.Chart#setSubtitle\n     *\n     * @param {Highcharts.SubtitleOptions} options\n     *        New subtitle options. The subtitle text itself is set by the\n     *        `options.text` property.\n     */\n    setSubtitle(options, redraw) {\n        this.applyDescription('subtitle', options);\n        this.layOutTitles(redraw);\n    }\n    /**\n     * Set the caption options. This can also be done from {@link\n     * Chart#update}.\n     *\n     * @function Highcharts.Chart#setCaption\n     *\n     * @param {Highcharts.CaptionOptions} options\n     *        New caption options. The caption text itself is set by the\n     *        `options.text` property.\n     */\n    setCaption(options, redraw) {\n        this.applyDescription('caption', options);\n        this.layOutTitles(redraw);\n    }\n    /**\n     * Display the zoom button, so users can reset zoom to the default view\n     * settings.\n     *\n     * @function Highcharts.Chart#showResetZoom\n     *\n     * @emits Highcharts.Chart#event:afterShowResetZoom\n     * @emits Highcharts.Chart#event:beforeShowResetZoom\n     */\n    showResetZoom() {\n        const chart = this, lang = Chart_defaultOptions.lang, btnOptions = chart.zooming.resetButton, theme = btnOptions.theme, alignTo = (btnOptions.relativeTo === 'chart' ||\n            btnOptions.relativeTo === 'spacingBox' ?\n            null :\n            'plotBox');\n        /**\n         * @private\n         */\n        function zoomOut() {\n            chart.zoomOut();\n        }\n        Chart_fireEvent(this, 'beforeShowResetZoom', null, function () {\n            chart.resetZoomButton = chart.renderer\n                .button(lang.resetZoom, null, null, zoomOut, theme)\n                .attr({\n                align: btnOptions.position.align,\n                title: lang.resetZoomTitle\n            })\n                .addClass('highcharts-reset-zoom')\n                .add()\n                .align(btnOptions.position, false, alignTo);\n        });\n        Chart_fireEvent(this, 'afterShowResetZoom');\n    }\n    /**\n     * Zoom the chart out after a user has zoomed in. See also\n     * [Axis.setExtremes](/class-reference/Highcharts.Axis#setExtremes).\n     *\n     * @function Highcharts.Chart#zoomOut\n     *\n     * @emits Highcharts.Chart#event:selection\n     */\n    zoomOut() {\n        Chart_fireEvent(this, 'selection', { resetSelection: true }, () => this.transform({ reset: true, trigger: 'zoom' }));\n    }\n    /**\n     * Pan the chart by dragging the mouse across the pane. This function is\n     * called on mouse move, and the distance to pan is computed from chartX\n     * compared to the first chartX position in the dragging operation.\n     *\n     * @private\n     * @function Highcharts.Chart#pan\n     * @param {Highcharts.PointerEventObject} event\n     * @param {string} panning\n     */\n    pan(event, panning) {\n        const chart = this, panningOptions = (typeof panning === 'object' ?\n            panning :\n            {\n                enabled: panning,\n                type: 'x'\n            }), type = panningOptions.type, axes = type && chart[{\n            x: 'xAxis',\n            xy: 'axes',\n            y: 'yAxis'\n        }[type]]\n            .filter((axis) => axis.options.panningEnabled && !axis.options.isInternal), chartOptions = chart.options.chart;\n        if (chartOptions?.panning) {\n            chartOptions.panning = panningOptions;\n        }\n        Chart_fireEvent(this, 'pan', { originalEvent: event }, () => {\n            chart.transform({\n                axes,\n                event,\n                to: {\n                    x: event.chartX - (chart.mouseDownX || 0),\n                    y: event.chartY - (chart.mouseDownY || 0)\n                },\n                trigger: 'pan'\n            });\n            Chart_css(chart.container, { cursor: 'move' });\n        });\n    }\n    /**\n     * Pan and scale the chart. Used internally by mouse-pan, touch-pan,\n     * touch-zoom, and mousewheel zoom.\n     *\n     * The main positioning logic is created around two imaginary boxes. What is\n     * currently within the `from` rectangle, should be transformed to fill up\n     * the `to` rectangle.\n     * - In a mouse zoom, the `from` rectangle is the selection, while the `to`\n     *   rectangle is the full plot area.\n     * - In a touch zoom, the `from` rectangle is made up of the last two-finger\n     *   touch, while the `to`` rectangle is the current touch.\n     * - In a mousewheel zoom, the `to` rectangle is a 10x10 px square,\n     *   while the `to` rectangle reflects the scale around that.\n     *\n     * @private\n     * @function Highcharts.Chart#transform\n     */\n    transform(params) {\n        const { axes = this.axes, event, from = {}, reset, selection, to = {}, trigger } = params, { inverted, time } = this;\n        let hasZoomed = false, displayButton, isAnyAxisPanning;\n        // Remove active points for shared tooltip\n        this.hoverPoints?.forEach((point) => point.setState());\n        for (const axis of axes) {\n            const { horiz, len, minPointOffset = 0, options, reversed } = axis, wh = horiz ? 'width' : 'height', xy = horiz ? 'x' : 'y', toLength = Chart_pick(to[wh], axis.len), fromLength = Chart_pick(from[wh], axis.len), \n            // If fingers pinched very close on this axis, treat as pan\n            scale = Math.abs(toLength) < 10 ?\n                1 :\n                toLength / fromLength, fromCenter = (from[xy] || 0) + fromLength / 2 - axis.pos, toCenter = (to[xy] ?? axis.pos) +\n                toLength / 2 - axis.pos, move = fromCenter - toCenter / scale, pointRangeDirection = (reversed && !inverted) ||\n                (!reversed && inverted) ?\n                -1 :\n                1, minPx = move;\n            // Zooming in multiple panes, zoom only in the pane that receives\n            // the input\n            if (!reset && (fromCenter < 0 || fromCenter > axis.len)) {\n                continue;\n            }\n            let newMin = axis.toValue(minPx, true) +\n                // Don't apply offset for selection (#20784)\n                (selection || axis.isOrdinal ?\n                    0 : minPointOffset * pointRangeDirection), newMax = axis.toValue(minPx + len / scale, true) -\n                (\n                // Don't apply offset for selection (#20784)\n                selection || axis.isOrdinal ?\n                    0 :\n                    ((minPointOffset * pointRangeDirection) ||\n                        // Polar zoom tests failed when this was not\n                        // commented:\n                        // (axis.isXAxis && axis.pointRangePadding) ||\n                        0)), allExtremes = axis.allExtremes;\n            if (newMin > newMax) {\n                [newMin, newMax] = [newMax, newMin];\n            }\n            // General calculations of the full data extremes. It is calculated\n            // on the first call to transform, then reused for subsequent\n            // touch/pan calls. (#11315).\n            if (scale === 1 &&\n                !reset &&\n                axis.coll === 'yAxis' &&\n                !allExtremes) {\n                for (const series of axis.series) {\n                    const seriesExtremes = series.getExtremes(series.getProcessedData(true).modified\n                        .getColumn('y') || [], true);\n                    allExtremes ?? (allExtremes = {\n                        dataMin: Number.MAX_VALUE,\n                        dataMax: -Number.MAX_VALUE\n                    });\n                    if (Chart_isNumber(seriesExtremes.dataMin) &&\n                        Chart_isNumber(seriesExtremes.dataMax)) {\n                        allExtremes.dataMin = Math.min(seriesExtremes.dataMin, allExtremes.dataMin);\n                        allExtremes.dataMax = Math.max(seriesExtremes.dataMax, allExtremes.dataMax);\n                    }\n                }\n                axis.allExtremes = allExtremes;\n            }\n            const { dataMin, dataMax, min, max } = Chart_extend(axis.getExtremes(), allExtremes || {}), optionsMin = time.parse(options.min), optionsMax = time.parse(options.max), \n            // For boosted chart where data extremes are skipped\n            safeDataMin = dataMin ?? optionsMin, safeDataMax = dataMax ?? optionsMax, range = newMax - newMin, padRange = axis.categories ? 0 : Math.min(range, safeDataMax - safeDataMin), paddedMin = safeDataMin - padRange * (Chart_defined(optionsMin) ? 0 : options.minPadding), paddedMax = safeDataMax + padRange * (Chart_defined(optionsMax) ? 0 : options.maxPadding), \n            // We're allowed to zoom outside the data extremes if we're\n            // dealing with a bubble chart, if we're panning, or if we're\n            // pinching or mousewheeling in.\n            allowZoomOutside = axis.allowZoomOutside ||\n                scale === 1 ||\n                (trigger !== 'zoom' && scale > 1), \n            // Calculate the floor and the ceiling\n            floor = Math.min(optionsMin ?? paddedMin, paddedMin, allowZoomOutside ? min : paddedMin), ceiling = Math.max(optionsMax ?? paddedMax, paddedMax, allowZoomOutside ? max : paddedMax);\n            // It is not necessary to calculate extremes on ordinal axis,\n            // because they are already calculated, so we don't want to override\n            // them.\n            if (!axis.isOrdinal ||\n                axis.options.overscroll || // #21316\n                scale !== 1 ||\n                reset) {\n                // If the new range spills over, either to the min or max,\n                // adjust it.\n                if (newMin < floor) {\n                    newMin = floor;\n                    if (scale >= 1) {\n                        newMax = newMin + range;\n                    }\n                }\n                if (newMax > ceiling) {\n                    newMax = ceiling;\n                    if (scale >= 1) {\n                        newMin = newMax - range;\n                    }\n                }\n                // Set new extremes if they are actually new\n                if (reset || (axis.series.length &&\n                    (newMin !== min || newMax !== max) &&\n                    newMin >= floor &&\n                    newMax <= ceiling)) {\n                    if (selection) {\n                        selection[axis.coll].push({\n                            axis,\n                            min: newMin,\n                            max: newMax\n                        });\n                    }\n                    else {\n                        // Temporarily flag the axis as `isPanning` in order to\n                        // disallow certain axis padding options that would make\n                        // panning/zooming hard. Reset and redraw after the\n                        // operation has finished.\n                        axis.isPanning = trigger !== 'zoom';\n                        if (axis.isPanning) {\n                            isAnyAxisPanning = true; // #21319\n                        }\n                        axis.setExtremes(reset ? void 0 : newMin, reset ? void 0 : newMax, false, false, { move, trigger, scale });\n                        if (!reset &&\n                            (newMin > floor || newMax < ceiling) &&\n                            trigger !== 'mousewheel') {\n                            displayButton = true;\n                        }\n                    }\n                    hasZoomed = true;\n                }\n                if (event) {\n                    this[horiz ? 'mouseDownX' : 'mouseDownY'] =\n                        event[horiz ? 'chartX' : 'chartY'];\n                }\n            }\n        }\n        if (hasZoomed) {\n            if (selection) {\n                Chart_fireEvent(this, 'selection', selection, \n                // Run transform again, this time without the selection data\n                // so that the transform is applied.\n                () => {\n                    delete params.selection;\n                    params.trigger = 'zoom';\n                    this.transform(params);\n                });\n            }\n            else {\n                // Show or hide the Reset zoom button, but not while panning\n                if (displayButton &&\n                    !isAnyAxisPanning &&\n                    !this.resetZoomButton) {\n                    this.showResetZoom();\n                }\n                else if (!displayButton && this.resetZoomButton) {\n                    this.resetZoomButton = this.resetZoomButton.destroy();\n                }\n                this.redraw(trigger === 'zoom' &&\n                    (this.options.chart.animation ?? this.pointCount < 100));\n            }\n        }\n        return hasZoomed;\n    }\n}\nChart_extend(Chart.prototype, {\n    // Hook for adding callbacks in modules\n    callbacks: [],\n    /**\n     * These collections (arrays) implement `Chart.addSomething` method used in\n     * chart.update() to create new object in the collection. Equivalent for\n     * deleting is resolved by simple `Something.remove()`.\n     *\n     * Note: We need to define these references after initializers are bound to\n     * chart's prototype.\n     *\n     * @private\n     */\n    collectionsWithInit: {\n        // CollectionName: [ initializingMethod, [extraArguments] ]\n        xAxis: [Chart.prototype.addAxis, [true]],\n        yAxis: [Chart.prototype.addAxis, [false]],\n        series: [Chart.prototype.addSeries]\n    },\n    /**\n     * These collections (arrays) implement update() methods with support for\n     * one-to-one option.\n     * @private\n     */\n    collectionsWithUpdate: [\n        'xAxis',\n        'yAxis',\n        'series'\n    ],\n    /**\n     * These properties cause isDirtyBox to be set to true when updating. Can be\n     * extended from plugins.\n     * @private\n     */\n    propsRequireDirtyBox: [\n        'backgroundColor',\n        'borderColor',\n        'borderWidth',\n        'borderRadius',\n        'plotBackgroundColor',\n        'plotBackgroundImage',\n        'plotBorderColor',\n        'plotBorderWidth',\n        'plotShadow',\n        'shadow'\n    ],\n    /**\n     * These properties require a full reflow of chart elements, best\n     * implemented through running `Chart.setSize` internally (#8190).\n     * @private\n     */\n    propsRequireReflow: [\n        'margin',\n        'marginTop',\n        'marginRight',\n        'marginBottom',\n        'marginLeft',\n        'spacing',\n        'spacingTop',\n        'spacingRight',\n        'spacingBottom',\n        'spacingLeft'\n    ],\n    /**\n     * These properties cause all series to be updated when updating. Can be\n     * extended from plugins.\n     * @private\n     */\n    propsRequireUpdateSeries: [\n        'chart.inverted',\n        'chart.polar',\n        'chart.ignoreHiddenSeries',\n        'chart.type',\n        'colors',\n        'plotOptions',\n        'time',\n        'tooltip'\n    ]\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Chart_Chart = (Chart);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Callback for chart constructors.\n *\n * @callback Highcharts.ChartCallbackFunction\n *\n * @param {Highcharts.Chart} chart\n *        Created chart.\n */\n/**\n * Format a number and return a string based on input settings.\n *\n * @callback Highcharts.NumberFormatterCallbackFunction\n *\n * @param {number} number\n *        The input number to format.\n *\n * @param {number} decimals\n *        The amount of decimals. A value of -1 preserves the amount in the\n *        input number.\n *\n * @param {string} [decimalPoint]\n *        The decimal point, defaults to the one given in the lang options, or\n *        a dot.\n *\n * @param {string} [thousandsSep]\n *        The thousands separator, defaults to the one given in the lang\n *        options, or a space character.\n *\n * @return {string} The formatted number.\n */\n/**\n * The chart title. The title has an `update` method that allows modifying the\n * options directly or indirectly via `chart.update`.\n *\n * @interface Highcharts.TitleObject\n * @extends Highcharts.SVGElement\n */ /**\n* Modify options for the title.\n*\n* @function Highcharts.TitleObject#update\n*\n* @param {Highcharts.TitleOptions} titleOptions\n*        Options to modify.\n*\n* @param {boolean} [redraw=true]\n*        Whether to redraw the chart after the title is altered. If doing more\n*        operations on the chart, it is a good idea to set redraw to false and\n*        call {@link Chart#redraw} after.\n*/\n/**\n * The chart subtitle. The subtitle has an `update` method that\n * allows modifying the options directly or indirectly via\n * `chart.update`.\n *\n * @interface Highcharts.SubtitleObject\n * @extends Highcharts.SVGElement\n */ /**\n* Modify options for the subtitle.\n*\n* @function Highcharts.SubtitleObject#update\n*\n* @param {Highcharts.SubtitleOptions} subtitleOptions\n*        Options to modify.\n*\n* @param {boolean} [redraw=true]\n*        Whether to redraw the chart after the subtitle is altered. If doing\n*        more operations on the chart, it is a good idea to set redraw to false\n*        and call {@link Chart#redraw} after.\n*/\n/**\n * The chart caption. The caption has an `update` method that\n * allows modifying the options directly or indirectly via\n * `chart.update`.\n *\n * @interface Highcharts.CaptionObject\n * @extends Highcharts.SVGElement\n */ /**\n* Modify options for the caption.\n*\n* @function Highcharts.CaptionObject#update\n*\n* @param {Highcharts.CaptionOptions} captionOptions\n*        Options to modify.\n*\n* @param {boolean} [redraw=true]\n*        Whether to redraw the chart after the caption is altered. If doing\n*        more operations on the chart, it is a good idea to set redraw to false\n*        and call {@link Chart#redraw} after.\n*/\n/**\n * @interface Highcharts.ChartIsInsideOptionsObject\n */ /**\n* @name Highcharts.ChartIsInsideOptionsObject#axis\n* @type {Highcharts.Axis|undefined}\n*/ /**\n* @name Highcharts.ChartIsInsideOptionsObject#ignoreX\n* @type {boolean|undefined}\n*/ /**\n* @name Highcharts.ChartIsInsideOptionsObject#ignoreY\n* @type {boolean|undefined}\n*/ /**\n* @name Highcharts.ChartIsInsideOptionsObject#inverted\n* @type {boolean|undefined}\n*/ /**\n* @name Highcharts.ChartIsInsideOptionsObject#paneCoordinates\n* @type {boolean|undefined}\n*/ /**\n* @name Highcharts.ChartIsInsideOptionsObject#series\n* @type {Highcharts.Series|undefined}\n*/ /**\n* @name Highcharts.ChartIsInsideOptionsObject#visiblePlotOnly\n* @type {boolean|undefined}\n*/\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Extensions/ScrollablePlotArea.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n *  Highcharts feature to make the Y axis stay fixed when scrolling the chart\n *  horizontally on mobile devices. Supports left and right side axes.\n */\n\n\nconst { stop: ScrollablePlotArea_stop } = AnimationUtilities;\n\nconst { composed: ScrollablePlotArea_composed } = Core_Globals;\n\n\nconst { addEvent: ScrollablePlotArea_addEvent, createElement: ScrollablePlotArea_createElement, css: ScrollablePlotArea_css, defined: ScrollablePlotArea_defined, erase: ScrollablePlotArea_erase, merge: ScrollablePlotArea_merge, pushUnique: ScrollablePlotArea_pushUnique } = Core_Utilities;\n/* *\n *\n *  Functions\n *\n * */\n/** @private */\nfunction onChartRender() {\n    let scrollablePlotArea = this.scrollablePlotArea;\n    if ((this.scrollablePixelsX || this.scrollablePixelsY) &&\n        !scrollablePlotArea) {\n        this.scrollablePlotArea = scrollablePlotArea = new ScrollablePlotArea(this);\n    }\n    scrollablePlotArea?.applyFixed();\n}\n/** @private */\nfunction markDirty() {\n    if (this.chart.scrollablePlotArea) {\n        this.chart.scrollablePlotArea.isDirty = true;\n    }\n}\nclass ScrollablePlotArea {\n    static compose(AxisClass, ChartClass, SeriesClass) {\n        if (ScrollablePlotArea_pushUnique(ScrollablePlotArea_composed, this.compose)) {\n            ScrollablePlotArea_addEvent(AxisClass, 'afterInit', markDirty);\n            ScrollablePlotArea_addEvent(ChartClass, 'afterSetChartSize', (e) => this.afterSetSize(e.target, e));\n            ScrollablePlotArea_addEvent(ChartClass, 'render', onChartRender);\n            ScrollablePlotArea_addEvent(SeriesClass, 'show', markDirty);\n        }\n    }\n    static afterSetSize(chart, e) {\n        const { minWidth, minHeight } = chart.options.chart.scrollablePlotArea || {}, { clipBox, plotBox, inverted, renderer } = chart;\n        let scrollablePixelsX, scrollablePixelsY, recalculateHoriz;\n        if (!renderer.forExport) {\n            // The amount of pixels to scroll, the difference between chart\n            // width and scrollable width\n            if (minWidth) {\n                chart.scrollablePixelsX = scrollablePixelsX = Math.max(0, minWidth - chart.chartWidth);\n                if (scrollablePixelsX) {\n                    chart.scrollablePlotBox = ScrollablePlotArea_merge(chart.plotBox);\n                    plotBox.width = chart.plotWidth += scrollablePixelsX;\n                    clipBox[inverted ? 'height' : 'width'] += scrollablePixelsX;\n                    recalculateHoriz = true;\n                }\n                // Currently we can only do either X or Y\n            }\n            else if (minHeight) {\n                chart.scrollablePixelsY = scrollablePixelsY = Math.max(0, minHeight - chart.chartHeight);\n                if (ScrollablePlotArea_defined(scrollablePixelsY)) {\n                    chart.scrollablePlotBox = ScrollablePlotArea_merge(chart.plotBox);\n                    plotBox.height = chart.plotHeight += scrollablePixelsY;\n                    clipBox[inverted ? 'width' : 'height'] += scrollablePixelsY;\n                    recalculateHoriz = false;\n                }\n            }\n            if (ScrollablePlotArea_defined(recalculateHoriz) && !e.skipAxes) {\n                for (const axis of chart.axes) {\n                    // Apply the corrected plot size to the axes of the other\n                    // orientation than the scrolling direction\n                    if (axis.horiz === recalculateHoriz ||\n                        // Or parallel axes\n                        (chart.hasParallelCoordinates && axis.coll === 'yAxis')) {\n                        axis.setAxisSize();\n                        axis.setAxisTranslation();\n                    }\n                }\n            }\n        }\n    }\n    constructor(chart) {\n        const chartOptions = chart.options.chart, Renderer = Renderer_RendererRegistry.getRendererType(), scrollableOptions = chartOptions.scrollablePlotArea || {}, moveFixedElements = this.moveFixedElements.bind(this), styles = {\n            WebkitOverflowScrolling: 'touch',\n            overflowX: 'hidden',\n            overflowY: 'hidden'\n        };\n        if (chart.scrollablePixelsX) {\n            styles.overflowX = 'auto';\n        }\n        if (chart.scrollablePixelsY) {\n            styles.overflowY = 'auto';\n        }\n        this.chart = chart;\n        // Insert a container with relative position that scrolling and fixed\n        // container renders to (#10555)\n        const parentDiv = this.parentDiv = ScrollablePlotArea_createElement('div', {\n            className: 'highcharts-scrolling-parent'\n        }, {\n            position: 'relative'\n        }, chart.renderTo), \n        // Add the necessary divs to provide scrolling\n        scrollingContainer = this.scrollingContainer = ScrollablePlotArea_createElement('div', {\n            'className': 'highcharts-scrolling'\n        }, styles, parentDiv), innerContainer = this.innerContainer = ScrollablePlotArea_createElement('div', {\n            'className': 'highcharts-inner-container'\n        }, void 0, scrollingContainer), fixedDiv = this.fixedDiv = ScrollablePlotArea_createElement('div', {\n            className: 'highcharts-fixed'\n        }, {\n            position: 'absolute',\n            overflow: 'hidden',\n            pointerEvents: 'none',\n            zIndex: (chartOptions.style?.zIndex || 0) + 2,\n            top: 0\n        }, void 0, true), fixedRenderer = this.fixedRenderer = new Renderer(fixedDiv, chart.chartWidth, chart.chartHeight, chartOptions.style);\n        // Mask\n        this.mask = fixedRenderer\n            .path()\n            .attr({\n            fill: chartOptions.backgroundColor || '#fff',\n            'fill-opacity': scrollableOptions.opacity ?? 0.85,\n            zIndex: -1\n        })\n            .addClass('highcharts-scrollable-mask')\n            .add();\n        scrollingContainer.parentNode.insertBefore(fixedDiv, scrollingContainer);\n        ScrollablePlotArea_css(chart.renderTo, { overflow: 'visible' });\n        ScrollablePlotArea_addEvent(chart, 'afterShowResetZoom', moveFixedElements);\n        ScrollablePlotArea_addEvent(chart, 'afterApplyDrilldown', moveFixedElements);\n        ScrollablePlotArea_addEvent(chart, 'afterLayOutTitles', moveFixedElements);\n        // On scroll, reset the chart position because it applies to the\n        // scrolled container\n        let lastHoverPoint;\n        ScrollablePlotArea_addEvent(scrollingContainer, 'scroll', () => {\n            const { pointer, hoverPoint } = chart;\n            if (pointer) {\n                delete pointer.chartPosition;\n                if (hoverPoint) {\n                    lastHoverPoint = hoverPoint;\n                }\n                pointer.runPointActions(void 0, lastHoverPoint, true);\n            }\n        });\n        // Now move the container inside\n        innerContainer.appendChild(chart.container);\n    }\n    applyFixed() {\n        const { chart, fixedRenderer, isDirty, scrollingContainer } = this, { axisOffset, chartWidth, chartHeight, container, plotHeight, plotLeft, plotTop, plotWidth, scrollablePixelsX = 0, scrollablePixelsY = 0 } = chart, chartOptions = chart.options.chart, scrollableOptions = chartOptions.scrollablePlotArea || {}, { scrollPositionX = 0, scrollPositionY = 0 } = scrollableOptions, scrollableWidth = chartWidth + scrollablePixelsX, scrollableHeight = chartHeight + scrollablePixelsY;\n        // Set the size of the fixed renderer to the visible width\n        fixedRenderer.setSize(chartWidth, chartHeight);\n        if (isDirty ?? true) {\n            this.isDirty = false;\n            this.moveFixedElements();\n        }\n        // Increase the size of the scrollable renderer and background\n        ScrollablePlotArea_stop(chart.container);\n        ScrollablePlotArea_css(container, {\n            width: `${scrollableWidth}px`,\n            height: `${scrollableHeight}px`\n        });\n        chart.renderer.boxWrapper.attr({\n            width: scrollableWidth,\n            height: scrollableHeight,\n            viewBox: [0, 0, scrollableWidth, scrollableHeight].join(' ')\n        });\n        chart.chartBackground?.attr({\n            width: scrollableWidth,\n            height: scrollableHeight\n        });\n        ScrollablePlotArea_css(scrollingContainer, {\n            width: `${chartWidth}px`,\n            height: `${chartHeight}px`\n        });\n        // Set scroll position the first time (this.isDirty was undefined at\n        // the top of this function)\n        if (!ScrollablePlotArea_defined(isDirty)) {\n            scrollingContainer.scrollLeft = scrollablePixelsX * scrollPositionX;\n            scrollingContainer.scrollTop = scrollablePixelsY * scrollPositionY;\n        }\n        // Mask behind the left and right side\n        const maskTop = plotTop - axisOffset[0] - 1, maskLeft = plotLeft - axisOffset[3] - 1, maskBottom = plotTop + plotHeight + axisOffset[2] + 1, maskRight = plotLeft + plotWidth + axisOffset[1] + 1, maskPlotRight = plotLeft + plotWidth - scrollablePixelsX, maskPlotBottom = plotTop + plotHeight - scrollablePixelsY;\n        let d = [['M', 0, 0]];\n        if (scrollablePixelsX) {\n            d = [\n                // Left side\n                ['M', 0, maskTop],\n                ['L', plotLeft - 1, maskTop],\n                ['L', plotLeft - 1, maskBottom],\n                ['L', 0, maskBottom],\n                ['Z'],\n                // Right side\n                ['M', maskPlotRight, maskTop],\n                ['L', chartWidth, maskTop],\n                ['L', chartWidth, maskBottom],\n                ['L', maskPlotRight, maskBottom],\n                ['Z']\n            ];\n        }\n        else if (scrollablePixelsY) {\n            d = [\n                // Top side\n                ['M', maskLeft, 0],\n                ['L', maskLeft, plotTop - 1],\n                ['L', maskRight, plotTop - 1],\n                ['L', maskRight, 0],\n                ['Z'],\n                // Bottom side\n                ['M', maskLeft, maskPlotBottom],\n                ['L', maskLeft, chartHeight],\n                ['L', maskRight, chartHeight],\n                ['L', maskRight, maskPlotBottom],\n                ['Z']\n            ];\n        }\n        if (chart.redrawTrigger !== 'adjustHeight') {\n            this.mask.attr({ d });\n        }\n    }\n    /**\n     * These elements are moved over to the fixed renderer and stay fixed when\n     * the user scrolls the chart\n     * @private\n     */\n    moveFixedElements() {\n        const { container, inverted, scrollablePixelsX, scrollablePixelsY } = this.chart, fixedRenderer = this.fixedRenderer, fixedSelectors = ScrollablePlotArea.fixedSelectors;\n        let axisClass;\n        if (scrollablePixelsX && !inverted) {\n            axisClass = '.highcharts-yaxis';\n        }\n        else if (scrollablePixelsX && inverted) {\n            axisClass = '.highcharts-xaxis';\n        }\n        else if (scrollablePixelsY && !inverted) {\n            axisClass = '.highcharts-xaxis';\n        }\n        else if (scrollablePixelsY && inverted) {\n            axisClass = '.highcharts-yaxis';\n        }\n        if (axisClass && !(this.chart.hasParallelCoordinates &&\n            axisClass === '.highcharts-yaxis')) {\n            // Add if not added yet\n            for (const className of [\n                `${axisClass}:not(.highcharts-radial-axis)`,\n                `${axisClass}-labels:not(.highcharts-radial-axis-labels)`\n            ]) {\n                ScrollablePlotArea_pushUnique(fixedSelectors, className);\n            }\n        }\n        else {\n            // Clear all axis related selectors\n            for (const classBase of [\n                '.highcharts-xaxis',\n                '.highcharts-yaxis'\n            ]) {\n                for (const className of [\n                    `${classBase}:not(.highcharts-radial-axis)`,\n                    `${classBase}-labels:not(.highcharts-radial-axis-labels)`\n                ]) {\n                    ScrollablePlotArea_erase(fixedSelectors, className);\n                }\n            }\n        }\n        for (const className of fixedSelectors) {\n            [].forEach.call(container.querySelectorAll(className), (elem) => {\n                (elem.namespaceURI === fixedRenderer.SVG_NS ?\n                    fixedRenderer.box :\n                    fixedRenderer.box.parentNode).appendChild(elem);\n                elem.style.pointerEvents = 'auto';\n            });\n        }\n    }\n}\nScrollablePlotArea.fixedSelectors = [\n    '.highcharts-breadcrumbs-group',\n    '.highcharts-contextbutton',\n    '.highcharts-caption',\n    '.highcharts-credits',\n    '.highcharts-drillup-button',\n    '.highcharts-legend',\n    '.highcharts-legend-checkbox',\n    '.highcharts-navigator-series',\n    '.highcharts-navigator-xaxis',\n    '.highcharts-navigator-yaxis',\n    '.highcharts-navigator',\n    '.highcharts-range-selector-group',\n    '.highcharts-reset-zoom',\n    '.highcharts-scrollbar',\n    '.highcharts-subtitle',\n    '.highcharts-title'\n];\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Extensions_ScrollablePlotArea = (ScrollablePlotArea);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Options for a scrollable plot area. This feature provides a minimum size for\n * the plot area of the chart. If the size gets smaller than this, typically\n * on mobile devices, a native browser scrollbar is presented. This scrollbar\n * provides smooth scrolling for the contents of the plot area, whereas the\n * title, legend and unaffected axes are fixed.\n *\n * Since v7.1.2, a scrollable plot area can be defined for either horizontal or\n * vertical scrolling, depending on whether the `minWidth` or `minHeight`\n * option is set.\n *\n * @sample highcharts/chart/scrollable-plotarea\n *         Scrollable plot area\n * @sample highcharts/chart/scrollable-plotarea-vertical\n *         Vertically scrollable plot area\n * @sample {gantt} gantt/chart/scrollable-plotarea-vertical\n *         Gantt chart with vertically scrollable plot area\n *\n * @since     6.1.0\n * @product   highcharts gantt\n * @apioption chart.scrollablePlotArea\n */\n/**\n * The minimum height for the plot area. If it gets smaller than this, the plot\n * area will become scrollable.\n *\n * @type      {number}\n * @since     7.1.2\n * @apioption chart.scrollablePlotArea.minHeight\n */\n/**\n * The minimum width for the plot area. If it gets smaller than this, the plot\n * area will become scrollable.\n *\n * @type      {number}\n * @since     6.1.0\n * @apioption chart.scrollablePlotArea.minWidth\n */\n/**\n * The initial scrolling position of the scrollable plot area. Ranges from 0 to\n * 1, where 0 aligns the plot area to the left and 1 aligns it to the right.\n * Typically we would use 1 if the chart has right aligned Y axes.\n *\n * @type      {number}\n * @since     6.1.0\n * @apioption chart.scrollablePlotArea.scrollPositionX\n */\n/**\n * The initial scrolling position of the scrollable plot area. Ranges from 0 to\n * 1, where 0 aligns the plot area to the top and 1 aligns it to the bottom.\n *\n * @type      {number}\n * @since     7.1.2\n * @apioption chart.scrollablePlotArea.scrollPositionY\n */\n/**\n * The opacity of mask applied on one of the sides of the plot\n * area.\n *\n * @sample {highcharts} highcharts/chart/scrollable-plotarea-opacity\n *         Disabled opacity for the mask\n *\n * @type        {number}\n * @default     0.85\n * @since       7.1.1\n * @apioption   chart.scrollablePlotArea.opacity\n */\n(''); // Keep doclets above in transpiled file\n\n;// ./code/es-modules/Core/Axis/Stacking/StackItem.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { format: StackItem_format } = Core_Templating;\n\nconst { series: StackItem_Series } = Series_SeriesRegistry;\n\nconst { destroyObjectProperties: StackItem_destroyObjectProperties, fireEvent: StackItem_fireEvent, getAlignFactor: StackItem_getAlignFactor, isNumber: StackItem_isNumber, pick: StackItem_pick } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * The class for stacks. Each stack, on a specific X value and either negative\n * or positive, has its own stack item.\n * @private\n */\nclass StackItem {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(axis, options, negativeValue, x, stackOption) {\n        const inverted = axis.chart.inverted, reversed = axis.reversed;\n        this.axis = axis;\n        // The stack goes to the left either if the stack has negative value\n        // or when axis is reversed. XOR operator.\n        const isNegative = (this.isNegative = !!negativeValue !== !!reversed);\n        // Save the options to be able to style the label\n        this.options = options = options || {};\n        // Save the x value to be able to position the label later\n        this.x = x;\n        // Initialize total value\n        this.total = null;\n        this.cumulative = null;\n        // This will keep each points' extremes stored by series.index and point\n        // index\n        this.points = {};\n        this.hasValidPoints = false;\n        // Save the stack option on the series configuration object,\n        // and whether to treat it as percent\n        this.stack = stackOption;\n        this.leftCliff = 0;\n        this.rightCliff = 0;\n        // The align options and text align varies on whether the stack is\n        // negative and if the chart is inverted or not.\n        // First test the user supplied value, then use the dynamic.\n        this.alignOptions = {\n            align: options.align ||\n                (inverted ? (isNegative ? 'left' : 'right') : 'center'),\n            verticalAlign: options.verticalAlign ||\n                (inverted ? 'middle' : isNegative ? 'bottom' : 'top'),\n            y: options.y,\n            x: options.x\n        };\n        this.textAlign =\n            options.textAlign ||\n                (inverted ? (!isNegative ? 'left' : 'right') : 'center');\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    destroy() {\n        StackItem_destroyObjectProperties(this, this.axis);\n    }\n    /**\n     * Renders the stack total label and adds it to the stack label group.\n     * @private\n     */\n    render(group) {\n        const chart = this.axis.chart, options = this.options, formatOption = options.format, \n        // Format the text in the label.\n        str = formatOption ?\n            StackItem_format(formatOption, this, chart) :\n            options.formatter.call(this);\n        // Change the text to reflect the new total and set visibility to hidden\n        // in case the series is hidden\n        if (this.label) {\n            this.label.attr({ text: str, visibility: 'hidden' });\n        }\n        else {\n            // Create new label\n            this.label = chart.renderer.label(str, null, void 0, options.shape, void 0, void 0, options.useHTML, false, 'stack-labels');\n            const attr = {\n                r: options.borderRadius || 0,\n                text: str,\n                // Set default padding to 5 as it is in datalabels #12308\n                padding: StackItem_pick(options.padding, 5),\n                visibility: 'hidden' // Hidden until setOffset is called\n            };\n            if (!chart.styledMode) {\n                attr.fill = options.backgroundColor;\n                attr.stroke = options.borderColor;\n                attr['stroke-width'] = options.borderWidth;\n                this.label.css(options.style || {});\n            }\n            this.label.attr(attr);\n            if (!this.label.added) {\n                this.label.add(group); // Add to the labels-group\n            }\n        }\n        // Rank it higher than data labels (#8742)\n        this.label.labelrank = chart.plotSizeY;\n        StackItem_fireEvent(this, 'afterRender');\n    }\n    /**\n     * Sets the offset that the stack has from the x value and repositions the\n     * label.\n     * @private\n     */\n    setOffset(xOffset, width, boxBottom, boxTop, defaultX, xAxis) {\n        const { alignOptions, axis, label, options, textAlign } = this, chart = axis.chart, stackBox = this.getStackBox({\n            xOffset,\n            width,\n            boxBottom,\n            boxTop,\n            defaultX,\n            xAxis\n        }), { verticalAlign } = alignOptions;\n        if (label && stackBox) {\n            const labelBox = label.getBBox(void 0, 0), padding = label.padding;\n            let isJustify = StackItem_pick(options.overflow, 'justify') === 'justify', visible;\n            // Reset alignOptions property after justify #12337\n            alignOptions.x = options.x || 0;\n            alignOptions.y = options.y || 0;\n            // Calculate the adjusted Stack position, to take into consideration\n            // The size if the labelBox and vertical alignment as\n            // well as the text alignment. It's need to be done to work with\n            // default SVGLabel.align/justify methods.\n            const { x, y } = this.adjustStackPosition({\n                labelBox,\n                verticalAlign,\n                textAlign\n            });\n            stackBox.x -= x;\n            stackBox.y -= y;\n            // Align the label to the adjusted box.\n            label.align(alignOptions, false, stackBox);\n            // Check if label is inside the plotArea #12294\n            visible = chart.isInsidePlot(label.alignAttr.x + alignOptions.x + x, label.alignAttr.y + alignOptions.y + y);\n            if (!visible) {\n                isJustify = false;\n            }\n            if (isJustify) {\n                // Justify stackLabel into the alignBox\n                StackItem_Series.prototype.justifyDataLabel.call(axis, label, alignOptions, label.alignAttr, labelBox, stackBox);\n            }\n            // Add attr to avoid the default animation of justifyDataLabel.\n            // Also add correct rotation with its rotation origin. #15129\n            label.attr({\n                x: label.alignAttr.x,\n                y: label.alignAttr.y,\n                rotation: options.rotation,\n                rotationOriginX: labelBox.width *\n                    StackItem_getAlignFactor(options.textAlign || 'center'),\n                rotationOriginY: labelBox.height / 2\n            });\n            // Check if the dataLabel should be visible.\n            if (StackItem_pick(!isJustify && options.crop, true)) {\n                visible =\n                    StackItem_isNumber(label.x) &&\n                        StackItem_isNumber(label.y) &&\n                        chart.isInsidePlot(label.x - padding + (label.width || 0), label.y) &&\n                        chart.isInsidePlot(label.x + padding, label.y);\n            }\n            label[visible ? 'show' : 'hide']();\n        }\n        StackItem_fireEvent(this, 'afterSetOffset', { xOffset, width });\n    }\n    /**\n     * Adjust the stack BBox position, to take into consideration the alignment\n     * of the dataLabel. This is necessary to make the stackDataLabel work with\n     * core methods like `SVGLabel.adjust` and `Series.justifyDataLabel`.\n     * @param AdjustStackPositionProps\n     * @return {{x: number, y: number}} Adjusted BBox position of the stack.\n     */\n    adjustStackPosition({ labelBox, verticalAlign, textAlign }) {\n        return {\n            x: labelBox.width / 2 +\n                (labelBox.width / 2) * (2 * StackItem_getAlignFactor(textAlign) - 1),\n            y: (labelBox.height / 2) * 2 * (1 - StackItem_getAlignFactor(verticalAlign))\n        };\n    }\n    /**\n     * Get the bbox of the stack.\n     * @private\n     * @function Highcharts.StackItem#getStackBox\n     * @return {BBoxObject} The x, y, height, width of the stack.\n     */\n    getStackBox(stackBoxProps) {\n        const stackItem = this, axis = this.axis, chart = axis.chart, { boxTop, defaultX, xOffset, width, boxBottom } = stackBoxProps, totalStackValue = axis.stacking.usePercentage ?\n            100 :\n            StackItem_pick(boxTop, this.total, 0), y = axis.toPixels(totalStackValue), xAxis = stackBoxProps.xAxis || chart.xAxis[0], x = StackItem_pick(defaultX, xAxis.translate(this.x)) + xOffset, yZero = axis.toPixels(boxBottom ||\n            (StackItem_isNumber(axis.min) &&\n                axis.logarithmic &&\n                axis.logarithmic.lin2log(axis.min)) ||\n            0), height = Math.abs(y - yZero), inverted = chart.inverted, neg = stackItem.isNegative;\n        return inverted ?\n            {\n                x: (neg ? y : y - height) - chart.plotLeft,\n                y: xAxis.height - x - width + xAxis.top - chart.plotTop,\n                width: height,\n                height: width\n            } : {\n            x: x + xAxis.transB - chart.plotLeft,\n            y: (neg ? y - height : y) - chart.plotTop,\n            width: width,\n            height: height\n        };\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Stacking_StackItem = (StackItem);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Stack of data points\n *\n * @product highcharts\n *\n * @interface Highcharts.StackItemObject\n */ /**\n* Alignment settings\n* @name Highcharts.StackItemObject#alignOptions\n* @type {Highcharts.AlignObject}\n*/ /**\n* Related axis\n* @name Highcharts.StackItemObject#axis\n* @type {Highcharts.Axis}\n*/ /**\n* Cumulative value of the stacked data points\n* @name Highcharts.StackItemObject#cumulative\n* @type {number}\n*/ /**\n* True if on the negative side\n* @name Highcharts.StackItemObject#isNegative\n* @type {boolean}\n*/ /**\n* Related SVG element\n* @name Highcharts.StackItemObject#label\n* @type {Highcharts.SVGElement}\n*/ /**\n* Related stack options\n* @name Highcharts.StackItemObject#options\n* @type {Highcharts.YAxisStackLabelsOptions}\n*/ /**\n* Total value of the stacked data points\n* @name Highcharts.StackItemObject#total\n* @type {number}\n*/ /**\n* Shared x value of the stack\n* @name Highcharts.StackItemObject#x\n* @type {number}\n*/\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Axis/Stacking/StackingAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { getDeferredAnimation: StackingAxis_getDeferredAnimation } = AnimationUtilities;\n\n\nconst { series: { prototype: seriesProto } } = Series_SeriesRegistry;\n\n\nconst { addEvent: StackingAxis_addEvent, correctFloat: StackingAxis_correctFloat, defined: StackingAxis_defined, destroyObjectProperties: StackingAxis_destroyObjectProperties, fireEvent: StackingAxis_fireEvent, isNumber: StackingAxis_isNumber, objectEach: StackingAxis_objectEach, pick: StackingAxis_pick } = Core_Utilities;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Generate stacks for each series and calculate stacks total values\n *\n * @private\n * @function Highcharts.Chart#getStacks\n */\nfunction chartGetStacks() {\n    const chart = this, inverted = chart.inverted;\n    // Reset stacks for each axis\n    chart.axes.forEach((axis) => {\n        if (axis.stacking && axis.stacking.stacks && axis.hasVisibleSeries) {\n            axis.stacking.oldStacks = axis.stacking.stacks;\n        }\n    });\n    chart.series.forEach((series) => {\n        const xAxisOptions = series.xAxis && series.xAxis.options || {};\n        if (series.options.stacking && series.reserveSpace()) {\n            series.stackKey = [\n                series.type,\n                StackingAxis_pick(series.options.stack, ''),\n                inverted ? xAxisOptions.top : xAxisOptions.left,\n                inverted ? xAxisOptions.height : xAxisOptions.width\n            ].join(',');\n        }\n    });\n}\n/**\n * @private\n */\nfunction onAxisDestroy() {\n    const stacking = this.stacking;\n    if (stacking) {\n        const stacks = stacking.stacks;\n        // Destroy each stack total\n        StackingAxis_objectEach(stacks, (stack, stackKey) => {\n            StackingAxis_destroyObjectProperties(stack);\n            delete stacks[stackKey];\n        });\n        stacking.stackTotalGroup?.destroy();\n    }\n}\n/**\n * @private\n */\nfunction onAxisInit() {\n    if (!this.stacking) {\n        this.stacking = new AxisAdditions(this);\n    }\n}\n/**\n * Get stack indicator, according to it's x-value, to determine points with the\n * same x-value\n *\n * @private\n * @function Highcharts.Series#getStackIndicator\n */\nfunction seriesGetStackIndicator(stackIndicator, x, index, key) {\n    // Update stack indicator, when:\n    // first point in a stack || x changed || stack type (negative vs positive)\n    // changed:\n    if (!StackingAxis_defined(stackIndicator) ||\n        stackIndicator.x !== x ||\n        (key && stackIndicator.stackKey !== key)) {\n        stackIndicator = {\n            x: x,\n            index: 0,\n            key,\n            stackKey: key\n        };\n    }\n    else {\n        stackIndicator.index++;\n    }\n    stackIndicator.key = [index, x, stackIndicator.index].join(',');\n    return stackIndicator;\n}\n/**\n * Iterate over all stacks and compute the absolute values to percent\n *\n * @private\n * @function Highcharts.Series#modifyStacks\n */\nfunction seriesModifyStacks() {\n    const series = this, yAxis = series.yAxis, stackKey = series.stackKey || '', stacks = yAxis.stacking.stacks, processedXData = series.getColumn('x', true), stacking = series.options.stacking, stacker = series[stacking + 'Stacker'];\n    let stackIndicator;\n    if (stacker) { // Modifier function exists (Series.percentStacker etc.)\n        [stackKey, '-' + stackKey].forEach((key) => {\n            let i = processedXData.length, x, stackItem, pointExtremes;\n            while (i--) {\n                x = processedXData[i];\n                stackIndicator = series.getStackIndicator(stackIndicator, x, series.index, key);\n                stackItem = stacks[key]?.[x];\n                pointExtremes = stackItem?.points[stackIndicator.key || ''];\n                if (pointExtremes) {\n                    stacker.call(series, pointExtremes, stackItem, i);\n                }\n            }\n        });\n    }\n}\n/**\n * Modifier function for percent stacks. Blows up the stack to 100%.\n *\n * @private\n * @function Highcharts.Series#percentStacker\n */\nfunction seriesPercentStacker(pointExtremes, stack, i) {\n    const totalFactor = stack.total ? 100 / stack.total : 0;\n    // Y bottom value\n    pointExtremes[0] = StackingAxis_correctFloat(pointExtremes[0] * totalFactor);\n    // Y value\n    pointExtremes[1] = StackingAxis_correctFloat(pointExtremes[1] * totalFactor);\n    this.stackedYData[i] = pointExtremes[1];\n}\n/**\n * Set grouped points in a stack-like object. When `centerInCategory` is true,\n * and `stacking` is not enabled, we need a pseudo (horizontal) stack in order\n * to handle grouping of points within the same category.\n *\n * @private\n * @function Highcharts.Series#setGroupedPoints\n * @return {void}\n */\nfunction seriesSetGroupedPoints(axis) {\n    // Only series types supporting centerInCategory need to do this. That also\n    // applies to resetting (#20221).\n    if (this.is('column') || this.is('columnrange')) {\n        if (this.options.centerInCategory &&\n            // With only one series, we don't need to consider centerInCategory\n            this.chart.series.length > 1) {\n            seriesProto.setStackedPoints.call(this, axis, 'group');\n            // After updating, if we now have proper stacks, we must delete the\n            // group pseudo stacks (#14980)\n        }\n        else {\n            axis.stacking.resetStacks();\n        }\n    }\n}\n/**\n * Adds series' points value to corresponding stack\n *\n * @private\n * @function Highcharts.Series#setStackedPoints\n */\nfunction seriesSetStackedPoints(axis, stackingParam) {\n    const type = stackingParam || this.options.stacking;\n    if (!type ||\n        !this.reserveSpace() ||\n        // Group stacks (centerInCategory) belong on the x-axis, other stacks on\n        // the y-axis.\n        ({ group: 'xAxis' }[type] || 'yAxis') !== axis.coll) {\n        return;\n    }\n    const series = this, xData = series.getColumn('x', true), yData = series.getColumn(series.pointValKey || 'y', true), stackedYData = [], yDataLength = yData.length, seriesOptions = series.options, threshold = seriesOptions.threshold || 0, stackThreshold = seriesOptions.startFromThreshold ? threshold : 0, stackOption = seriesOptions.stack, stackKey = stackingParam ?\n        `${series.type},${type}` : (series.stackKey || ''), negKey = '-' + stackKey, negStacks = series.negStacks, stacking = axis.stacking, stacks = stacking.stacks, oldStacks = stacking.oldStacks;\n    let stackIndicator, isNegative, stack, other, key, pointKey, i;\n    stacking.stacksTouched += 1;\n    // Loop over the non-null y values and read them into a local array\n    for (i = 0; i < yDataLength; i++) {\n        const x = xData[i] || 0, y = yData[i], yNumber = StackingAxis_isNumber(y) && y || 0;\n        stackIndicator = series.getStackIndicator(stackIndicator, x, series.index);\n        pointKey = stackIndicator.key || '';\n        // Read stacked values into a stack based on the x value,\n        // the sign of y and the stack key. Stacking is also handled for null\n        // values (#739)\n        isNegative = negStacks && yNumber < (stackThreshold ? 0 : threshold);\n        key = isNegative ? negKey : stackKey;\n        // Create empty object for this stack if it doesn't exist yet\n        if (!stacks[key]) {\n            stacks[key] = {};\n        }\n        // Initialize StackItem for this x\n        if (!stacks[key][x]) {\n            if (oldStacks[key]?.[x]) {\n                stacks[key][x] = oldStacks[key][x];\n                stacks[key][x].total = null;\n            }\n            else {\n                stacks[key][x] = new Stacking_StackItem(axis, axis.options.stackLabels, !!isNegative, x, stackOption);\n            }\n        }\n        // If the StackItem doesn't exist, create it first\n        stack = stacks[key][x];\n        if (y !== null) {\n            stack.points[pointKey] = stack.points[series.index] = [\n                StackingAxis_pick(stack.cumulative, stackThreshold)\n            ];\n            // Record the base of the stack\n            if (!StackingAxis_defined(stack.cumulative)) {\n                stack.base = pointKey;\n            }\n            stack.touched = stacking.stacksTouched;\n            // In area charts, if there are multiple points on the same X value,\n            // let the area fill the full span of those points\n            if (stackIndicator.index > 0 && series.singleStacks === false) {\n                stack.points[pointKey][0] = stack.points[series.index + ',' + x + ',0'][0];\n            }\n            // When updating to null, reset the point stack (#7493)\n        }\n        else {\n            delete stack.points[pointKey];\n            delete stack.points[series.index];\n        }\n        // Add value to the stack total\n        let total = stack.total || 0;\n        if (type === 'percent') {\n            // Percent stacked column, totals are the same for the positive and\n            // negative stacks\n            other = isNegative ? stackKey : negKey;\n            if (negStacks && stacks[other]?.[x]) {\n                other = stacks[other][x];\n                total = other.total = Math.max(other.total || 0, total) +\n                    Math.abs(yNumber);\n                // Percent stacked areas\n            }\n            else {\n                total = StackingAxis_correctFloat(total + Math.abs(yNumber));\n            }\n        }\n        else if (type === 'group') {\n            // In this stack, the total is the number of valid points\n            if (StackingAxis_isNumber(y)) {\n                total++;\n            }\n        }\n        else {\n            total = StackingAxis_correctFloat(total + yNumber);\n        }\n        if (type === 'group') {\n            // This point's index within the stack, pushed to stack.points[1]\n            stack.cumulative = (total || 1) - 1;\n        }\n        else {\n            stack.cumulative = StackingAxis_correctFloat(StackingAxis_pick(stack.cumulative, stackThreshold) + yNumber);\n        }\n        stack.total = total;\n        if (y !== null) {\n            stack.points[pointKey].push(stack.cumulative);\n            stackedYData[i] = stack.cumulative;\n            stack.hasValidPoints = true;\n        }\n    }\n    if (type === 'percent') {\n        stacking.usePercentage = true;\n    }\n    if (type !== 'group') {\n        this.stackedYData = stackedYData; // To be used in getExtremes\n    }\n    // Reset old stacks\n    stacking.oldStacks = {};\n}\n/* *\n *\n *  Classes\n *\n * */\n/**\n * Adds stacking support to axes.\n * @private\n * @class\n */\nclass AxisAdditions {\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(axis) {\n        this.oldStacks = {};\n        this.stacks = {};\n        this.stacksTouched = 0;\n        this.axis = axis;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Build the stacks from top down\n     * @private\n     */\n    buildStacks() {\n        const stacking = this, axis = stacking.axis, axisSeries = axis.series, isXAxis = axis.coll === 'xAxis', reversedStacks = axis.options.reversedStacks, len = axisSeries.length;\n        let actualSeries, i;\n        this.resetStacks();\n        stacking.usePercentage = false;\n        i = len;\n        while (i--) {\n            actualSeries = axisSeries[reversedStacks ? i : len - i - 1];\n            if (isXAxis) {\n                actualSeries.setGroupedPoints(axis);\n            }\n            actualSeries.setStackedPoints(axis);\n        }\n        // Loop up again to compute percent and stream stack\n        if (!isXAxis) {\n            for (i = 0; i < len; i++) {\n                axisSeries[i].modifyStacks();\n            }\n        }\n        StackingAxis_fireEvent(axis, 'afterBuildStacks');\n    }\n    /**\n     * @private\n     */\n    cleanStacks() {\n        if (this.oldStacks) {\n            this.stacks = this.oldStacks;\n            // Reset stacks\n            StackingAxis_objectEach(this.stacks, (type) => {\n                StackingAxis_objectEach(type, (stack) => {\n                    stack.cumulative = stack.total;\n                });\n            });\n        }\n    }\n    /**\n     * Set all the stacks to initial states and destroy unused ones.\n     * @private\n     */\n    resetStacks() {\n        StackingAxis_objectEach(this.stacks, (type) => {\n            StackingAxis_objectEach(type, (stack, x) => {\n                // Clean up memory after point deletion (#1044, #4320)\n                if (StackingAxis_isNumber(stack.touched) &&\n                    stack.touched < this.stacksTouched) {\n                    stack.destroy();\n                    delete type[x];\n                    // Reset stacks\n                }\n                else {\n                    stack.total = null;\n                    stack.cumulative = null;\n                }\n            });\n        });\n    }\n    /**\n     * @private\n     */\n    renderStackTotals() {\n        const stacking = this, axis = stacking.axis, chart = axis.chart, renderer = chart.renderer, stacks = stacking.stacks, stackLabelsAnim = axis.options.stackLabels?.animation, animationConfig = StackingAxis_getDeferredAnimation(chart, stackLabelsAnim || false), stackTotalGroup = stacking.stackTotalGroup = (stacking.stackTotalGroup ||\n            renderer\n                .g('stack-labels')\n                .attr({\n                zIndex: 6,\n                opacity: 0\n            })\n                .add());\n        // The plotLeft/Top will change when y axis gets wider so we need to\n        // translate the stackTotalGroup at every render call. See bug #506\n        // and #516\n        stackTotalGroup.translate(chart.plotLeft, chart.plotTop);\n        // Render each stack total\n        StackingAxis_objectEach(stacks, (type) => {\n            StackingAxis_objectEach(type, (stack) => {\n                stack.render(stackTotalGroup);\n            });\n        });\n        stackTotalGroup.animate({\n            opacity: 1\n        }, animationConfig);\n    }\n}\n/* *\n *\n *  Composition\n *\n * */\nvar StackingAxis;\n(function (StackingAxis) {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Extends axis with stacking support.\n     * @private\n     */\n    function compose(AxisClass, ChartClass, SeriesClass) {\n        const chartProto = ChartClass.prototype, seriesProto = SeriesClass.prototype;\n        if (!chartProto.getStacks) {\n            StackingAxis_addEvent(AxisClass, 'init', onAxisInit);\n            StackingAxis_addEvent(AxisClass, 'destroy', onAxisDestroy);\n            chartProto.getStacks = chartGetStacks;\n            seriesProto.getStackIndicator = seriesGetStackIndicator;\n            seriesProto.modifyStacks = seriesModifyStacks;\n            seriesProto.percentStacker = seriesPercentStacker;\n            seriesProto.setGroupedPoints = seriesSetGroupedPoints;\n            seriesProto.setStackedPoints = seriesSetStackedPoints;\n        }\n    }\n    StackingAxis.compose = compose;\n})(StackingAxis || (StackingAxis = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Stacking_StackingAxis = (StackingAxis);\n\n;// ./code/es-modules/Series/Line/LineSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { defined: LineSeries_defined, merge: LineSeries_merge, isObject: LineSeries_isObject } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * The line series is the base type and is therefor the series base prototype.\n *\n * @private\n */\nclass LineSeries extends Series_Series {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Draw the graph. Called internally when rendering line-like series\n     * types. The first time it generates the `series.graph` item and\n     * optionally other series-wide items like `series.area` for area\n     * charts. On subsequent calls these items are updated with new\n     * positions and attributes.\n     *\n     * @function Highcharts.Series#drawGraph\n     */\n    drawGraph() {\n        const options = this.options, graphPath = (this.gappedPath || this.getGraphPath).call(this), styledMode = this.chart.styledMode;\n        // Draw the graph\n        [this, ...this.zones].forEach((owner, i) => {\n            let attribs, graph = owner.graph;\n            const verb = graph ? 'animate' : 'attr', dashStyle = owner.dashStyle ||\n                options.dashStyle;\n            if (graph) {\n                graph.endX = this.preventGraphAnimation ?\n                    null :\n                    graphPath.xMap;\n                graph.animate({ d: graphPath });\n            }\n            else if (graphPath.length) { // #1487\n                /**\n                 * SVG element of line-based charts. Can be used for styling\n                 * purposes. If zones are configured, this element will be\n                 * hidden and replaced by multiple zone lines, accessible\n                 * via `series.zones[i].graph`.\n                 *\n                 * @name Highcharts.Series#graph\n                 * @type {Highcharts.SVGElement|undefined}\n                 */\n                owner.graph = graph = this.chart.renderer\n                    .path(graphPath)\n                    .addClass('highcharts-graph' +\n                    (i ? ` highcharts-zone-graph-${i - 1} ` : ' ') +\n                    ((i && owner.className) || ''))\n                    .attr({ zIndex: 1 }) // #1069\n                    .add(this.group);\n            }\n            if (graph && !styledMode) {\n                attribs = {\n                    'stroke': ((!i && options.lineColor) || // Series only\n                        owner.color ||\n                        this.color ||\n                        \"#cccccc\" /* Palette.neutralColor20 */),\n                    'stroke-width': options.lineWidth || 0,\n                    // Polygon series use filled graph\n                    'fill': (this.fillGraph && this.color) || 'none'\n                };\n                // Apply dash style\n                if (dashStyle) {\n                    attribs.dashstyle = dashStyle;\n                    // The reason for the `else if` is that linecaps don't mix well\n                    // with dashstyle. The gaps get partially filled by the\n                    // linecap.\n                }\n                else if (options.linecap !== 'square') {\n                    attribs['stroke-linecap'] =\n                        attribs['stroke-linejoin'] = 'round';\n                }\n                graph[verb](attribs)\n                    // Add shadow to normal series as well as zones\n                    .shadow(options.shadow &&\n                    // If shadow is defined, call function with\n                    // `filterUnits: 'userSpaceOnUse'` to avoid known\n                    // SVG filter bug (#19093)\n                    LineSeries_merge({ filterUnits: 'userSpaceOnUse' }, LineSeries_isObject(options.shadow) ? options.shadow : {}));\n            }\n            // Helpers for animation\n            if (graph) {\n                graph.startX = graphPath.xMap;\n                graph.isArea = graphPath.isArea; // For arearange animation\n            }\n        });\n    }\n    // eslint-disable-next-line valid-jsdoc\n    /**\n     * Get the graph path.\n     *\n     * @private\n     */\n    getGraphPath(points, nullsAsZeroes, connectCliffs) {\n        const series = this, options = series.options, graphPath = [], xMap = [];\n        let gap, step = options.step;\n        points = points || series.points;\n        // Bottom of a stack is reversed\n        const reversed = points.reversed;\n        if (reversed) {\n            points.reverse();\n        }\n        // Reverse the steps (#5004)\n        step = {\n            right: 1,\n            center: 2\n        }[step] || (step && 3);\n        if (step && reversed) {\n            step = 4 - step;\n        }\n        // Remove invalid points, especially in spline (#5015)\n        points = this.getValidPoints(points, false, !(options.connectNulls && !nullsAsZeroes && !connectCliffs));\n        // Build the line\n        points.forEach(function (point, i) {\n            const plotX = point.plotX, plotY = point.plotY, lastPoint = points[i - 1], isNull = point.isNull || typeof plotY !== 'number';\n            // The path to this point from the previous\n            let pathToPoint;\n            if ((point.leftCliff || (lastPoint && lastPoint.rightCliff)) &&\n                !connectCliffs) {\n                gap = true; // ... and continue\n            }\n            // Line series, nullsAsZeroes is not handled\n            if (isNull && !LineSeries_defined(nullsAsZeroes) && i > 0) {\n                gap = !options.connectNulls;\n                // Area series, nullsAsZeroes is set\n            }\n            else if (isNull && !nullsAsZeroes) {\n                gap = true;\n            }\n            else {\n                if (i === 0 || gap) {\n                    pathToPoint = [[\n                            'M',\n                            point.plotX,\n                            point.plotY\n                        ]];\n                    // Generate the spline as defined in the SplineSeries object\n                }\n                else if (series.getPointSpline) {\n                    pathToPoint = [series.getPointSpline(points, point, i)];\n                }\n                else if (step) {\n                    if (step === 1) { // Right\n                        pathToPoint = [[\n                                'L',\n                                lastPoint.plotX,\n                                plotY\n                            ]];\n                    }\n                    else if (step === 2) { // Center\n                        pathToPoint = [[\n                                'L',\n                                (lastPoint.plotX + plotX) / 2,\n                                lastPoint.plotY\n                            ], [\n                                'L',\n                                (lastPoint.plotX + plotX) / 2,\n                                plotY\n                            ]];\n                    }\n                    else {\n                        pathToPoint = [[\n                                'L',\n                                plotX,\n                                lastPoint.plotY\n                            ]];\n                    }\n                    pathToPoint.push([\n                        'L',\n                        plotX,\n                        plotY\n                    ]);\n                }\n                else {\n                    // Normal line to next point\n                    pathToPoint = [[\n                            'L',\n                            plotX,\n                            plotY\n                        ]];\n                }\n                // Prepare for animation. When step is enabled, there are\n                // two path nodes for each x value.\n                xMap.push(point.x);\n                if (step) {\n                    xMap.push(point.x);\n                    if (step === 2) { // Step = center (#8073)\n                        xMap.push(point.x);\n                    }\n                }\n                graphPath.push.apply(graphPath, pathToPoint);\n                gap = false;\n            }\n        });\n        graphPath.xMap = xMap;\n        series.graphPath = graphPath;\n        return graphPath;\n    }\n}\n/* *\n *\n *  Static Functions\n *\n * */\nLineSeries.defaultOptions = LineSeries_merge(Series_Series.defaultOptions, \n/**\n * General options for all series types.\n *\n * @optionparent plotOptions.series\n */\n{\n    legendSymbol: 'lineMarker'\n});\nSeries_SeriesRegistry.registerSeriesType('line', LineSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Line_LineSeries = ((/* unused pure expression or super */ null && (LineSeries)));\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A line series displays information as a series of data points connected by\n * straight line segments.\n *\n * @sample {highcharts} highcharts/demo/line-chart/\n *         Line chart\n * @sample {highstock} stock/demo/basic-line/\n *         Line chart\n *\n * @extends   plotOptions.series\n * @product   highcharts highstock\n * @apioption plotOptions.line\n */\n/**\n * The SVG value used for the `stroke-linecap` and `stroke-linejoin`\n * of a line graph. Round means that lines are rounded in the ends and\n * bends.\n *\n * @type       {Highcharts.SeriesLinecapValue}\n * @default    round\n * @since      3.0.7\n * @apioption  plotOptions.line.linecap\n */\n/**\n * A `line` series. If the [type](#series.line.type) option is not\n * specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.line\n * @excluding dataParser,dataURL\n * @product   highcharts highstock\n * @apioption series.line\n */\n/**\n * An array of data points for the series. For the `line` series type,\n * points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 1],\n *        [1, 2],\n *        [2, 8]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.line.turboThreshold),\n *    this option is not available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 9,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 6,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * **Note:** In TypeScript you have to extend `PointOptionsObject` with an\n * additional declaration to allow custom data types:\n * ```ts\n * declare module `highcharts` {\n *   interface PointOptionsObject {\n *     custom: Record<string, (boolean|number|string)>;\n *   }\n * }\n * ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @declare   Highcharts.PointOptionsObject\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @apioption series.line.data\n */\n/**\n * An additional, individual class name for the data point's graphic\n * representation. Changes to a point's color will also be reflected in a\n * chart's legend and tooltip.\n *\n * @sample {highcharts} highcharts/css/point-series-classname\n *         Series and point class name\n *\n * @type      {string}\n * @since     5.0.0\n * @product   highcharts gantt\n * @apioption series.line.data.className\n */\n/**\n * Individual color for the point. By default the color is pulled from\n * the global `colors` array.\n *\n * In styled mode, the `color` option doesn't take effect. Instead, use\n * `colorIndex`.\n *\n * @sample {highcharts} highcharts/point/color/\n *         Mark the highest point\n *\n * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product   highcharts highstock gantt\n * @apioption series.line.data.color\n */\n/**\n * A specific color index to use for the point, so its graphic representations\n * are given the class name `highcharts-color-{n}`. In styled mode this will\n * change the color of the graphic. In non-styled mode, the color is set by the\n * `fill` attribute, so the change in class name won't have a visual effect by\n * default.\n *\n * Since v11, CSS variables on the form `--highcharts-color-{n}` make changing\n * the color scheme very convenient.\n *\n * @sample    {highcharts} highcharts/css/colorindex/\n *            Series and point color index\n *\n * @type      {number}\n * @since     5.0.0\n * @product   highcharts gantt\n * @apioption series.line.data.colorIndex\n */\n/**\n * A reserved subspace to store options and values for customized functionality.\n * Here you can add additional data for your own event callbacks and formatter\n * callbacks.\n *\n * @sample {highcharts} highcharts/point/custom/\n *         Point and series with custom data\n *\n * @type      {Highcharts.Dictionary<*>}\n * @apioption series.line.data.custom\n */\n/**\n * Individual data label for each point. The options are the same as\n * the ones for [plotOptions.series.dataLabels](\n * #plotOptions.series.dataLabels).\n *\n * @sample highcharts/point/datalabels/\n *         Show a label for the last value\n *\n * @type      {*|Array<*>}\n * @declare   Highcharts.DataLabelsOptions\n * @extends   plotOptions.line.dataLabels\n * @product   highcharts highstock gantt\n * @apioption series.line.data.dataLabels\n */\n/**\n * A description of the point to add to the screen reader information\n * about the point.\n *\n * @type      {string}\n * @since     5.0.0\n * @requires  modules/accessibility\n * @apioption series.line.data.description\n */\n/**\n * An id for the point. This can be used after render time to get a\n * pointer to the point object through `chart.get()`.\n *\n * @sample {highcharts} highcharts/point/id/\n *         Remove an id'd point\n *\n * @type      {string}\n * @since     1.2.0\n * @product   highcharts highstock gantt\n * @apioption series.line.data.id\n */\n/**\n * The rank for this point's data label in case of collision. If two\n * data labels are about to overlap, only the one with the highest `labelrank`\n * will be drawn.\n *\n * @type      {number}\n * @apioption series.line.data.labelrank\n */\n/**\n * The name of the point as shown in the legend, tooltip, dataLabels, etc.\n *\n * @see [xAxis.uniqueNames](#xAxis.uniqueNames)\n *\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Point names\n *\n * @type      {string}\n * @apioption series.line.data.name\n */\n/**\n * Whether the data point is selected initially.\n *\n * @type      {boolean}\n * @default   false\n * @product   highcharts highstock gantt\n * @apioption series.line.data.selected\n */\n/**\n * The x value of the point.\n *\n * For datetime axes, a number value is the timestamp in milliseconds since\n * 1970, while a date string is parsed according to the [current time zone]\n * (https://api.highcharts.com/highcharts/time.timezone) of the\n * chart. Date strings are supported since v12.\n *\n * @type      {number|string}\n * @product   highcharts highstock\n * @apioption series.line.data.x\n */\n/**\n * The y value of the point.\n *\n * @type      {number|null}\n * @product   highcharts highstock\n * @apioption series.line.data.y\n */\n/**\n * The individual point events.\n *\n * @extends   plotOptions.series.point.events\n * @product   highcharts highstock gantt\n * @apioption series.line.data.events\n */\n/**\n * Options for the point markers of line-like series.\n *\n * @declare   Highcharts.PointMarkerOptionsObject\n * @extends   plotOptions.series.marker\n * @product   highcharts highstock\n * @apioption series.line.data.marker\n */\n''; // Include precedent doclets in transpiled\n\n;// ./code/es-modules/Series/Area/AreaSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * The area series type.\n *\n * @sample {highcharts} highcharts/demo/area-chart/\n *         Area chart\n * @sample {highstock} stock/demo/area/\n *         Area chart\n *\n * @extends      plotOptions.line\n * @excluding    useOhlcData\n * @product      highcharts highstock\n * @optionparent plotOptions.area\n */\nconst AreaSeriesDefaults = {\n    /**\n     * @see [fillColor](#plotOptions.area.fillColor)\n     * @see [fillOpacity](#plotOptions.area.fillOpacity)\n     *\n     * @apioption plotOptions.area.color\n     */\n    /**\n     * Fill color or gradient for the area. When `undefined`, the series'\n     * `color` is used with the series' `fillOpacity`.\n     *\n     * In styled mode, the fill color can be set with the `.highcharts-area`\n     * class name.\n     *\n     * @see [color](#plotOptions.area.color)\n     * @see [fillOpacity](#plotOptions.area.fillOpacity)\n     *\n     * @sample {highcharts} highcharts/plotoptions/area-fillcolor-default/\n     *         Undefined by default\n     * @sample {highcharts} highcharts/plotoptions/area-fillcolor-gradient/\n     *         Gradient\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product   highcharts highstock\n     * @apioption plotOptions.area.fillColor\n     */\n    /**\n     * Fill opacity for the area. When you set an explicit `fillColor`,\n     * the `fillOpacity` is not applied. Instead, you should define the\n     * opacity in the `fillColor` with an rgba color definition. The\n     * `fillOpacity` setting, also the default setting, overrides the alpha\n     * component of the `color` setting.\n     *\n     * In styled mode, the fill opacity can be set with the\n     * `.highcharts-area` class name.\n     *\n     * @see [color](#plotOptions.area.color)\n     * @see [fillColor](#plotOptions.area.fillColor)\n     *\n     * @sample {highcharts} highcharts/plotoptions/area-fillopacity/\n     *         Automatic fill color and fill opacity of 0.1\n     *\n     * @type      {number}\n     * @default   {highcharts} 0.75\n     * @default   {highstock} 0.75\n     * @product   highcharts highstock\n     * @apioption plotOptions.area.fillOpacity\n     */\n    /**\n     * A separate color for the graph line. By default the line takes the\n     * `color` of the series, but the lineColor setting allows setting a\n     * separate color for the line without altering the `fillColor`.\n     *\n     * In styled mode, the line stroke can be set with the\n     * `.highcharts-graph` class name.\n     *\n     * @sample {highcharts} highcharts/plotoptions/area-linecolor/\n     *         Dark gray line\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product   highcharts highstock\n     * @apioption plotOptions.area.lineColor\n     */\n    /**\n     * A separate color for the negative part of the area. Note that `zones`\n     * takes precedence over the negative fill color.\n     *\n     * In styled mode, a negative color is set with the\n     * `.highcharts-negative` class name.\n     *\n     * @see [negativeColor](#plotOptions.area.negativeColor)\n     *\n     * @sample {highcharts} highcharts/css/series-negative-color/\n     *         Negative color in styled mode\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.area.negativeFillColor\n     */\n    /**\n     * Whether the whole area or just the line should respond to mouseover\n     * tooltips and other mouse or touch events.\n     *\n     * @sample {highcharts|highstock} highcharts/plotoptions/area-trackbyarea/\n     *         Display the tooltip when the area is hovered\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     1.1.6\n     * @product   highcharts highstock\n     * @apioption plotOptions.area.trackByArea\n     */\n    /**\n     * The Y axis value to serve as the base for the area, for\n     * distinguishing between values above and below a threshold. The area\n     * between the graph and the threshold is filled.\n     *\n     * * If a number is given, the Y axis will scale to the threshold.\n     * * If `null`, the scaling behaves like a line series with fill between\n     *   the graph and the Y axis minimum.\n     * * If `Infinity` or `-Infinity`, the area between the graph and the\n     *   corresponding Y axis extreme is filled (since v6.1.0).\n     *\n     * @sample {highcharts} highcharts/plotoptions/area-threshold/\n     *         A threshold of 100\n     * @sample {highcharts} highcharts/plotoptions/area-threshold-infinity/\n     *         A threshold of Infinity\n     *\n     * @type    {number|null}\n     * @since   2.0\n     * @product highcharts highstock\n     */\n    threshold: 0,\n    legendSymbol: 'areaMarker'\n};\n/**\n * A `area` series. If the [type](#series.area.type) option is not\n * specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.area\n * @excluding dataParser, dataURL, useOhlcData\n * @product   highcharts highstock\n * @apioption series.area\n */\n/**\n * @see [fillColor](#series.area.fillColor)\n * @see [fillOpacity](#series.area.fillOpacity)\n *\n * @apioption series.area.color\n */\n/**\n * An array of data points for the series. For the `area` series type,\n * points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` * and `pointInterval` given in the series options. If the\n *    axis has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 9],\n *        [1, 7],\n *        [2, 6]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.area.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 9,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 6,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.line.data\n * @product   highcharts highstock\n * @apioption series.area.data\n */\n/**\n * @see [color](#series.area.color)\n * @see [fillOpacity](#series.area.fillOpacity)\n *\n * @apioption series.area.fillColor\n */\n/**\n * @see [color](#series.area.color)\n * @see [fillColor](#series.area.fillColor)\n *\n * @default   {highcharts} 0.75\n * @default   {highstock} 0.75\n * @apioption series.area.fillOpacity\n */\n''; // Adds doclets above to transpiled\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Area_AreaSeriesDefaults = (AreaSeriesDefaults);\n\n;// ./code/es-modules/Series/Area/AreaSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { seriesTypes: { line: AreaSeries_LineSeries } } = Series_SeriesRegistry;\n\nconst { extend: AreaSeries_extend, merge: AreaSeries_merge, objectEach: AreaSeries_objectEach, pick: AreaSeries_pick } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * Area series type.\n *\n * @private\n * @class\n * @name AreaSeries\n *\n * @augments LineSeries\n */\nclass AreaSeries extends AreaSeries_LineSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Draw the graph and the underlying area. This method calls the Series\n     * base function and adds the area. The areaPath is calculated in the\n     * getSegmentPath method called from Series.prototype.drawGraph.\n     * @private\n     */\n    drawGraph() {\n        // Define or reset areaPath\n        this.areaPath = [];\n        // Call the base method\n        super.drawGraph.apply(this);\n        // Define local variables\n        const { areaPath, options } = this;\n        [this, ...this.zones].forEach((owner, i) => {\n            const attribs = {}, fillColor = owner.fillColor || options.fillColor;\n            let area = owner.area;\n            const verb = area ? 'animate' : 'attr';\n            // Create or update the area\n            if (area) { // Update\n                area.endX = this.preventGraphAnimation ?\n                    null :\n                    areaPath.xMap;\n                area.animate({ d: areaPath });\n            }\n            else { // Create\n                attribs.zIndex = 0; // #1069\n                /**\n                 * SVG element of area-based charts. Can be used for styling\n                 * purposes. If zones are configured, this element will be\n                 * hidden and replaced by multiple zone areas, accessible\n                 * via `series.zones[i].area`.\n                 *\n                 * @name Highcharts.Series#area\n                 * @type {Highcharts.SVGElement|undefined}\n                 */\n                area = owner.area = this.chart.renderer\n                    .path(areaPath)\n                    .addClass('highcharts-area' +\n                    (i ? ` highcharts-zone-area-${i - 1} ` : ' ') +\n                    ((i && owner.className) || ''))\n                    .add(this.group);\n                area.isArea = true;\n            }\n            if (!this.chart.styledMode) {\n                // If there is fillColor defined for the area, set it.\n                // Otherwise, we set it to the zone/series color and add\n                // fill-opacity (#18939).\n                attribs.fill = fillColor || owner.color || this.color;\n                attribs['fill-opacity'] = fillColor ?\n                    1 : (options.fillOpacity ?? 0.75);\n                // Allow clicking through the area if sticky tracking is true\n                // (#18744)\n                area.css({\n                    pointerEvents: this.stickyTracking ? 'none' : 'auto'\n                });\n            }\n            area[verb](attribs);\n            area.startX = areaPath.xMap;\n            area.shiftUnit = options.step ? 2 : 1;\n        });\n    }\n    /**\n     * @private\n     */\n    getGraphPath(points) {\n        const getGraphPath = AreaSeries_LineSeries.prototype.getGraphPath, options = this.options, stacking = options.stacking, yAxis = this.yAxis, bottomPoints = [], graphPoints = [], seriesIndex = this.index, stacks = yAxis.stacking.stacks[this.stackKey], threshold = options.threshold, translatedThreshold = Math.round(// #10909\n        yAxis.getThreshold(options.threshold)), connectNulls = AreaSeries_pick(// #10574\n        options.connectNulls, stacking === 'percent'), \n        // To display null points in underlying stacked series, this\n        // series graph must be broken, and the area also fall down to\n        // fill the gap left by the null point. #2069\n        addDummyPoints = function (i, otherI, side) {\n            const point = points[i], stackedValues = stacking &&\n                stacks[point.x].points[seriesIndex], nullVal = point[side + 'Null'] || 0, cliffVal = point[side + 'Cliff'] || 0;\n            let top, bottom, isNull = true;\n            if (cliffVal || nullVal) {\n                top = (nullVal ?\n                    stackedValues[0] :\n                    stackedValues[1]) + cliffVal;\n                bottom = stackedValues[0] + cliffVal;\n                isNull = !!nullVal;\n            }\n            else if (!stacking &&\n                points[otherI] &&\n                points[otherI].isNull) {\n                top = bottom = threshold;\n            }\n            // Add to the top and bottom line of the area\n            if (typeof top !== 'undefined') {\n                graphPoints.push({\n                    plotX: plotX,\n                    plotY: top === null ?\n                        translatedThreshold :\n                        yAxis.getThreshold(top),\n                    isNull: isNull,\n                    isCliff: true\n                });\n                bottomPoints.push({\n                    plotX: plotX,\n                    plotY: bottom === null ?\n                        translatedThreshold :\n                        yAxis.getThreshold(bottom),\n                    doCurve: false // #1041, gaps in areaspline areas\n                });\n            }\n        };\n        let plotX, isNull, yBottom;\n        // Find what points to use\n        points = points || this.points;\n        // Fill in missing points\n        if (stacking) {\n            points = this.getStackPoints(points);\n        }\n        for (let i = 0, iEnd = points.length; i < iEnd; ++i) {\n            // Reset after series.update of stacking property (#12033)\n            if (!stacking) {\n                points[i].leftCliff = points[i].rightCliff =\n                    points[i].leftNull = points[i].rightNull = void 0;\n            }\n            isNull = points[i].isNull;\n            plotX = AreaSeries_pick(points[i].rectPlotX, points[i].plotX);\n            yBottom = stacking ?\n                AreaSeries_pick(points[i].yBottom, translatedThreshold) :\n                translatedThreshold;\n            if (!isNull || connectNulls) {\n                if (!connectNulls) {\n                    addDummyPoints(i, i - 1, 'left');\n                }\n                // Skip null point when stacking is false and connectNulls\n                // true\n                if (!(isNull && !stacking && connectNulls)) {\n                    graphPoints.push(points[i]);\n                    bottomPoints.push({\n                        x: i,\n                        plotX: plotX,\n                        plotY: yBottom\n                    });\n                }\n                if (!connectNulls) {\n                    addDummyPoints(i, i + 1, 'right');\n                }\n            }\n        }\n        const topPath = getGraphPath.call(this, graphPoints, true, true);\n        bottomPoints.reversed = true;\n        const bottomPath = getGraphPath.call(this, bottomPoints, true, true);\n        const firstBottomPoint = bottomPath[0];\n        if (firstBottomPoint && firstBottomPoint[0] === 'M') {\n            bottomPath[0] = ['L', firstBottomPoint[1], firstBottomPoint[2]];\n        }\n        const areaPath = topPath.concat(bottomPath);\n        if (areaPath.length) {\n            areaPath.push(['Z']);\n        }\n        // TODO: don't set leftCliff and rightCliff when connectNulls?\n        const graphPath = getGraphPath\n            .call(this, graphPoints, false, connectNulls);\n        if (this.chart.series.length > 1 &&\n            stacking &&\n            graphPoints.some((point) => point.isCliff)) {\n            areaPath.hasStackedCliffs = graphPath.hasStackedCliffs = true;\n        }\n        areaPath.xMap = topPath.xMap;\n        this.areaPath = areaPath;\n        return graphPath;\n    }\n    /**\n     * Return an array of stacked points, where null and missing points are\n     * replaced by dummy points in order for gaps to be drawn correctly in\n     * stacks.\n     * @private\n     */\n    getStackPoints(points) {\n        const series = this, segment = [], keys = [], xAxis = this.xAxis, yAxis = this.yAxis, stack = yAxis.stacking.stacks[this.stackKey], pointMap = {}, yAxisSeries = yAxis.series, seriesLength = yAxisSeries.length, upOrDown = yAxis.options.reversedStacks ? 1 : -1, seriesIndex = yAxisSeries.indexOf(series);\n        points = points || this.points;\n        if (this.options.stacking) {\n            for (let i = 0; i < points.length; i++) {\n                // Reset after point update (#7326)\n                points[i].leftNull = points[i].rightNull = void 0;\n                // Create a map where we can quickly look up the points by\n                // their X values.\n                pointMap[points[i].x] = points[i];\n            }\n            // Sort the keys (#1651)\n            AreaSeries_objectEach(stack, function (stackX, x) {\n                // Nulled after switching between\n                // grouping and not (#1651, #2336)\n                if (stackX.total !== null) {\n                    keys.push(x);\n                }\n            });\n            keys.sort(function (a, b) {\n                return a - b;\n            });\n            const visibleSeries = yAxisSeries.map((s) => s.visible);\n            keys.forEach(function (x, idx) {\n                let y = 0, stackPoint, stackedValues;\n                if (pointMap[x] && !pointMap[x].isNull) {\n                    segment.push(pointMap[x]);\n                    // Find left and right cliff. -1 goes left, 1 goes\n                    // right.\n                    [-1, 1].forEach(function (direction) {\n                        const nullName = direction === 1 ?\n                            'rightNull' :\n                            'leftNull', cliffName = direction === 1 ?\n                            'rightCliff' :\n                            'leftCliff', otherStack = stack[keys[idx + direction]];\n                        let cliff = 0;\n                        // If there is a stack next to this one,\n                        // to the left or to the right...\n                        if (otherStack) {\n                            let i = seriesIndex;\n                            // Can go either up or down,\n                            // depending on reversedStacks\n                            while (i >= 0 && i < seriesLength) {\n                                const si = yAxisSeries[i].index;\n                                stackPoint = otherStack.points[si];\n                                if (!stackPoint) {\n                                    // If the next point in this series is\n                                    // missing, mark the point with\n                                    // point.leftNull or point.rightNull = true.\n                                    if (si === series.index) {\n                                        pointMap[x][nullName] = true;\n                                        // If there are missing points in the next\n                                        // stack in any of the series below this\n                                        // one, we need to subtract the missing\n                                        // values and add a hiatus to the left or\n                                        // right.\n                                    }\n                                    else if (visibleSeries[i]) {\n                                        stackedValues = stack[x].points[si];\n                                        if (stackedValues) {\n                                            cliff -= (stackedValues[1] -\n                                                stackedValues[0]);\n                                        }\n                                    }\n                                }\n                                // When reversedStacks is true, loop up,\n                                // else loop down\n                                i += upOrDown;\n                            }\n                        }\n                        pointMap[x][cliffName] = cliff;\n                    });\n                    // There is no point for this X value in this series, so we\n                    // insert a dummy point in order for the areas to be drawn\n                    // correctly.\n                }\n                else {\n                    // Loop down the stack to find the series below this\n                    // one that has a value (#1991)\n                    let i = seriesIndex;\n                    while (i >= 0 && i < seriesLength) {\n                        const si = yAxisSeries[i].index;\n                        stackPoint = stack[x].points[si];\n                        if (stackPoint) {\n                            y = stackPoint[1];\n                            break;\n                        }\n                        // When reversedStacks is true, loop up, else loop\n                        // down\n                        i += upOrDown;\n                    }\n                    y = AreaSeries_pick(y, 0);\n                    y = yAxis.translate(// #6272\n                    y, 0, 1, 0, 1);\n                    segment.push({\n                        isNull: true,\n                        plotX: xAxis.translate(// #6272\n                        x, 0, 0, 0, 1),\n                        x: x,\n                        plotY: y,\n                        yBottom: y\n                    });\n                }\n            });\n        }\n        return segment;\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nAreaSeries.defaultOptions = AreaSeries_merge(AreaSeries_LineSeries.defaultOptions, Area_AreaSeriesDefaults);\nAreaSeries_extend(AreaSeries.prototype, {\n    singleStacks: false\n});\nSeries_SeriesRegistry.registerSeriesType('area', AreaSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Area_AreaSeries = ((/* unused pure expression or super */ null && (AreaSeries)));\n\n;// ./code/es-modules/Series/Spline/SplineSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { line: SplineSeries_LineSeries } = Series_SeriesRegistry.seriesTypes;\n\nconst { merge: SplineSeries_merge, pick: SplineSeries_pick } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * Spline series type.\n *\n * @private\n */\nclass SplineSeries extends SplineSeries_LineSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Get the spline segment from a given point's previous neighbour to the\n     * given point.\n     *\n     * @private\n     * @function Highcharts.seriesTypes.spline#getPointSpline\n     */\n    getPointSpline(points, point, i) {\n        const \n        // 1 means control points midway between points, 2 means 1/3\n        // from the point, 3 is 1/4 etc\n        smoothing = 1.5, denom = smoothing + 1, plotX = point.plotX || 0, plotY = point.plotY || 0, lastPoint = points[i - 1], nextPoint = points[i + 1];\n        let leftContX, leftContY, rightContX, rightContY;\n        /**\n         * @private\n         */\n        function doCurve(otherPoint) {\n            return otherPoint &&\n                !otherPoint.isNull &&\n                otherPoint.doCurve !== false &&\n                // #6387, area splines next to null:\n                !point.isCliff;\n        }\n        // Find control points\n        if (doCurve(lastPoint) && doCurve(nextPoint)) {\n            const lastX = lastPoint.plotX || 0, lastY = lastPoint.plotY || 0, nextX = nextPoint.plotX || 0, nextY = nextPoint.plotY || 0;\n            let correction = 0;\n            leftContX = (smoothing * plotX + lastX) / denom;\n            leftContY = (smoothing * plotY + lastY) / denom;\n            rightContX = (smoothing * plotX + nextX) / denom;\n            rightContY = (smoothing * plotY + nextY) / denom;\n            // Have the two control points make a straight line through main\n            // point\n            if (rightContX !== leftContX) { // #5016, division by zero\n                correction = (((rightContY - leftContY) *\n                    (rightContX - plotX)) /\n                    (rightContX - leftContX) + plotY - rightContY);\n            }\n            leftContY += correction;\n            rightContY += correction;\n            // To prevent false extremes, check that control points are\n            // between neighbouring points' y values\n            if (leftContY > lastY && leftContY > plotY) {\n                leftContY = Math.max(lastY, plotY);\n                // Mirror of left control point\n                rightContY = 2 * plotY - leftContY;\n            }\n            else if (leftContY < lastY && leftContY < plotY) {\n                leftContY = Math.min(lastY, plotY);\n                rightContY = 2 * plotY - leftContY;\n            }\n            if (rightContY > nextY && rightContY > plotY) {\n                rightContY = Math.max(nextY, plotY);\n                leftContY = 2 * plotY - rightContY;\n            }\n            else if (rightContY < nextY && rightContY < plotY) {\n                rightContY = Math.min(nextY, plotY);\n                leftContY = 2 * plotY - rightContY;\n            }\n            // Record for drawing in next point\n            point.rightContX = rightContX;\n            point.rightContY = rightContY;\n            // Visualize control points for debugging\n            /*\n            if (leftContX) {\n                this.chart.renderer\n                    .circle(\n                        leftContX + this.chart.plotLeft,\n                        leftContY + this.chart.plotTop,\n                        2\n                    )\n                    .attr({\n                        stroke: 'red',\n                        'stroke-width': 2,\n                        fill: 'none',\n                        zIndex: 9\n                    })\n                    .add();\n                this.chart.renderer\n                    .path([['M', leftContX + this.chart.plotLeft,\n                        leftContY + this.chart.plotTop\n                    ], ['L', plotX + this.chart.plotLeft,\n                        plotY + this.chart.plotTop\n                    ]])\n                    .attr({\n                        stroke: 'red',\n                        'stroke-width': 2,\n                        zIndex: 9\n                    })\n                    .add();\n            }\n            if (rightContX) {\n                this.chart.renderer\n                    .circle(\n                        rightContX + this.chart.plotLeft,\n                        rightContY + this.chart.plotTop,\n                        2\n                    )\n                    .attr({\n                        stroke: 'green',\n                        'stroke-width': 2,\n                        fill: 'none',\n                        zIndex: 9\n                    })\n                    .add();\n                this.chart.renderer\n                    .path([[\n                        'M', rightContX + this.chart.plotLeft,\n                        rightContY + this.chart.plotTop\n                    ], [\n                        'L', plotX + this.chart.plotLeft,\n                        plotY + this.chart.plotTop\n                    ]])\n                    .attr({\n                        stroke: 'green',\n                        'stroke-width': 2,\n                        zIndex: 9\n                    })\n                    .add();\n            }\n            // */\n            point.controlPoints = {\n                low: [leftContX, leftContY],\n                high: [rightContX, rightContY]\n            };\n        }\n        const ret = [\n            'C',\n            SplineSeries_pick(lastPoint.rightContX, lastPoint.plotX, 0),\n            SplineSeries_pick(lastPoint.rightContY, lastPoint.plotY, 0),\n            SplineSeries_pick(leftContX, plotX, 0),\n            SplineSeries_pick(leftContY, plotY, 0),\n            plotX,\n            plotY\n        ];\n        // Reset for updating series later\n        lastPoint.rightContX = lastPoint.rightContY = void 0;\n        return ret;\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\n/**\n * A spline series is a special type of line series, where the segments\n * between the data points are smoothed.\n *\n * @sample {highcharts} highcharts/demo/spline-irregular-time/\n *         Spline chart\n * @sample {highstock} stock/demo/spline/\n *         Spline chart\n *\n * @extends      plotOptions.series\n * @excluding    step, boostThreshold, boostBlending\n * @product      highcharts highstock\n * @optionparent plotOptions.spline\n */\nSplineSeries.defaultOptions = SplineSeries_merge(SplineSeries_LineSeries.defaultOptions);\nSeries_SeriesRegistry.registerSeriesType('spline', SplineSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Spline_SplineSeries = (SplineSeries);\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A `spline` series. If the [type](#series.spline.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.spline\n * @excluding dataParser, dataURL, step, boostThreshold, boostBlending\n * @product   highcharts highstock\n * @apioption series.spline\n */\n/**\n * An array of data points for the series. For the `spline` series type,\n * points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 9],\n *        [1, 2],\n *        [2, 8]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.spline.turboThreshold),\n *    this option is not available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 9,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 0,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.line.data\n * @product   highcharts highstock\n * @apioption series.spline.data\n */\n''; // Adds doclets above intro transpiled\n\n;// ./code/es-modules/Series/AreaSpline/AreaSplineSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { area: AreaSplineSeries_AreaSeries, area: { prototype: areaProto } } = Series_SeriesRegistry.seriesTypes;\n\nconst { extend: AreaSplineSeries_extend, merge: AreaSplineSeries_merge } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * AreaSpline series type.\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.areaspline\n *\n * @augments Highcharts.Series\n */\nclass AreaSplineSeries extends Spline_SplineSeries {\n}\n/* *\n *\n *  Static Properties\n *\n * */\nAreaSplineSeries.defaultOptions = AreaSplineSeries_merge(Spline_SplineSeries.defaultOptions, AreaSplineSeries_AreaSeries.defaultOptions);\nAreaSplineSeries_extend(AreaSplineSeries.prototype, {\n    getGraphPath: areaProto.getGraphPath,\n    getStackPoints: areaProto.getStackPoints,\n    drawGraph: areaProto.drawGraph\n});\nSeries_SeriesRegistry.registerSeriesType('areaspline', AreaSplineSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const AreaSpline_AreaSplineSeries = ((/* unused pure expression or super */ null && (AreaSplineSeries)));\n/* *\n *\n *  API Options\n *\n * */\n/**\n * The area spline series is an area series where the graph between the\n * points is smoothed into a spline.\n *\n * @sample {highcharts} highcharts/demo/areaspline/\n *         Area spline chart\n * @sample {highstock} stock/demo/areaspline/\n *         Area spline chart\n *\n * @extends   plotOptions.area\n * @excluding step, boostThreshold, boostBlending\n * @product   highcharts highstock\n * @apioption plotOptions.areaspline\n */\n/**\n * @see [fillColor](#plotOptions.areaspline.fillColor)\n * @see [fillOpacity](#plotOptions.areaspline.fillOpacity)\n *\n * @apioption plotOptions.areaspline.color\n */\n/**\n * @see [color](#plotOptions.areaspline.color)\n * @see [fillOpacity](#plotOptions.areaspline.fillOpacity)\n *\n * @apioption plotOptions.areaspline.fillColor\n */\n/**\n * @see [color](#plotOptions.areaspline.color)\n * @see [fillColor](#plotOptions.areaspline.fillColor)\n *\n * @default   0.75\n * @apioption plotOptions.areaspline.fillOpacity\n */\n/**\n * A `areaspline` series. If the [type](#series.areaspline.type) option\n * is not specified, it is inherited from [chart.type](#chart.type).\n *\n *\n * @extends   series,plotOptions.areaspline\n * @excluding dataParser, dataURL, step, boostThreshold, boostBlending\n * @product   highcharts highstock\n * @apioption series.areaspline\n */\n/**\n * @see [fillColor](#series.areaspline.fillColor)\n * @see [fillOpacity](#series.areaspline.fillOpacity)\n *\n * @apioption series.areaspline.color\n */\n/**\n * An array of data points for the series. For the `areaspline` series\n * type, points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 10],\n *        [1, 9],\n *        [2, 3]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.areaspline.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 4,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 4,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.line.data\n * @product   highcharts highstock\n * @apioption series.areaspline.data\n */\n/**\n * @see [color](#series.areaspline.color)\n * @see [fillOpacity](#series.areaspline.fillOpacity)\n *\n * @apioption series.areaspline.fillColor\n */\n/**\n * @see [color](#series.areaspline.color)\n * @see [fillColor](#series.areaspline.fillColor)\n *\n * @default   0.75\n * @apioption series.areaspline.fillOpacity\n */\n''; // Adds doclets above into transpiled\n\n;// ./code/es-modules/Series/Column/ColumnSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Column series display one column per value along an X axis.\n *\n * @sample {highcharts} highcharts/demo/column-basic/\n *         Column chart\n * @sample {highstock} stock/demo/column/\n *         Column chart\n *\n * @extends      plotOptions.line\n * @excluding    connectEnds, connectNulls, gapSize, gapUnit, linecap,\n *               lineWidth, marker, step, useOhlcData\n * @product      highcharts highstock\n * @optionparent plotOptions.column\n */\nconst ColumnSeriesDefaults = {\n    /**\n     * The corner radius of the border surrounding each column or bar. A number\n     * signifies pixels. A percentage string, like for example `50%`, signifies\n     * a relative size. For columns this is relative to the column width, for\n     * pies it is relative to the radius and the inner radius.\n     *\n     * @sample  {highcharts} highcharts/plotoptions/column-borderradius/\n     *          Rounded columns\n     * @sample  highcharts/plotoptions/series-border-radius\n     *          Column and pie with rounded border\n     *\n     * @type    {number|string|Highcharts.BorderRadiusOptionsObject}\n     * @product highcharts highstock gantt\n     */\n    borderRadius: 3,\n    /**\n     * When using automatic point colors pulled from the global\n     * [colors](colors) or series-specific\n     * [plotOptions.column.colors](series.colors) collections, this option\n     * determines whether the chart should receive one color per series or\n     * one color per point.\n     *\n     * In styled mode, the `colors` or `series.colors` arrays are not\n     * supported, and instead this option gives the points individual color\n     * class names on the form `highcharts-color-{n}`.\n     *\n     * @see [series colors](#plotOptions.column.colors)\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-colorbypoint-false/\n     *         False by default\n     * @sample {highcharts} highcharts/plotoptions/column-colorbypoint-true/\n     *         True\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     2.0\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.column.colorByPoint\n     */\n    /**\n     * A series specific or series type specific color set to apply instead\n     * of the global [colors](#colors) when [colorByPoint](\n     * #plotOptions.column.colorByPoint) is true.\n     *\n     * @type      {Array<Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject>}\n     * @since     3.0\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.column.colors\n     */\n    /**\n     * When `true`, the columns will center in the category, ignoring null\n     * or missing points. When `false`, space will be reserved for null or\n     * missing points.\n     *\n     * @sample {highcharts} highcharts/series-column/centerincategory/\n     *         Center in category\n     * @sample {highcharts} highcharts/series/stack-centerincategory/\n     *         Center in category, stacked and grouped\n     *\n     * @since   8.0.1\n     * @product highcharts highstock gantt\n     */\n    centerInCategory: false,\n    /**\n     * Padding between each value groups, in x axis units.\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-grouppadding-default/\n     *         0.2 by default\n     * @sample {highcharts} highcharts/plotoptions/column-grouppadding-none/\n     *         No group padding - all columns are evenly spaced\n     *\n     * @product highcharts highstock gantt\n     */\n    groupPadding: 0.2,\n    /**\n     * Whether to group non-stacked columns or to let them render\n     * independent of each other. Non-grouped columns will be laid out\n     * individually and overlap each other.\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-grouping-false/\n     *         Grouping disabled\n     * @sample {highstock} highcharts/plotoptions/column-grouping-false/\n     *         Grouping disabled\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     2.3.0\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.column.grouping\n     */\n    /** @ignore-option */\n    marker: null, // Point options are specified in the base options\n    /**\n     * The maximum allowed pixel width for a column, translated to the\n     * height of a bar in a bar chart. This prevents the columns from\n     * becoming too wide when there is a small number of points in the\n     * chart.\n     *\n     * @see [pointWidth](#plotOptions.column.pointWidth)\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-maxpointwidth-20/\n     *         Limited to 50\n     * @sample {highstock} highcharts/plotoptions/column-maxpointwidth-20/\n     *         Limited to 50\n     *\n     * @type      {number}\n     * @since     4.1.8\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.column.maxPointWidth\n     */\n    /**\n     * Padding between each column or bar, in x axis units.\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-pointpadding-default/\n     *         0.1 by default\n     * @sample {highcharts} highcharts/plotoptions/column-pointpadding-025/\n     *          0.25\n     * @sample {highcharts} highcharts/plotoptions/column-pointpadding-none/\n     *         0 for tightly packed columns\n     *\n     * @product highcharts highstock gantt\n     */\n    pointPadding: 0.1,\n    /**\n     * A pixel value specifying a fixed width for each column or bar point.\n     * When set to `undefined`, the width is calculated from the\n     * `pointPadding` and `groupPadding`. The width effects the dimension\n     * that is not based on the point value. For column series it is the\n     * horizontal length and for bar series it is the vertical length.\n     *\n     * @see [maxPointWidth](#plotOptions.column.maxPointWidth)\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-pointwidth-20/\n     *         20px wide columns regardless of chart width or the amount of\n     *         data points\n     *\n     * @type      {number}\n     * @since     1.2.5\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.column.pointWidth\n     */\n    /**\n     * A pixel value specifying a fixed width for the column or bar.\n     * Overrides pointWidth on the series.\n     *\n     * @see [series.pointWidth](#plotOptions.column.pointWidth)\n     *\n     * @type      {number}\n     * @default   undefined\n     * @since     7.0.0\n     * @product   highcharts highstock gantt\n     * @apioption series.column.data.pointWidth\n     */\n    /**\n     * The minimal height for a column or width for a bar. By default,\n     * 0 values are not shown. To visualize a 0 (or close to zero) point,\n     * set the minimal point length to a pixel value like 3\\. In stacked\n     * column charts, minPointLength might not be respected for tightly\n     * packed values.\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-minpointlength/\n     *         Zero base value\n     * @sample {highcharts} highcharts/plotoptions/column-minpointlength-pos-and-neg/\n     *         Positive and negative close to zero values\n     *\n     * @product highcharts highstock gantt\n     */\n    minPointLength: 0,\n    /**\n     * When the series contains less points than the crop threshold, all\n     * points are drawn, event if the points fall outside the visible plot\n     * area at the current zoom. The advantage of drawing all points\n     * (including markers and columns), is that animation is performed on\n     * updates. On the other hand, when the series contains more points than\n     * the crop threshold, the series data is cropped to only contain points\n     * that fall within the plot area. The advantage of cropping away\n     * invisible points is to increase performance on large series.\n     *\n     * @product highcharts highstock gantt\n     */\n    cropThreshold: 50,\n    /**\n     * The X axis range that each point is valid for. This determines the\n     * width of the column. On a categorized axis, the range will be 1\n     * by default (one category unit). On linear and datetime axes, the\n     * range will be computed as the distance between the two closest data\n     * points.\n     *\n     * The default `null` means it is computed automatically, but this\n     * option can be used to override the automatic value.\n     *\n     * This option is set by default to 1 if data sorting is enabled.\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-pointrange/\n     *         Set the point range to one day on a data set with one week\n     *         between the points\n     *\n     * @type    {number|null}\n     * @since   2.3\n     * @product highcharts highstock gantt\n     */\n    pointRange: null,\n    states: {\n        /**\n         * Options for the hovered point. These settings override the normal\n         * state options when a point is moused over or touched.\n         *\n         * @extends   plotOptions.series.states.hover\n         * @excluding halo, lineWidth, lineWidthPlus, marker\n         * @product   highcharts highstock gantt\n         */\n        hover: {\n            /** @ignore-option */\n            halo: false,\n            /**\n             * A specific border color for the hovered point. Defaults to\n             * inherit the normal state border color.\n             *\n             * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @product   highcharts gantt\n             * @apioption plotOptions.column.states.hover.borderColor\n             */\n            /**\n             * A specific color for the hovered point.\n             *\n             * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @product   highcharts gantt\n             * @apioption plotOptions.column.states.hover.color\n             */\n            /**\n             * How much to brighten the point on interaction. Requires the\n             * main color to be defined in hex or rgb(a) format.\n             *\n             * In styled mode, the hover brightening is by default replaced\n             * with a fill-opacity set in the `.highcharts-point:hover`\n             * rule.\n             *\n             * @sample {highcharts} highcharts/plotoptions/column-states-hover-brightness/\n             *         Brighten by 0.5\n             *\n             * @product highcharts highstock gantt\n             */\n            brightness: 0.1\n        },\n        /**\n         * Options for the selected point. These settings override the\n         * normal state options when a point is selected.\n         *\n         * @extends   plotOptions.series.states.select\n         * @excluding halo, lineWidth, lineWidthPlus, marker\n         * @product   highcharts highstock gantt\n         */\n        select: {\n            /**\n             * A specific color for the selected point.\n             *\n             * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @default #cccccc\n             * @product highcharts highstock gantt\n             */\n            color: \"#cccccc\" /* Palette.neutralColor20 */,\n            /**\n             * A specific border color for the selected point.\n             *\n             * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @default #000000\n             * @product highcharts highstock gantt\n             */\n            borderColor: \"#000000\" /* Palette.neutralColor100 */\n        }\n    },\n    dataLabels: {\n        align: void 0,\n        verticalAlign: void 0,\n        /**\n         * The y position offset of the label relative to the point in\n         * pixels.\n         *\n         * @type {number}\n         */\n        y: void 0\n    },\n    // False doesn't work well: https://jsfiddle.net/highcharts/hz8fopan/14/\n    /** @ignore-option */\n    startFromThreshold: true,\n    stickyTracking: false,\n    tooltip: {\n        distance: 6\n    },\n    /**\n     * The Y axis value to serve as the base for the columns, for\n     * distinguishing between values above and below a threshold. If `null`,\n     * the columns extend from the padding Y axis minimum.\n     *\n     * @type    {number|null}\n     * @since   2.0\n     * @product highcharts\n     */\n    threshold: 0,\n    /**\n     * The width of the border surrounding each column or bar. Defaults to\n     * `1` when there is room for a border, but to `0` when the columns are\n     * so dense that a border would cover the next column.\n     *\n     * In styled mode, the stroke width can be set with the\n     * `.highcharts-point` rule.\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-borderwidth/\n     *         2px black border\n     *\n     * @type      {number}\n     * @default   undefined\n     * @product   highcharts highstock gantt\n     * @apioption plotOptions.column.borderWidth\n     */\n    /**\n     * The color of the border surrounding each column or bar.\n     *\n     * In styled mode, the border stroke can be set with the\n     * `.highcharts-point` rule.\n     *\n     * @sample {highcharts} highcharts/plotoptions/column-bordercolor/\n     *         Dark gray border\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default   #ffffff\n     * @product   highcharts highstock gantt\n     */\n    borderColor: \"#ffffff\" /* Palette.backgroundColor */\n};\n/**\n * A `column` series. If the [type](#series.column.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.column\n * @excluding connectNulls, dataParser, dataURL, gapSize, gapUnit, linecap,\n *            lineWidth, marker, connectEnds, step\n * @product   highcharts highstock\n * @apioption series.column\n */\n/**\n * An array of data points for the series. For the `column` series type,\n * points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 6],\n *        [1, 2],\n *        [2, 6]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.column.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 9,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 6,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.line.data\n * @excluding marker\n * @product   highcharts highstock\n * @apioption series.column.data\n */\n/**\n * The color of the border surrounding the column or bar.\n *\n * In styled mode, the border stroke can be set with the `.highcharts-point`\n * rule.\n *\n * @sample {highcharts} highcharts/plotoptions/column-bordercolor/\n *         Dark gray border\n *\n * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product   highcharts highstock\n * @apioption series.column.data.borderColor\n */\n/**\n * The width of the border surrounding the column or bar.\n *\n * In styled mode, the stroke width can be set with the `.highcharts-point`\n * rule.\n *\n * @sample {highcharts} highcharts/plotoptions/column-borderwidth/\n *         2px black border\n *\n * @type      {number}\n * @product   highcharts highstock\n * @apioption series.column.data.borderWidth\n */\n/**\n * A name for the dash style to use for the column or bar. Overrides\n * dashStyle on the series.\n *\n * In styled mode, the stroke dash-array can be set with the same classes as\n * listed under [data.color](#series.column.data.color).\n *\n * @see [series.pointWidth](#plotOptions.column.dashStyle)\n *\n * @type      {Highcharts.DashStyleValue}\n * @apioption series.column.data.dashStyle\n */\n/**\n * A pixel value specifying a fixed width for the column or bar. Overrides\n * pointWidth on the series. The width effects the dimension that is not based\n * on the point value.\n *\n * @see [series.pointWidth](#plotOptions.column.pointWidth)\n *\n * @type      {number}\n * @apioption series.column.data.pointWidth\n */\n/**\n * @excluding halo, lineWidth, lineWidthPlus, marker\n * @product   highcharts highstock\n * @apioption series.column.states.hover\n */\n/**\n * @excluding halo, lineWidth, lineWidthPlus, marker\n * @product   highcharts highstock\n * @apioption series.column.states.select\n */\n''; // Keeps doclets above in JS file\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Column_ColumnSeriesDefaults = (ColumnSeriesDefaults);\n\n;// ./code/es-modules/Series/Column/ColumnSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject: ColumnSeries_animObject } = AnimationUtilities;\n\nconst { parse: ColumnSeries_color } = Color_Color;\n\n\nconst { noop: ColumnSeries_noop } = Core_Globals;\n\n\n\nconst { clamp: ColumnSeries_clamp, crisp: ColumnSeries_crisp, defined: ColumnSeries_defined, extend: ColumnSeries_extend, fireEvent: ColumnSeries_fireEvent, isArray: ColumnSeries_isArray, isNumber: ColumnSeries_isNumber, merge: ColumnSeries_merge, pick: ColumnSeries_pick, objectEach: ColumnSeries_objectEach } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * The column series type.\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.column\n *\n * @augments Highcharts.Series\n */\nclass ColumnSeries extends Series_Series {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Animate the column heights one by one from zero.\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#animate\n     *\n     * @param {boolean} init\n     *        Whether to initialize the animation or run it\n     */\n    animate(init) {\n        const series = this, yAxis = this.yAxis, yAxisPos = yAxis.pos, reversed = yAxis.reversed, options = series.options, { clipOffset, inverted } = this.chart, attr = {}, translateProp = inverted ?\n            'translateX' :\n            'translateY';\n        let translateStart, translatedThreshold;\n        if (init && clipOffset) {\n            attr.scaleY = 0.001;\n            translatedThreshold = ColumnSeries_clamp(yAxis.toPixels(options.threshold || 0), yAxisPos, yAxisPos + yAxis.len);\n            if (inverted) {\n                // Make sure the columns don't cover the axis line during\n                // entrance animation\n                translatedThreshold += reversed ?\n                    -Math.floor(clipOffset[0]) :\n                    Math.ceil(clipOffset[2]);\n                attr.translateX = translatedThreshold - yAxis.len;\n            }\n            else {\n                // Make sure the columns don't cover the axis line during\n                // entrance animation\n                translatedThreshold += reversed ?\n                    Math.ceil(clipOffset[0]) :\n                    -Math.floor(clipOffset[2]);\n                attr.translateY = translatedThreshold;\n            }\n            // Apply final clipping (used in Highcharts Stock) (#7083)\n            // animation is done by scaleY, so clipping is for panes\n            if (series.clipBox) {\n                series.setClip();\n            }\n            series.group.attr(attr);\n        }\n        else { // Run the animation\n            translateStart = Number(series.group.attr(translateProp));\n            series.group.animate({ scaleY: 1 }, ColumnSeries_extend(ColumnSeries_animObject(series.options.animation), {\n                // Do the scale synchronously to ensure smooth\n                // updating (#5030, #7228)\n                step: function (val, fx) {\n                    if (series.group) {\n                        attr[translateProp] = translateStart +\n                            fx.pos * (yAxisPos - translateStart);\n                        series.group.attr(attr);\n                    }\n                }\n            }));\n        }\n    }\n    /**\n     * Initialize the series. Extends the basic Series.init method by\n     * marking other series of the same type as dirty.\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#init\n     */\n    init(chart, \n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    options) {\n        super.init.apply(this, arguments);\n        const series = this;\n        chart = series.chart;\n        // If the series is added dynamically, force redraw of other\n        // series affected by a new column\n        if (chart.hasRendered) {\n            chart.series.forEach(function (otherSeries) {\n                if (otherSeries.type === series.type) {\n                    otherSeries.isDirty = true;\n                }\n            });\n        }\n    }\n    /**\n     * Return the width and x offset of the columns adjusted for grouping,\n     * groupPadding, pointPadding, pointWidth etc.\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#getColumnMetrics\n     */\n    getColumnMetrics() {\n        const series = this, options = series.options, xAxis = series.xAxis, yAxis = series.yAxis, reversedStacks = xAxis.options.reversedStacks, \n        // Keep backward compatibility: reversed xAxis had reversed\n        // stacks\n        reverseStacks = (xAxis.reversed && !reversedStacks) ||\n            (!xAxis.reversed && reversedStacks), stackGroups = {};\n        let stackKey, columnCount = 0;\n        // Get the total number of column type series. This is called on\n        // every series. Consider moving this logic to a chart.orderStacks()\n        // function and call it on init, addSeries and removeSeries\n        if (options.grouping === false) {\n            columnCount = 1;\n        }\n        else {\n            series.chart.series.forEach(function (otherSeries) {\n                const otherYAxis = otherSeries.yAxis, otherOptions = otherSeries.options;\n                let columnIndex;\n                if (otherSeries.type === series.type &&\n                    otherSeries.reserveSpace() &&\n                    yAxis.len === otherYAxis.len &&\n                    yAxis.pos === otherYAxis.pos) { // #642, #2086\n                    if (otherOptions.stacking &&\n                        otherOptions.stacking !== 'group') {\n                        stackKey = otherSeries.stackKey;\n                        if (typeof stackGroups[stackKey] ===\n                            'undefined') {\n                            stackGroups[stackKey] = columnCount++;\n                        }\n                        columnIndex = stackGroups[stackKey];\n                    }\n                    else if (otherOptions.grouping !== false) { // #1162\n                        columnIndex = columnCount++;\n                    }\n                    otherSeries.columnIndex = columnIndex;\n                }\n            });\n        }\n        const categoryWidth = Math.min(Math.abs(xAxis.transA) * ((!xAxis.brokenAxis?.hasBreaks && xAxis.ordinal?.slope) ||\n            options.pointRange ||\n            xAxis.closestPointRange ||\n            xAxis.tickInterval ||\n            1), // #2610\n        xAxis.len // #1535\n        ), groupPadding = categoryWidth * options.groupPadding, groupWidth = categoryWidth - 2 * groupPadding, pointOffsetWidth = groupWidth / (columnCount || 1), pointWidth = Math.min(options.maxPointWidth || xAxis.len, ColumnSeries_pick(options.pointWidth, pointOffsetWidth * (1 - 2 * options.pointPadding))), pointPadding = (pointOffsetWidth - pointWidth) / 2, \n        // #1251, #3737\n        colIndex = (series.columnIndex || 0) + (reverseStacks ? 1 : 0), pointXOffset = pointPadding +\n            (groupPadding +\n                colIndex * pointOffsetWidth -\n                (categoryWidth / 2)) * (reverseStacks ? -1 : 1);\n        // Save it for reading in linked series (Error bars particularly)\n        series.columnMetrics = {\n            width: pointWidth,\n            offset: pointXOffset,\n            paddedWidth: pointOffsetWidth,\n            columnCount\n        };\n        return series.columnMetrics;\n    }\n    /**\n     * Make the columns crisp. The edges are rounded to the nearest full\n     * pixel.\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#crispCol\n     */\n    crispCol(x, y, width, height) {\n        const borderWidth = this.borderWidth, inverted = this.chart.inverted, bottom = ColumnSeries_crisp(y + height, borderWidth, inverted);\n        // Vertical\n        y = ColumnSeries_crisp(y, borderWidth, inverted);\n        height = bottom - y;\n        // Horizontal. We need to first compute the exact right edge, then\n        // round it and compute the width from there.\n        if (this.options.crisp) {\n            const right = ColumnSeries_crisp(x + width, borderWidth);\n            x = ColumnSeries_crisp(x, borderWidth);\n            width = right - x;\n        }\n        return { x, y, width, height };\n    }\n    /**\n     * Adjust for missing columns, according to the `centerInCategory`\n     * option. Missing columns are either single points or stacks where the\n     * point or points are either missing or null.\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#adjustForMissingColumns\n     * @param {number} x\n     * The x coordinate of the column, left side\n     *\n     * @param {number} pointWidth\n     * The pointWidth, already computed upstream\n     *\n     * @param {Highcharts.ColumnPoint} point\n     * The point instance\n     *\n     * @param {Highcharts.ColumnMetricsObject} metrics\n     * The series-wide column metrics\n     *\n     * @return {number}\n     * The adjusted x position, or the original if not adjusted\n     */\n    adjustForMissingColumns(x, pointWidth, point, metrics) {\n        if (!point.isNull && metrics.columnCount > 1) {\n            const visibleSeries = this.xAxis.series\n                .filter((s) => s.visible)\n                .map((s) => s.index);\n            let indexInCategory = 0, totalInCategory = 0;\n            // Loop over all the stacks on the Y axis. When stacking is enabled,\n            // these are real point stacks. When stacking is not enabled, but\n            // `centerInCategory` is true, there is one stack handling the\n            // grouping of points in each category. This is done in the\n            // `setGroupedPoints` function.\n            ColumnSeries_objectEach(this.xAxis.stacking?.stacks, (stack) => {\n                const points = typeof point.x === 'number' ?\n                    stack[point.x.toString()]?.points :\n                    void 0, pointValues = points?.[this.index], yStackMap = {};\n                // Look for the index\n                if (points && ColumnSeries_isArray(pointValues)) {\n                    let baseIndex = this.index;\n                    // If there are multiple points with the same X then\n                    // gather all series in category, and assign index\n                    const seriesIndexes = Object\n                        .keys(points)\n                        .filter((pointKey) => \n                    // Filter out duplicate X's\n                    !pointKey.match(',') &&\n                        // Filter out null points\n                        points[pointKey] &&\n                        points[pointKey].length > 1)\n                        .map(parseFloat)\n                        .filter((index) => visibleSeries.indexOf(index) !== -1)\n                        // When the series `stack` option is defined, assign\n                        // all subsequent column of the same stack to the\n                        // same index as the base column of the stack, then\n                        // filter out the original series index so that\n                        // `seriesIndexes` is shortened to the amount of\n                        // stacks, not the amount of series (#20550).\n                        .filter((index) => {\n                        const otherOptions = this.chart.series[index]\n                            .options, yStack = otherOptions.stacking &&\n                            otherOptions.stack;\n                        if (ColumnSeries_defined(yStack)) {\n                            if (ColumnSeries_isNumber(yStackMap[yStack])) {\n                                if (baseIndex === index) {\n                                    baseIndex = yStackMap[yStack];\n                                }\n                                return false;\n                            }\n                            yStackMap[yStack] = index;\n                        }\n                        return true;\n                    })\n                        .sort((a, b) => b - a);\n                    indexInCategory = seriesIndexes.indexOf(baseIndex);\n                    totalInCategory = seriesIndexes.length;\n                }\n            });\n            indexInCategory = this.xAxis.reversed ?\n                totalInCategory - 1 - indexInCategory : indexInCategory;\n            // Compute the adjusted x position\n            const boxWidth = (totalInCategory - 1) * metrics.paddedWidth +\n                pointWidth;\n            x = (point.plotX || 0) + boxWidth / 2 - pointWidth -\n                indexInCategory * metrics.paddedWidth;\n        }\n        return x;\n    }\n    /**\n     * Translate each point to the plot area coordinate system and find\n     * shape positions\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#translate\n     */\n    translate() {\n        const series = this, chart = series.chart, options = series.options, dense = series.dense =\n            series.closestPointRange * series.xAxis.transA < 2, borderWidth = series.borderWidth = ColumnSeries_pick(options.borderWidth, dense ? 0 : 1 // #3635\n        ), xAxis = series.xAxis, yAxis = series.yAxis, threshold = options.threshold, minPointLength = ColumnSeries_pick(options.minPointLength, 5), metrics = series.getColumnMetrics(), seriesPointWidth = metrics.width, seriesXOffset = series.pointXOffset = metrics.offset, dataMin = series.dataMin, dataMax = series.dataMax, translatedThreshold = series.translatedThreshold =\n            yAxis.getThreshold(threshold);\n        // Postprocessed for border width\n        let seriesBarW = series.barW =\n            Math.max(seriesPointWidth, 1 + 2 * borderWidth);\n        // When the pointPadding is 0, we want the columns to be packed\n        // tightly, so we allow individual columns to have individual sizes.\n        // When pointPadding is greater, we strive for equal-width columns\n        // (#2694).\n        if (options.pointPadding && options.crisp) {\n            seriesBarW = Math.ceil(seriesBarW);\n        }\n        Series_Series.prototype.translate.apply(series);\n        // Record the new values\n        series.points.forEach(function (point) {\n            const yBottom = ColumnSeries_pick(point.yBottom, translatedThreshold), safeDistance = 999 + Math.abs(yBottom), plotX = point.plotX || 0, \n            // Don't draw too far outside plot area (#1303, #2241,\n            // #4264)\n            plotY = ColumnSeries_clamp(point.plotY, -safeDistance, yAxis.len + safeDistance);\n            let up, barY = Math.min(plotY, yBottom), barH = Math.max(plotY, yBottom) - barY, pointWidth = seriesPointWidth, barX = plotX + seriesXOffset, barW = seriesBarW;\n            // Handle options.minPointLength\n            if (minPointLength && Math.abs(barH) < minPointLength) {\n                barH = minPointLength;\n                up = (!yAxis.reversed && !point.negative) ||\n                    (yAxis.reversed && point.negative);\n                // Reverse zeros if there's no positive value in the series\n                // in visible range (#7046)\n                if (ColumnSeries_isNumber(threshold) &&\n                    ColumnSeries_isNumber(dataMax) &&\n                    point.y === threshold &&\n                    dataMax <= threshold &&\n                    // And if there's room for it (#7311)\n                    (yAxis.min || 0) < threshold &&\n                    // If all points are the same value (i.e zero) not draw\n                    // as negative points (#10646), but only if there's room\n                    // for it (#14876)\n                    (dataMin !== dataMax || (yAxis.max || 0) <= threshold)) {\n                    up = !up;\n                    point.negative = !point.negative;\n                }\n                // If stacked...\n                barY = (Math.abs(barY - translatedThreshold) > minPointLength ?\n                    // ...keep position\n                    yBottom - minPointLength :\n                    // #1485, #4051\n                    translatedThreshold -\n                        (up ? minPointLength : 0));\n            }\n            // Handle point.options.pointWidth\n            // @todo Handle grouping/stacking too. Calculate offset properly\n            if (ColumnSeries_defined(point.options.pointWidth)) {\n                pointWidth = barW =\n                    Math.ceil(point.options.pointWidth);\n                barX -= Math.round((pointWidth - seriesPointWidth) / 2);\n            }\n            // Adjust for null or missing points\n            if (options.centerInCategory) {\n                barX = series.adjustForMissingColumns(barX, pointWidth, point, metrics);\n            }\n            // Cache for access in polar\n            point.barX = barX;\n            point.pointWidth = pointWidth;\n            // Fix the tooltip on center of grouped columns (#1216, #424,\n            // #3648)\n            point.tooltipPos = chart.inverted ?\n                [\n                    ColumnSeries_clamp(yAxis.len + yAxis.pos - chart.plotLeft - plotY, yAxis.pos - chart.plotLeft, yAxis.len + yAxis.pos - chart.plotLeft),\n                    xAxis.len + xAxis.pos - chart.plotTop - barX - barW / 2,\n                    barH\n                ] :\n                [\n                    xAxis.left - chart.plotLeft + barX + barW / 2,\n                    ColumnSeries_clamp(plotY + yAxis.pos -\n                        chart.plotTop, yAxis.pos - chart.plotTop, yAxis.len + yAxis.pos - chart.plotTop),\n                    barH\n                ];\n            // Register shape type and arguments to be used in drawPoints. Allow\n            // `shapeType` defined on `pointClass` level.\n            point.shapeType = series.pointClass.prototype.shapeType ||\n                'roundedRect';\n            point.shapeArgs = series.crispCol(barX, \n            // #3169, drilldown from null must have a position to work from.\n            // #6585, dataLabel should be placed on xAxis, not floating in\n            // the middle of the chart.\n            point.isNull ? translatedThreshold : barY, barW, point.isNull ? 0 : barH);\n        });\n        // Fire a specific event after column translate. We could instead apply\n        // all the column logic in an `afterTranslate` event handler, but there\n        // are so many other series types that use the column translation, that\n        // it is more convenient to have a specific event for it.\n        ColumnSeries_fireEvent(this, 'afterColumnTranslate');\n    }\n    /**\n     * Columns have no graph\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#drawGraph\n     */\n    drawGraph() {\n        this.group[this.dense ? 'addClass' : 'removeClass']('highcharts-dense-data');\n    }\n    /**\n     * Get presentational attributes\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#pointAttribs\n     */\n    pointAttribs(point, state) {\n        const options = this.options, p2o = this.pointAttrToOptions || {}, strokeOption = p2o.stroke || 'borderColor', strokeWidthOption = p2o['stroke-width'] || 'borderWidth';\n        let stateOptions, zone, brightness, fill = (point && point.color) || this.color, \n        // Set to fill when borderColor null:\n        stroke = ((point && point[strokeOption]) ||\n            options[strokeOption] ||\n            fill), dashstyle = (point && point.options.dashStyle) || options.dashStyle, strokeWidth = (point && point[strokeWidthOption]) ||\n            options[strokeWidthOption] ||\n            this[strokeWidthOption] || 0, opacity = ColumnSeries_pick(point && point.opacity, options.opacity, 1);\n        // Handle zone colors\n        if (point && this.zones.length) {\n            zone = point.getZone();\n            // When zones are present, don't use point.color (#4267).\n            // Changed order (#6527), added support for colorAxis (#10670)\n            fill = (point.options.color ||\n                (zone && (zone.color || point.nonZonedColor)) ||\n                this.color);\n            if (zone) {\n                stroke = zone.borderColor || stroke;\n                dashstyle = zone.dashStyle || dashstyle;\n                strokeWidth = zone.borderWidth || strokeWidth;\n            }\n        }\n        // Select or hover states\n        if (state && point) {\n            stateOptions = ColumnSeries_merge(options.states[state], \n            // #6401\n            point.options.states &&\n                point.options.states[state] ||\n                {});\n            brightness = stateOptions.brightness;\n            fill =\n                stateOptions.color || (typeof brightness !== 'undefined' &&\n                    ColumnSeries_color(fill)\n                        .brighten(stateOptions.brightness)\n                        .get()) || fill;\n            stroke = stateOptions[strokeOption] || stroke;\n            strokeWidth =\n                stateOptions[strokeWidthOption] || strokeWidth;\n            dashstyle = stateOptions.dashStyle || dashstyle;\n            opacity = ColumnSeries_pick(stateOptions.opacity, opacity);\n        }\n        const ret = {\n            fill: fill,\n            stroke: stroke,\n            'stroke-width': strokeWidth,\n            opacity: opacity\n        };\n        if (dashstyle) {\n            ret.dashstyle = dashstyle;\n        }\n        return ret;\n    }\n    /**\n     * Draw the columns. For bars, the series.group is rotated, so the same\n     * coordinates apply for columns and bars. This method is inherited by\n     * scatter series.\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#drawPoints\n     */\n    drawPoints(points = this.points) {\n        const series = this, chart = this.chart, options = series.options, renderer = chart.renderer, animationLimit = options.animationLimit || 250;\n        let shapeArgs;\n        // Draw the columns\n        points.forEach(function (point) {\n            const plotY = point.plotY;\n            let graphic = point.graphic, hasGraphic = !!graphic, verb = graphic && chart.pointCount < animationLimit ?\n                'animate' : 'attr';\n            if (ColumnSeries_isNumber(plotY) && point.y !== null) {\n                shapeArgs = point.shapeArgs;\n                // When updating a series between 2d and 3d or cartesian and\n                // polar, the shape type changes.\n                if (graphic && point.hasNewShapeType()) {\n                    graphic = graphic.destroy();\n                }\n                // Set starting position for point sliding animation.\n                if (series.enabledDataSorting) {\n                    point.startXPos = series.xAxis.reversed ?\n                        -(shapeArgs ? (shapeArgs.width || 0) : 0) :\n                        series.xAxis.width;\n                }\n                if (!graphic) {\n                    point.graphic = graphic =\n                        renderer[point.shapeType](shapeArgs)\n                            .add(point.group || series.group);\n                    if (graphic &&\n                        series.enabledDataSorting &&\n                        chart.hasRendered &&\n                        chart.pointCount < animationLimit) {\n                        graphic.attr({\n                            x: point.startXPos\n                        });\n                        hasGraphic = true;\n                        verb = 'animate';\n                    }\n                }\n                if (graphic && hasGraphic) { // Update\n                    graphic[verb](ColumnSeries_merge(shapeArgs));\n                }\n                // Presentational\n                if (!chart.styledMode) {\n                    graphic[verb](series.pointAttribs(point, (point.selected && 'select')))\n                        .shadow(point.allowShadow !== false && options.shadow);\n                }\n                if (graphic) {\n                    graphic.addClass(point.getClassName(), true);\n                    graphic.attr({\n                        visibility: point.visible ? 'inherit' : 'hidden'\n                    });\n                }\n            }\n            else if (graphic) {\n                point.graphic = graphic.destroy(); // #1269\n            }\n        });\n    }\n    /**\n     * Draw the tracker for a point.\n     * @private\n     */\n    drawTracker(points = this.points) {\n        const series = this, chart = series.chart, pointer = chart.pointer, onMouseOver = function (e) {\n            pointer?.normalize(e);\n            const point = pointer?.getPointFromEvent(e), \n            // Run point events only for points inside plot area, #21136\n            isInsidePlot = chart.scrollablePlotArea ?\n                chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop, {\n                    visiblePlotOnly: true\n                }) : true;\n            // Undefined on graph in scatterchart\n            if (pointer &&\n                point &&\n                series.options.enableMouseTracking &&\n                isInsidePlot) {\n                pointer.isDirectTouch = true;\n                point.onMouseOver(e);\n            }\n        };\n        let dataLabels;\n        // Add reference to the point\n        points.forEach(function (point) {\n            dataLabels = (ColumnSeries_isArray(point.dataLabels) ?\n                point.dataLabels :\n                (point.dataLabel ? [point.dataLabel] : []));\n            if (point.graphic) {\n                point.graphic.element.point = point;\n            }\n            dataLabels.forEach(function (dataLabel) {\n                (dataLabel.div || dataLabel.element).point = point;\n            });\n        });\n        // Add the event listeners, we need to do this only once\n        if (!series._hasTracking) {\n            series.trackerGroups.forEach(function (key) {\n                if (series[key]) {\n                    // We don't always have dataLabelsGroup\n                    series[key]\n                        .addClass('highcharts-tracker')\n                        .on('mouseover', onMouseOver)\n                        .on('mouseout', function (e) {\n                        pointer?.onTrackerMouseOut(e);\n                    })\n                        .on('touchstart', onMouseOver);\n                    if (!chart.styledMode && series.options.cursor) {\n                        series[key]\n                            .css({ cursor: series.options.cursor });\n                    }\n                }\n            });\n            series._hasTracking = true;\n        }\n        ColumnSeries_fireEvent(this, 'afterDrawTracker');\n    }\n    /**\n     * Remove this series from the chart\n     *\n     * @private\n     * @function Highcharts.seriesTypes.column#remove\n     */\n    remove() {\n        const series = this, chart = series.chart;\n        // Column and bar series affects other series of the same type\n        // as they are either stacked or grouped\n        if (chart.hasRendered) {\n            chart.series.forEach(function (otherSeries) {\n                if (otherSeries.type === series.type) {\n                    otherSeries.isDirty = true;\n                }\n            });\n        }\n        Series_Series.prototype.remove.apply(series, arguments);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nColumnSeries.defaultOptions = ColumnSeries_merge(Series_Series.defaultOptions, Column_ColumnSeriesDefaults);\nColumnSeries_extend(ColumnSeries.prototype, {\n    // When tooltip is not shared, this series (and derivatives) requires\n    // direct touch/hover. KD-tree does not apply.\n    directTouch: true,\n    getSymbol: ColumnSeries_noop,\n    // Use separate negative stacks, unlike area stacks where a negative\n    // point is subtracted from previous (#1910)\n    negStacks: true,\n    trackerGroups: ['group', 'dataLabelsGroup']\n});\nSeries_SeriesRegistry.registerSeriesType('column', ColumnSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Column_ColumnSeries = (ColumnSeries);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Adjusted width and x offset of the columns for grouping.\n *\n * @private\n * @interface Highcharts.ColumnMetricsObject\n */ /**\n* Width of the columns.\n* @name Highcharts.ColumnMetricsObject#width\n* @type {number}\n*/ /**\n* Offset of the columns.\n* @name Highcharts.ColumnMetricsObject#offset\n* @type {number}\n*/\n''; // Detach doclets above\n\n;// ./code/es-modules/Core/Series/DataLabel.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { getDeferredAnimation: DataLabel_getDeferredAnimation } = AnimationUtilities;\n\nconst { format: DataLabel_format } = Core_Templating;\n\nconst { defined: DataLabel_defined, extend: DataLabel_extend, fireEvent: DataLabel_fireEvent, getAlignFactor: DataLabel_getAlignFactor, isArray: DataLabel_isArray, isString: DataLabel_isString, merge: DataLabel_merge, objectEach: DataLabel_objectEach, pick: DataLabel_pick, pInt: DataLabel_pInt, splat: DataLabel_splat } = Core_Utilities;\n/* *\n *\n *  Composition\n *\n * */\nvar DataLabel;\n(function (DataLabel) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Check if this series has data labels, either a series-level setting, or\n     * individual. In case of individual point labels, this method is overridden\n     * to always return true.\n     * @private\n     */\n    function hasDataLabels() {\n        return mergedDataLabelOptions(this)\n            .some((o) => o?.enabled);\n    }\n    /**\n     * Align each individual data label.\n     * @private\n     */\n    function alignDataLabel(point, dataLabel, options, alignTo, isNew) {\n        const series = this, { chart, enabledDataSorting } = this, inverted = this.isCartesian && chart.inverted, plotX = point.plotX, plotY = point.plotY, rotation = options.rotation || 0, isInsidePlot = DataLabel_defined(plotX) &&\n            DataLabel_defined(plotY) &&\n            chart.isInsidePlot(plotX, Math.round(plotY), {\n                inverted,\n                paneCoordinates: true,\n                series\n            }), setStartPos = (alignOptions) => {\n            if (enabledDataSorting && series.xAxis && !justify) {\n                series.setDataLabelStartPos(point, dataLabel, isNew, isInsidePlot, alignOptions);\n            }\n        }, justify = rotation === 0 ? DataLabel_pick(options.overflow, (enabledDataSorting ? 'none' : 'justify')) === 'justify' : false;\n        // Math.round for rounding errors (#2683), alignTo to allow column\n        // labels (#2700)\n        let visible = this.visible &&\n            point.visible !== false &&\n            DataLabel_defined(plotX) &&\n            (point.series.forceDL ||\n                (enabledDataSorting && !justify) ||\n                isInsidePlot ||\n                (\n                // If the data label is inside the align box, it is enough\n                // that parts of the align box is inside the plot area\n                // (#12370). When stacking, it is always inside regardless\n                // of the option (#15148).\n                DataLabel_pick(options.inside, !!this.options.stacking) &&\n                    alignTo &&\n                    chart.isInsidePlot(plotX, inverted ?\n                        alignTo.x + 1 :\n                        alignTo.y + alignTo.height - 1, {\n                        inverted,\n                        paneCoordinates: true,\n                        series\n                    })));\n        const pos = point.pos();\n        if (visible && pos) {\n            const bBox = dataLabel.getBBox(), unrotatedbBox = dataLabel.getBBox(void 0, 0);\n            // The alignment box is a singular point\n            alignTo = DataLabel_extend({\n                x: pos[0],\n                y: Math.round(pos[1]),\n                width: 0,\n                height: 0\n            }, alignTo || {});\n            // Align to plot edges\n            if (options.alignTo === 'plotEdges' && series.isCartesian) {\n                alignTo[inverted ? 'x' : 'y'] = 0;\n                alignTo[inverted ? 'width' : 'height'] = this.yAxis?.len || 0;\n            }\n            // Add the text size for alignment calculation\n            DataLabel_extend(options, {\n                width: bBox.width,\n                height: bBox.height\n            });\n            setStartPos(alignTo); // Data sorting\n            // Align the label to the adjusted box with for unrotated bBox due\n            // to rotationOrigin, which is based on unrotated label\n            dataLabel.align(DataLabel_merge(options, {\n                width: unrotatedbBox.width,\n                height: unrotatedbBox.height\n            }), false, alignTo, false);\n            dataLabel.alignAttr.x += DataLabel_getAlignFactor(options.align) *\n                (unrotatedbBox.width - bBox.width);\n            dataLabel.alignAttr.y += DataLabel_getAlignFactor(options.verticalAlign) *\n                (unrotatedbBox.height - bBox.height);\n            dataLabel[dataLabel.placed ? 'animate' : 'attr']({\n                'text-align': dataLabel.alignAttr['text-align'] || 'center',\n                x: dataLabel.alignAttr.x +\n                    (bBox.width - unrotatedbBox.width) / 2,\n                y: dataLabel.alignAttr.y +\n                    (bBox.height - unrotatedbBox.height) / 2,\n                rotationOriginX: (dataLabel.width || 0) / 2,\n                rotationOriginY: (dataLabel.height || 0) / 2\n            });\n            // Uncomment this block to visualize the bounding boxes used for\n            // determining visibility\n            // chart.renderer.rect(\n            //     (dataLabel.alignAttr.x || 0) + chart.plotLeft,\n            //     (dataLabel.alignAttr.y || 0) + chart.plotTop,\n            //     bBox.width,\n            //     bBox.height\n            // ).attr({\n            //     stroke: 'rgba(0, 0, 0, 0.3)',\n            //     'stroke-width': 1,\n            //     zIndex: 20\n            // }).add();\n            // chart.renderer.circle(\n            //     chart.plotLeft + pick(dataLabel.alignAttr.x, 0),\n            //     chart.plotTop + pick(dataLabel.alignAttr.y, 0),\n            //     2\n            // ).attr({\n            //     fill: 'red',\n            //     zIndex: 20\n            // }).add();\n            if (justify && alignTo.height >= 0) { // #8830\n                this.justifyDataLabel(dataLabel, options, dataLabel.alignAttr, bBox, alignTo, isNew);\n            }\n            else if (DataLabel_pick(options.crop, true)) {\n                const { x, y } = dataLabel.alignAttr, correction = 1;\n                // Check if the dataLabel should be visible.\n                visible =\n                    chart.isInsidePlot(x, y, {\n                        paneCoordinates: true,\n                        series\n                    }) &&\n                        chart.isInsidePlot(x + bBox.width - correction, y + bBox.height - correction, {\n                            paneCoordinates: true,\n                            series\n                        });\n            }\n            // When we're using a shape, make it possible with a connector or an\n            // arrow pointing to this point\n            if (options.shape && !rotation) {\n                dataLabel[isNew ? 'attr' : 'animate']({\n                    anchorX: pos[0],\n                    anchorY: pos[1]\n                });\n            }\n        }\n        // To use alignAttr property in hideOverlappingLabels\n        if (isNew && enabledDataSorting) {\n            dataLabel.placed = false;\n        }\n        // Show or hide based on the final aligned position\n        if (!visible && (!enabledDataSorting || justify)) {\n            dataLabel.hide();\n            dataLabel.placed = false; // Don't animate back in\n        }\n        else {\n            dataLabel.show();\n            dataLabel.placed = true; // Flag for overlapping logic\n        }\n    }\n    /**\n     * Handle the dataLabels.filter option.\n     * @private\n     */\n    function applyFilter(point, options) {\n        const filter = options.filter;\n        if (filter) {\n            const op = filter.operator, prop = point[filter.property], val = filter.value;\n            if ((op === '>' && prop > val) ||\n                (op === '<' && prop < val) ||\n                (op === '>=' && prop >= val) ||\n                (op === '<=' && prop <= val) ||\n                (op === '==' && prop == val) || // eslint-disable-line eqeqeq\n                (op === '===' && prop === val) ||\n                (op === '!=' && prop != val) || // eslint-disable-line eqeqeq\n                (op === '!==' && prop !== val)) {\n                return true;\n            }\n            return false;\n        }\n        return true;\n    }\n    /**\n     * @private\n     */\n    function compose(SeriesClass) {\n        const seriesProto = SeriesClass.prototype;\n        if (!seriesProto.initDataLabels) {\n            seriesProto.initDataLabels = initDataLabels;\n            seriesProto.initDataLabelsGroup = initDataLabelsGroup;\n            seriesProto.alignDataLabel = alignDataLabel;\n            seriesProto.drawDataLabels = drawDataLabels;\n            seriesProto.justifyDataLabel = justifyDataLabel;\n            seriesProto.setDataLabelStartPos = setDataLabelStartPos;\n            seriesProto.hasDataLabels = hasDataLabels;\n        }\n    }\n    DataLabel.compose = compose;\n    /**\n     * Create the SVGElement group for dataLabels\n     * @private\n     */\n    function initDataLabelsGroup() {\n        return this.plotGroup('dataLabelsGroup', 'data-labels', this.hasRendered ? 'inherit' : 'hidden', // #5133, #10220\n        this.options.dataLabels.zIndex || 6);\n    }\n    /**\n     * Init the data labels with the correct animation\n     * @private\n     */\n    function initDataLabels(animationConfig) {\n        const series = this, hasRendered = series.hasRendered || 0;\n        // Create a separate group for the data labels to avoid rotation\n        const dataLabelsGroup = this.initDataLabelsGroup()\n            .attr({ opacity: +hasRendered }); // #3300\n        if (!hasRendered && dataLabelsGroup) {\n            if (series.visible) { // #2597, #3023, #3024\n                dataLabelsGroup.show();\n            }\n            if (series.options.animation) {\n                dataLabelsGroup.animate({ opacity: 1 }, animationConfig);\n            }\n            else {\n                dataLabelsGroup.attr({ opacity: 1 });\n            }\n        }\n        return dataLabelsGroup;\n    }\n    /**\n     * Draw the data labels\n     * @private\n     */\n    function drawDataLabels(points) {\n        points = points || this.points;\n        const series = this, chart = series.chart, seriesOptions = series.options, renderer = chart.renderer, { backgroundColor, plotBackgroundColor } = chart.options.chart, contrastColor = renderer.getContrast((DataLabel_isString(plotBackgroundColor) && plotBackgroundColor) ||\n            (DataLabel_isString(backgroundColor) && backgroundColor) ||\n            \"#000000\" /* Palette.neutralColor100 */), seriesDlOptions = mergedDataLabelOptions(series);\n        let pointOptions, dataLabelsGroup;\n        // Resolve the animation\n        const { animation, defer } = seriesDlOptions[0], animationConfig = defer ?\n            DataLabel_getDeferredAnimation(chart, animation, series) :\n            { defer: 0, duration: 0 };\n        DataLabel_fireEvent(this, 'drawDataLabels');\n        if (series.hasDataLabels?.()) {\n            dataLabelsGroup = this.initDataLabels(animationConfig);\n            // Make the labels for each point\n            points.forEach((point) => {\n                const dataLabels = point.dataLabels || [];\n                // Merge in series options for the point.\n                // @note dataLabelAttribs (like pointAttribs) would eradicate\n                // the need for dlOptions, and simplify the section below.\n                pointOptions = DataLabel_splat(mergeArrays(seriesDlOptions, \n                // The dlOptions prop is used in treemaps\n                point.dlOptions || point.options?.dataLabels));\n                // Handle each individual data label for this point\n                pointOptions.forEach((labelOptions, i) => {\n                    // Options for one datalabel\n                    const labelEnabled = (labelOptions.enabled &&\n                        (point.visible || point.dataLabelOnHidden) &&\n                        // #2282, #4641, #7112, #10049\n                        (!point.isNull || point.dataLabelOnNull) &&\n                        applyFilter(point, labelOptions)), { backgroundColor, borderColor, distance, style = {} } = labelOptions;\n                    let formatString, labelText, rotation, attr = {}, dataLabel = dataLabels[i], isNew = !dataLabel, labelBgColor;\n                    if (labelEnabled) {\n                        // Create individual options structure that can be\n                        // extended without affecting others\n                        formatString = DataLabel_pick(labelOptions[point.formatPrefix + 'Format'], labelOptions.format);\n                        labelText = DataLabel_defined(formatString) ?\n                            DataLabel_format(formatString, point, chart) :\n                            (labelOptions[point.formatPrefix + 'Formatter'] ||\n                                labelOptions.formatter).call(point, labelOptions);\n                        rotation = labelOptions.rotation;\n                        if (!chart.styledMode) {\n                            // Determine the color\n                            style.color = DataLabel_pick(labelOptions.color, style.color, DataLabel_isString(series.color) ? series.color : void 0, \"#000000\" /* Palette.neutralColor100 */);\n                            // Get automated contrast color\n                            if (style.color === 'contrast') {\n                                if (backgroundColor !== 'none') {\n                                    labelBgColor = backgroundColor;\n                                }\n                                point.contrastColor = renderer.getContrast(labelBgColor !== 'auto' && labelBgColor ||\n                                    (point.color || series.color));\n                                style.color = (labelBgColor || // #20007\n                                    (!DataLabel_defined(distance) &&\n                                        labelOptions.inside) ||\n                                    DataLabel_pInt(distance || 0) < 0 ||\n                                    seriesOptions.stacking) ?\n                                    point.contrastColor :\n                                    contrastColor;\n                            }\n                            else {\n                                delete point.contrastColor;\n                            }\n                            if (seriesOptions.cursor) {\n                                style.cursor = seriesOptions.cursor;\n                            }\n                        }\n                        attr = {\n                            r: labelOptions.borderRadius || 0,\n                            rotation,\n                            padding: labelOptions.padding,\n                            zIndex: 1\n                        };\n                        if (!chart.styledMode) {\n                            attr.fill = backgroundColor === 'auto' ?\n                                point.color :\n                                backgroundColor;\n                            attr.stroke = borderColor === 'auto' ?\n                                point.color :\n                                borderColor;\n                            attr['stroke-width'] = labelOptions.borderWidth;\n                        }\n                        // Remove unused attributes (#947)\n                        DataLabel_objectEach(attr, (val, name) => {\n                            if (typeof val === 'undefined') {\n                                delete attr[name];\n                            }\n                        });\n                    }\n                    // If the point is outside the plot area, or the label\n                    // changes properties that we cannot change, destroy it and\n                    // build a new one below. #678, #820.\n                    if (dataLabel && (!labelEnabled ||\n                        !DataLabel_defined(labelText) ||\n                        !!dataLabel.div !== !!labelOptions.useHTML ||\n                        (\n                        // Change from no rotation to rotation and\n                        // vice versa. Don't use defined() because\n                        // rotation = 0 means also rotation = undefined\n                        (!dataLabel.rotation ||\n                            !labelOptions.rotation) &&\n                            dataLabel.rotation !== labelOptions.rotation))) {\n                        dataLabel = void 0;\n                        isNew = true;\n                    }\n                    // Individual labels are disabled if the are explicitly\n                    // disabled in the point options, or if they fall outside\n                    // the plot area.\n                    if (labelEnabled && DataLabel_defined(labelText)) {\n                        if (!dataLabel) {\n                            // Create new label element\n                            dataLabel = renderer.label(labelText, 0, 0, labelOptions.shape, void 0, void 0, labelOptions.useHTML, void 0, 'data-label');\n                            dataLabel.addClass(' highcharts-data-label-color-' +\n                                point.colorIndex +\n                                ' ' + (labelOptions.className || '') +\n                                ( // #3398\n                                labelOptions.useHTML ?\n                                    ' highcharts-tracker' :\n                                    ''));\n                        }\n                        else {\n                            // Use old element and just update text\n                            attr.text = labelText;\n                        }\n                        // Store data label options for later access\n                        if (dataLabel) {\n                            dataLabel.options = labelOptions;\n                            dataLabel.attr(attr);\n                            if (!chart.styledMode) {\n                                // Styles must be applied before add in order to\n                                // read text bounding box\n                                dataLabel.css(style).shadow(labelOptions.shadow);\n                            }\n                            else if (style.width) {\n                                // In styled mode with a width property set,\n                                // the width should be applied to the\n                                // dataLabel. (#20499). These properties affect\n                                // layout and must be applied also in styled\n                                // mode.\n                                dataLabel.css({\n                                    width: style.width,\n                                    textOverflow: style.textOverflow,\n                                    whiteSpace: style.whiteSpace\n                                });\n                            }\n                            DataLabel_fireEvent(dataLabel, 'beforeAddingDataLabel', { labelOptions, point });\n                            if (!dataLabel.added) {\n                                dataLabel.add(dataLabelsGroup);\n                            }\n                            // Now the data label is created and placed at 0,0,\n                            // so we need to align it\n                            series.alignDataLabel(point, dataLabel, labelOptions, void 0, isNew);\n                            dataLabel.isActive = true;\n                            if (dataLabels[i] && dataLabels[i] !== dataLabel) {\n                                dataLabels[i].destroy();\n                            }\n                            dataLabels[i] = dataLabel;\n                        }\n                    }\n                });\n                // Destroy and remove the inactive ones\n                let j = dataLabels.length;\n                while (j--) {\n                    // The item can be undefined if a disabled data label is\n                    // succeeded by an enabled one (#19457)\n                    if (!dataLabels[j] || !dataLabels[j].isActive) {\n                        dataLabels[j]?.destroy();\n                        dataLabels.splice(j, 1);\n                    }\n                    else {\n                        dataLabels[j].isActive = false;\n                    }\n                }\n                // Write back\n                point.dataLabel = dataLabels[0];\n                point.dataLabels = dataLabels;\n            });\n        }\n        DataLabel_fireEvent(this, 'afterDrawDataLabels');\n    }\n    /**\n     * If data labels fall partly outside the plot area, align them back in, in\n     * a way that doesn't hide the point.\n     * @private\n     */\n    function justifyDataLabel(dataLabel, options, alignAttr, bBox, alignTo, isNew) {\n        const chart = this.chart, align = options.align, verticalAlign = options.verticalAlign, padding = dataLabel.box ? 0 : (dataLabel.padding || 0), horizontalAxis = chart.inverted ? this.yAxis : this.xAxis, horizontalAxisShift = horizontalAxis ?\n            horizontalAxis.left - chart.plotLeft : 0, verticalAxis = chart.inverted ? this.xAxis : this.yAxis, verticalAxisShift = verticalAxis ?\n            verticalAxis.top - chart.plotTop : 0;\n        let { x = 0, y = 0 } = options, off, justified;\n        // Off left\n        off = (alignAttr.x || 0) + padding + horizontalAxisShift;\n        if (off < 0) {\n            if (align === 'right' && x >= 0) {\n                options.align = 'left';\n                options.inside = true;\n            }\n            else {\n                x -= off;\n            }\n            justified = true;\n        }\n        // Off right\n        off = (alignAttr.x || 0) + bBox.width - padding + horizontalAxisShift;\n        if (off > chart.plotWidth) {\n            if (align === 'left' && x <= 0) {\n                options.align = 'right';\n                options.inside = true;\n            }\n            else {\n                x += chart.plotWidth - off;\n            }\n            justified = true;\n        }\n        // Off top\n        off = alignAttr.y + padding + verticalAxisShift;\n        if (off < 0) {\n            if (verticalAlign === 'bottom' && y >= 0) {\n                options.verticalAlign = 'top';\n                options.inside = true;\n            }\n            else {\n                y -= off;\n            }\n            justified = true;\n        }\n        // Off bottom\n        off = (alignAttr.y || 0) + bBox.height - padding + verticalAxisShift;\n        if (off > chart.plotHeight) {\n            if (verticalAlign === 'top' && y <= 0) {\n                options.verticalAlign = 'bottom';\n                options.inside = true;\n            }\n            else {\n                y += chart.plotHeight - off;\n            }\n            justified = true;\n        }\n        if (justified) {\n            options.x = x;\n            options.y = y;\n            dataLabel.placed = !isNew;\n            dataLabel.align(options, void 0, alignTo);\n        }\n        return justified;\n    }\n    /**\n     * Merge two objects that can be arrays. If one of them is an array, the\n     * other is merged into each element. If both are arrays, each element is\n     * merged by index. If neither are arrays, we use normal merge.\n     * @private\n     */\n    function mergeArrays(one, two) {\n        let res = [], i;\n        if (DataLabel_isArray(one) && !DataLabel_isArray(two)) {\n            res = one.map(function (el) {\n                return DataLabel_merge(el, two);\n            });\n        }\n        else if (DataLabel_isArray(two) && !DataLabel_isArray(one)) {\n            res = two.map(function (el) {\n                return DataLabel_merge(one, el);\n            });\n        }\n        else if (!DataLabel_isArray(one) && !DataLabel_isArray(two)) {\n            res = DataLabel_merge(one, two);\n        }\n        else if (DataLabel_isArray(one) && DataLabel_isArray(two)) {\n            i = Math.max(one.length, two.length);\n            while (i--) {\n                res[i] = DataLabel_merge(one[i], two[i]);\n            }\n        }\n        return res;\n    }\n    /**\n     * Merge plotOptions and series options for dataLabels.\n     * @private\n     */\n    function mergedDataLabelOptions(series) {\n        const plotOptions = series.chart.options.plotOptions;\n        return DataLabel_splat(mergeArrays(mergeArrays(plotOptions?.series?.dataLabels, plotOptions?.[series.type]?.dataLabels), series.options.dataLabels));\n    }\n    /**\n     * Set starting position for data label sorting animation.\n     * @private\n     */\n    function setDataLabelStartPos(point, dataLabel, isNew, isInside, alignOptions) {\n        const chart = this.chart, inverted = chart.inverted, xAxis = this.xAxis, reversed = xAxis.reversed, labelCenter = ((inverted ? dataLabel.height : dataLabel.width) || 0) / 2, pointWidth = point.pointWidth, halfWidth = pointWidth ? pointWidth / 2 : 0;\n        dataLabel.startXPos = inverted ?\n            alignOptions.x :\n            (reversed ?\n                -labelCenter - halfWidth :\n                xAxis.width - labelCenter + halfWidth);\n        dataLabel.startYPos = inverted ?\n            (reversed ?\n                this.yAxis.height - labelCenter + halfWidth :\n                -labelCenter - halfWidth) : alignOptions.y;\n        // We need to handle visibility in case of sorting point outside plot\n        // area\n        if (!isInside) {\n            dataLabel\n                .attr({ opacity: 1 })\n                .animate({ opacity: 0 }, void 0, dataLabel.hide);\n        }\n        else if (dataLabel.visibility === 'hidden') {\n            dataLabel.show();\n            dataLabel\n                .attr({ opacity: 0 })\n                .animate({ opacity: 1 });\n        }\n        // Save start position on first render, but do not change position\n        if (!chart.hasRendered) {\n            return;\n        }\n        // Set start position\n        if (isNew) {\n            dataLabel.attr({ x: dataLabel.startXPos, y: dataLabel.startYPos });\n        }\n        dataLabel.placed = true;\n    }\n})(DataLabel || (DataLabel = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_DataLabel = (DataLabel);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Callback JavaScript function to format the data label as a string. Note that\n * if a `format` is defined, the format takes precedence and the formatter is\n * ignored.\n *\n * @callback Highcharts.DataLabelsFormatterCallbackFunction\n *\n * @param {Highcharts.Point} this\n * Data label context to format\n *\n * @param {Highcharts.DataLabelsOptions} options\n * [API options](/highcharts/plotOptions.series.dataLabels) of the data label\n *\n * @return {number|string|null|undefined}\n * Formatted data label text\n */\n/**\n * Values for handling data labels that flow outside the plot area.\n *\n * @typedef {\"allow\"|\"justify\"} Highcharts.DataLabelsOverflowValue\n */\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Series/Column/ColumnDataLabel.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { composed: ColumnDataLabel_composed } = Core_Globals;\n\nconst { series: ColumnDataLabel_Series } = Series_SeriesRegistry;\n\nconst { merge: ColumnDataLabel_merge, pick: ColumnDataLabel_pick, pushUnique: ColumnDataLabel_pushUnique } = Core_Utilities;\n/* *\n *\n *  Composition\n *\n * */\nvar ColumnDataLabel;\n(function (ColumnDataLabel) {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Override the basic data label alignment by adjusting for the position of\n     * the column.\n     * @private\n     */\n    function alignDataLabel(point, dataLabel, options, alignTo, isNew) {\n        const inverted = this.chart.inverted, series = point.series, xLen = (series.xAxis ? series.xAxis.len : this.chart.plotSizeX) || 0, yLen = (series.yAxis ? series.yAxis.len : this.chart.plotSizeY) || 0, \n        // Data label box for alignment\n        dlBox = point.dlBox || point.shapeArgs, below = ColumnDataLabel_pick(point.below, // Range series\n        point.plotY >\n            ColumnDataLabel_pick(this.translatedThreshold, yLen)), \n        // Draw it inside the box?\n        inside = ColumnDataLabel_pick(options.inside, !!this.options.stacking);\n        // Align to the column itself, or the top of it\n        if (dlBox) { // Area range uses this method but not alignTo\n            alignTo = ColumnDataLabel_merge(dlBox);\n            // Check for specific overflow and crop conditions (#13240)\n            if (!(options.overflow === 'allow' && options.crop === false)) {\n                if (alignTo.y < 0) {\n                    alignTo.height += alignTo.y;\n                    alignTo.y = 0;\n                }\n                // If parts of the box overshoots outside the plot area, modify\n                // the box to center the label inside\n                const overshoot = alignTo.y + alignTo.height - yLen;\n                if (overshoot > 0 && overshoot < alignTo.height - 1) {\n                    alignTo.height -= overshoot;\n                }\n            }\n            if (inverted) {\n                alignTo = {\n                    x: yLen - alignTo.y - alignTo.height,\n                    y: xLen - alignTo.x - alignTo.width,\n                    width: alignTo.height,\n                    height: alignTo.width\n                };\n            }\n            // Compute the alignment box\n            if (!inside) {\n                if (inverted) {\n                    alignTo.x += below ? 0 : alignTo.width;\n                    alignTo.width = 0;\n                }\n                else {\n                    alignTo.y += below ? alignTo.height : 0;\n                    alignTo.height = 0;\n                }\n            }\n        }\n        // When alignment is undefined (typically columns and bars), display the\n        // individual point below or above the point depending on the threshold\n        options.align = ColumnDataLabel_pick(options.align, !inverted || inside ? 'center' : below ? 'right' : 'left');\n        options.verticalAlign = ColumnDataLabel_pick(options.verticalAlign, inverted || inside ? 'middle' : below ? 'top' : 'bottom');\n        // Call the parent method\n        ColumnDataLabel_Series.prototype.alignDataLabel.call(this, point, dataLabel, options, alignTo, isNew);\n        // If label was justified and we have contrast, set it:\n        if (options.inside && point.contrastColor) {\n            dataLabel.css({\n                color: point.contrastColor\n            });\n        }\n    }\n    /** @private */\n    function compose(ColumnSeriesClass) {\n        Series_DataLabel.compose(ColumnDataLabel_Series);\n        if (ColumnDataLabel_pushUnique(ColumnDataLabel_composed, 'ColumnDataLabel')) {\n            ColumnSeriesClass.prototype.alignDataLabel = alignDataLabel;\n        }\n    }\n    ColumnDataLabel.compose = compose;\n})(ColumnDataLabel || (ColumnDataLabel = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Column_ColumnDataLabel = (ColumnDataLabel);\n\n;// ./code/es-modules/Series/Bar/BarSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { extend: BarSeries_extend, merge: BarSeries_merge } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * Bar series type.\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.bar\n *\n * @augments Highcharts.Series\n */\nclass BarSeries extends Column_ColumnSeries {\n}\n/* *\n *\n *  Static Properties\n *\n * */\n/**\n * A bar series is a special type of column series where the columns are\n * horizontal.\n *\n * @sample highcharts/demo/bar-chart/\n *         Bar chart\n *\n * @extends      plotOptions.column\n * @product      highcharts\n * @optionparent plotOptions.bar\n */\nBarSeries.defaultOptions = BarSeries_merge(Column_ColumnSeries.defaultOptions, {\n// Nothing here yet\n});\nBarSeries_extend(BarSeries.prototype, {\n    inverted: true\n});\nSeries_SeriesRegistry.registerSeriesType('bar', BarSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bar_BarSeries = ((/* unused pure expression or super */ null && (BarSeries)));\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A `bar` series. If the [type](#series.bar.type) option is not specified,\n * it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.bar\n * @excluding connectNulls, dashStyle, dataParser, dataURL, gapSize, gapUnit,\n *            linecap, lineWidth, marker, connectEnds, step\n * @product   highcharts\n * @apioption series.bar\n */\n/**\n * An array of data points for the series. For the `bar` series type,\n * points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 5],\n *        [1, 10],\n *        [2, 3]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.bar.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 1,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 10,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.column.data\n * @product   highcharts\n * @apioption series.bar.data\n */\n/**\n * @excluding halo,lineWidth,lineWidthPlus,marker\n * @product   highcharts highstock\n * @apioption series.bar.states.hover\n */\n/**\n * @excluding halo,lineWidth,lineWidthPlus,marker\n * @product   highcharts highstock\n * @apioption series.bar.states.select\n */\n''; // Gets doclets above into transpiled\n\n;// ./code/es-modules/Series/Scatter/ScatterSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A scatter plot uses cartesian coordinates to display values for two\n * variables for a set of data.\n *\n * @sample {highcharts} highcharts/demo/scatter/\n *         Scatter plot\n *\n * @extends      plotOptions.line\n * @excluding    cropThreshold, legendSymbolColor, pointPlacement, shadow,\n *               useOhlcData\n * @product      highcharts highstock\n * @optionparent plotOptions.scatter\n */\nconst ScatterSeriesDefaults = {\n    /**\n     * The width of the line connecting the data points.\n     *\n     * @sample {highcharts} highcharts/plotoptions/scatter-linewidth-none/\n     *         0 by default\n     * @sample {highcharts} highcharts/plotoptions/scatter-linewidth-1/\n     *         1px\n     *\n     * @product highcharts highstock\n     */\n    lineWidth: 0,\n    findNearestPointBy: 'xy',\n    /**\n     * Apply a jitter effect for the rendered markers. When plotting\n     * discrete values, a little random noise may help telling the points\n     * apart. The jitter setting applies a random displacement of up to `n`\n     * axis units in either direction. So for example on a horizontal X\n     * axis, setting the `jitter.x` to 0.24 will render the point in a\n     * random position between 0.24 units to the left and 0.24 units to the\n     * right of the true axis position. On a category axis, setting it to\n     * 0.5 will fill up the bin and make the data appear continuous.\n     *\n     * When rendered on top of a box plot or a column series, a jitter value\n     * of 0.24 will correspond to the underlying series' default\n     * [groupPadding](\n     * https://api.highcharts.com/highcharts/plotOptions.column.groupPadding)\n     * and [pointPadding](\n     * https://api.highcharts.com/highcharts/plotOptions.column.pointPadding)\n     * settings.\n     *\n     * **Note:** With boost mode enabled, the jitter effect is not supported.\n     *\n     * @sample {highcharts} highcharts/demo/scatter-jitter\n     *         Jitter on a scatter plot\n     *\n     * @sample {highcharts} highcharts/series-scatter/jitter-boxplot\n     *         Jittered scatter plot on top of a box plot\n     *\n     * @product highcharts highstock\n     * @since 7.0.2\n     */\n    jitter: {\n        /**\n         * The maximal X offset for the random jitter effect.\n         */\n        x: 0,\n        /**\n         * The maximal Y offset for the random jitter effect.\n         */\n        y: 0\n    },\n    marker: {\n        enabled: true // Overrides auto-enabling in line series (#3647)\n    },\n    /**\n     * Sticky tracking of mouse events. When true, the `mouseOut` event\n     * on a series isn't triggered until the mouse moves over another\n     * series, or out of the plot area. When false, the `mouseOut` event on\n     * a series is triggered when the mouse leaves the area around the\n     * series' graph or markers. This also implies the tooltip. When\n     * `stickyTracking` is false and `tooltip.shared` is false, the tooltip\n     * will be hidden when moving the mouse between series.\n     *\n     * @type      {boolean}\n     * @default   false\n     * @product   highcharts highstock highmaps\n     * @apioption plotOptions.scatter.stickyTracking\n     */\n    /**\n     * A configuration object for the tooltip rendering of each single\n     * series. Properties are inherited from [tooltip](#tooltip).\n     * Overridable properties are `headerFormat`, `pointFormat`,\n     * `yDecimals`, `xDateFormat`, `yPrefix` and `ySuffix`. Unlike other\n     * series, in a scatter plot the series.name by default shows in the\n     * headerFormat and point.x and point.y in the pointFormat.\n     *\n     * @product highcharts highstock highmaps\n     */\n    tooltip: {\n        /**\n         * @product highcharts highstock\n         */\n        headerFormat: '<span style=\"color:{point.color}\">\\u25CF</span> ' +\n            '<span style=\"font-size: 0.8em\"> {series.name}</span><br/>',\n        pointFormat: 'x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>'\n    }\n};\n/**\n * A `scatter` series. If the [type](#series.scatter.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.scatter\n * @excluding cropThreshold, dataParser, dataURL, useOhlcData\n * @product   highcharts highstock\n * @apioption series.scatter\n */\n/**\n * An array of data points for the series. For the `scatter` series\n * type, points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 0],\n *        [1, 8],\n *        [2, 9]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.scatter.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 2,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 4,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.line.data\n * @product   highcharts highstock\n * @apioption series.scatter.data\n */\n''; // Keeps doclets above in JS file\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Scatter_ScatterSeriesDefaults = (ScatterSeriesDefaults);\n\n;// ./code/es-modules/Series/Scatter/ScatterSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { column: ScatterSeries_ColumnSeries, line: ScatterSeries_LineSeries } = Series_SeriesRegistry.seriesTypes;\n\nconst { addEvent: ScatterSeries_addEvent, extend: ScatterSeries_extend, merge: ScatterSeries_merge } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * Scatter series type.\n *\n * @private\n */\nclass ScatterSeries extends ScatterSeries_LineSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Optionally add the jitter effect.\n     * @private\n     */\n    applyJitter() {\n        const series = this, jitter = this.options.jitter, len = this.points.length;\n        /**\n         * Return a repeatable, pseudo-random number based on an integer\n         * seed.\n         * @private\n         */\n        function unrandom(seed) {\n            const rand = Math.sin(seed) * 10000;\n            return rand - Math.floor(rand);\n        }\n        if (jitter) {\n            this.points.forEach(function (point, i) {\n                ['x', 'y'].forEach(function (dim, j) {\n                    if (jitter[dim] && !point.isNull) {\n                        const plotProp = `plot${dim.toUpperCase()}`, axis = series[`${dim}Axis`], translatedJitter = jitter[dim] *\n                            axis.transA;\n                        if (axis && !axis.logarithmic) {\n                            // Identify the outer bounds of the jitter range\n                            const min = Math.max(0, (point[plotProp] || 0) - translatedJitter), max = Math.min(axis.len, (point[plotProp] || 0) + translatedJitter);\n                            // Find a random position within this range\n                            point[plotProp] = min +\n                                (max - min) * unrandom(i + j * len);\n                            // Update clientX for the tooltip k-d-tree\n                            if (dim === 'x') {\n                                point.clientX = point.plotX;\n                            }\n                        }\n                    }\n                });\n            });\n        }\n    }\n    /**\n     * @private\n     */\n    drawGraph() {\n        if (this.options.lineWidth) {\n            super.drawGraph();\n        }\n        else if (this.graph) {\n            this.graph = this.graph.destroy();\n        }\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nScatterSeries.defaultOptions = ScatterSeries_merge(ScatterSeries_LineSeries.defaultOptions, Scatter_ScatterSeriesDefaults);\nScatterSeries_extend(ScatterSeries.prototype, {\n    drawTracker: ScatterSeries_ColumnSeries.prototype.drawTracker,\n    sorted: false,\n    requireSorting: false,\n    noSharedTooltip: true,\n    trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup']\n});\n/* *\n *\n *  Events\n *\n * */\n/* eslint-disable no-invalid-this */\nScatterSeries_addEvent(ScatterSeries, 'afterTranslate', function () {\n    this.applyJitter();\n});\nSeries_SeriesRegistry.registerSeriesType('scatter', ScatterSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Scatter_ScatterSeries = ((/* unused pure expression or super */ null && (ScatterSeries)));\n\n;// ./code/es-modules/Series/CenteredUtilities.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { deg2rad: CenteredUtilities_deg2rad } = Core_Globals;\n\n\nconst { fireEvent: CenteredUtilities_fireEvent, isNumber: CenteredUtilities_isNumber, pick: CenteredUtilities_pick, relativeLength: CenteredUtilities_relativeLength } = Core_Utilities;\n/**\n * @private\n */\nvar CenteredUtilities;\n(function (CenteredUtilities) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Get the center of the pie based on the size and center options relative\n     * to the plot area. Borrowed by the polar and gauge series types.\n     *\n     * @private\n     * @function Highcharts.CenteredSeriesMixin.getCenter\n     */\n    function getCenter() {\n        const options = this.options, chart = this.chart, slicingRoom = 2 * (options.slicedOffset || 0), plotWidth = chart.plotWidth - 2 * slicingRoom, plotHeight = chart.plotHeight - 2 * slicingRoom, centerOption = options.center, smallestSize = Math.min(plotWidth, plotHeight), thickness = options.thickness;\n        let handleSlicingRoom, size = options.size, innerSize = options.innerSize || 0, i, value;\n        if (typeof size === 'string') {\n            size = parseFloat(size);\n        }\n        if (typeof innerSize === 'string') {\n            innerSize = parseFloat(innerSize);\n        }\n        const positions = [\n            CenteredUtilities_pick(centerOption?.[0], '50%'),\n            CenteredUtilities_pick(centerOption?.[1], '50%'),\n            // Prevent from negative values\n            CenteredUtilities_pick(size && size < 0 ? void 0 : options.size, '100%'),\n            CenteredUtilities_pick(innerSize && innerSize < 0 ? void 0 : options.innerSize || 0, '0%')\n        ];\n        // No need for inner size in angular (gauges) series but still required\n        // for pie series\n        if (chart.angular && !(this instanceof Series_Series)) {\n            positions[3] = 0;\n        }\n        for (i = 0; i < 4; ++i) {\n            value = positions[i];\n            handleSlicingRoom = i < 2 || (i === 2 && /%$/.test(value));\n            // I == 0: centerX, relative to width\n            // i == 1: centerY, relative to height\n            // i == 2: size, relative to smallestSize\n            // i == 3: innerSize, relative to size\n            positions[i] = CenteredUtilities_relativeLength(value, [plotWidth, plotHeight, smallestSize, positions[2]][i]) + (handleSlicingRoom ? slicingRoom : 0);\n        }\n        // Inner size cannot be larger than size (#3632)\n        if (positions[3] > positions[2]) {\n            positions[3] = positions[2];\n        }\n        // Thickness overrides innerSize, need to be less than pie size (#6647)\n        if (CenteredUtilities_isNumber(thickness) &&\n            thickness * 2 < positions[2] && thickness > 0) {\n            positions[3] = positions[2] - thickness * 2;\n        }\n        CenteredUtilities_fireEvent(this, 'afterGetCenter', { positions });\n        return positions;\n    }\n    CenteredUtilities.getCenter = getCenter;\n    /**\n     * GetStartAndEndRadians - Calculates start and end angles in radians.\n     * Used in series types such as pie and sunburst.\n     *\n     * @private\n     * @function Highcharts.CenteredSeriesMixin.getStartAndEndRadians\n     *\n     * @param {number} [start]\n     *        Start angle in degrees.\n     *\n     * @param {number} [end]\n     *        Start angle in degrees.\n     *\n     * @return {Highcharts.RadianAngles}\n     *         Returns an object containing start and end angles as radians.\n     */\n    function getStartAndEndRadians(start, end) {\n        const startAngle = CenteredUtilities_isNumber(start) ? start : 0, // Must be a number\n        endAngle = ((CenteredUtilities_isNumber(end) && // Must be a number\n            end > startAngle && // Must be larger than the start angle\n            // difference must be less than 360 degrees\n            (end - startAngle) < 360) ?\n            end :\n            startAngle + 360), correction = -90;\n        return {\n            start: CenteredUtilities_deg2rad * (startAngle + correction),\n            end: CenteredUtilities_deg2rad * (endAngle + correction)\n        };\n    }\n    CenteredUtilities.getStartAndEndRadians = getStartAndEndRadians;\n})(CenteredUtilities || (CenteredUtilities = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_CenteredUtilities = (CenteredUtilities);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @private\n * @interface Highcharts.RadianAngles\n */ /**\n* @name Highcharts.RadianAngles#end\n* @type {number}\n*/ /**\n* @name Highcharts.RadianAngles#start\n* @type {number}\n*/\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Series/Pie/PiePoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { setAnimation: PiePoint_setAnimation } = AnimationUtilities;\n\n\nconst { addEvent: PiePoint_addEvent, defined: PiePoint_defined, extend: PiePoint_extend, isNumber: PiePoint_isNumber, pick: PiePoint_pick, relativeLength: PiePoint_relativeLength } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\nclass PiePoint extends Series_Point {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Extendable method for getting the path of the connector between the\n     * data label and the pie slice.\n     * @private\n     */\n    getConnectorPath(dataLabel) {\n        const labelPosition = dataLabel.dataLabelPosition, options = (dataLabel.options || {}), connectorShape = options.connectorShape, shapeFunc = (this.connectorShapes[connectorShape] || connectorShape);\n        return labelPosition && shapeFunc.call(this, {\n            // Pass simplified label position object for user's convenience\n            ...labelPosition.computed,\n            alignment: labelPosition.alignment\n        }, labelPosition.connectorPosition, options) || [];\n    }\n    /**\n     * @private\n     */\n    getTranslate() {\n        return this.sliced && this.slicedTranslation || {\n            translateX: 0,\n            translateY: 0\n        };\n    }\n    /**\n     * @private\n     */\n    haloPath(size) {\n        const shapeArgs = this.shapeArgs;\n        return this.sliced || !this.visible ?\n            [] :\n            this.series.chart.renderer.symbols.arc(shapeArgs.x, shapeArgs.y, shapeArgs.r + size, shapeArgs.r + size, {\n                // Substract 1px to ensure the background is not bleeding\n                // through between the halo and the slice (#7495).\n                innerR: shapeArgs.r - 1,\n                start: shapeArgs.start,\n                end: shapeArgs.end,\n                borderRadius: shapeArgs.borderRadius\n            });\n    }\n    /**\n     * Initialize the pie slice.\n     * @private\n     */\n    constructor(series, options, x) {\n        super(series, options, x);\n        this.half = 0;\n        this.name ?? (this.name = 'Slice');\n        // Add event listener for select\n        const toggleSlice = (e) => {\n            this.slice(e.type === 'select');\n        };\n        PiePoint_addEvent(this, 'select', toggleSlice);\n        PiePoint_addEvent(this, 'unselect', toggleSlice);\n    }\n    /**\n     * Negative points are not valid (#1530, #3623, #5322)\n     * @private\n     */\n    isValid() {\n        return PiePoint_isNumber(this.y) && this.y >= 0;\n    }\n    /**\n     * Toggle the visibility of a pie slice or other data point. Note that this\n     * method is available only for some series, like pie, treemap and sunburst.\n     *\n     * @function Highcharts.Point#setVisible\n     *\n     * @param {boolean} [vis]\n     * True to show the pie slice or other data point, false to hide. If\n     * undefined, the visibility is toggled.\n     *\n     * @param {boolean} [redraw] Whether to redraw the chart after the point is\n     * altered. If doing more operations on the chart, it is a good idea to set\n     * redraw to false and call {@link Chart#redraw|chart.redraw()} after.\n     *\n     */\n    setVisible(vis, redraw = true) {\n        if (vis !== this.visible) {\n            // If called without an argument, toggle visibility\n            this.update({\n                visible: vis ?? !this.visible\n            }, redraw, void 0, false);\n        }\n    }\n    /**\n     * Set or toggle whether the slice is cut out from the pie.\n     * @private\n     *\n     * @param {boolean} sliced\n     * When undefined, the slice state is toggled.\n     *\n     * @param {boolean} [redraw]\n     * Whether to redraw the chart. True by default.\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     * Animation options.\n     */\n    slice(sliced, redraw, animation) {\n        const series = this.series, chart = series.chart;\n        PiePoint_setAnimation(animation, chart);\n        // Redraw is true by default\n        redraw = PiePoint_pick(redraw, true);\n        /**\n         * Pie series only. Whether to display a slice offset from the\n         * center.\n         * @name Highcharts.Point#sliced\n         * @type {boolean|undefined}\n         */\n        // if called without an argument, toggle\n        this.sliced = this.options.sliced = sliced =\n            PiePoint_defined(sliced) ? sliced : !this.sliced;\n        // Update userOptions.data\n        series.options.data[series.data.indexOf(this)] =\n            this.options;\n        if (this.graphic) {\n            this.graphic.animate(this.getTranslate());\n        }\n    }\n}\nPiePoint_extend(PiePoint.prototype, {\n    connectorShapes: {\n        // Only one available before v7.0.0\n        fixedOffset: function (labelPosition, connectorPosition, options) {\n            const breakAt = connectorPosition.breakAt, touchingSliceAt = connectorPosition.touchingSliceAt, lineSegment = options.softConnector ? [\n                'C', // Soft break\n                // 1st control point (of the curve)\n                labelPosition.x +\n                    // 5 gives the connector a little horizontal bend\n                    (labelPosition.alignment === 'left' ? -5 : 5),\n                labelPosition.y, //\n                2 * breakAt.x - touchingSliceAt.x, // 2nd control point\n                2 * breakAt.y - touchingSliceAt.y, //\n                breakAt.x, // End of the curve\n                breakAt.y //\n            ] : [\n                'L', // Pointy break\n                breakAt.x,\n                breakAt.y\n            ];\n            // Assemble the path\n            return ([\n                ['M', labelPosition.x, labelPosition.y],\n                lineSegment,\n                ['L', touchingSliceAt.x, touchingSliceAt.y]\n            ]);\n        },\n        straight: function (labelPosition, connectorPosition) {\n            const touchingSliceAt = connectorPosition.touchingSliceAt;\n            // Direct line to the slice\n            return [\n                ['M', labelPosition.x, labelPosition.y],\n                ['L', touchingSliceAt.x, touchingSliceAt.y]\n            ];\n        },\n        crookedLine: function (labelPosition, connectorPosition, options) {\n            const { angle = this.angle || 0, breakAt, touchingSliceAt } = connectorPosition, { series } = this, [cx, cy, diameter] = series.center, r = diameter / 2, { plotLeft, plotWidth } = series.chart, leftAligned = labelPosition.alignment === 'left', { x, y } = labelPosition;\n            let crookX = breakAt.x;\n            if (options.crookDistance) {\n                const crookDistance = PiePoint_relativeLength(// % to fraction\n                options.crookDistance, 1);\n                crookX = leftAligned ?\n                    cx +\n                        r +\n                        (plotWidth + plotLeft - cx - r) * (1 - crookDistance) :\n                    plotLeft + (cx - r) * crookDistance;\n                // When the crookDistance option is undefined, make the bend in the\n                // intersection between the radial line in the middle of the slice,\n                // and the extension of the label position.\n            }\n            else {\n                crookX = cx + (cy - y) * Math.tan(angle - Math.PI / 2);\n            }\n            const path = [['M', x, y]];\n            // The crookedLine formula doesn't make sense if the path overlaps\n            // the label - use straight line instead in that case\n            if (leftAligned ?\n                (crookX <= x && crookX >= breakAt.x) :\n                (crookX >= x && crookX <= breakAt.x)) {\n                path.push(['L', crookX, y]);\n            }\n            path.push(['L', breakAt.x, breakAt.y], ['L', touchingSliceAt.x, touchingSliceAt.y]);\n            return path;\n        }\n    }\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Pie_PiePoint = (PiePoint);\n\n;// ./code/es-modules/Series/Pie/PieSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A pie chart is a circular graphic which is divided into slices to\n * illustrate numerical proportion.\n *\n * @sample highcharts/demo/pie-chart/\n *         Pie chart\n *\n * @extends      plotOptions.line\n * @excluding    animationLimit, boostThreshold, connectEnds, connectNulls,\n *               cropThreshold, dashStyle, dataSorting, dragDrop,\n *               findNearestPointBy, getExtremesFromAll, label, lineWidth,\n *               linkedTo, marker, negativeColor, pointInterval,\n *               pointIntervalUnit, pointPlacement, pointStart,\n *               softThreshold, stacking, step, threshold, turboThreshold,\n *               zoneAxis, zones, dataSorting, boostBlending\n * @product      highcharts highmaps\n * @optionparent plotOptions.pie\n *\n * @private\n */\nconst PieSeriesDefaults = {\n    /**\n     * The corner radius of the border surrounding each slice. A number\n     * signifies pixels. A percentage string, like for example `50%`, signifies\n     * a size relative to the radius and the inner radius.\n     *\n     * @sample  highcharts/plotoptions/series-border-radius\n     *          Column and pie with rounded border\n     *\n     * @since   11.0.0\n     *\n     * @type      {number|string|Highcharts.BorderRadiusOptionsObject}\n     */\n    borderRadius: 3,\n    /**\n     * @excluding legendItemClick\n     * @apioption plotOptions.pie.events\n     */\n    /**\n     * Fires when the checkbox next to the point name in the legend is\n     * clicked. One parameter, event, is passed to the function. The state\n     * of the checkbox is found by event.checked. The checked item is found\n     * by event.item. Return false to prevent the default action which is to\n     * toggle the select state of the series.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-events-checkboxclick/\n     *         Alert checkbox status\n     *\n     * @type      {Function}\n     * @since     1.2.0\n     * @product   highcharts highmaps\n     * @context   Highcharts.Point\n     * @apioption plotOptions.pie.events.checkboxClick\n     */\n    /**\n     * Fires when the legend item belonging to the pie point (slice) is\n     * clicked. The `this` keyword refers to the point itself. One\n     * parameter, `event`, is passed to the function, containing common\n     * event information. The default action is to toggle the visibility of\n     * the point. This can be prevented by calling `event.preventDefault()`.\n     *\n     *  **Note:** This option is deprecated in favor of\n     * [legend.events.itemClick](#legend.events.itemClick).\n     *\n     * @deprecated 11.4.4\n     * @type       {Highcharts.PointLegendItemClickCallbackFunction}\n     * @since      1.2.0\n     * @product    highcharts highmaps\n     * @apioption  plotOptions.pie.point.events.legendItemClick\n     */\n    /**\n     * The center of the pie chart relative to the plot area. Can be\n     * percentages or pixel values. The default behaviour (as of 3.0) is to\n     * center the pie so that all slices and data labels are within the plot\n     * area. As a consequence, the pie may actually jump around in a chart\n     * with dynamic values, as the data labels move. In that case, the\n     * center should be explicitly set, for example to `[\"50%\", \"50%\"]`.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-center/\n     *         Centered at 100, 100\n     *\n     * @type    {Array<(number|string|null),(number|string|null)>}\n     * @default [null, null]\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    center: [null, null],\n    /**\n     * The color of the pie series. A pie series is represented as an empty\n     * circle if the total sum of its values is 0. Use this property to\n     * define the color of its border.\n     *\n     * In styled mode, the color can be defined by the\n     * [colorIndex](#plotOptions.series.colorIndex) option. Also, the series\n     * color can be set with the `.highcharts-series`,\n     * `.highcharts-color-{n}`, `.highcharts-{type}-series` or\n     * `.highcharts-series-{n}` class, or individual classes given by the\n     * `className` option.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-emptyseries/\n     *         Empty pie series\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default   ${palette.neutralColor20}\n     * @apioption plotOptions.pie.color\n     */\n    /**\n     * @product highcharts\n     *\n     * @private\n     */\n    clip: false,\n    /**\n     * @ignore-option\n     *\n     * @private\n     */\n    colorByPoint: true, // Always true for pies\n    /**\n     * A series specific or series type specific color set to use instead\n     * of the global [colors](#colors).\n     *\n     * @sample {highcharts} highcharts/demo/pie-monochrome/\n     *         Set default colors for all pies\n     *\n     * @type      {Array<Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject>}\n     * @since     3.0\n     * @product   highcharts highmaps\n     * @apioption plotOptions.pie.colors\n     */\n    /**\n     * @declare   Highcharts.SeriesPieDataLabelsOptionsObject\n     * @extends   plotOptions.series.dataLabels\n     * @excluding align, allowOverlap, inside, staggerLines, step\n     * @private\n     */\n    dataLabels: {\n        /**\n         * Alignment method for data labels. Possible values are:\n         *\n         * - `plotEdges`: Each label touches the nearest vertical edge of\n         *   the plot area.\n         *\n         * - `connectors`: Connectors have the same x position and the\n         *   widest label of each half (left & right) touches the nearest\n         *   vertical edge of the plot area.\n         *\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-alignto-connectors/\n         *         alignTo: connectors\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-alignto-plotedges/\n         *         alignTo: plotEdges\n         *\n         * @type      {string}\n         * @since     7.0.0\n         * @product   highcharts highmaps\n         * @apioption plotOptions.pie.dataLabels.alignTo\n         */\n        /**\n         * The color of the line connecting the data label to the pie slice.\n         * The default color is the same as the point's color.\n         *\n         * In styled mode, the connector stroke is given in the\n         * `.highcharts-data-label-connector` class.\n         *\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorcolor/\n         *         Blue connectors\n         * @sample {highcharts} highcharts/css/pie-point/\n         *         Styled connectors\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @since     2.1\n         * @product   highcharts highmaps\n         * @apioption plotOptions.pie.dataLabels.connectorColor\n         */\n        /**\n         * The distance from the data label to the connector. Note that\n         * data labels also have a default `padding`, so in order for the\n         * connector to touch the text, the `padding` must also be 0.\n         *\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorpadding/\n         *         No padding\n         *\n         * @since   2.1\n         * @product highcharts highmaps\n         */\n        connectorPadding: 5,\n        /**\n         * Specifies the method that is used to generate the connector path.\n         * Highcharts provides 3 built-in connector shapes: `'crookedLine'`\n         * (default since v11), `'fixedOffset'` and `'straight'`.\n         *\n         * Users can provide their own method by passing a function instead of a\n         * string. Three arguments are passed to the callback:\n         *\n         * - An object that holds the information about the coordinates of the\n         *   label (`x` & `y` properties) and how the label is located in\n         *   relation to the pie (`alignment` property). `alignment` can by one\n         *   of the following: `'left'` (pie on the left side of the data\n         *   label), `'right'` (pie on the right side of the data label) or\n         *   `'center'` (data label overlaps the pie).\n         *\n         * - An object that holds the information about the position of the\n         *   connector. Its `touchingSliceAt`  porperty tells the position of\n         *   the place where the connector touches the slice.\n         *\n         * - Data label options\n         *\n         * The function has to return an SVG path definition in array form (see\n         * the example).\n         *\n         * @sample {highcharts}\n         *         highcharts/plotoptions/pie-datalabels-connectorshape-string/\n         *         connectorShape is a String\n         * @sample {highcharts}\n         *         highcharts/plotoptions/pie-datalabels-connectorshape-function/\n         *         connectorShape is a function\n         *\n         * @type    {string|Function}\n         * @since   7.0.0\n         * @product highcharts highmaps\n         */\n        connectorShape: 'crookedLine',\n        /**\n         * The width of the line connecting the data label to the pie slice.\n         *\n         * In styled mode, the connector stroke width is given in the\n         * `.highcharts-data-label-connector` class.\n         *\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorwidth-disabled/\n         *         Disable the connector\n         * @sample {highcharts} highcharts/css/pie-point/\n         *         Styled connectors\n         *\n         * @type      {number}\n         * @default   1\n         * @since     2.1\n         * @product   highcharts highmaps\n         * @apioption plotOptions.pie.dataLabels.connectorWidth\n         */\n        /**\n         * Works only if `connectorShape` is `'crookedLine'`. It defines how\n         * far from the vertical plot edge the coonnector path should be\n         * crooked. With the default, `undefined`, the crook is placed so that\n         * the horizontal line from the label intersects with the radial line\n         * extending through the center of the pie slice.\n         *\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-crookdistance/\n         *         crookDistance set to 90%\n         *\n         * @since   7.0.0\n         * @product highcharts highmaps\n         */\n        crookDistance: void 0,\n        /**\n         * The distance of the data label from the pie's edge. Negative\n         * numbers put the data label on top of the pie slices. Can also be\n         * defined as a percentage of pie's radius. Connectors are only\n         * shown for data labels outside the pie.\n         *\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-distance/\n         *         Data labels on top of the pie\n         *\n         * @type    {number|string}\n         * @since   2.1\n         * @product highcharts highmaps\n         */\n        distance: 30,\n        enabled: true,\n        /**\n         * A\n         * [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)\n         * for the data label. Available variables are the same as for\n         * `formatter`.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-datalabels-format/\n         *         Add a unit\n         *\n         * @type      {string}\n         * @default   undefined\n         * @since     3.0\n         * @apioption plotOptions.pie.dataLabels.format\n         */\n        // eslint-disable-next-line valid-jsdoc\n        /**\n         * Callback JavaScript function to format the data label. Note that\n         * if a `format` is defined, the format takes precedence and the\n         * formatter is ignored.\n         *\n         * @type {Highcharts.DataLabelsFormatterCallbackFunction}\n         * @default function () { return this.point.isNull ? void 0 : this.point.name; }\n         */\n        formatter: function () {\n            return this.isNull ? void 0 : this.name;\n        },\n        /**\n         * Whether to render the connector as a soft arc or a line with a sharp\n         * break. Works only if `connectorShape` equals to `fixedOffset`.\n         *\n         * @sample {highcharts}\n         *         highcharts/plotoptions/pie-datalabels-softconnector-true/\n         *         Soft\n         * @sample {highcharts}\n         *         highcharts/plotoptions/pie-datalabels-softconnector-false/\n         *         Non soft\n         *\n         * @since   2.1.7\n         * @product highcharts highmaps\n         */\n        softConnector: true,\n        /**\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-overflow\n         *         Long labels truncated with an ellipsis\n         * @sample {highcharts} highcharts/plotoptions/pie-datalabels-overflow-wrap\n         *         Long labels are wrapped\n         *\n         * @type      {Highcharts.CSSObject}\n         * @apioption plotOptions.pie.dataLabels.style\n         */\n        x: 0\n    },\n    /**\n     * If the total sum of the pie's values is 0, the series is represented\n     * as an empty circle . The `fillColor` option defines the color of that\n     * circle. Use [pie.borderWidth](#plotOptions.pie.borderWidth) to set\n     * the border thickness.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-emptyseries/\n     *         Empty pie series\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @private\n     */\n    fillColor: void 0,\n    /**\n     * The end angle of the pie in degrees where 0 is top and 90 is right.\n     * Defaults to `startAngle` plus 360.\n     *\n     * @sample {highcharts} highcharts/demo/pie-semi-circle/\n     *         Semi-circle donut\n     *\n     * @type      {number}\n     * @since     1.3.6\n     * @product   highcharts highmaps\n     * @apioption plotOptions.pie.endAngle\n     */\n    /**\n     * Thickness describing the ring size for a donut type chart,\n     * overriding [innerSize](#plotOptions.pie.innerSize).\n     *\n     * @type      {number}\n     * @default   undefined\n     * @product   highcharts\n     * @since 10.1.0\n     * @apioption plotOptions.pie.thickness\n     * @private\n     */\n    /**\n     * Equivalent to [chart.ignoreHiddenSeries](#chart.ignoreHiddenSeries),\n     * this option tells whether the series shall be redrawn as if the\n     * hidden point were `null`.\n     *\n     * The default value changed from `false` to `true` with Highcharts\n     * 3.0.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-ignorehiddenpoint/\n     *         True, the hiddden point is ignored\n     *\n     * @since   2.3.0\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    ignoreHiddenPoint: true,\n    /**\n     * @default   true\n     * @extends   plotOptions.series.inactiveOtherPoints\n     * @private\n     */\n    inactiveOtherPoints: true,\n    /**\n     * The size of the inner diameter for the pie. A size greater than 0\n     * renders a donut chart. Can be a percentage or pixel value.\n     * Percentages are relative to the pie size. Pixel values are given as\n     * integers. Setting overridden by thickness.\n     *\n     *\n     * Note: in Highcharts < 4.1.2, the percentage was relative to the plot\n     * area, not the pie size.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-innersize-80px/\n     *         80px inner size\n     * @sample {highcharts} highcharts/plotoptions/pie-innersize-50percent/\n     *         50% of the plot area\n     * @sample {highcharts} highcharts/demo/3d-pie-donut/\n     *         3D donut\n     *\n     * @type      {number|string}\n     * @default   0\n     * @since     2.0\n     * @product   highcharts highmaps\n     * @apioption plotOptions.pie.innerSize\n     */\n    /**\n     * @ignore-option\n     *\n     * @private\n     */\n    legendType: 'point',\n    /**\n     * @ignore-option\n     *\n     * @private\n     */\n    marker: null, // Point options are specified in the base options\n    /**\n     * The minimum size for a pie in response to auto margins. The pie will\n     * try to shrink to make room for data labels in side the plot area,\n     *  but only to this size.\n     *\n     * @type      {number|string}\n     * @default   80\n     * @since     3.0\n     * @product   highcharts highmaps\n     * @apioption plotOptions.pie.minSize\n     */\n    /**\n     * The diameter of the pie relative to the plot area. Can be a\n     * percentage or pixel value. Pixel values are given as integers. The\n     * default behaviour (as of 3.0) is to scale to the plot area and give\n     * room for data labels within the plot area.\n     * [slicedOffset](#plotOptions.pie.slicedOffset) is also included in the\n     * default size calculation. As a consequence, the size of the pie may\n     * vary when points are updated and data labels more around. In that\n     * case it is best to set a fixed value, for example `\"75%\"`.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-size/\n     *         Smaller pie\n     *\n     * @type    {number|string|null}\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    size: null,\n    /**\n     * Whether to display this particular series or series type in the\n     * legend. Since 2.1, pies are not shown in the legend by default.\n     *\n     * @sample {highcharts} highcharts/plotoptions/series-showinlegend/\n     *         One series in the legend, one hidden\n     *\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    showInLegend: false,\n    /**\n     * If a point is sliced, moved out from the center, how many pixels\n     * should it be moved?.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-slicedoffset-20/\n     *         20px offset\n     *\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    slicedOffset: 10,\n    /**\n     * The start angle of the pie slices in degrees where 0 is top and 90\n     * right.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-startangle-90/\n     *         Start from right\n     *\n     * @type      {number}\n     * @default   0\n     * @since     2.3.4\n     * @product   highcharts highmaps\n     * @apioption plotOptions.pie.startAngle\n     */\n    /**\n     * Sticky tracking of mouse events. When true, the `mouseOut` event\n     * on a series isn't triggered until the mouse moves over another\n     * series, or out of the plot area. When false, the `mouseOut` event on\n     * a series is triggered when the mouse leaves the area around the\n     * series'  graph or markers. This also implies the tooltip. When\n     * `stickyTracking` is false and `tooltip.shared` is false, the tooltip\n     * will be hidden when moving the mouse between series.\n     *\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    stickyTracking: false,\n    tooltip: {\n        followPointer: true\n    },\n    /**\n     * The color of the border surrounding each slice. When `null`, the\n     * border takes the same color as the slice fill. This can be used\n     * together with a `borderWidth` to fill drawing gaps created by\n     * antialiazing artefacts in borderless pies.\n     *\n     * In styled mode, the border stroke is given in the `.highcharts-point`\n     * class.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-bordercolor-black/\n     *         Black border\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default #ffffff\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    borderColor: \"#ffffff\" /* Palette.backgroundColor */,\n    /**\n     * The width of the border surrounding each slice.\n     *\n     * When setting the border width to 0, there may be small gaps between\n     * the slices due to SVG antialiasing artefacts. To work around this,\n     * keep the border width at 0.5 or 1, but set the `borderColor` to\n     * `null` instead.\n     *\n     * In styled mode, the border stroke width is given in the\n     * `.highcharts-point` class.\n     *\n     * @sample {highcharts} highcharts/plotoptions/pie-borderwidth/\n     *         3px border\n     *\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    borderWidth: 1,\n    /**\n     * @ignore-option\n     * @private\n     */\n    lineWidth: void 0, // #12222\n    states: {\n        /**\n         * @extends   plotOptions.series.states.hover\n         * @excluding marker, lineWidth, lineWidthPlus\n         * @product   highcharts highmaps\n         */\n        hover: {\n            /**\n             * How much to brighten the point on interaction. Requires the\n             * main color to be defined in hex or rgb(a) format.\n             *\n             * In styled mode, the hover brightness is by default replaced\n             * by a fill-opacity given in the `.highcharts-point-hover`\n             * class.\n             *\n             * @sample {highcharts} highcharts/plotoptions/pie-states-hover-brightness/\n             *         Brightened by 0.5\n             *\n             * @product highcharts highmaps\n             */\n            brightness: 0.1\n        }\n    }\n};\n/**\n * A `pie` series. If the [type](#series.pie.type) option is not specified,\n * it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.pie\n * @excluding cropThreshold, dataParser, dataURL, linkedTo, stack, xAxis, yAxis,\n *            dataSorting, step, boostThreshold, boostBlending\n * @product   highcharts highmaps\n * @apioption series.pie\n */\n/**\n * An array of data points for the series. For the `pie` series type,\n * points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.pie.turboThreshold),\n *    this option is not available.\n *    ```js\n *    data: [{\n *        y: 1,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        y: 7,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<string,(number|null)>|null|*>}\n * @extends   series.line.data\n * @excluding marker, x\n * @product   highcharts highmaps\n * @apioption series.pie.data\n */\n/**\n * @type      {Highcharts.SeriesPieDataLabelsOptionsObject}\n * @product   highcharts highmaps\n * @apioption series.pie.data.dataLabels\n */\n/**\n * The sequential index of the data point in the legend.\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.pie.data.legendIndex\n */\n/**\n * Whether to display a slice offset from the center.\n *\n * @sample {highcharts} highcharts/point/sliced/\n *         One sliced point\n *\n * @type      {boolean}\n * @product   highcharts highmaps\n * @apioption series.pie.data.sliced\n */\n/**\n * @extends plotOptions.pie.dataLabels\n * @excluding align, allowOverlap, inside, staggerLines, step\n * @product   highcharts highmaps\n * @apioption series.pie.dataLabels\n */\n/**\n * @excluding legendItemClick\n * @product   highcharts highmaps\n * @apioption series.pie.events\n */\n''; // Placeholder for transpiled doclets above\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Pie_PieSeriesDefaults = (PieSeriesDefaults);\n\n;// ./code/es-modules/Series/Pie/PieSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { getStartAndEndRadians } = Series_CenteredUtilities;\n\n\nconst { noop: PieSeries_noop } = Core_Globals;\n\n\n\n\n\n\nconst { clamp: PieSeries_clamp, extend: PieSeries_extend, fireEvent: PieSeries_fireEvent, merge: PieSeries_merge, pick: PieSeries_pick } = Core_Utilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * Pie series type.\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.pie\n *\n * @augments Highcharts.Series\n */\nclass PieSeries extends Series_Series {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Animates the pies in.\n     * @private\n     */\n    animate(init) {\n        const series = this, points = series.points, startAngleRad = series.startAngleRad;\n        if (!init) {\n            points.forEach(function (point) {\n                const graphic = point.graphic, args = point.shapeArgs;\n                if (graphic && args) {\n                    // Start values\n                    graphic.attr({\n                        // Animate from inner radius (#779)\n                        r: PieSeries_pick(point.startR, (series.center && series.center[3] / 2)),\n                        start: startAngleRad,\n                        end: startAngleRad\n                    });\n                    // Animate\n                    graphic.animate({\n                        r: args.r,\n                        start: args.start,\n                        end: args.end\n                    }, series.options.animation);\n                }\n            });\n        }\n    }\n    /**\n     * Called internally to draw auxiliary graph in pie-like series in\n     * situtation when the default graph is not sufficient enough to present\n     * the data well. Auxiliary graph is saved in the same object as\n     * regular graph.\n     * @private\n     */\n    drawEmpty() {\n        const start = this.startAngleRad, end = this.endAngleRad, options = this.options;\n        let centerX, centerY;\n        // Draw auxiliary graph if there're no visible points.\n        if (this.total === 0 && this.center) {\n            centerX = this.center[0];\n            centerY = this.center[1];\n            if (!this.graph) {\n                this.graph = this.chart.renderer\n                    .arc(centerX, centerY, this.center[1] / 2, 0, start, end)\n                    .addClass('highcharts-empty-series')\n                    .add(this.group);\n            }\n            this.graph.attr({\n                d: SVG_Symbols.arc(centerX, centerY, this.center[2] / 2, 0, {\n                    start,\n                    end,\n                    innerR: this.center[3] / 2\n                })\n            });\n            if (!this.chart.styledMode) {\n                this.graph.attr({\n                    'stroke-width': options.borderWidth,\n                    fill: options.fillColor || 'none',\n                    stroke: options.color || \"#cccccc\" /* Palette.neutralColor20 */\n                });\n            }\n        }\n        else if (this.graph) { // Destroy the graph object.\n            this.graph = this.graph.destroy();\n        }\n    }\n    /**\n     * Slices in pie chart are initialized in DOM, but it's shapes and\n     * animations are normally run in `drawPoints()`.\n     * @private\n     */\n    drawPoints() {\n        const renderer = this.chart.renderer;\n        this.points.forEach(function (point) {\n            // When updating a series between 2d and 3d or cartesian and\n            // polar, the shape type changes.\n            if (point.graphic && point.hasNewShapeType()) {\n                point.graphic = point.graphic.destroy();\n            }\n            if (!point.graphic) {\n                point.graphic = renderer[point.shapeType](point.shapeArgs)\n                    .add(point.series.group);\n                point.delayedRendering = true;\n            }\n        });\n    }\n    /**\n     * Extend the generatePoints method by adding total and percentage\n     * properties to each point\n     * @private\n     */\n    generatePoints() {\n        super.generatePoints();\n        this.updateTotals();\n    }\n    /**\n     * Utility for getting the x value from a given y, used for anticollision\n     * logic in data labels.\n     * @private\n     */\n    getX(y, left, point, dataLabel) {\n        const center = this.center, \n        // Variable pie has individual radius\n        radius = this.radii ?\n            this.radii[point.index] || 0 :\n            center[2] / 2, labelPosition = dataLabel.dataLabelPosition, distance = labelPosition?.distance || 0;\n        const angle = Math.asin(PieSeries_clamp((y - center[1]) / (radius + distance), -1, 1));\n        const x = center[0] +\n            (left ? -1 : 1) *\n                (Math.cos(angle) * (radius + distance)) +\n            (distance > 0 ?\n                (left ? -1 : 1) * (dataLabel.padding || 0) :\n                0);\n        return x;\n    }\n    /**\n     * Define hasData function for non-cartesian series. Returns true if the\n     * series has points at all.\n     * @private\n     */\n    hasData() {\n        return !!this.dataTable.rowCount;\n    }\n    /**\n     * Draw the data points\n     * @private\n     */\n    redrawPoints() {\n        const series = this, chart = series.chart;\n        let groupTranslation, graphic, pointAttr, shapeArgs;\n        this.drawEmpty();\n        // Apply the drop-shadow to the group because otherwise each element\n        // would cast a shadow on others\n        if (series.group && !chart.styledMode) {\n            series.group.shadow(series.options.shadow);\n        }\n        // Draw the slices\n        series.points.forEach(function (point) {\n            const animateTo = {};\n            graphic = point.graphic;\n            if (!point.isNull && graphic) {\n                shapeArgs = point.shapeArgs;\n                // If the point is sliced, use special translation, else use\n                // plot area translation\n                groupTranslation = point.getTranslate();\n                if (!chart.styledMode) {\n                    pointAttr = series.pointAttribs(point, (point.selected && 'select'));\n                }\n                // Draw the slice\n                if (!point.delayedRendering) {\n                    graphic\n                        .setRadialReference(series.center);\n                    if (!chart.styledMode) {\n                        PieSeries_merge(true, animateTo, pointAttr);\n                    }\n                    PieSeries_merge(true, animateTo, shapeArgs, groupTranslation);\n                    graphic.animate(animateTo);\n                }\n                else {\n                    graphic\n                        .setRadialReference(series.center)\n                        .attr(shapeArgs)\n                        .attr(groupTranslation);\n                    if (!chart.styledMode) {\n                        graphic\n                            .attr(pointAttr)\n                            .attr({ 'stroke-linejoin': 'round' });\n                    }\n                    point.delayedRendering = false;\n                }\n                graphic\n                    .attr({\n                    visibility: point.visible ? 'inherit' : 'hidden'\n                });\n                graphic.addClass(point.getClassName(), true);\n            }\n            else if (graphic) {\n                point.graphic = graphic.destroy();\n            }\n        });\n    }\n    /**\n     * Utility for sorting data labels.\n     * @private\n     */\n    sortByAngle(points, sign) {\n        points.sort(function (a, b) {\n            return ((typeof a.angle !== 'undefined') &&\n                (b.angle - a.angle) * sign);\n        });\n    }\n    /**\n     * Do translation for pie slices\n     * @private\n     */\n    translate(positions) {\n        PieSeries_fireEvent(this, 'translate');\n        this.generatePoints();\n        const series = this, precision = 1000, // Issue #172\n        options = series.options, slicedOffset = options.slicedOffset, radians = getStartAndEndRadians(options.startAngle, options.endAngle), startAngleRad = series.startAngleRad = radians.start, endAngleRad = series.endAngleRad = radians.end, circ = endAngleRad - startAngleRad, // 2 * Math.PI,\n        points = series.points, ignoreHiddenPoint = options.ignoreHiddenPoint, len = points.length;\n        let start, end, angle, \n        // The x component of the radius vector for a given point\n        radiusX, radiusY, i, point, cumulative = 0;\n        // Get positions - either an integer or a percentage string must be\n        // given. If positions are passed as a parameter, we're in a\n        // recursive loop for adjusting space for data labels.\n        if (!positions) {\n            /**\n             * The series center position, read only. This applies only to\n             * circular chart types like pie and sunburst. It is an array of\n             * `[centerX, centerY, diameter, innerDiameter]`.\n             *\n             * @name Highcharts.Series#center\n             * @type {Array<number>}\n             */\n            series.center = positions = series.getCenter();\n        }\n        // Calculate the geometry for each point\n        for (i = 0; i < len; i++) {\n            point = points[i];\n            // Set start and end angle\n            start = startAngleRad + (cumulative * circ);\n            if (point.isValid() &&\n                (!ignoreHiddenPoint || point.visible)) {\n                cumulative += point.percentage / 100;\n            }\n            end = startAngleRad + (cumulative * circ);\n            // Set the shape\n            const shapeArgs = {\n                x: positions[0],\n                y: positions[1],\n                r: positions[2] / 2,\n                innerR: positions[3] / 2,\n                start: Math.round(start * precision) / precision,\n                end: Math.round(end * precision) / precision\n            };\n            point.shapeType = 'arc';\n            point.shapeArgs = shapeArgs;\n            // The angle must stay within -90 and 270 (#2645)\n            angle = (end + start) / 2;\n            if (angle > 1.5 * Math.PI) {\n                angle -= 2 * Math.PI;\n            }\n            else if (angle < -Math.PI / 2) {\n                angle += 2 * Math.PI;\n            }\n            // Center for the sliced out slice\n            point.slicedTranslation = {\n                translateX: Math.round(Math.cos(angle) * slicedOffset),\n                translateY: Math.round(Math.sin(angle) * slicedOffset)\n            };\n            // Set the anchor point for tooltips\n            radiusX = Math.cos(angle) * positions[2] / 2;\n            radiusY = Math.sin(angle) * positions[2] / 2;\n            point.tooltipPos = [\n                positions[0] + radiusX * 0.7,\n                positions[1] + radiusY * 0.7\n            ];\n            point.half = angle < -Math.PI / 2 || angle > Math.PI / 2 ?\n                1 :\n                0;\n            point.angle = angle;\n        }\n        PieSeries_fireEvent(series, 'afterTranslate');\n    }\n    /**\n     * Recompute total chart sum and update percentages of points.\n     * @private\n     */\n    updateTotals() {\n        const points = this.points, len = points.length, ignoreHiddenPoint = this.options.ignoreHiddenPoint;\n        let i, point, total = 0;\n        // Get the total sum\n        for (i = 0; i < len; i++) {\n            point = points[i];\n            if (point.isValid() &&\n                (!ignoreHiddenPoint || point.visible)) {\n                total += point.y;\n            }\n        }\n        this.total = total;\n        // Set each point's properties\n        for (i = 0; i < len; i++) {\n            point = points[i];\n            point.percentage =\n                (total > 0 && (point.visible || !ignoreHiddenPoint)) ?\n                    point.y / total * 100 :\n                    0;\n            point.total = total;\n        }\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nPieSeries.defaultOptions = PieSeries_merge(Series_Series.defaultOptions, Pie_PieSeriesDefaults);\nPieSeries_extend(PieSeries.prototype, {\n    axisTypes: [],\n    directTouch: true,\n    drawGraph: void 0,\n    drawTracker: Column_ColumnSeries.prototype.drawTracker,\n    getCenter: Series_CenteredUtilities.getCenter,\n    getSymbol: PieSeries_noop,\n    invertible: false,\n    isCartesian: false,\n    noSharedTooltip: true,\n    pointAttribs: Column_ColumnSeries.prototype.pointAttribs,\n    pointClass: Pie_PiePoint,\n    requireSorting: false,\n    searchPoint: PieSeries_noop,\n    trackerGroups: ['group', 'dataLabelsGroup']\n});\nSeries_SeriesRegistry.registerSeriesType('pie', PieSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Pie_PieSeries = ((/* unused pure expression or super */ null && (PieSeries)));\n\n;// ./code/es-modules/Series/Pie/PieDataLabel.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { composed: PieDataLabel_composed, noop: PieDataLabel_noop } = Core_Globals;\n\nconst { distribute: PieDataLabel_distribute } = Renderer_RendererUtilities;\n\nconst { series: PieDataLabel_Series } = Series_SeriesRegistry;\n\nconst { arrayMax: PieDataLabel_arrayMax, clamp: PieDataLabel_clamp, defined: PieDataLabel_defined, pick: PieDataLabel_pick, pushUnique: PieDataLabel_pushUnique, relativeLength: PieDataLabel_relativeLength } = Core_Utilities;\n/* *\n *\n *  Composition\n *\n * */\nvar PieDataLabel_ColumnDataLabel;\n(function (ColumnDataLabel) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    const dataLabelPositioners = {\n        // Based on the value computed in Highcharts' distribute algorithm.\n        radialDistributionY: function (point, dataLabel) {\n            return (dataLabel.dataLabelPosition?.top || 0) +\n                point.distributeBox.pos;\n        },\n        // Get the x - use the natural x position for labels near the top and\n        // bottom, to prevent the top and botton slice connectors from touching\n        // each other on either side. Based on the value computed in Highcharts'\n        // distribute algorithm.\n        radialDistributionX: function (series, point, y, naturalY, dataLabel) {\n            const pos = dataLabel.dataLabelPosition;\n            return series.getX(y < (pos?.top || 0) + 2 || y > (pos?.bottom || 0) - 2 ?\n                naturalY :\n                y, point.half, point, dataLabel);\n        },\n        // The dataLabels.distance determines the x position of the label\n        justify: function (point, dataLabel, radius, seriesCenter) {\n            return seriesCenter[0] + (point.half ? -1 : 1) *\n                (radius + (dataLabel.dataLabelPosition?.distance || 0));\n        },\n        // Left edges of the left-half labels touch the left edge of the plot\n        // area. Right edges of the right-half labels touch the right edge of\n        // the plot area.\n        alignToPlotEdges: function (dataLabel, half, plotWidth, plotLeft) {\n            const dataLabelWidth = dataLabel.getBBox().width;\n            return half ? dataLabelWidth + plotLeft :\n                plotWidth - dataLabelWidth - plotLeft;\n        },\n        // Connectors of each side end in the same x position. Labels are\n        // aligned to them. Left edge of the widest left-half label touches the\n        // left edge of the plot area. Right edge of the widest right-half label\n        // touches the right edge of the plot area.\n        alignToConnectors: function (points, half, plotWidth, plotLeft) {\n            let maxDataLabelWidth = 0, dataLabelWidth;\n            // Find widest data label\n            points.forEach(function (point) {\n                dataLabelWidth = point.dataLabel.getBBox().width;\n                if (dataLabelWidth > maxDataLabelWidth) {\n                    maxDataLabelWidth = dataLabelWidth;\n                }\n            });\n            return half ? maxDataLabelWidth + plotLeft :\n                plotWidth - maxDataLabelWidth - plotLeft;\n        }\n    };\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /** @private */\n    function compose(PieSeriesClass) {\n        Series_DataLabel.compose(PieDataLabel_Series);\n        if (PieDataLabel_pushUnique(PieDataLabel_composed, 'PieDataLabel')) {\n            const pieProto = PieSeriesClass.prototype;\n            pieProto.dataLabelPositioners = dataLabelPositioners;\n            pieProto.alignDataLabel = PieDataLabel_noop;\n            pieProto.drawDataLabels = drawDataLabels;\n            pieProto.getDataLabelPosition = getDataLabelPosition;\n            pieProto.placeDataLabels = placeDataLabels;\n            pieProto.verifyDataLabelOverflow = verifyDataLabelOverflow;\n        }\n    }\n    ColumnDataLabel.compose = compose;\n    /** @private */\n    function getDataLabelPosition(point, distance) {\n        const halfPI = Math.PI / 2, { start = 0, end = 0 } = point.shapeArgs || {};\n        let angle = point.angle || 0;\n        // If a large slice is crossing the lowest point, prefer rendering it 45\n        // degrees out at either lower right or lower left. That's where there's\n        // most likely to be space available and avoid text being truncated\n        // (#22100). Technically this logic should also apply to the top point,\n        // but that is more of an edge case since the default start angle is at\n        // the top.\n        if (distance > 0 &&\n            // Crossing the bottom\n            start < halfPI && end > halfPI &&\n            // Angle within the bottom quadrant\n            angle > halfPI / 2 && angle < halfPI * 1.5) {\n            angle = angle <= halfPI ?\n                Math.max(halfPI / 2, (start + halfPI) / 2) :\n                Math.min(halfPI * 1.5, (halfPI + end) / 2);\n        }\n        const { center, options } = this, r = center[2] / 2, cosAngle = Math.cos(angle), sinAngle = Math.sin(angle), x = center[0] + cosAngle * r, y = center[1] + sinAngle * r, finalConnectorOffset = Math.min((options.slicedOffset || 0) + (options.borderWidth || 0), distance / 5); // #1678\n        return {\n            natural: {\n                // Initial position of the data label - it's utilized for\n                // finding the final position for the label\n                x: x + cosAngle * distance,\n                y: y + sinAngle * distance\n            },\n            computed: {\n            // Used for generating connector path - initialized later in\n            // drawDataLabels function x: undefined, y: undefined\n            },\n            // Left - pie on the left side of the data label\n            // Right - pie on the right side of the data label\n            // Center - data label overlaps the pie\n            alignment: distance < 0 ? 'center' : point.half ? 'right' : 'left',\n            connectorPosition: {\n                angle,\n                breakAt: {\n                    x: x + cosAngle * finalConnectorOffset,\n                    y: y + sinAngle * finalConnectorOffset\n                },\n                touchingSliceAt: {\n                    x,\n                    y\n                }\n            },\n            distance\n        };\n    }\n    /**\n     * Override the base drawDataLabels method by pie specific functionality\n     * @private\n     */\n    function drawDataLabels() {\n        const series = this, points = series.points, chart = series.chart, plotWidth = chart.plotWidth, plotHeight = chart.plotHeight, plotLeft = chart.plotLeft, maxWidth = Math.round(chart.chartWidth / 3), seriesCenter = series.center, radius = seriesCenter[2] / 2, centerY = seriesCenter[1], halves = [\n            [], // Right\n            [] // Left\n        ], overflow = [0, 0, 0, 0], // Top, right, bottom, left\n        dataLabelPositioners = series.dataLabelPositioners;\n        let connector, dataLabelWidth, labelHeight, maxLabelDistance = 0;\n        // Get out if not enabled\n        if (!series.visible || !series.hasDataLabels?.()) {\n            return;\n        }\n        // Reset all labels that have been shortened\n        points.forEach((point) => {\n            (point.dataLabels || []).forEach((dataLabel) => {\n                if (dataLabel.shortened) {\n                    dataLabel\n                        .attr({\n                        width: 'auto'\n                    }).css({\n                        width: 'auto',\n                        textOverflow: 'clip'\n                    });\n                    dataLabel.shortened = false;\n                }\n            });\n        });\n        // Run parent method\n        PieDataLabel_Series.prototype.drawDataLabels.apply(series);\n        points.forEach((point) => {\n            (point.dataLabels || []).forEach((dataLabel, i) => {\n                const r = seriesCenter[2] / 2, dataLabelOptions = dataLabel.options, distance = PieDataLabel_relativeLength(dataLabelOptions?.distance || 0, r);\n                // Arrange points for collision detection\n                if (i === 0) {\n                    halves[point.half].push(point);\n                }\n                // Avoid long labels squeezing the pie size too far down\n                if (!PieDataLabel_defined(dataLabelOptions?.style?.width)) {\n                    if (dataLabel.getBBox().width > maxWidth) {\n                        dataLabel.css({\n                            // Use a fraction of the maxWidth to avoid wrapping\n                            // close to the end of the string.\n                            width: Math.round(maxWidth * 0.7) + 'px'\n                        });\n                        dataLabel.shortened = true;\n                    }\n                }\n                dataLabel.dataLabelPosition = this.getDataLabelPosition(point, distance);\n                maxLabelDistance = Math.max(maxLabelDistance, distance);\n            });\n        });\n        /* Loop over the points in each half, starting from the top and bottom\n         * of the pie to detect overlapping labels.\n         */\n        halves.forEach((points, halfIdx) => {\n            const length = points.length, positions = [];\n            let top, bottom, size = 0, distributionLength;\n            if (!length) {\n                return;\n            }\n            // Sort by angle\n            series.sortByAngle(points, halfIdx - 0.5);\n            // Only do anti-collision when we have dataLabels outside the pie\n            // and have connectors. (#856)\n            if (maxLabelDistance > 0) {\n                top = Math.max(0, centerY - radius - maxLabelDistance);\n                bottom = Math.min(centerY + radius + maxLabelDistance, chart.plotHeight);\n                points.forEach((point) => {\n                    // Check if specific points' label is outside the pie\n                    (point.dataLabels || []).forEach((dataLabel) => {\n                        const labelPosition = dataLabel.dataLabelPosition;\n                        if (labelPosition &&\n                            labelPosition.distance > 0) {\n                            // The point.top depends on point.labelDistance\n                            // value. Used for calculation of y value in getX\n                            // method\n                            labelPosition.top = Math.max(0, centerY - radius - labelPosition.distance);\n                            labelPosition.bottom = Math.min(centerY + radius + labelPosition.distance, chart.plotHeight);\n                            size = dataLabel.getBBox().height || 21;\n                            dataLabel.lineHeight = chart.renderer.fontMetrics(dataLabel.text || dataLabel).h + 2 * dataLabel.padding;\n                            point.distributeBox = {\n                                target: ((dataLabel.dataLabelPosition\n                                    ?.natural.y || 0) -\n                                    labelPosition.top +\n                                    dataLabel.lineHeight / 2),\n                                size,\n                                rank: point.y\n                            };\n                            positions.push(point.distributeBox);\n                        }\n                    });\n                });\n                distributionLength = bottom + size - top;\n                PieDataLabel_distribute(positions, distributionLength, distributionLength / 5);\n                // Uncomment this to visualize the boxes\n                /*\n                points.forEach((point): void => {\n                    const box = point.distributeBox;\n                    point.dlBox?.destroy();\n                    if (box?.pos) {\n                        point.dlBox = chart.renderer.rect(\n                            chart.plotLeft + this.center[0] + (\n                                halfIdx ?\n                                    -this.center[2] / 2 - 100 :\n                                    this.center[2] / 2\n                            ),\n                            chart.plotTop + box.pos,\n                            100,\n                            box.size\n                        )\n                            .attr({\n                                stroke: 'silver',\n                                'stroke-width': 1\n                            })\n                            .add();\n                    }\n                });\n                // */\n            }\n            // Now the used slots are sorted, fill them up sequentially\n            points.forEach((point) => {\n                (point.dataLabels || []).forEach((dataLabel) => {\n                    const dataLabelOptions = (dataLabel.options || {}), distributeBox = point.distributeBox, labelPosition = dataLabel.dataLabelPosition, naturalY = labelPosition?.natural.y || 0, connectorPadding = dataLabelOptions\n                        .connectorPadding || 0, lineHeight = dataLabel.lineHeight || 21, bBox = dataLabel.getBBox(), topOffset = (lineHeight - bBox.height) / 2;\n                    let x = 0, y = naturalY, visibility = 'inherit';\n                    if (labelPosition) {\n                        if (positions &&\n                            PieDataLabel_defined(distributeBox) &&\n                            labelPosition.distance > 0) {\n                            if (typeof distributeBox.pos === 'undefined') {\n                                visibility = 'hidden';\n                            }\n                            else {\n                                labelHeight = distributeBox.size;\n                                // Find label's y position\n                                y = dataLabelPositioners\n                                    .radialDistributionY(point, dataLabel);\n                            }\n                        }\n                        // Find label's x position. The justify option is\n                        // undocumented in the API - preserve support for it\n                        if (dataLabelOptions.justify) {\n                            x = dataLabelPositioners.justify(point, dataLabel, radius, seriesCenter);\n                        }\n                        else {\n                            switch (dataLabelOptions.alignTo) {\n                                case 'connectors':\n                                    x = dataLabelPositioners.alignToConnectors(points, halfIdx, plotWidth, plotLeft);\n                                    break;\n                                case 'plotEdges':\n                                    x = dataLabelPositioners.alignToPlotEdges(dataLabel, halfIdx, plotWidth, plotLeft);\n                                    break;\n                                default:\n                                    x = dataLabelPositioners.radialDistributionX(series, point, y - topOffset, naturalY, dataLabel);\n                            }\n                        }\n                        // Record the placement and visibility\n                        labelPosition.attribs = {\n                            visibility,\n                            align: labelPosition.alignment\n                        };\n                        labelPosition.posAttribs = {\n                            x: x +\n                                (dataLabelOptions.x || 0) + // (#12985)\n                                ({\n                                    left: connectorPadding,\n                                    right: -connectorPadding\n                                }[labelPosition.alignment] || 0),\n                            y: y +\n                                (dataLabelOptions.y || 0) - // (#12985)\n                                // Vertically center\n                                lineHeight / 2\n                        };\n                        labelPosition.computed.x = x;\n                        labelPosition.computed.y = y - topOffset;\n                        // Detect overflowing data labels\n                        if (PieDataLabel_pick(dataLabelOptions.crop, true)) {\n                            dataLabelWidth = dataLabel.getBBox().width;\n                            let sideOverflow;\n                            // Overflow left\n                            if (x - dataLabelWidth < connectorPadding &&\n                                halfIdx === 1 // Left half\n                            ) {\n                                sideOverflow = Math.round(dataLabelWidth - x + connectorPadding);\n                                overflow[3] = Math.max(sideOverflow, overflow[3]);\n                                // Overflow right\n                            }\n                            else if (x + dataLabelWidth >\n                                plotWidth - connectorPadding &&\n                                halfIdx === 0 // Right half\n                            ) {\n                                sideOverflow = Math.round(x +\n                                    dataLabelWidth -\n                                    plotWidth +\n                                    connectorPadding);\n                                overflow[1] = Math.max(sideOverflow, overflow[1]);\n                            }\n                            // Overflow top\n                            if (y - labelHeight / 2 < 0) {\n                                overflow[0] = Math.max(Math.round(-y + labelHeight / 2), overflow[0]);\n                                // Overflow left\n                            }\n                            else if (y + labelHeight / 2 > plotHeight) {\n                                overflow[2] = Math.max(Math.round(y + labelHeight / 2 - plotHeight), overflow[2]);\n                            }\n                            labelPosition.sideOverflow = sideOverflow;\n                        }\n                    }\n                }); // For each data label of the point\n            }); // For each point\n        }); // For each half\n        // Do not apply the final placement and draw the connectors until we\n        // have verified that labels are not spilling over.\n        if (PieDataLabel_arrayMax(overflow) === 0 ||\n            this.verifyDataLabelOverflow(overflow)) {\n            // Place the labels in the final position\n            this.placeDataLabels();\n            this.points.forEach((point) => {\n                (point.dataLabels || []).forEach((dataLabel) => {\n                    // #8864: every connector can have individual options\n                    const { connectorColor, connectorWidth = 1 } = (dataLabel.options || {}), labelPosition = dataLabel.dataLabelPosition;\n                    // Draw the connector\n                    if (connectorWidth) {\n                        let isNew;\n                        connector = dataLabel.connector;\n                        if (labelPosition && labelPosition.distance > 0) {\n                            isNew = !connector;\n                            if (!connector) {\n                                dataLabel.connector = connector = chart.renderer\n                                    .path()\n                                    .addClass('highcharts-data-label-connector ' +\n                                    ' highcharts-color-' +\n                                    point.colorIndex +\n                                    (point.className ?\n                                        ' ' + point.className :\n                                        ''))\n                                    .add(series.dataLabelsGroup);\n                            }\n                            if (!chart.styledMode) {\n                                connector.attr({\n                                    'stroke-width': connectorWidth,\n                                    'stroke': (connectorColor ||\n                                        point.color ||\n                                        \"#666666\" /* Palette.neutralColor60 */)\n                                });\n                            }\n                            connector[isNew ? 'attr' : 'animate']({\n                                d: point.getConnectorPath(dataLabel)\n                            });\n                            connector.attr({\n                                visibility: labelPosition.attribs?.visibility\n                            });\n                        }\n                        else if (connector) {\n                            dataLabel.connector = connector.destroy();\n                        }\n                    }\n                });\n            });\n        }\n    }\n    /**\n     * Perform the final placement of the data labels after we have verified\n     * that they fall within the plot area.\n     * @private\n     */\n    function placeDataLabels() {\n        this.points.forEach((point) => {\n            (point.dataLabels || []).forEach((dataLabel) => {\n                const labelPosition = dataLabel.dataLabelPosition;\n                if (labelPosition) {\n                    // Shorten data labels with ellipsis if they still overflow\n                    // after the pie has reached minSize (#223).\n                    if (labelPosition.sideOverflow) {\n                        dataLabel.css({\n                            width: (Math.max(dataLabel.getBBox().width -\n                                labelPosition.sideOverflow, 0)) + 'px',\n                            textOverflow: ((dataLabel.options?.style || {})\n                                .textOverflow ||\n                                'ellipsis')\n                        });\n                        dataLabel.shortened = true;\n                    }\n                    dataLabel.attr(labelPosition.attribs);\n                    dataLabel[dataLabel.moved ? 'animate' : 'attr'](labelPosition.posAttribs);\n                    dataLabel.moved = true;\n                }\n                else if (dataLabel) {\n                    dataLabel.attr({ y: -9999 });\n                }\n            });\n            // Clear for update\n            delete point.distributeBox;\n        }, this);\n    }\n    /**\n     * Verify whether the data labels are allowed to draw, or we should run more\n     * translation and data label positioning to keep them inside the plot area.\n     * Returns true when data labels are ready to draw.\n     * @private\n     */\n    function verifyDataLabelOverflow(overflow) {\n        const center = this.center, options = this.options, centerOption = options.center, minSize = options.minSize || 80;\n        let newSize = minSize, \n        // If a size is set, return true and don't try to shrink the pie\n        // to fit the labels.\n        ret = options.size !== null;\n        if (!ret) {\n            // Handle horizontal size and center\n            if (centerOption[0] !== null) { // Fixed center\n                newSize = Math.max(center[2] -\n                    Math.max(overflow[1], overflow[3]), minSize);\n            }\n            else { // Auto center\n                newSize = Math.max(\n                // Horizontal overflow\n                center[2] - overflow[1] - overflow[3], minSize);\n                // Horizontal center\n                center[0] += (overflow[3] - overflow[1]) / 2;\n            }\n            // Handle vertical size and center\n            if (centerOption[1] !== null) { // Fixed center\n                newSize = PieDataLabel_clamp(newSize, minSize, center[2] - Math.max(overflow[0], overflow[2]));\n            }\n            else { // Auto center\n                newSize = PieDataLabel_clamp(newSize, minSize, \n                // Vertical overflow\n                center[2] - overflow[0] - overflow[2]);\n                // Vertical center\n                center[1] += (overflow[0] - overflow[2]) / 2;\n            }\n            // If the size must be decreased, we need to run translate and\n            // drawDataLabels again\n            if (newSize < center[2]) {\n                center[2] = newSize;\n                center[3] = Math.min(// #3632\n                options.thickness ?\n                    Math.max(0, newSize - options.thickness * 2) :\n                    Math.max(0, PieDataLabel_relativeLength(options.innerSize || 0, newSize)), newSize); // #6647\n                this.translate(center);\n                if (this.drawDataLabels) {\n                    this.drawDataLabels();\n                }\n                // Else, return true to indicate that the pie and its labels is\n                // within the plot area\n            }\n            else {\n                ret = true;\n            }\n        }\n        return ret;\n    }\n})(PieDataLabel_ColumnDataLabel || (PieDataLabel_ColumnDataLabel = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const PieDataLabel = (PieDataLabel_ColumnDataLabel);\n\n;// ./code/es-modules/Core/Geometry/GeometryUtilities.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Namespace\n *\n * */\nvar GeometryUtilities;\n(function (GeometryUtilities) {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Calculates the center between a list of points.\n     *\n     * @private\n     *\n     * @param {Array<Highcharts.PositionObject>} points\n     * A list of points to calculate the center of.\n     *\n     * @return {Highcharts.PositionObject}\n     * Calculated center\n     */\n    function getCenterOfPoints(points) {\n        const sum = points.reduce((sum, point) => {\n            sum.x += point.x;\n            sum.y += point.y;\n            return sum;\n        }, { x: 0, y: 0 });\n        return {\n            x: sum.x / points.length,\n            y: sum.y / points.length\n        };\n    }\n    GeometryUtilities.getCenterOfPoints = getCenterOfPoints;\n    /**\n     * Calculates the distance between two points based on their x and y\n     * coordinates.\n     *\n     * @private\n     *\n     * @param {Highcharts.PositionObject} p1\n     * The x and y coordinates of the first point.\n     *\n     * @param {Highcharts.PositionObject} p2\n     * The x and y coordinates of the second point.\n     *\n     * @return {number}\n     * Returns the distance between the points.\n     */\n    function getDistanceBetweenPoints(p1, p2) {\n        return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));\n    }\n    GeometryUtilities.getDistanceBetweenPoints = getDistanceBetweenPoints;\n    /**\n     * Calculates the angle between two points.\n     * @todo add unit tests.\n     * @private\n     * @param {Highcharts.PositionObject} p1 The first point.\n     * @param {Highcharts.PositionObject} p2 The second point.\n     * @return {number} Returns the angle in radians.\n     */\n    function getAngleBetweenPoints(p1, p2) {\n        return Math.atan2(p2.x - p1.x, p2.y - p1.y);\n    }\n    GeometryUtilities.getAngleBetweenPoints = getAngleBetweenPoints;\n    /**\n     * Test for point in polygon. Polygon defined as array of [x,y] points.\n     * @private\n     * @param {PositionObject} point The point potentially within a polygon.\n     * @param {Array<Array<number>>} polygon The polygon potentially containing the point.\n     */\n    function pointInPolygon({ x, y }, polygon) {\n        const len = polygon.length;\n        let i, j, inside = false;\n        for (i = 0, j = len - 1; i < len; j = i++) {\n            const [x1, y1] = polygon[i], [x2, y2] = polygon[j];\n            if (y1 > y !== y2 > y &&\n                (x < (x2 - x1) *\n                    (y - y1) /\n                    (y2 - y1) +\n                    x1)) {\n                inside = !inside;\n            }\n        }\n        return inside;\n    }\n    GeometryUtilities.pointInPolygon = pointInPolygon;\n})(GeometryUtilities || (GeometryUtilities = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Geometry_GeometryUtilities = (GeometryUtilities);\n\n;// ./code/es-modules/Extensions/OverlappingDataLabels.js\n/* *\n *\n *  Highcharts module to hide overlapping data labels.\n *  This module is included in Highcharts.\n *\n *  (c) 2009-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { pointInPolygon } = Geometry_GeometryUtilities;\n\nconst { addEvent: OverlappingDataLabels_addEvent, fireEvent: OverlappingDataLabels_fireEvent, objectEach: OverlappingDataLabels_objectEach, pick: OverlappingDataLabels_pick } = Core_Utilities;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Hide overlapping labels. Labels are moved and faded in and out on zoom to\n * provide a smooth visual impression.\n *\n * @requires modules/overlapping-datalabels\n *\n * @private\n * @function Highcharts.Chart#hideOverlappingLabels\n * @param {Array<Highcharts.SVGElement>} labels\n *        Rendered data labels\n */\nfunction chartHideOverlappingLabels(labels) {\n    const chart = this, len = labels.length, isIntersectRect = (box1, box2) => !(box2.x >= box1.x + box1.width ||\n        box2.x + box2.width <= box1.x ||\n        box2.y >= box1.y + box1.height ||\n        box2.y + box2.height <= box1.y), isPolygonOverlap = (box1Poly, box2Poly) => {\n        for (const p of box1Poly) {\n            if (pointInPolygon({ x: p[0], y: p[1] }, box2Poly)) {\n                return true;\n            }\n        }\n        return false;\n    };\n    /**\n     * Get the box with its position inside the chart, as opposed to getBBox\n     * that only reports the position relative to the parent.\n     */\n    function getAbsoluteBox(label) {\n        if (label && (!label.alignAttr || label.placed)) {\n            const padding = label.box ? 0 : (label.padding || 0), pos = label.alignAttr || {\n                x: label.attr('x'),\n                y: label.attr('y')\n            }, bBox = label.getBBox();\n            label.width = bBox.width;\n            label.height = bBox.height;\n            return {\n                x: pos.x + (label.parentGroup?.translateX || 0) + padding,\n                y: pos.y + (label.parentGroup?.translateY || 0) + padding,\n                width: (label.width || 0) - 2 * padding,\n                height: (label.height || 0) - 2 * padding,\n                polygon: bBox?.polygon\n            };\n        }\n    }\n    let label, label1, label2, box1, box2, isLabelAffected = false;\n    for (let i = 0; i < len; i++) {\n        label = labels[i];\n        if (label) {\n            // Mark with initial opacity\n            label.oldOpacity = label.opacity;\n            label.newOpacity = 1;\n            label.absoluteBox = getAbsoluteBox(label);\n        }\n    }\n    // Prevent a situation in a gradually rising slope, that each label will\n    // hide the previous one because the previous one always has lower rank.\n    labels.sort((a, b) => (b.labelrank || 0) - (a.labelrank || 0));\n    // Detect overlapping labels\n    for (let i = 0; i < len; ++i) {\n        label1 = labels[i];\n        box1 = label1 && label1.absoluteBox;\n        const box1Poly = box1?.polygon;\n        for (let j = i + 1; j < len; ++j) {\n            label2 = labels[j];\n            box2 = label2 && label2.absoluteBox;\n            let toHide = false;\n            if (box1 &&\n                box2 &&\n                label1 !== label2 && // #6465, polar chart with connectEnds\n                label1.newOpacity !== 0 &&\n                label2.newOpacity !== 0 &&\n                // #15863 dataLabels are no longer hidden by translation\n                label1.visibility !== 'hidden' &&\n                label2.visibility !== 'hidden') {\n                const box2Poly = box2.polygon;\n                // If labels have polygons, only evaluate\n                // based on polygons\n                if (box1Poly &&\n                    box2Poly &&\n                    box1Poly !== box2Poly) {\n                    if (isPolygonOverlap(box1Poly, box2Poly)) {\n                        toHide = true;\n                    }\n                    // If there are no polygons, evaluate rectangles coliding\n                }\n                else if (isIntersectRect(box1, box2)) {\n                    toHide = true;\n                }\n                if (toHide) {\n                    const overlappingLabel = (label1.labelrank < label2.labelrank ?\n                        label1 :\n                        label2), labelText = overlappingLabel.text;\n                    overlappingLabel.newOpacity = 0;\n                    if (labelText?.element.querySelector('textPath')) {\n                        labelText.hide();\n                    }\n                }\n            }\n        }\n    }\n    // Hide or show\n    for (const label of labels) {\n        if (hideOrShow(label, chart)) {\n            isLabelAffected = true;\n        }\n    }\n    if (isLabelAffected) {\n        OverlappingDataLabels_fireEvent(chart, 'afterHideAllOverlappingLabels');\n    }\n}\n/** @private */\nfunction compose(ChartClass) {\n    const chartProto = ChartClass.prototype;\n    if (!chartProto.hideOverlappingLabels) {\n        chartProto.hideOverlappingLabels = chartHideOverlappingLabels;\n        OverlappingDataLabels_addEvent(ChartClass, 'render', OverlappingDataLabels_onChartRender);\n    }\n}\n/**\n * Hide or show labels based on opacity.\n *\n * @private\n * @function hideOrShow\n * @param {Highcharts.SVGElement} label\n * The label.\n * @param {Highcharts.Chart} chart\n * The chart that contains the label.\n * @return {boolean}\n * Whether label is affected\n */\nfunction hideOrShow(label, chart) {\n    let complete, newOpacity, isLabelAffected = false;\n    if (label) {\n        newOpacity = label.newOpacity;\n        if (label.oldOpacity !== newOpacity) {\n            // Toggle data labels\n            if (label.hasClass('highcharts-data-label')) {\n                // Make sure the label is completely hidden to avoid catching\n                // clicks (#4362)\n                label[newOpacity ? 'removeClass' : 'addClass']('highcharts-data-label-hidden');\n                complete = function () {\n                    if (!chart.styledMode) {\n                        label.css({\n                            pointerEvents: newOpacity ? 'auto' : 'none'\n                        });\n                    }\n                };\n                isLabelAffected = true;\n                // Animate or set the opacity\n                label[label.isOld ? 'animate' : 'attr']({ opacity: newOpacity }, void 0, complete);\n                OverlappingDataLabels_fireEvent(chart, 'afterHideOverlappingLabel');\n                // Toggle other labels, tick labels\n            }\n            else {\n                label.attr({\n                    opacity: newOpacity\n                });\n            }\n        }\n        label.isOld = true;\n    }\n    return isLabelAffected;\n}\n/**\n * Collect potential overlapping data labels. Stack labels probably don't need\n * to be considered because they are usually accompanied by data labels that lie\n * inside the columns.\n * @private\n */\nfunction OverlappingDataLabels_onChartRender() {\n    const chart = this;\n    let labels = [];\n    // Consider external label collectors\n    for (const collector of (chart.labelCollectors || [])) {\n        labels = labels.concat(collector());\n    }\n    for (const yAxis of (chart.yAxis || [])) {\n        if (yAxis.stacking &&\n            yAxis.options.stackLabels &&\n            !yAxis.options.stackLabels.allowOverlap) {\n            OverlappingDataLabels_objectEach(yAxis.stacking.stacks, (stack) => {\n                OverlappingDataLabels_objectEach(stack, (stackItem) => {\n                    if (stackItem.label) {\n                        labels.push(stackItem.label);\n                    }\n                });\n            });\n        }\n    }\n    for (const series of (chart.series || [])) {\n        if (series.visible && series.hasDataLabels?.()) { // #3866\n            const push = (points) => {\n                for (const point of points) {\n                    if (point.visible) {\n                        (point.dataLabels || []).forEach((label) => {\n                            const options = label.options || {};\n                            label.labelrank = OverlappingDataLabels_pick(options.labelrank, point.labelrank, point.shapeArgs?.height); // #4118\n                            // Allow overlap if the option is explicitly true\n                            if (\n                            // #13449\n                            options.allowOverlap ??\n                                // Pie labels outside have a separate placement\n                                // logic, skip the overlap logic\n                                Number(options.distance) > 0) {\n                                label.oldOpacity = label.opacity;\n                                label.newOpacity = 1;\n                                hideOrShow(label, chart);\n                                // Do not allow overlap\n                            }\n                            else {\n                                labels.push(label);\n                            }\n                        });\n                    }\n                }\n            };\n            push(series.nodes || []);\n            push(series.points);\n        }\n    }\n    this.hideOverlappingLabels(labels);\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst OverlappingDataLabels = {\n    compose\n};\n/* harmony default export */ const Extensions_OverlappingDataLabels = (OverlappingDataLabels);\n\n;// ./code/es-modules/Extensions/BorderRadius.js\n/* *\n *\n *  Highcharts Border Radius module\n *\n *  Author: Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defaultOptions: BorderRadius_defaultOptions } = Defaults;\n\nconst { noop: BorderRadius_noop } = Core_Globals;\n\nconst { addEvent: BorderRadius_addEvent, extend: BorderRadius_extend, isObject: BorderRadius_isObject, merge: BorderRadius_merge, relativeLength: BorderRadius_relativeLength } = Core_Utilities;\n/* *\n *\n *  Constants\n *\n * */\nconst defaultBorderRadiusOptions = {\n    radius: 0,\n    scope: 'stack',\n    where: void 0\n};\n/* *\n *\n *  Variables\n *\n * */\nlet oldArc = BorderRadius_noop;\nlet oldRoundedRect = BorderRadius_noop;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction applyBorderRadius(path, i, r) {\n    const a = path[i];\n    let b = path[i + 1];\n    if (b[0] === 'Z') {\n        b = path[0];\n    }\n    let line, arc, fromLineToArc;\n    // From straight line to arc\n    if ((a[0] === 'M' || a[0] === 'L') && b[0] === 'A') {\n        line = a;\n        arc = b;\n        fromLineToArc = true;\n        // From arc to straight line\n    }\n    else if (a[0] === 'A' && (b[0] === 'M' || b[0] === 'L')) {\n        line = b;\n        arc = a;\n    }\n    if (line && arc && arc.params) {\n        const bigR = arc[1], \n        // In our use cases, outer pie slice arcs are clockwise and inner\n        // arcs (donut/sunburst etc) are anti-clockwise\n        clockwise = arc[5], params = arc.params, { start, end, cx, cy } = params;\n        // Some geometric constants\n        const relativeR = clockwise ? (bigR - r) : (bigR + r), \n        // The angle, on the big arc, that the border radius arc takes up\n        angleOfBorderRadius = relativeR ? Math.asin(r / relativeR) : 0, angleOffset = clockwise ?\n            angleOfBorderRadius :\n            -angleOfBorderRadius, \n        // The distance along the radius of the big arc to the starting\n        // point of the small border radius arc\n        distanceBigCenterToStartArc = (Math.cos(angleOfBorderRadius) *\n            relativeR);\n        // From line to arc\n        if (fromLineToArc) {\n            // Update the cache\n            params.start = start + angleOffset;\n            // First move to the start position at the radial line. We want to\n            // start one borderRadius closer to the center.\n            line[1] = cx + distanceBigCenterToStartArc * Math.cos(start);\n            line[2] = cy + distanceBigCenterToStartArc * Math.sin(start);\n            // Now draw an arc towards the point where the small circle touches\n            // the great circle.\n            path.splice(i + 1, 0, [\n                'A',\n                r,\n                r,\n                0, // Slanting,\n                0, // Long arc\n                1, // Clockwise\n                cx + bigR * Math.cos(params.start),\n                cy + bigR * Math.sin(params.start)\n            ]);\n            // From arc to line\n        }\n        else {\n            // Update the cache\n            params.end = end - angleOffset;\n            // End the big arc a bit earlier\n            arc[6] = cx + bigR * Math.cos(params.end);\n            arc[7] = cy + bigR * Math.sin(params.end);\n            // Draw a small arc towards a point on the end angle, but one\n            // borderRadius closer to the center relative to the perimeter.\n            path.splice(i + 1, 0, [\n                'A',\n                r,\n                r,\n                0,\n                0,\n                1,\n                cx + distanceBigCenterToStartArc * Math.cos(end),\n                cy + distanceBigCenterToStartArc * Math.sin(end)\n            ]);\n        }\n        // Long or short arc must be reconsidered because we have modified the\n        // start and end points\n        arc[4] = Math.abs(params.end - params.start) < Math.PI ? 0 : 1;\n    }\n}\n/**\n * Extend arc with borderRadius.\n * @private\n */\nfunction BorderRadius_arc(x, y, w, h, options = {}) {\n    const path = oldArc(x, y, w, h, options), { innerR = 0, r = w, start = 0, end = 0 } = options;\n    if (options.open || !options.borderRadius) {\n        return path;\n    }\n    const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(BorderRadius_relativeLength(options.borderRadius || 0, r - innerR), \n    // Cap to half the sector radius\n    (r - innerR) / 2, \n    // For smaller pie slices, cap to the largest small circle that\n    // can be fitted within the sector\n    (r * sinHalfAlpha) / (1 + sinHalfAlpha)), 0), \n    // For the inner radius, we need an extra cap because the inner arc\n    // is shorter than the outer arc\n    innerBorderRadius = Math.min(borderRadius, 2 * (alpha / Math.PI) * innerR);\n    // Apply turn-by-turn border radius. Start at the end since we're\n    // splicing in arc segments.\n    let i = path.length - 1;\n    while (i--) {\n        applyBorderRadius(path, i, i > 1 ? innerBorderRadius : borderRadius);\n    }\n    return path;\n}\n/** @private */\nfunction seriesOnAfterColumnTranslate() {\n    if (this.options.borderRadius &&\n        !(this.chart.is3d && this.chart.is3d())) {\n        const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = BorderRadius_defaultOptions.plotOptions?.[this.type]\n            ?.borderRadius, borderRadius = optionsToObject(options.borderRadius, BorderRadius_isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;\n        for (const point of this.points) {\n            const { shapeArgs } = point;\n            if (point.shapeType === 'roundedRect' && shapeArgs) {\n                const { width = 0, height = 0, y = 0 } = shapeArgs;\n                let brBoxY = y, brBoxHeight = height;\n                // It would be nice to refactor StackItem.getStackBox/\n                // setOffset so that we could get a reliable box out of\n                // it. Currently it is close if we remove the label\n                // offset, but we still need to run crispCol and also\n                // flip it if inverted, so atm it is simpler to do it\n                // like the below.\n                if (borderRadius.scope === 'stack' &&\n                    point.stackTotal) {\n                    const stackEnd = yAxis.translate(percent ? 100 : point.stackTotal, false, true, false, true), stackThreshold = yAxis.translate(options.threshold || 0, false, true, false, true), box = this.crispCol(0, Math.min(stackEnd, stackThreshold), 0, Math.abs(stackEnd - stackThreshold));\n                    brBoxY = box.y;\n                    brBoxHeight = box.height;\n                }\n                const flip = (point.negative ? -1 : 1) *\n                    (reversed ? -1 : 1) === -1;\n                // Handle the where option\n                let where = borderRadius.where;\n                // Waterfall, hanging columns should have rounding on\n                // all sides\n                if (!where &&\n                    this.is('waterfall') &&\n                    Math.abs((point.yBottom || 0) -\n                        (this.translatedThreshold || 0)) > this.borderWidth) {\n                    where = 'all';\n                }\n                if (!where) {\n                    where = 'end';\n                }\n                // Get the radius\n                const r = Math.min(BorderRadius_relativeLength(borderRadius.radius, width), width / 2, \n                // Cap to the height, but not if where is `end`\n                where === 'all' ? height / 2 : Infinity) || 0;\n                // If the `where` option is 'end', cut off the\n                // rectangles by making the border-radius box one r\n                // greater, so that the imaginary radius falls outside\n                // the rectangle.\n                if (where === 'end') {\n                    if (flip) {\n                        brBoxY -= r;\n                        brBoxHeight += r;\n                    }\n                    else {\n                        brBoxHeight += r;\n                    }\n                }\n                BorderRadius_extend(shapeArgs, { brBoxHeight, brBoxY, r });\n            }\n        }\n    }\n}\n/** @private */\nfunction BorderRadius_compose(SeriesClass, SVGElementClass, SVGRendererClass) {\n    const PieSeriesClass = SeriesClass.types.pie;\n    if (!SVGElementClass.symbolCustomAttribs.includes('borderRadius')) {\n        const symbols = SVGRendererClass.prototype.symbols;\n        BorderRadius_addEvent(SeriesClass, 'afterColumnTranslate', seriesOnAfterColumnTranslate, {\n            // After columnrange and polar column modifications\n            order: 9\n        });\n        BorderRadius_addEvent(PieSeriesClass, 'afterTranslate', pieSeriesOnAfterTranslate);\n        SVGElementClass.symbolCustomAttribs.push('borderRadius', 'brBoxHeight', 'brBoxY');\n        oldArc = symbols.arc;\n        oldRoundedRect = symbols.roundedRect;\n        symbols.arc = BorderRadius_arc;\n        symbols.roundedRect = BorderRadius_roundedRect;\n    }\n}\n/** @private */\nfunction optionsToObject(options, seriesBROptions) {\n    if (!BorderRadius_isObject(options)) {\n        options = { radius: options || 0 };\n    }\n    return BorderRadius_merge(defaultBorderRadiusOptions, seriesBROptions, options);\n}\n/** @private */\nfunction pieSeriesOnAfterTranslate() {\n    const borderRadius = optionsToObject(this.options.borderRadius);\n    for (const point of this.points) {\n        const shapeArgs = point.shapeArgs;\n        if (shapeArgs) {\n            shapeArgs.borderRadius = BorderRadius_relativeLength(borderRadius.radius, (shapeArgs.r || 0) - ((shapeArgs.innerR) || 0));\n        }\n    }\n}\n/**\n * Extend roundedRect with individual cutting through rOffset.\n * @private\n */\nfunction BorderRadius_roundedRect(x, y, width, height, options = {}) {\n    const path = oldRoundedRect(x, y, width, height, options), { r = 0, brBoxHeight = height, brBoxY = y } = options, brOffsetTop = y - brBoxY, brOffsetBtm = (brBoxY + brBoxHeight) - (y + height), \n    // When the distance to the border-radius box is greater than the r\n    // itself, it means no border radius. The -0.1 accounts for float\n    // rounding errors.\n    rTop = (brOffsetTop - r) > -0.1 ? 0 : r, rBtm = (brOffsetBtm - r) > -0.1 ? 0 : r, cutTop = Math.max(rTop && brOffsetTop, 0), cutBtm = Math.max(rBtm && brOffsetBtm, 0);\n    /*\n\n    The naming of control points:\n\n      / a -------- b \\\n     /                \\\n    h                  c\n    |                  |\n    |                  |\n    |                  |\n    g                  d\n     \\                /\n      \\ f -------- e /\n\n    */\n    const a = [x + rTop, y], b = [x + width - rTop, y], c = [x + width, y + rTop], d = [\n        x + width, y + height - rBtm\n    ], e = [\n        x + width - rBtm,\n        y + height\n    ], f = [x + rBtm, y + height], g = [x, y + height - rBtm], h = [x, y + rTop];\n    const applyPythagoras = (r, altitude) => Math.sqrt(Math.pow(r, 2) - Math.pow(altitude, 2));\n    // Inside stacks, cut off part of the top\n    if (cutTop) {\n        const base = applyPythagoras(rTop, rTop - cutTop);\n        a[0] -= base;\n        b[0] += base;\n        c[1] = h[1] = y + rTop - cutTop;\n    }\n    // Column is lower than the radius. Cut off bottom inside the top\n    // radius.\n    if (height < rTop - cutTop) {\n        const base = applyPythagoras(rTop, rTop - cutTop - height);\n        c[0] = d[0] = x + width - rTop + base;\n        e[0] = Math.min(c[0], e[0]);\n        f[0] = Math.max(d[0], f[0]);\n        g[0] = h[0] = x + rTop - base;\n        c[1] = h[1] = y + height;\n    }\n    // Inside stacks, cut off part of the bottom\n    if (cutBtm) {\n        const base = applyPythagoras(rBtm, rBtm - cutBtm);\n        e[0] += base;\n        f[0] -= base;\n        d[1] = g[1] = y + height - rBtm + cutBtm;\n    }\n    // Cut off top inside the bottom radius\n    if (height < rBtm - cutBtm) {\n        const base = applyPythagoras(rBtm, rBtm - cutBtm - height);\n        c[0] = d[0] = x + width - rBtm + base;\n        b[0] = Math.min(c[0], b[0]);\n        a[0] = Math.max(d[0], a[0]);\n        g[0] = h[0] = x + rBtm - base;\n        d[1] = g[1] = y;\n    }\n    // Preserve the box for data labels\n    path.length = 0;\n    path.push(['M', ...a], \n    // Top side\n    ['L', ...b], \n    // Top right corner\n    ['A', rTop, rTop, 0, 0, 1, ...c], \n    // Right side\n    ['L', ...d], \n    // Bottom right corner\n    ['A', rBtm, rBtm, 0, 0, 1, ...e], \n    // Bottom side\n    ['L', ...f], \n    // Bottom left corner\n    ['A', rBtm, rBtm, 0, 0, 1, ...g], \n    // Left side\n    ['L', ...h], \n    // Top left corner\n    ['A', rTop, rTop, 0, 0, 1, ...a], ['Z']);\n    return path;\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst BorderRadius = {\n    compose: BorderRadius_compose,\n    optionsToObject\n};\n/* harmony default export */ const Extensions_BorderRadius = (BorderRadius);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Detailed options for border radius.\n *\n * @sample  {highcharts} highcharts/plotoptions/column-borderradius/\n *          Rounded columns\n * @sample  highcharts/plotoptions/series-border-radius\n *          Column and pie with rounded border\n *\n * @interface Highcharts.BorderRadiusOptionsObject\n */ /**\n* The border radius. A number signifies pixels. A percentage string, like for\n* example `50%`, signifies a relative size. For columns this is relative to the\n* column width, for pies it is relative to the radius and the inner radius.\n*\n* @name Highcharts.BorderRadiusOptionsObject#radius\n* @type {string|number}\n*/ /**\n* The scope of the rounding for column charts. In a stacked column chart, the\n* value `point` means each single point will get rounded corners. The value\n* `stack` means the rounding will apply to the full stack, so that only points\n* close to the top or bottom will receive rounding.\n*\n* @name Highcharts.BorderRadiusOptionsObject#scope\n* @validvalue [\"point\", \"stack\"]\n* @type {string}\n*/ /**\n* For column charts, where in the point or stack to apply rounding. The `end`\n* value means only those corners at the point value will be rounded, leaving\n* the corners at the base or threshold unrounded. This is the most intuitive\n* behaviour. The `all` value means also the base will be rounded.\n*\n* @name Highcharts.BorderRadiusOptionsObject#where\n* @validvalue [\"all\", \"end\"]\n* @type {string}\n* @default end\n*/\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Responsive.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { diffObjects: Responsive_diffObjects, extend: Responsive_extend, find: Responsive_find, merge: Responsive_merge, pick: Responsive_pick, uniqueKey: Responsive_uniqueKey } = Core_Utilities;\n/* *\n *\n *  Composition\n *\n * */\nvar Responsive;\n(function (Responsive) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ChartClass) {\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.matchResponsiveRule) {\n            Responsive_extend(chartProto, {\n                matchResponsiveRule,\n                setResponsive\n            });\n        }\n        return ChartClass;\n    }\n    Responsive.compose = compose;\n    /**\n     * Handle a single responsiveness rule.\n     *\n     * @private\n     * @function Highcharts.Chart#matchResponsiveRule\n     * @param {Highcharts.ResponsiveRulesOptions} rule\n     * @param {Array<string>} matches\n     */\n    function matchResponsiveRule(rule, matches) {\n        const condition = rule.condition, fn = condition.callback || function () {\n            return (this.chartWidth <= Responsive_pick(condition.maxWidth, Number.MAX_VALUE) &&\n                this.chartHeight <= Responsive_pick(condition.maxHeight, Number.MAX_VALUE) &&\n                this.chartWidth >= Responsive_pick(condition.minWidth, 0) &&\n                this.chartHeight >= Responsive_pick(condition.minHeight, 0));\n        };\n        if (fn.call(this)) {\n            matches.push(rule._id);\n        }\n    }\n    /**\n     * Update the chart based on the current chart/document size and options\n     * for responsiveness.\n     *\n     * @private\n     * @function Highcharts.Chart#setResponsive\n     * @param  {boolean} [redraw=true]\n     * @param  {boolean} [reset=false]\n     * Reset by un-applying all rules. Chart.update resets all rules before\n     * applying updated options.\n     */\n    function setResponsive(redraw, reset) {\n        const options = this.options.responsive, currentResponsive = this.currentResponsive;\n        let ruleIds = [], undoOptions;\n        if (!reset && options && options.rules) {\n            options.rules.forEach((rule) => {\n                if (typeof rule._id === 'undefined') {\n                    rule._id = Responsive_uniqueKey();\n                }\n                this.matchResponsiveRule(rule, ruleIds /* , redraw */);\n            }, this);\n        }\n        // Merge matching rules\n        const mergedOptions = Responsive_merge(...ruleIds\n            .map((ruleId) => Responsive_find((options || {}).rules || [], (rule) => (rule._id === ruleId)))\n            .map((rule) => (rule && rule.chartOptions)));\n        mergedOptions.isResponsiveOptions = true;\n        // Stringified key for the rules that currently apply.\n        ruleIds = (ruleIds.toString() || void 0);\n        const currentRuleIds = (currentResponsive && currentResponsive.ruleIds);\n        // Changes in what rules apply\n        if (ruleIds !== currentRuleIds) {\n            // Undo previous rules. Before we apply a new set of rules, we\n            // need to roll back completely to base options (#6291).\n            if (currentResponsive) {\n                this.currentResponsive = void 0;\n                this.updatingResponsive = true;\n                this.update(currentResponsive.undoOptions, redraw, true);\n                this.updatingResponsive = false;\n            }\n            if (ruleIds) {\n                // Get undo-options for matching rules. The `undoOptions``\n                // hold the current values before they are changed by the\n                // `mergedOptions`.\n                undoOptions = Responsive_diffObjects(mergedOptions, this.options, true, this.collectionsWithUpdate);\n                undoOptions.isResponsiveOptions = true;\n                this.currentResponsive = {\n                    ruleIds: ruleIds,\n                    mergedOptions: mergedOptions,\n                    undoOptions: undoOptions\n                };\n                if (!this.updatingResponsive) {\n                    this.update(mergedOptions, redraw, true);\n                }\n            }\n            else {\n                this.currentResponsive = void 0;\n            }\n        }\n    }\n})(Responsive || (Responsive = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Core_Responsive = (Responsive);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * A callback function to gain complete control on when the responsive rule\n * applies.\n *\n * @callback Highcharts.ResponsiveCallbackFunction\n *\n * @param {Highcharts.Chart} this\n * Chart context.\n *\n * @return {boolean}\n * Return `true` if it applies.\n */\n(''); // Keeps doclets above in JS file\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Allows setting a set of rules to apply for different screen or chart\n * sizes. Each rule specifies additional chart options.\n *\n * @sample {highstock} stock/demo/responsive/\n *         Stock chart\n * @sample highcharts/responsive/axis/\n *         Axis\n * @sample highcharts/responsive/legend/\n *         Legend\n * @sample highcharts/responsive/classname/\n *         Class name\n *\n * @since     5.0.0\n * @apioption responsive\n */\n/**\n * A set of rules for responsive settings. The rules are executed from\n * the top down.\n *\n * @sample {highcharts} highcharts/responsive/axis/\n *         Axis changes\n * @sample {highstock} highcharts/responsive/axis/\n *         Axis changes\n * @sample {highmaps} highcharts/responsive/axis/\n *         Axis changes\n *\n * @type      {Array<*>}\n * @since     5.0.0\n * @apioption responsive.rules\n */\n/**\n * A full set of chart options to apply as overrides to the general\n * chart options. The chart options are applied when the given rule\n * is active.\n *\n * A special case is configuration objects that take arrays, for example\n * [xAxis](#xAxis), [yAxis](#yAxis) or [series](#series). For these\n * collections, an `id` option is used to map the new option set to\n * an existing object. If an existing object of the same id is not found,\n * the item of the same index updated. So for example, setting `chartOptions`\n * with two series items without an `id`, will cause the existing chart's\n * two series to be updated with respective options.\n *\n * @sample {highstock} stock/demo/responsive/\n *         Stock chart\n * @sample highcharts/responsive/axis/\n *         Axis\n * @sample highcharts/responsive/legend/\n *         Legend\n * @sample highcharts/responsive/classname/\n *         Class name\n *\n * @type      {Highcharts.Options}\n * @since     5.0.0\n * @apioption responsive.rules.chartOptions\n */\n/**\n * Under which conditions the rule applies.\n *\n * @since     5.0.0\n * @apioption responsive.rules.condition\n */\n/**\n * A callback function to gain complete control on when the responsive\n * rule applies. Return `true` if it applies. This opens for checking\n * against other metrics than the chart size, for example the document\n * size or other elements.\n *\n * @type      {Highcharts.ResponsiveCallbackFunction}\n * @since     5.0.0\n * @context   Highcharts.Chart\n * @apioption responsive.rules.condition.callback\n */\n/**\n * The responsive rule applies if the chart height is less than this.\n *\n * @type      {number}\n * @since     5.0.0\n * @apioption responsive.rules.condition.maxHeight\n */\n/**\n * The responsive rule applies if the chart width is less than this.\n *\n * @sample highcharts/responsive/axis/\n *         Max width is 500\n *\n * @type      {number}\n * @since     5.0.0\n * @apioption responsive.rules.condition.maxWidth\n */\n/**\n * The responsive rule applies if the chart height is greater than this.\n *\n * @type      {number}\n * @default   0\n * @since     5.0.0\n * @apioption responsive.rules.condition.minHeight\n */\n/**\n * The responsive rule applies if the chart width is greater than this.\n *\n * @type      {number}\n * @default   0\n * @since     5.0.0\n * @apioption responsive.rules.condition.minWidth\n */\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/masters/highcharts.src.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst G = Core_Globals;\n// Classes\nG.AST = HTML_AST;\nG.Axis = Axis_Axis;\nG.Chart = Chart_Chart;\nG.Color = Color_Color;\nG.DataLabel = Series_DataLabel;\nG.DataTableCore = Data_DataTableCore;\nG.Fx = Animation_Fx;\nG.HTMLElement = HTML_HTMLElement;\nG.Legend = Legend_Legend;\nG.LegendSymbol = Legend_LegendSymbol;\nG.OverlappingDataLabels = G.OverlappingDataLabels || Extensions_OverlappingDataLabels;\nG.PlotLineOrBand = PlotLineOrBand_PlotLineOrBand;\nG.Point = Series_Point;\nG.Pointer = Core_Pointer;\nG.RendererRegistry = Renderer_RendererRegistry;\nG.Series = Series_Series;\nG.SeriesRegistry = Series_SeriesRegistry;\nG.StackItem = Stacking_StackItem;\nG.SVGElement = SVG_SVGElement;\nG.SVGRenderer = SVG_SVGRenderer;\nG.Templating = Core_Templating;\nG.Tick = Axis_Tick;\nG.Time = Core_Time;\nG.Tooltip = Core_Tooltip;\n// Utilities\nG.animate = AnimationUtilities.animate;\nG.animObject = AnimationUtilities.animObject;\nG.chart = Chart_Chart.chart;\nG.color = Color_Color.parse;\nG.dateFormat = Core_Templating.dateFormat;\nG.defaultOptions = Defaults.defaultOptions;\nG.distribute = Renderer_RendererUtilities.distribute;\nG.format = Core_Templating.format;\nG.getDeferredAnimation = AnimationUtilities.getDeferredAnimation;\nG.getOptions = Defaults.getOptions;\nG.numberFormat = Core_Templating.numberFormat;\nG.seriesType = Series_SeriesRegistry.seriesType;\nG.setAnimation = AnimationUtilities.setAnimation;\nG.setOptions = Defaults.setOptions;\nG.stop = AnimationUtilities.stop;\nG.time = Defaults.defaultTime;\nG.timers = Animation_Fx.timers;\n// Compositions\nExtensions_BorderRadius.compose(G.Series, G.SVGElement, G.SVGRenderer);\nColumn_ColumnDataLabel.compose(G.Series.types.column);\nSeries_DataLabel.compose(G.Series);\nAxis_DateTimeAxis.compose(G.Axis);\nHTML_HTMLElement.compose(G.SVGRenderer);\nLegend_Legend.compose(G.Chart);\nAxis_LogarithmicAxis.compose(G.Axis);\nExtensions_OverlappingDataLabels.compose(G.Chart);\nPieDataLabel.compose(G.Series.types.pie);\nPlotLineOrBand_PlotLineOrBand.compose(G.Chart, G.Axis);\nCore_Pointer.compose(G.Chart);\nCore_Responsive.compose(G.Chart);\nExtensions_ScrollablePlotArea.compose(G.Axis, G.Chart, G.Series);\nStacking_StackingAxis.compose(G.Axis, G.Chart, G.Series);\nCore_Tooltip.compose(G.Pointer);\nCore_Utilities.extend(G, Core_Utilities);\n// Default Export\n/* harmony default export */ const highcharts_src = (G);\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/highcharts-more\n * @requires highcharts\n *\n * (c) 2009-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"Series\"], root[\"_Highcharts\"][\"Series\"][\"types\"][\"column\"], root[\"_Highcharts\"][\"Color\"], root[\"_Highcharts\"][\"Templating\"], root[\"_Highcharts\"][\"Point\"], root[\"_Highcharts\"][\"Chart\"], root[\"_Highcharts\"][\"SVGElement\"], root[\"_Highcharts\"][\"StackItem\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/highcharts-more\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"SeriesRegistry\"],amd1[\"Series\"],amd1[\"Series\"],[\"types\"],[\"column\"],amd1[\"Color\"],amd1[\"Templating\"],amd1[\"Point\"],amd1[\"Chart\"],amd1[\"SVGElement\"],amd1[\"StackItem\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/highcharts-more\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"Series\"], root[\"_Highcharts\"][\"Series\"][\"types\"][\"column\"], root[\"_Highcharts\"][\"Color\"], root[\"_Highcharts\"][\"Templating\"], root[\"_Highcharts\"][\"Point\"], root[\"_Highcharts\"][\"Chart\"], root[\"_Highcharts\"][\"SVGElement\"], root[\"_Highcharts\"][\"StackItem\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"SeriesRegistry\"], root[\"Highcharts\"][\"Series\"], root[\"Highcharts\"][\"Series\"][\"types\"][\"column\"], root[\"Highcharts\"][\"Color\"], root[\"Highcharts\"][\"Templating\"], root[\"Highcharts\"][\"Point\"], root[\"Highcharts\"][\"Chart\"], root[\"Highcharts\"][\"SVGElement\"], root[\"Highcharts\"][\"StackItem\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__820__, __WEBPACK_EXTERNAL_MODULE__448__, __WEBPACK_EXTERNAL_MODULE__620__, __WEBPACK_EXTERNAL_MODULE__984__, __WEBPACK_EXTERNAL_MODULE__260__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__28__, __WEBPACK_EXTERNAL_MODULE__184__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 960:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__960__;\n\n/***/ }),\n\n/***/ 620:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__620__;\n\n/***/ }),\n\n/***/ 260:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__260__;\n\n/***/ }),\n\n/***/ 28:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__28__;\n\n/***/ }),\n\n/***/ 448:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__448__;\n\n/***/ }),\n\n/***/ 820:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__820__;\n\n/***/ }),\n\n/***/ 512:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 184:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__184__;\n\n/***/ }),\n\n/***/ 984:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__984__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ highcharts_more_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Series\"],\"commonjs\":[\"highcharts\",\"Series\"],\"commonjs2\":[\"highcharts\",\"Series\"],\"root\":[\"Highcharts\",\"Series\"]}\nvar highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_ = __webpack_require__(820);\nvar highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default = /*#__PURE__*/__webpack_require__.n(highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_);\n;// ./code/es-modules/Series/CenteredUtilities.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { deg2rad } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { fireEvent, isNumber, pick, relativeLength } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/**\n * @private\n */\nvar CenteredUtilities;\n(function (CenteredUtilities) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Get the center of the pie based on the size and center options relative\n     * to the plot area. Borrowed by the polar and gauge series types.\n     *\n     * @private\n     * @function Highcharts.CenteredSeriesMixin.getCenter\n     */\n    function getCenter() {\n        const options = this.options, chart = this.chart, slicingRoom = 2 * (options.slicedOffset || 0), plotWidth = chart.plotWidth - 2 * slicingRoom, plotHeight = chart.plotHeight - 2 * slicingRoom, centerOption = options.center, smallestSize = Math.min(plotWidth, plotHeight), thickness = options.thickness;\n        let handleSlicingRoom, size = options.size, innerSize = options.innerSize || 0, i, value;\n        if (typeof size === 'string') {\n            size = parseFloat(size);\n        }\n        if (typeof innerSize === 'string') {\n            innerSize = parseFloat(innerSize);\n        }\n        const positions = [\n            pick(centerOption?.[0], '50%'),\n            pick(centerOption?.[1], '50%'),\n            // Prevent from negative values\n            pick(size && size < 0 ? void 0 : options.size, '100%'),\n            pick(innerSize && innerSize < 0 ? void 0 : options.innerSize || 0, '0%')\n        ];\n        // No need for inner size in angular (gauges) series but still required\n        // for pie series\n        if (chart.angular && !(this instanceof (highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default()))) {\n            positions[3] = 0;\n        }\n        for (i = 0; i < 4; ++i) {\n            value = positions[i];\n            handleSlicingRoom = i < 2 || (i === 2 && /%$/.test(value));\n            // I == 0: centerX, relative to width\n            // i == 1: centerY, relative to height\n            // i == 2: size, relative to smallestSize\n            // i == 3: innerSize, relative to size\n            positions[i] = relativeLength(value, [plotWidth, plotHeight, smallestSize, positions[2]][i]) + (handleSlicingRoom ? slicingRoom : 0);\n        }\n        // Inner size cannot be larger than size (#3632)\n        if (positions[3] > positions[2]) {\n            positions[3] = positions[2];\n        }\n        // Thickness overrides innerSize, need to be less than pie size (#6647)\n        if (isNumber(thickness) &&\n            thickness * 2 < positions[2] && thickness > 0) {\n            positions[3] = positions[2] - thickness * 2;\n        }\n        fireEvent(this, 'afterGetCenter', { positions });\n        return positions;\n    }\n    CenteredUtilities.getCenter = getCenter;\n    /**\n     * GetStartAndEndRadians - Calculates start and end angles in radians.\n     * Used in series types such as pie and sunburst.\n     *\n     * @private\n     * @function Highcharts.CenteredSeriesMixin.getStartAndEndRadians\n     *\n     * @param {number} [start]\n     *        Start angle in degrees.\n     *\n     * @param {number} [end]\n     *        Start angle in degrees.\n     *\n     * @return {Highcharts.RadianAngles}\n     *         Returns an object containing start and end angles as radians.\n     */\n    function getStartAndEndRadians(start, end) {\n        const startAngle = isNumber(start) ? start : 0, // Must be a number\n        endAngle = ((isNumber(end) && // Must be a number\n            end > startAngle && // Must be larger than the start angle\n            // difference must be less than 360 degrees\n            (end - startAngle) < 360) ?\n            end :\n            startAngle + 360), correction = -90;\n        return {\n            start: deg2rad * (startAngle + correction),\n            end: deg2rad * (endAngle + correction)\n        };\n    }\n    CenteredUtilities.getStartAndEndRadians = getStartAndEndRadians;\n})(CenteredUtilities || (CenteredUtilities = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_CenteredUtilities = (CenteredUtilities);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @private\n * @interface Highcharts.RadianAngles\n */ /**\n* @name Highcharts.RadianAngles#end\n* @type {number}\n*/ /**\n* @name Highcharts.RadianAngles#start\n* @type {number}\n*/\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Extensions/Pane/PaneComposition.js\n/* *\n *\n *  Imports\n *\n * */\n\nconst { addEvent, correctFloat, defined, pick: PaneComposition_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/** @private */\nfunction chartGetHoverPane(eventArgs) {\n    const chart = this;\n    let hoverPane;\n    if (eventArgs) {\n        chart.pane.forEach((pane) => {\n            const x = eventArgs.chartX - chart.plotLeft, y = eventArgs.chartY - chart.plotTop;\n            if (isInsidePane(x, y, pane.center)) {\n                hoverPane = pane;\n            }\n        });\n    }\n    return hoverPane;\n}\n/** @private */\nfunction compose(ChartClass, PointerClass) {\n    const chartProto = ChartClass.prototype;\n    if (!chartProto.getHoverPane) {\n        chartProto.collectionsWithUpdate.push('pane');\n        chartProto.getHoverPane = chartGetHoverPane;\n        addEvent(ChartClass, 'afterIsInsidePlot', onChartAfterIsInsiderPlot);\n        addEvent(PointerClass, 'afterGetHoverData', onPointerAfterGetHoverData);\n        addEvent(PointerClass, 'beforeGetHoverData', onPointerBeforeGetHoverData);\n    }\n}\n/**\n * Check whether element is inside or outside pane.\n * @private\n * @param  {number} x\n * Element's x coordinate\n * @param  {number} y\n * Element's y coordinate\n * @param  {Array<number>} center\n * Pane's center (x, y) and diameter\n * @param  {number} startAngle\n * Pane's normalized start angle in radians (<-PI, PI>)\n * @param  {number} endAngle\n * Pane's normalized end angle in radians (<-PI, PI>)\n */\nfunction isInsidePane(x, y, center, startAngle, endAngle) {\n    let insideSlice = true;\n    const cx = center[0], cy = center[1];\n    const distance = Math.sqrt(Math.pow(x - cx, 2) + Math.pow(y - cy, 2));\n    if (defined(startAngle) && defined(endAngle)) {\n        // Round angle to N-decimals to avoid numeric errors\n        const angle = Math.atan2(correctFloat(y - cy, 8), correctFloat(x - cx, 8));\n        // Ignore full circle panes:\n        if (endAngle !== startAngle) {\n            // If normalized start angle is bigger than normalized end,\n            // it means angles have different signs. In such situation we\n            // check the <-PI, startAngle> and <endAngle, PI> ranges.\n            if (startAngle > endAngle) {\n                insideSlice = (angle >= startAngle &&\n                    angle <= Math.PI) || (angle <= endAngle &&\n                    angle >= -Math.PI);\n            }\n            else {\n                // In this case, we simple check if angle is within the\n                // <startAngle, endAngle> range\n                insideSlice = angle >= startAngle &&\n                    angle <= correctFloat(endAngle, 8);\n            }\n        }\n    }\n    // Round up radius because x and y values are rounded\n    return distance <= Math.ceil(center[2] / 2) && insideSlice;\n}\n/**\n * Check if (x, y) position is within pane for polar.\n * @private\n */\nfunction onChartAfterIsInsiderPlot(e) {\n    const chart = this;\n    if (chart.polar) {\n        if (e.options.inverted) {\n            [e.x, e.y] = [e.y, e.x];\n        }\n        e.isInsidePlot = chart.pane.some((pane) => isInsidePane(e.x, e.y, pane.center, pane.axis && pane.axis.normalizedStartAngleRad, pane.axis && pane.axis.normalizedEndAngleRad));\n    }\n}\n/**\n *\n */\nfunction onPointerAfterGetHoverData(eventArgs) {\n    const chart = this.chart;\n    if (eventArgs.hoverPoint &&\n        eventArgs.hoverPoint.plotX &&\n        eventArgs.hoverPoint.plotY &&\n        chart.hoverPane &&\n        !isInsidePane(eventArgs.hoverPoint.plotX, eventArgs.hoverPoint.plotY, chart.hoverPane.center)) {\n        eventArgs.hoverPoint = void 0;\n    }\n}\n/** @private */\nfunction onPointerBeforeGetHoverData(eventArgs) {\n    const chart = this.chart;\n    if (chart.polar) {\n        // Find pane we are currently hovering over.\n        chart.hoverPane = chart.getHoverPane(eventArgs);\n        // Edit filter method to handle polar\n        eventArgs.filter = function (s) {\n            return (s.visible &&\n                !(!eventArgs.shared && s.directTouch) && // #3821\n                PaneComposition_pick(s.options.enableMouseTracking, true) &&\n                (!chart.hoverPane || s.xAxis.pane === chart.hoverPane));\n        };\n    }\n    else {\n        chart.hoverPane = void 0;\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst PaneComposition = {\n    compose\n};\n/* harmony default export */ const Pane_PaneComposition = (PaneComposition);\n\n;// ./code/es-modules/Extensions/Pane/PaneDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * An array of background items for the pane.\n *\n * @sample {highcharts} highcharts/demo/gauge-speedometer/\n *         Speedometer gauge with multiple backgrounds\n *\n * @type         {Array<*>}\n * @optionparent pane.background\n */\nconst background = {\n    /**\n     * The class name for this background.\n     *\n     * @sample {highcharts} highcharts/css/pane/\n     *         Panes styled by CSS\n     * @sample {highstock} highcharts/css/pane/\n     *         Panes styled by CSS\n     * @sample {highmaps} highcharts/css/pane/\n     *         Panes styled by CSS\n     *\n     * @type      {string}\n     * @default   highcharts-pane\n     * @since     5.0.0\n     * @apioption pane.background.className\n     */\n    /**\n     * The shape of the pane background. When `solid`, the background\n     * is circular. When `arc`, the background extends only from the min\n     * to the max of the value axis.\n     *\n     * @type    {Highcharts.PaneBackgroundShapeValue}\n     * @since   2.3.0\n     * @product highcharts\n     */\n    shape: 'circle',\n    /**\n     * The border radius of the pane background when the shape is `arc`. Can be\n     * a number (pixels) or a percentage string.\n     *\n     * @since 11.4.2\n     * @sample  highcharts/series-solidgauge/pane-borderradius\n     *          Circular gauge and pane with equal border radius\n     * @product highcharts\n     * @type    {number|string}\n     */\n    borderRadius: 0,\n    /**\n     * The pixel border width of the pane background.\n     *\n     * @since 2.3.0\n     * @product highcharts\n     */\n    borderWidth: 1,\n    /**\n     * The pane background border color.\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since   2.3.0\n     * @product highcharts\n     */\n    borderColor: \"#cccccc\" /* Palette.neutralColor20 */,\n    /**\n     * The background color or gradient for the pane.\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [[0, #ffffff], [1, #e6e6e6]] }\n     * @since   2.3.0\n     * @product highcharts\n     */\n    backgroundColor: {\n        /** @ignore-option */\n        linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },\n        /** @ignore-option */\n        stops: [\n            [0, \"#ffffff\" /* Palette.backgroundColor */],\n            [1, \"#e6e6e6\" /* Palette.neutralColor10 */]\n        ]\n    },\n    /** @ignore-option */\n    from: -Number.MAX_VALUE, // Corrected to axis min\n    /**\n     * The inner radius of the pane background. Can be either numeric\n     * (pixels) or a percentage string.\n     *\n     * @type    {number|string}\n     * @since   2.3.0\n     * @product highcharts\n     */\n    innerRadius: 0,\n    /** @ignore-option */\n    to: Number.MAX_VALUE, // Corrected to axis max\n    /**\n     * The outer radius of the circular pane background. Can be either\n     * numeric (pixels) or a percentage string.\n     *\n     * @type     {number|string}\n     * @since    2.3.0\n     * @product  highcharts\n     */\n    outerRadius: '105%'\n};\n/**\n * The pane serves as a container for axes and backgrounds for circular\n * gauges and polar charts.\n *\n * @type         {*|Array<*>}\n * @since        2.3.0\n * @product      highcharts\n * @requires     highcharts-more\n * @optionparent pane\n */\nconst pane = {\n    /**\n     * The end angle of the polar X axis or gauge value axis, given in\n     * degrees where 0 is north. Defaults to [startAngle](#pane.startAngle)\n     * + 360.\n     *\n     * @sample {highcharts} highcharts/demo/gauge-vu-meter/\n     *         VU-meter with custom start and end angle\n     *\n     * @type      {number}\n     * @since     2.3.0\n     * @product   highcharts\n     * @apioption pane.endAngle\n     */\n    /**\n     * The center of a polar chart or angular gauge, given as an array\n     * of [x, y] positions. Positions can be given as integers that\n     * transform to pixels, or as percentages of the plot area size.\n     *\n     * @sample {highcharts} highcharts/demo/gauge-vu-meter/\n     *         Two gauges with different center\n     *\n     * @type    {Array<string|number>}\n     * @default [\"50%\", \"50%\"]\n     * @since   2.3.0\n     * @product highcharts\n     */\n    center: ['50%', '50%'],\n    /**\n     * The size of the pane, either as a number defining pixels, or a\n     * percentage defining a percentage of the available plot area (the\n     * smallest of the plot height or plot width).\n     *\n     * @sample {highcharts} highcharts/demo/gauge-vu-meter/\n     *         Smaller size\n     *\n     * @type    {number|string}\n     * @product highcharts\n     */\n    size: '85%',\n    /**\n     * The inner size of the pane, either as a number defining pixels, or a\n     * percentage defining a percentage of the pane's size.\n     *\n     * @sample {highcharts} highcharts/series-polar/column-inverted-inner\n     *         The inner size set to 20%\n     *\n     * @type    {number|string}\n     * @product highcharts\n     */\n    innerSize: '0%',\n    /**\n     * The start angle of the polar X axis or gauge axis, given in degrees\n     * where 0 is north. Defaults to 0.\n     *\n     * @sample {highcharts} highcharts/demo/gauge-vu-meter/\n     *         VU-meter with custom start and end angle\n     *\n     * @since   2.3.0\n     * @product highcharts\n     */\n    startAngle: 0\n};\n/* *\n *\n *  Default Export\n *\n * */\nconst PaneDefaults = {\n    pane,\n    background\n};\n/* harmony default export */ const Pane_PaneDefaults = (PaneDefaults);\n\n;// ./code/es-modules/Extensions/Pane/Pane.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\nconst { extend, merge, splat } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * The Pane object allows options that are common to a set of X and Y axes.\n *\n * In the future, this can be extended to basic Highcharts and Highcharts Stock.\n *\n * @private\n * @class\n * @name Highcharts.Pane\n * @param {Highcharts.PaneOptions} options\n * @param {Highcharts.Chart} chart\n */\nclass Pane {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(options, chart) {\n        this.coll = 'pane'; // Member of chart.pane\n        this.init(options, chart);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initialize the Pane object\n     *\n     * @private\n     * @function Highcharts.Pane#init\n     *\n     * @param {Highcharts.PaneOptions} options\n     *\n     * @param {Highcharts.Chart} chart\n     */\n    init(options, chart) {\n        this.chart = chart;\n        this.background = [];\n        chart.pane.push(this);\n        this.setOptions(options);\n    }\n    /**\n     * @private\n     * @function Highcharts.Pane#setOptions\n     *\n     * @param {Highcharts.PaneOptions} options\n     */\n    setOptions(options) {\n        // Set options. Angular charts have a default background (#3318)\n        this.options = options = merge(Pane_PaneDefaults.pane, this.chart.angular ? { background: {} } : void 0, options);\n    }\n    /**\n     * Render the pane with its backgrounds.\n     *\n     * @private\n     * @function Highcharts.Pane#render\n     */\n    render() {\n        const options = this.options, renderer = this.chart.renderer;\n        if (!this.group) {\n            this.group = renderer.g('pane-group')\n                .attr({ zIndex: options.zIndex || 0 })\n                .add();\n        }\n        this.updateCenter();\n        let backgroundOption = this.options.background;\n        // Render the backgrounds\n        if (backgroundOption) {\n            backgroundOption = splat(backgroundOption);\n            const len = Math.max(backgroundOption.length, this.background.length || 0);\n            for (let i = 0; i < len; i++) {\n                // #6641 - if axis exists, chart is circular and apply\n                // background\n                if (backgroundOption[i] && this.axis) {\n                    this.renderBackground(merge(Pane_PaneDefaults.background, backgroundOption[i]), i);\n                }\n                else if (this.background[i]) {\n                    this.background[i] = this.background[i].destroy();\n                    this.background.splice(i, 1);\n                }\n            }\n        }\n    }\n    /**\n     * Render an individual pane background.\n     *\n     * @private\n     * @function Highcharts.Pane#renderBackground\n     *\n     * @param {Highcharts.PaneBackgroundOptions} backgroundOptions\n     *        Background options\n     *\n     * @param {number} i\n     *        The index of the background in this.backgrounds\n     */\n    renderBackground(backgroundOptions, i) {\n        const attribs = {\n            'class': 'highcharts-pane ' + (backgroundOptions.className || '')\n        };\n        let method = 'animate';\n        if (!this.chart.styledMode) {\n            extend(attribs, {\n                'fill': backgroundOptions.backgroundColor,\n                'stroke': backgroundOptions.borderColor,\n                'stroke-width': backgroundOptions.borderWidth\n            });\n        }\n        if (!this.background[i]) {\n            this.background[i] = this.chart.renderer\n                .path()\n                .add(this.group);\n            method = 'attr';\n        }\n        this.background[i][method]({\n            'd': this.axis.getPlotBandPath(backgroundOptions.from, backgroundOptions.to, backgroundOptions)\n        }).attr(attribs);\n    }\n    /**\n     * Gets the center for the pane and its axis.\n     *\n     * @private\n     * @function Highcharts.Pane#updateCenter\n     * @param {Highcharts.Axis} [axis]\n     */\n    updateCenter(axis) {\n        this.center = (axis ||\n            this.axis ||\n            {}).center = Series_CenteredUtilities.getCenter.call(this);\n    }\n    /**\n     * Destroy the pane item\n     *\n     * @ignore\n     * @private\n     * @function Highcharts.Pane#destroy\n     * /\n    destroy: function () {\n        erase(this.chart.pane, this);\n        this.background.forEach(function (background) {\n            background.destroy();\n        });\n        this.background.length = 0;\n        this.group = this.group.destroy();\n    },\n    */\n    /**\n     * Update the pane item with new options\n     *\n     * @private\n     * @function Highcharts.Pane#update\n     * @param {Highcharts.PaneOptions} options\n     *        New pane options\n     * @param {boolean} [redraw]\n     */\n    update(options, redraw) {\n        merge(true, this.options, options);\n        this.setOptions(this.options);\n        this.render();\n        this.chart.axes.forEach(function (axis) {\n            if (axis.pane === this) {\n                axis.pane = null;\n                axis.update({}, redraw);\n            }\n        }, this);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nPane.compose = Pane_PaneComposition.compose;\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Pane_Pane = (Pane);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @typedef {\"arc\"|\"circle\"|\"solid\"} Highcharts.PaneBackgroundShapeValue\n */\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/Series/AreaRange/AreaRangePoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { area: { prototype: { pointClass: AreaPoint, pointClass: { prototype: areaProto } } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { defined: AreaRangePoint_defined, isNumber: AreaRangePoint_isNumber } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass AreaRangePoint extends AreaPoint {\n    /**\n     * Range series only. The high or maximum value for each data point.\n     * @name Highcharts.Point#high\n     * @type {number|undefined}\n     */\n    /**\n     * Range series only. The low or minimum value for each data point.\n     * @name Highcharts.Point#low\n     * @type {number|undefined}\n     */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    setState() {\n        const prevState = this.state, series = this.series, isPolar = series.chart.polar;\n        if (!AreaRangePoint_defined(this.plotHigh)) {\n            // Boost doesn't calculate plotHigh\n            this.plotHigh = series.yAxis.toPixels(this.high, true);\n        }\n        if (!AreaRangePoint_defined(this.plotLow)) {\n            // Boost doesn't calculate plotLow\n            this.plotLow = this.plotY = series.yAxis.toPixels(this.low, true);\n        }\n        series.lowerStateMarkerGraphic = series.stateMarkerGraphic;\n        series.stateMarkerGraphic = series.upperStateMarkerGraphic;\n        // Change state also for the top marker\n        this.graphic = this.graphics && this.graphics[1];\n        this.plotY = this.plotHigh;\n        if (isPolar && AreaRangePoint_isNumber(this.plotHighX)) {\n            this.plotX = this.plotHighX;\n        }\n        // Top state:\n        areaProto.setState.apply(this, arguments);\n        this.state = prevState;\n        // Now restore defaults\n        this.plotY = this.plotLow;\n        this.graphic = this.graphics && this.graphics[0];\n        if (isPolar && AreaRangePoint_isNumber(this.plotLowX)) {\n            this.plotX = this.plotLowX;\n        }\n        series.upperStateMarkerGraphic = series.stateMarkerGraphic;\n        series.stateMarkerGraphic = series.lowerStateMarkerGraphic;\n        // Lower marker is stored at stateMarkerGraphic\n        // to avoid reference duplication (#7021)\n        series.lowerStateMarkerGraphic = void 0;\n        const originalSettings = series.modifyMarkerSettings();\n        // Bottom state\n        areaProto.setState.apply(this, arguments);\n        // Restore previous state\n        series.restoreMarkerSettings(originalSettings);\n    }\n    haloPath() {\n        const isPolar = this.series.chart.polar;\n        let path = [];\n        // Bottom halo\n        this.plotY = this.plotLow;\n        if (isPolar && AreaRangePoint_isNumber(this.plotLowX)) {\n            this.plotX = this.plotLowX;\n        }\n        if (this.isInside) {\n            path = areaProto.haloPath.apply(this, arguments);\n        }\n        // Top halo\n        this.plotY = this.plotHigh;\n        if (isPolar && AreaRangePoint_isNumber(this.plotHighX)) {\n            this.plotX = this.plotHighX;\n        }\n        if (this.isTopInside) {\n            path = path.concat(areaProto.haloPath.apply(this, arguments));\n        }\n        return path;\n    }\n    isValid() {\n        return AreaRangePoint_isNumber(this.low) && AreaRangePoint_isNumber(this.high);\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const AreaRange_AreaRangePoint = (AreaRangePoint);\n\n;// ./code/es-modules/Series/AreaRange/AreaRangeSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { area: AreaSeries, area: { prototype: AreaRangeSeries_areaProto }, column: { prototype: columnProto } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { addEvent: AreaRangeSeries_addEvent, defined: AreaRangeSeries_defined, extend: AreaRangeSeries_extend, isArray, isNumber: AreaRangeSeries_isNumber, pick: AreaRangeSeries_pick, merge: AreaRangeSeries_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\n/**\n * The area range series is a carteseian series with higher and lower values for\n * each point along an X axis, where the area between the values is shaded.\n *\n * @sample {highcharts} highcharts/demo/arearange/\n *         Area range chart\n * @sample {highstock} stock/demo/arearange/\n *         Area range chart\n *\n * @extends      plotOptions.area\n * @product      highcharts highstock\n * @excluding    stack, stacking\n * @requires     highcharts-more\n * @optionparent plotOptions.arearange\n *\n * @private\n */\nconst areaRangeSeriesOptions = {\n    /**\n     * @see [fillColor](#plotOptions.arearange.fillColor)\n     * @see [fillOpacity](#plotOptions.arearange.fillOpacity)\n     *\n     * @apioption plotOptions.arearange.color\n     */\n    /**\n     * @default   low\n     * @apioption plotOptions.arearange.colorKey\n     */\n    /**\n     * @see [color](#plotOptions.arearange.color)\n     * @see [fillOpacity](#plotOptions.arearange.fillOpacity)\n     *\n     * @apioption plotOptions.arearange.fillColor\n     */\n    /**\n     * @see [color](#plotOptions.arearange.color)\n     * @see [fillColor](#plotOptions.arearange.fillColor)\n     *\n     * @default   {highcharts} 0.75\n     * @default   {highstock} 0.75\n     * @apioption plotOptions.arearange.fillOpacity\n     */\n    /**\n     * Whether to apply a drop shadow to the graph line. Since 2.3 the\n     * shadow can be an object configuration containing `color`, `offsetX`,\n     * `offsetY`, `opacity` and `width`.\n     *\n     * @type      {boolean|Highcharts.ShadowOptionsObject}\n     * @product   highcharts\n     * @apioption plotOptions.arearange.shadow\n     */\n    /**\n     * Pixel width of the arearange graph line.\n     *\n     * @since 2.3.0\n     *\n     * @private\n     */\n    lineWidth: 1,\n    /**\n     * @type {number|null}\n     */\n    threshold: null,\n    tooltip: {\n        pointFormat: '<span style=\"color:{series.color}\">\\u25CF</span> ' +\n            '{series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'\n    },\n    /**\n     * Whether the whole area or just the line should respond to mouseover\n     * tooltips and other mouse or touch events.\n     *\n     * @since 2.3.0\n     *\n     * @private\n     */\n    trackByArea: true,\n    /**\n     * Extended data labels for range series types. Range series data\n     * labels use no `x` and `y` options. Instead, they have `xLow`,\n     * `xHigh`, `yLow` and `yHigh` options to allow the higher and lower\n     * data label sets individually.\n     *\n     * @declare Highcharts.SeriesAreaRangeDataLabelsOptionsObject\n     * @exclude x, y\n     * @since   2.3.0\n     * @product highcharts highstock\n     *\n     * @private\n     */\n    dataLabels: {\n        align: void 0,\n        verticalAlign: void 0,\n        /**\n         * X offset of the lower data labels relative to the point value.\n         *\n         * @sample highcharts/plotoptions/arearange-datalabels/\n         *         Data labels on range series\n         * @sample highcharts/plotoptions/arearange-datalabels/\n         *         Data labels on range series\n         */\n        xLow: 0,\n        /**\n         * X offset of the higher data labels relative to the point value.\n         *\n         * @sample highcharts/plotoptions/arearange-datalabels/\n         *         Data labels on range series\n         */\n        xHigh: 0,\n        /**\n         * Y offset of the lower data labels relative to the point value.\n         *\n         * @sample highcharts/plotoptions/arearange-datalabels/\n         *         Data labels on range series\n         */\n        yLow: 0,\n        /**\n         * Y offset of the higher data labels relative to the point value.\n         *\n         * @sample highcharts/plotoptions/arearange-datalabels/\n         *         Data labels on range series\n         */\n        yHigh: 0\n    }\n};\n/* *\n *\n *  Class\n *\n * */\n/**\n * The AreaRange series type.\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.arearange\n *\n * @augments Highcharts.Series\n */\nclass AreaRangeSeries extends AreaSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    toYData(point) {\n        return [point.low, point.high];\n    }\n    /**\n     * Translate a point's plotHigh from the internal angle and radius measures\n     * to true plotHigh coordinates. This is an addition of the toXY method\n     * found in Polar.js, because it runs too early for arearanges to be\n     * considered (#3419).\n     * @private\n     */\n    highToXY(point) {\n        // Find the polar plotX and plotY\n        const chart = this.chart, xy = this.xAxis.postTranslate(point.rectPlotX || 0, this.yAxis.len - (point.plotHigh || 0));\n        point.plotHighX = xy.x - chart.plotLeft;\n        point.plotHigh = xy.y - chart.plotTop;\n        point.plotLowX = point.plotX;\n    }\n    /**\n     * Extend the line series' getSegmentPath method by applying the segment\n     * path to both lower and higher values of the range.\n     * @private\n     */\n    getGraphPath(points) {\n        const highPoints = [], highAreaPoints = [], getGraphPath = AreaRangeSeries_areaProto.getGraphPath, options = this.options, polar = this.chart.polar, connectEnds = polar && options.connectEnds !== false, connectNulls = options.connectNulls;\n        let i, point, pointShim, step = options.step;\n        points = points || this.points;\n        // Create the top line and the top part of the area fill. The area fill\n        // compensates for null points by drawing down to the lower graph,\n        // moving across the null gap and starting again at the lower graph.\n        i = points.length;\n        while (i--) {\n            point = points[i];\n            // Support for polar\n            const highAreaPoint = polar ? {\n                plotX: point.rectPlotX,\n                plotY: point.yBottom,\n                doCurve: false // #5186, gaps in areasplinerange fill\n            } : {\n                plotX: point.plotX,\n                plotY: point.plotY,\n                doCurve: false // #5186, gaps in areasplinerange fill\n            };\n            if (!point.isNull &&\n                !connectEnds &&\n                !connectNulls &&\n                (!points[i + 1] || points[i + 1].isNull)) {\n                highAreaPoints.push(highAreaPoint);\n            }\n            pointShim = {\n                polarPlotY: point.polarPlotY,\n                rectPlotX: point.rectPlotX,\n                yBottom: point.yBottom,\n                // `plotHighX` is for polar charts\n                plotX: AreaRangeSeries_pick(point.plotHighX, point.plotX),\n                plotY: point.plotHigh,\n                isNull: point.isNull\n            };\n            highAreaPoints.push(pointShim);\n            highPoints.push(pointShim);\n            if (!point.isNull &&\n                !connectEnds &&\n                !connectNulls &&\n                (!points[i - 1] || points[i - 1].isNull)) {\n                highAreaPoints.push(highAreaPoint);\n            }\n        }\n        // Get the paths\n        const lowerPath = getGraphPath.call(this, points);\n        if (step) {\n            if (step === true) {\n                step = 'left';\n            }\n            options.step = {\n                left: 'right',\n                center: 'center',\n                right: 'left'\n            }[step]; // Swap for reading in getGraphPath\n        }\n        const higherPath = getGraphPath.call(this, highPoints);\n        const higherAreaPath = getGraphPath.call(this, highAreaPoints);\n        options.step = step;\n        // Create a line on both top and bottom of the range\n        const linePath = [].concat(lowerPath, higherPath);\n        // For the area path, we need to change the 'move' statement into\n        // 'lineTo'\n        if (!this.chart.polar &&\n            higherAreaPath[0] &&\n            higherAreaPath[0][0] === 'M') {\n            // This probably doesn't work for spline\n            higherAreaPath[0] = [\n                'L',\n                higherAreaPath[0][1],\n                higherAreaPath[0][2]\n            ];\n        }\n        this.graphPath = linePath;\n        this.areaPath = lowerPath.concat(higherAreaPath);\n        // Prepare for sideways animation\n        linePath.isArea = true;\n        linePath.xMap = lowerPath.xMap;\n        this.areaPath.xMap = lowerPath.xMap;\n        return linePath;\n    }\n    /**\n     * Extend the basic drawDataLabels method by running it for both lower and\n     * higher values.\n     * @private\n     */\n    drawDataLabels() {\n        const data = this.points, length = data.length, originalDataLabels = [], dataLabelOptions = this.options.dataLabels, inverted = this.chart.inverted;\n        let i, point, up, upperDataLabelOptions, lowerDataLabelOptions;\n        if (dataLabelOptions) {\n            // Split into upper and lower options. If data labels is an array,\n            // the first element is the upper label, the second is the lower.\n            //\n            // TODO: We want to change this and allow multiple labels for both\n            // upper and lower values in the future - introducing some options\n            // for which point value to use as Y for the dataLabel, so that this\n            // could be handled in Series.drawDataLabels. This would also\n            // improve performance since we now have to loop over all the points\n            // multiple times to work around the data label logic.\n            if (isArray(dataLabelOptions)) {\n                upperDataLabelOptions = dataLabelOptions[0] || {\n                    enabled: false\n                };\n                lowerDataLabelOptions = dataLabelOptions[1] || {\n                    enabled: false\n                };\n            }\n            else {\n                // Make copies\n                upperDataLabelOptions = AreaRangeSeries_extend({}, dataLabelOptions);\n                upperDataLabelOptions.x = dataLabelOptions.xHigh;\n                upperDataLabelOptions.y = dataLabelOptions.yHigh;\n                lowerDataLabelOptions = AreaRangeSeries_extend({}, dataLabelOptions);\n                lowerDataLabelOptions.x = dataLabelOptions.xLow;\n                lowerDataLabelOptions.y = dataLabelOptions.yLow;\n            }\n            // Draw upper labels\n            if (upperDataLabelOptions.enabled || this.hasDataLabels?.()) {\n                // Set preliminary values for plotY and dataLabel\n                // and draw the upper labels\n                i = length;\n                while (i--) {\n                    point = data[i];\n                    if (point) {\n                        const { plotHigh = 0, plotLow = 0 } = point;\n                        up = upperDataLabelOptions.inside ?\n                            plotHigh < plotLow :\n                            plotHigh > plotLow;\n                        point.y = point.high;\n                        point._plotY = point.plotY;\n                        point.plotY = plotHigh;\n                        // Store original data labels and set preliminary label\n                        // objects to be picked up in the uber method\n                        originalDataLabels[i] = point.dataLabel;\n                        point.dataLabel = point.dataLabelUpper;\n                        // Set the default offset\n                        point.below = up;\n                        if (inverted) {\n                            if (!upperDataLabelOptions.align) {\n                                upperDataLabelOptions.align = up ?\n                                    'right' : 'left';\n                            }\n                        }\n                        else {\n                            if (!upperDataLabelOptions.verticalAlign) {\n                                upperDataLabelOptions.verticalAlign = up ?\n                                    'top' :\n                                    'bottom';\n                            }\n                        }\n                    }\n                }\n                this.options.dataLabels = upperDataLabelOptions;\n                if (AreaRangeSeries_areaProto.drawDataLabels) {\n                    // #1209:\n                    AreaRangeSeries_areaProto.drawDataLabels.apply(this, arguments);\n                }\n                // Reset state after the upper labels were created. Move\n                // it to point.dataLabelUpper and reassign the originals.\n                // We do this here to support not drawing a lower label.\n                i = length;\n                while (i--) {\n                    point = data[i];\n                    if (point) {\n                        point.dataLabelUpper = point.dataLabel;\n                        point.dataLabel = originalDataLabels[i];\n                        delete point.dataLabels;\n                        point.y = point.low;\n                        point.plotY = point._plotY;\n                    }\n                }\n            }\n            // Draw lower labels\n            if (lowerDataLabelOptions.enabled || this.hasDataLabels?.()) {\n                i = length;\n                while (i--) {\n                    point = data[i];\n                    if (point) {\n                        const { plotHigh = 0, plotLow = 0 } = point;\n                        up = lowerDataLabelOptions.inside ?\n                            plotHigh < plotLow :\n                            plotHigh > plotLow;\n                        // Set the default offset\n                        point.below = !up;\n                        if (inverted) {\n                            if (!lowerDataLabelOptions.align) {\n                                lowerDataLabelOptions.align = up ?\n                                    'left' : 'right';\n                            }\n                        }\n                        else {\n                            if (!lowerDataLabelOptions.verticalAlign) {\n                                lowerDataLabelOptions.verticalAlign = up ?\n                                    'bottom' :\n                                    'top';\n                            }\n                        }\n                    }\n                }\n                this.options.dataLabels = lowerDataLabelOptions;\n                if (AreaRangeSeries_areaProto.drawDataLabels) {\n                    AreaRangeSeries_areaProto.drawDataLabels.apply(this, arguments);\n                }\n            }\n            // Merge upper and lower into point.dataLabels for later destroying\n            if (upperDataLabelOptions.enabled) {\n                i = length;\n                while (i--) {\n                    point = data[i];\n                    if (point) {\n                        point.dataLabels = [\n                            point.dataLabelUpper,\n                            point.dataLabel\n                        ].filter(function (label) {\n                            return !!label;\n                        });\n                    }\n                }\n            }\n            // Reset options\n            this.options.dataLabels = dataLabelOptions;\n        }\n    }\n    alignDataLabel() {\n        columnProto.alignDataLabel.apply(this, arguments);\n    }\n    modifyMarkerSettings() {\n        const series = this, originalMarkerSettings = {\n            marker: series.options.marker,\n            symbol: series.symbol\n        };\n        if (series.options.lowMarker) {\n            const { options: { marker, lowMarker } } = series;\n            series.options.marker = AreaRangeSeries_merge(marker, lowMarker);\n            if (lowMarker.symbol) {\n                series.symbol = lowMarker.symbol;\n            }\n        }\n        return originalMarkerSettings;\n    }\n    restoreMarkerSettings(originalSettings) {\n        const series = this;\n        series.options.marker = originalSettings.marker;\n        series.symbol = originalSettings.symbol;\n    }\n    drawPoints() {\n        const series = this, pointLength = series.points.length;\n        let i, point;\n        const originalSettings = series.modifyMarkerSettings();\n        // Draw bottom points\n        AreaRangeSeries_areaProto.drawPoints.apply(series, arguments);\n        // Restore previous state\n        series.restoreMarkerSettings(originalSettings);\n        // Prepare drawing top points\n        i = 0;\n        while (i < pointLength) {\n            point = series.points[i];\n            /**\n             * Array for multiple SVG graphics representing the point in the\n             * chart. Only used in cases where the point can not be represented\n             * by a single graphic.\n             *\n             * @see Highcharts.Point#graphic\n             *\n             * @name Highcharts.Point#graphics\n             * @type {Array<Highcharts.SVGElement>|undefined}\n             */\n            point.graphics = point.graphics || [];\n            // Save original props to be overridden by temporary props for top\n            // points\n            point.origProps = {\n                plotY: point.plotY,\n                plotX: point.plotX,\n                isInside: point.isInside,\n                negative: point.negative,\n                zone: point.zone,\n                y: point.y\n            };\n            if (point.graphic || point.graphics[0]) {\n                point.graphics[0] = point.graphic;\n            }\n            point.graphic = point.graphics[1];\n            point.plotY = point.plotHigh;\n            if (AreaRangeSeries_defined(point.plotHighX)) {\n                point.plotX = point.plotHighX;\n            }\n            point.y = AreaRangeSeries_pick(point.high, point.origProps.y); // #15523\n            point.negative = point.y < (series.options.threshold || 0);\n            if (series.zones.length) {\n                point.zone = point.getZone();\n            }\n            if (!series.chart.polar) {\n                point.isInside = point.isTopInside = (typeof point.plotY !== 'undefined' &&\n                    point.plotY >= 0 &&\n                    point.plotY <= series.yAxis.len && // #3519\n                    point.plotX >= 0 &&\n                    point.plotX <= series.xAxis.len);\n            }\n            i++;\n        }\n        // Draw top points\n        AreaRangeSeries_areaProto.drawPoints.apply(series, arguments);\n        // Reset top points preliminary modifications\n        i = 0;\n        while (i < pointLength) {\n            point = series.points[i];\n            point.graphics = point.graphics || [];\n            if (point.graphic || point.graphics[1]) {\n                point.graphics[1] = point.graphic;\n            }\n            point.graphic = point.graphics[0];\n            if (point.origProps) {\n                AreaRangeSeries_extend(point, point.origProps);\n                delete point.origProps;\n            }\n            i++;\n        }\n    }\n    hasMarkerChanged(options, oldOptions) {\n        const lowMarker = options.lowMarker, oldMarker = oldOptions.lowMarker || {};\n        return (lowMarker && (lowMarker.enabled === false ||\n            oldMarker.symbol !== lowMarker.symbol || // #10870, #15946\n            oldMarker.height !== lowMarker.height || // #16274\n            oldMarker.width !== lowMarker.width // #16274\n        )) || super.hasMarkerChanged(options, oldOptions);\n    }\n}\n/**\n *\n *  Static Properties\n *\n */\nAreaRangeSeries.defaultOptions = AreaRangeSeries_merge(AreaSeries.defaultOptions, areaRangeSeriesOptions);\nAreaRangeSeries_addEvent(AreaRangeSeries, 'afterTranslate', function () {\n    // Set plotLow and plotHigh\n    // Rules out lollipop, but lollipop should not inherit range series in the\n    // first place\n    if (this.pointArrayMap.join(',') === 'low,high') {\n        this.points.forEach((point) => {\n            const high = point.high, plotY = point.plotY;\n            if (point.isNull) {\n                point.plotY = void 0;\n            }\n            else {\n                point.plotLow = plotY;\n                // Calculate plotHigh value based on each yAxis scale (#15752)\n                point.plotHigh = AreaRangeSeries_isNumber(high) ? this.yAxis.translate(this.dataModify ?\n                    this.dataModify.modifyValue(high) : high, false, true, void 0, true) : void 0;\n                if (this.dataModify) {\n                    point.yBottom = point.plotHigh;\n                }\n            }\n        });\n    }\n}, { order: 0 });\nAreaRangeSeries_addEvent(AreaRangeSeries, 'afterTranslate', function () {\n    this.points.forEach((point) => {\n        // Postprocessing after the PolarComposition's afterTranslate\n        if (this.chart.polar) {\n            this.highToXY(point);\n            point.plotLow = point.plotY;\n            point.tooltipPos = [\n                ((point.plotHighX || 0) + (point.plotLowX || 0)) / 2,\n                ((point.plotHigh || 0) + (point.plotLow || 0)) / 2\n            ];\n            // Put the tooltip in the middle of the range\n        }\n        else {\n            const tooltipPos = point.pos(false, point.plotLow), posHigh = point.pos(false, point.plotHigh);\n            if (tooltipPos && posHigh) {\n                tooltipPos[0] = (tooltipPos[0] + posHigh[0]) / 2;\n                tooltipPos[1] = (tooltipPos[1] + posHigh[1]) / 2;\n            }\n            point.tooltipPos = tooltipPos;\n        }\n    });\n}, { order: 3 });\nAreaRangeSeries_extend(AreaRangeSeries.prototype, {\n    deferTranslatePolar: true,\n    pointArrayMap: ['low', 'high'],\n    pointClass: AreaRange_AreaRangePoint,\n    pointValKey: 'low',\n    setStackedPoints: noop\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('arearange', AreaRangeSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const AreaRange_AreaRangeSeries = (AreaRangeSeries);\n\n;// ./code/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { spline: { prototype: splineProto } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { merge: AreaSplineRangeSeries_merge, extend: AreaSplineRangeSeries_extend } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * The areasplinerange series type.\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.areasplinerange\n *\n * @augments Highcharts.Series\n */\nclass AreaSplineRangeSeries extends AreaRange_AreaRangeSeries {\n}\n/* *\n *\n *  Static Properties\n *\n * */\nAreaSplineRangeSeries.defaultOptions = AreaSplineRangeSeries_merge(AreaRange_AreaRangeSeries.defaultOptions);\nAreaSplineRangeSeries_extend(AreaSplineRangeSeries.prototype, {\n    getPointSpline: splineProto.getPointSpline\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('areasplinerange', AreaSplineRangeSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const AreaSplineRange_AreaSplineRangeSeries = ((/* unused pure expression or super */ null && (AreaSplineRangeSeries)));\n/* *\n *\n *  API Options\n *\n * */\n/**\n * The area spline range is a cartesian series type with higher and\n * lower Y values along an X axis. The area inside the range is colored, and\n * the graph outlining the area is a smoothed spline.\n *\n * @sample {highstock|highstock} stock/demo/areasplinerange/\n *         Area spline range\n *\n * @extends   plotOptions.arearange\n * @since     2.3.0\n * @excluding step, boostThreshold, boostBlending\n * @product   highcharts highstock\n * @requires  highcharts-more\n * @apioption plotOptions.areasplinerange\n */\n/**\n * @see [fillColor](#plotOptions.areasplinerange.fillColor)\n * @see [fillOpacity](#plotOptions.areasplinerange.fillOpacity)\n *\n * @apioption plotOptions.areasplinerange.color\n */\n/**\n * @see [color](#plotOptions.areasplinerange.color)\n * @see [fillOpacity](#plotOptions.areasplinerange.fillOpacity)\n *\n * @apioption plotOptions.areasplinerange.fillColor\n */\n/**\n * @see [color](#plotOptions.areasplinerange.color)\n * @see [fillColor](#plotOptions.areasplinerange.fillColor)\n *\n * @default   0.75\n * @apioption plotOptions.areasplinerange.fillOpacity\n */\n/**\n * A `areasplinerange` series. If the [type](#series.areasplinerange.type)\n * option is not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.areasplinerange\n * @excluding dataParser, dataURL, stack, step, boostThreshold, boostBlending\n * @product   highcharts highstock\n * @requires  highcharts-more\n * @apioption series.areasplinerange\n */\n/**\n * @see [fillColor](#series.areasplinerange.fillColor)\n * @see [fillOpacity](#series.areasplinerange.fillOpacity)\n *\n * @apioption series.areasplinerange.color\n */\n/**\n * An array of data points for the series. For the `areasplinerange`\n * series type, points can be given in the following ways:\n *\n * 1. An array of arrays with 3 or 2 values. In this case, the values correspond\n *    to `x,low,high`. If the first value is a string, it is applied as the name\n *    of the point, and the `x` value is inferred. The `x` value can also be\n *    omitted, in which case the inner arrays should be of length 2\\. Then the\n *    `x` value is automatically calculated, either starting at 0 and\n *    incremented by 1, or from `pointStart` and `pointInterval` given in the\n *    series options.\n *    ```js\n *    data: [\n *        [0, 0, 5],\n *        [1, 9, 1],\n *        [2, 5, 2]\n *    ]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.areasplinerange.turboThreshold), this option is\n *    not available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        low: 5,\n *        high: 0,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        low: 4,\n *        high: 1,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}\n * @extends   series.arearange.data\n * @product   highcharts highstock\n * @apioption series.areasplinerange.data\n */\n/**\n * @see [color](#series.areasplinerange.color)\n * @see [fillOpacity](#series.areasplinerange.fillOpacity)\n *\n * @apioption series.areasplinerange.fillColor\n */\n/**\n * @see [color](#series.areasplinerange.color)\n * @see [fillColor](#series.areasplinerange.fillColor)\n *\n * @default   0.75\n * @apioption series.areasplinerange.fillOpacity\n */\n''; // Adds doclets above to transpiled file\n\n;// ./code/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A box plot is a convenient way of depicting groups of data through their\n * five-number summaries: the smallest observation (sample minimum), lower\n * quartile (Q1), median (Q2), upper quartile (Q3), and largest observation\n * (sample maximum).\n *\n * @sample highcharts/demo/box-plot/\n *         Box plot\n * @sample {highcharts} highcharts/css/boxplot/\n *         Box plot in styled mode\n * @sample {highcharts} highcharts/series-scatter/jitter-boxplot\n *         Jittered scatter plot on top of a box plot\n *\n * @extends      plotOptions.column\n * @excluding    borderColor, borderRadius, borderWidth, groupZPadding,\n *               states, boostThreshold, boostBlending\n * @product      highcharts\n * @requires     highcharts-more\n * @optionparent plotOptions.boxplot\n */\nconst BoxPlotSeriesDefaults = {\n    /**\n     * @type {number|null}\n     */\n    threshold: null,\n    tooltip: {\n        pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> <b>' +\n            '{series.name}</b><br/>' +\n            'Maximum: {point.high}<br/>' +\n            'Upper quartile: {point.q3}<br/>' +\n            'Median: {point.median}<br/>' +\n            'Lower quartile: {point.q1}<br/>' +\n            'Minimum: {point.low}<br/>'\n    },\n    /**\n     * The length of the whiskers, the horizontal lines marking low and\n     * high values. It can be a numerical pixel value, or a percentage\n     * value of the box width. Set `0` to disable whiskers.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     *\n     * @type    {number|string}\n     * @since   3.0\n     * @product highcharts\n     */\n    whiskerLength: '50%',\n    /**\n     * The fill color of the box.\n     *\n     * In styled mode, the fill color can be set with the\n     * `.highcharts-boxplot-box` class.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default #ffffff\n     * @since   3.0\n     * @product highcharts\n     */\n    fillColor: \"#ffffff\" /* Palette.backgroundColor */,\n    /**\n     * The width of the line surrounding the box. If any of\n     * [stemWidth](#plotOptions.boxplot.stemWidth),\n     * [medianWidth](#plotOptions.boxplot.medianWidth)\n     * or [whiskerWidth](#plotOptions.boxplot.whiskerWidth) are `null`,\n     * the lineWidth also applies to these lines.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/plotoptions/error-bar-styling/\n     *         Error bar styling\n     *\n     * @since   3.0\n     * @product highcharts\n     */\n    lineWidth: 1,\n    /**\n     * The color of the median line. If `undefined`, the general series\n     * color applies.\n     *\n     * In styled mode, the median stroke width can be set with the\n     * `.highcharts-boxplot-median` class.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     * @sample {highcharts} highcharts/plotoptions/error-bar-styling/\n     *         Error bar styling\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject}\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.boxplot.medianColor\n     */\n    /**\n     * The pixel width of the median line. If `null`, the\n     * [lineWidth](#plotOptions.boxplot.lineWidth) is used.\n     *\n     * In styled mode, the median stroke width can be set with the\n     * `.highcharts-boxplot-median` class.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     *\n     * @type    {number|null}\n     * @since   3.0\n     * @product highcharts\n     */\n    medianWidth: 2,\n    /*\n    // States are not working and are removed from docs.\n    // Refer to: #2340\n    states: {\n        hover: {\n            brightness: -0.3\n        }\n    },\n    */\n    /**\n     * The color of the stem, the vertical line extending from the box to\n     * the whiskers. If `undefined`, the series color is used.\n     *\n     * In styled mode, the stem stroke can be set with the\n     * `.highcharts-boxplot-stem` class.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     * @sample {highcharts} highcharts/plotoptions/error-bar-styling/\n     *         Error bar styling\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.boxplot.stemColor\n     */\n    /**\n     * The dash style of the box.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     *\n     * @type      {Highcharts.DashStyleValue}\n     * @default   Solid\n     * @since 8.1.0\n     * @product   highcharts\n     * @apioption plotOptions.boxplot.boxDashStyle\n     */\n    /**\n     * The dash style of the median.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     *\n     * @type      {Highcharts.DashStyleValue}\n     * @default   Solid\n     * @since 8.1.0\n     * @product   highcharts\n     * @apioption plotOptions.boxplot.medianDashStyle\n     */\n    /**\n     * The dash style of the stem, the vertical line extending from the\n     * box to the whiskers.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     * @sample {highcharts} highcharts/plotoptions/error-bar-styling/\n     *         Error bar styling\n     *\n     * @type      {Highcharts.DashStyleValue}\n     * @default   Solid\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.boxplot.stemDashStyle\n     */\n    /**\n     * The dash style of the whiskers.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     *\n     * @type      {Highcharts.DashStyleValue}\n     * @default   Solid\n     * @since 8.1.0\n     * @product   highcharts\n     * @apioption plotOptions.boxplot.whiskerDashStyle\n     */\n    /**\n     * The width of the stem, the vertical line extending from the box to\n     * the whiskers. If `undefined`, the width is inherited from the\n     * [lineWidth](#plotOptions.boxplot.lineWidth) option.\n     *\n     * In styled mode, the stem stroke width can be set with the\n     * `.highcharts-boxplot-stem` class.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     * @sample {highcharts} highcharts/plotoptions/error-bar-styling/\n     *         Error bar styling\n     *\n     * @type      {number}\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.boxplot.stemWidth\n     */\n    /**\n     * @default   high\n     * @apioption plotOptions.boxplot.colorKey\n     */\n    /**\n     * The color of the whiskers, the horizontal lines marking low and high\n     * values. When `undefined`, the general series color is used.\n     *\n     * In styled mode, the whisker stroke can be set with the\n     * `.highcharts-boxplot-whisker` class .\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.boxplot.whiskerColor\n     */\n    /**\n     * The line width of the whiskers, the horizontal lines marking low and\n     * high values. When `undefined`, the general\n     * [lineWidth](#plotOptions.boxplot.lineWidth) applies.\n     *\n     * In styled mode, the whisker stroke width can be set with the\n     * `.highcharts-boxplot-whisker` class.\n     *\n     * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n     *         Box plot styling\n     * @sample {highcharts} highcharts/css/boxplot/\n     *         Box plot in styled mode\n     *\n     * @since   3.0\n     * @product highcharts\n     */\n    whiskerWidth: 2\n};\n/**\n * A `boxplot` series. If the [type](#series.boxplot.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.boxplot\n * @excluding dataParser, dataURL, marker, stack, stacking, states,\n *            boostThreshold, boostBlending\n * @product   highcharts\n * @requires  highcharts-more\n * @apioption series.boxplot\n */\n/**\n * An array of data points for the series. For the `boxplot` series\n * type, points can be given in the following ways:\n *\n * 1. An array of arrays with 6 or 5 values. In this case, the values correspond\n *    to `x,low,q1,median,q3,high`. If the first value is a string, it is\n *    applied as the name of the point, and the `x` value is inferred. The `x`\n *    value can also be omitted, in which case the inner arrays should be of\n *    length 5. Then the `x` value is automatically calculated, either starting\n *    at 0 and incremented by 1, or from `pointStart` and `pointInterval` given\n *    in the series options.\n *    ```js\n *    data: [\n *        [0, 3, 0, 10, 3, 5],\n *        [1, 7, 8, 7, 2, 9],\n *        [2, 6, 9, 5, 1, 3]\n *    ]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.boxplot.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        low: 4,\n *        q1: 9,\n *        median: 9,\n *        q3: 1,\n *        high: 10,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        low: 5,\n *        q1: 7,\n *        median: 3,\n *        q3: 6,\n *        high: 2,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<(number|string),number,number,number,number>|Array<(number|string),number,number,number,number,number>|*>}\n * @extends   series.line.data\n * @excluding marker\n * @product   highcharts\n * @apioption series.boxplot.data\n */\n/**\n * The `high` value for each data point, signifying the highest value\n * in the sample set. The top whisker is drawn here.\n *\n * @type      {number}\n * @product   highcharts\n * @apioption series.boxplot.data.high\n */\n/**\n * The `low` value for each data point, signifying the lowest value\n * in the sample set. The bottom whisker is drawn here.\n *\n * @type      {number}\n * @product   highcharts\n * @apioption series.boxplot.data.low\n */\n/**\n * The median for each data point. This is drawn as a line through the\n * middle area of the box.\n *\n * @type      {number}\n * @product   highcharts\n * @apioption series.boxplot.data.median\n */\n/**\n * The lower quartile for each data point. This is the bottom of the\n * box.\n *\n * @type      {number}\n * @product   highcharts\n * @apioption series.boxplot.data.q1\n */\n/**\n * The higher quartile for each data point. This is the top of the box.\n *\n * @type      {number}\n * @product   highcharts\n * @apioption series.boxplot.data.q3\n */\n/**\n * The dash style of the box.\n *\n * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n *         Box plot styling\n * @sample {highcharts} highcharts/css/boxplot/\n *         Box plot in styled mode\n *\n * @type      {Highcharts.DashStyleValue}\n * @default   Solid\n * @since 8.1.0\n * @product   highcharts\n * @apioption series.boxplot.data.boxDashStyle\n */\n/**\n * The dash style of the median.\n *\n * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n *         Box plot styling\n * @sample {highcharts} highcharts/css/boxplot/\n *         Box plot in styled mode\n *\n * @type      {Highcharts.DashStyleValue}\n * @default   Solid\n * @since 8.1.0\n * @product   highcharts\n * @apioption series.boxplot.data.medianDashStyle\n */\n/**\n * The dash style of the stem.\n *\n * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n *         Box plot styling\n * @sample {highcharts} highcharts/css/boxplot/\n *         Box plot in styled mode\n *\n * @type      {Highcharts.DashStyleValue}\n * @default   Solid\n * @since 8.1.0\n * @product   highcharts\n * @apioption series.boxplot.data.stemDashStyle\n */\n/**\n * The dash style of the whiskers.\n *\n * @sample {highcharts} highcharts/plotoptions/box-plot-styling/\n *         Box plot styling\n * @sample {highcharts} highcharts/css/boxplot/\n *         Box plot in styled mode\n *\n * @type      {Highcharts.DashStyleValue}\n * @default   Solid\n * @since 8.1.0\n * @product   highcharts\n * @apioption series.boxplot.data.whiskerDashStyle\n */\n''; // Keeps doclets above separate\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const BoxPlot_BoxPlotSeriesDefaults = (BoxPlotSeriesDefaults);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Series\",\"types\",\"column\"],\"commonjs\":[\"highcharts\",\"Series\",\"types\",\"column\"],\"commonjs2\":[\"highcharts\",\"Series\",\"types\",\"column\"],\"root\":[\"Highcharts\",\"Series\",\"types\",\"column\"]}\nvar highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_ = __webpack_require__(448);\nvar highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_default = /*#__PURE__*/__webpack_require__.n(highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_);\n;// ./code/es-modules/Series/BoxPlot/BoxPlotSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { noop: BoxPlotSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { crisp, extend: BoxPlotSeries_extend, merge: BoxPlotSeries_merge, pick: BoxPlotSeries_pick, relativeLength: BoxPlotSeries_relativeLength } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * The boxplot series type.\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes#boxplot\n *\n * @augments Highcharts.Series\n */\nclass BoxPlotSeries extends (highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_default()) {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    // Get presentational attributes\n    pointAttribs() {\n        // No attributes should be set on point.graphic which is the group\n        return {};\n    }\n    // Get an SVGPath object for both whiskers\n    getWhiskerPair(halfWidth, stemX, upperWhiskerLength, lowerWhiskerLength, point) {\n        const strokeWidth = point.whiskers.strokeWidth(), getWhisker = (xLen, yPos) => {\n            const halfLen = BoxPlotSeries_relativeLength(xLen, 2 * halfWidth) / 2, crispedYPos = crisp(yPos, strokeWidth);\n            return [\n                [\n                    'M',\n                    crisp(stemX - halfLen),\n                    crispedYPos\n                ],\n                [\n                    'L',\n                    crisp(stemX + halfLen),\n                    crispedYPos\n                ]\n            ];\n        };\n        return [\n            ...getWhisker(upperWhiskerLength, point.highPlot),\n            ...getWhisker(lowerWhiskerLength, point.lowPlot)\n        ];\n    }\n    // Translate data points from raw values x and y to plotX and plotY\n    translate() {\n        const series = this, yAxis = series.yAxis, pointArrayMap = series.pointArrayMap;\n        super.translate.apply(series);\n        // Do the translation on each point dimension\n        series.points.forEach(function (point) {\n            pointArrayMap.forEach(function (key) {\n                if (point[key] !== null) {\n                    point[key + 'Plot'] = yAxis.translate(point[key], 0, 1, 0, 1);\n                }\n            });\n            point.plotHigh = point.highPlot; // For data label validation\n        });\n    }\n    /**\n     * Draw the data points\n     * @private\n     */\n    drawPoints() {\n        const series = this, points = series.points, options = series.options, chart = series.chart, renderer = chart.renderer, \n        // Error bar inherits this series type but doesn't do quartiles\n        doQuartiles = series.doQuartiles !== false, whiskerLength = series.options.whiskerLength;\n        let q1Plot, q3Plot, highPlot, lowPlot, medianPlot, medianPath, boxPath, graphic, width, x, right;\n        for (const point of points) {\n            graphic = point.graphic;\n            const verb = graphic ? 'animate' : 'attr', shapeArgs = point.shapeArgs, boxAttr = {}, stemAttr = {}, whiskersAttr = {}, medianAttr = {}, color = point.color || series.color, pointWhiskerLength = (point.options.whiskerLength ||\n                whiskerLength);\n            if (typeof point.plotY !== 'undefined') {\n                // Vector coordinates\n                width = shapeArgs.width;\n                x = shapeArgs.x;\n                right = x + width;\n                q1Plot = doQuartiles ? point.q1Plot : point.lowPlot;\n                q3Plot = doQuartiles ? point.q3Plot : point.lowPlot;\n                highPlot = point.highPlot;\n                lowPlot = point.lowPlot;\n                if (!graphic) {\n                    point.graphic = graphic = renderer.g('point')\n                        .add(series.group);\n                    point.stem = renderer.path()\n                        .addClass('highcharts-boxplot-stem')\n                        .add(graphic);\n                    if (whiskerLength) {\n                        point.whiskers = renderer.path()\n                            .addClass('highcharts-boxplot-whisker')\n                            .add(graphic);\n                    }\n                    if (doQuartiles) {\n                        point.box = renderer.path(boxPath)\n                            .addClass('highcharts-boxplot-box')\n                            .add(graphic);\n                    }\n                    point.medianShape = renderer.path(medianPath)\n                        .addClass('highcharts-boxplot-median')\n                        .add(graphic);\n                }\n                if (!chart.styledMode) {\n                    // Stem attributes\n                    stemAttr.stroke =\n                        point.stemColor || options.stemColor || color;\n                    stemAttr['stroke-width'] = BoxPlotSeries_pick(point.stemWidth, options.stemWidth, options.lineWidth);\n                    stemAttr.dashstyle = (point.stemDashStyle ||\n                        options.stemDashStyle ||\n                        options.dashStyle);\n                    point.stem.attr(stemAttr);\n                    // Whiskers attributes\n                    if (pointWhiskerLength) {\n                        whiskersAttr.stroke = (point.whiskerColor ||\n                            options.whiskerColor ||\n                            color);\n                        whiskersAttr['stroke-width'] = BoxPlotSeries_pick(point.whiskerWidth, options.whiskerWidth, options.lineWidth);\n                        whiskersAttr.dashstyle = (point.whiskerDashStyle ||\n                            options.whiskerDashStyle ||\n                            options.dashStyle);\n                        point.whiskers.attr(whiskersAttr);\n                    }\n                    if (doQuartiles) {\n                        boxAttr.fill = (point.fillColor ||\n                            options.fillColor ||\n                            color);\n                        boxAttr.stroke = options.lineColor || color;\n                        boxAttr['stroke-width'] = options.lineWidth || 0;\n                        boxAttr.dashstyle = (point.boxDashStyle ||\n                            options.boxDashStyle ||\n                            options.dashStyle);\n                        point.box.attr(boxAttr);\n                    }\n                    // Median attributes\n                    medianAttr.stroke = (point.medianColor ||\n                        options.medianColor ||\n                        color);\n                    medianAttr['stroke-width'] = BoxPlotSeries_pick(point.medianWidth, options.medianWidth, options.lineWidth);\n                    medianAttr.dashstyle = (point.medianDashStyle ||\n                        options.medianDashStyle ||\n                        options.dashStyle);\n                    point.medianShape.attr(medianAttr);\n                }\n                let d;\n                // The stem\n                const stemX = crisp((point.plotX || 0) + (series.pointXOffset || 0) +\n                    ((series.barW || 0) / 2), point.stem.strokeWidth());\n                d = [\n                    // Stem up\n                    ['M', stemX, q3Plot],\n                    ['L', stemX, highPlot],\n                    // Stem down\n                    ['M', stemX, q1Plot],\n                    ['L', stemX, lowPlot]\n                ];\n                point.stem[verb]({ d });\n                // The box\n                if (doQuartiles) {\n                    const boxStrokeWidth = point.box.strokeWidth();\n                    q1Plot = crisp(q1Plot, boxStrokeWidth);\n                    q3Plot = crisp(q3Plot, boxStrokeWidth);\n                    x = crisp(x, boxStrokeWidth);\n                    right = crisp(right, boxStrokeWidth);\n                    d = [\n                        ['M', x, q3Plot],\n                        ['L', x, q1Plot],\n                        ['L', right, q1Plot],\n                        ['L', right, q3Plot],\n                        ['L', x, q3Plot],\n                        ['Z']\n                    ];\n                    point.box[verb]({ d });\n                }\n                // The whiskers\n                if (pointWhiskerLength) {\n                    const halfWidth = width / 2, whiskers = this.getWhiskerPair(halfWidth, stemX, (point.upperWhiskerLength ??\n                        options.upperWhiskerLength ??\n                        pointWhiskerLength), (point.lowerWhiskerLength ??\n                        options.lowerWhiskerLength ??\n                        pointWhiskerLength), point);\n                    point.whiskers[verb]({ d: whiskers });\n                }\n                // The median\n                medianPlot = crisp(point.medianPlot, point.medianShape.strokeWidth());\n                d = [\n                    ['M', x, medianPlot],\n                    ['L', right, medianPlot]\n                ];\n                point.medianShape[verb]({ d });\n            }\n        }\n    }\n    // Return a plain array for speedy calculation\n    toYData(point) {\n        return [point.low, point.q1, point.median, point.q3, point.high];\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nBoxPlotSeries.defaultOptions = BoxPlotSeries_merge((highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_default()).defaultOptions, BoxPlot_BoxPlotSeriesDefaults);\nBoxPlotSeries_extend(BoxPlotSeries.prototype, {\n    // Array point configs are mapped to this\n    pointArrayMap: ['low', 'q1', 'median', 'q3', 'high'],\n    // Defines the top of the tracker\n    pointValKey: 'high',\n    // Disable data labels for box plot\n    drawDataLabels: BoxPlotSeries_noop,\n    setStackedPoints: BoxPlotSeries_noop // #3890\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('boxplot', BoxPlotSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const BoxPlot_BoxPlotSeries = (BoxPlotSeries);\n\n;// ./code/es-modules/Series/Bubble/BubbleLegendDefaults.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  Author: Paweł Potaczek\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Constants\n *\n * */\n/**\n * The bubble legend is an additional element in legend which\n * presents the scale of the bubble series. Individual bubble ranges\n * can be defined by user or calculated from series. In the case of\n * automatically calculated ranges, a 1px margin of error is\n * permitted.\n *\n * @since        7.0.0\n * @product      highcharts highstock highmaps\n * @requires     highcharts-more\n * @optionparent legend.bubbleLegend\n */\nconst BubbleLegendDefaults = {\n    /**\n     * The color of the ranges borders, can be also defined for an\n     * individual range.\n     *\n     * @sample highcharts/bubble-legend/similartoseries/\n     *         Similar look to the bubble series\n     * @sample highcharts/bubble-legend/bordercolor/\n     *         Individual bubble border color\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    borderColor: void 0,\n    /**\n     * The width of the ranges borders in pixels, can be also\n     * defined for an individual range.\n     */\n    borderWidth: 2,\n    /**\n     * An additional class name to apply to the bubble legend'\n     * circle graphical elements. This option does not replace\n     * default class names of the graphical element.\n     *\n     * @sample {highcharts} highcharts/css/bubble-legend/\n     *         Styling by CSS\n     *\n     * @type {string}\n     */\n    className: void 0,\n    /**\n     * The main color of the bubble legend. Applies to ranges, if\n     * individual color is not defined.\n     *\n     * @sample highcharts/bubble-legend/similartoseries/\n     *         Similar look to the bubble series\n     * @sample highcharts/bubble-legend/color/\n     *         Individual bubble color\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    color: void 0,\n    /**\n     * An additional class name to apply to the bubble legend's\n     * connector graphical elements. This option does not replace\n     * default class names of the graphical element.\n     *\n     * @sample {highcharts} highcharts/css/bubble-legend/\n     *         Styling by CSS\n     *\n     * @type {string}\n     */\n    connectorClassName: void 0,\n    /**\n     * The color of the connector, can be also defined\n     * for an individual range.\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    connectorColor: void 0,\n    /**\n     * The length of the connectors in pixels. If labels are\n     * centered, the distance is reduced to 0.\n     *\n     * @sample highcharts/bubble-legend/connectorandlabels/\n     *         Increased connector length\n     */\n    connectorDistance: 60,\n    /**\n     * The width of the connectors in pixels.\n     *\n     * @sample highcharts/bubble-legend/connectorandlabels/\n     *         Increased connector width\n     */\n    connectorWidth: 1,\n    /**\n     * Enable or disable the bubble legend.\n     */\n    enabled: false,\n    /**\n     * Options for the bubble legend labels.\n     */\n    labels: {\n        /**\n         * An additional class name to apply to the bubble legend\n         * label graphical elements. This option does not replace\n         * default class names of the graphical element.\n         *\n         * @sample {highcharts} highcharts/css/bubble-legend/\n         *         Styling by CSS\n         *\n         * @type {string}\n         */\n        className: void 0,\n        /**\n         * Whether to allow data labels to overlap.\n         */\n        allowOverlap: false,\n        /**\n         * A format string for the bubble legend labels. Available\n         * variables are the same as for `formatter`.\n         *\n         * @sample highcharts/bubble-legend/format/\n         *         Add a unit\n         *\n         * @type {string}\n         */\n        format: '',\n        /**\n         * Available `this` properties are:\n         *\n         * - `this.value`: The bubble value.\n         *\n         * - `this.radius`: The radius of the bubble range.\n         *\n         * - `this.center`: The center y position of the range.\n         *\n         * @type {Highcharts.FormatterCallbackFunction<Highcharts.BubbleLegendFormatterContextObject>}\n         */\n        formatter: void 0,\n        /**\n         * The alignment of the labels compared to the bubble\n         * legend. Can be one of `left`, `center` or `right`.\n         *\n         * @sample highcharts/bubble-legend/connectorandlabels/\n         *         Labels on left\n         *\n         * @type {Highcharts.AlignValue}\n         */\n        align: 'right',\n        /**\n         * CSS styles for the labels.\n         *\n         * @type {Highcharts.CSSObject}\n         */\n        style: {\n            /** @ignore-option */\n            fontSize: '0.9em',\n            /** @ignore-option */\n            color: \"#000000\" /* Palette.neutralColor100 */\n        },\n        /**\n         * The x position offset of the label relative to the\n         * connector.\n         */\n        x: 0,\n        /**\n         * The y position offset of the label relative to the\n         * connector.\n         */\n        y: 0\n    },\n    /**\n     * Maximum bubble legend range size. If values for ranges are\n     * not specified, the `minSize` and the `maxSize` are calculated\n     * from bubble series.\n     */\n    maxSize: 60, // Number\n    /**\n     * Minimum bubble legend range size. If values for ranges are\n     * not specified, the `minSize` and the `maxSize` are calculated\n     * from bubble series.\n     */\n    minSize: 10, // Number\n    /**\n     * The position of the bubble legend in the legend.\n     * @sample highcharts/bubble-legend/connectorandlabels/\n     *         Bubble legend as last item in legend\n     */\n    legendIndex: 0, // Number\n    /**\n     * Options for specific range. One range consists of bubble,\n     * label and connector.\n     *\n     * @sample highcharts/bubble-legend/ranges/\n     *         Manually defined ranges\n     * @sample highcharts/bubble-legend/autoranges/\n     *         Auto calculated ranges\n     *\n     * @type {Array<*>}\n     */\n    ranges: {\n        /**\n         * Range size value, similar to bubble Z data.\n         * @type {number}\n         */\n        value: void 0,\n        /**\n         * The color of the border for individual range.\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        borderColor: void 0,\n        /**\n         * The color of the bubble for individual range.\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        color: void 0,\n        /**\n         * The color of the connector for individual range.\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        connectorColor: void 0\n    },\n    /**\n     * Whether the bubble legend range value should be represented\n     * by the area or the width of the bubble. The default, area,\n     * corresponds best to the human perception of the size of each\n     * bubble.\n     *\n     * @sample highcharts/bubble-legend/ranges/\n     *         Size by width\n     *\n     * @type {Highcharts.BubbleSizeByValue}\n     */\n    sizeBy: 'area',\n    /**\n     * When this is true, the absolute value of z determines the\n     * size of the bubble. This means that with the default\n     * zThreshold of 0, a bubble of value -1 will have the same size\n     * as a bubble of value 1, while a bubble of value 0 will have a\n     * smaller size according to minSize.\n     */\n    sizeByAbsoluteValue: false,\n    /**\n     * Define the visual z index of the bubble legend.\n     */\n    zIndex: 1,\n    /**\n     * Ranges with lower value than zThreshold are skipped.\n     */\n    zThreshold: 0\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bubble_BubbleLegendDefaults = (BubbleLegendDefaults);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Color\"],\"commonjs\":[\"highcharts\",\"Color\"],\"commonjs2\":[\"highcharts\",\"Color\"],\"root\":[\"Highcharts\",\"Color\"]}\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_ = __webpack_require__(620);\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default = /*#__PURE__*/__webpack_require__.n(highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Templating\"],\"commonjs\":[\"highcharts\",\"Templating\"],\"commonjs2\":[\"highcharts\",\"Templating\"],\"root\":[\"Highcharts\",\"Templating\"]}\nvar highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_ = __webpack_require__(984);\nvar highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default = /*#__PURE__*/__webpack_require__.n(highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_);\n;// ./code/es-modules/Series/Bubble/BubbleLegendItem.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  Author: Paweł Potaczek\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\n\nconst { noop: BubbleLegendItem_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { arrayMax, arrayMin, isNumber: BubbleLegendItem_isNumber, merge: BubbleLegendItem_merge, pick: BubbleLegendItem_pick, stableSort } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * BubbleLegend class.\n *\n * @private\n * @class\n * @name Highcharts.BubbleLegend\n * @param {Highcharts.LegendBubbleLegendOptions} options\n * Options of BubbleLegendItem.\n *\n * @param {Highcharts.Legend} legend\n * Legend of item.\n */\nclass BubbleLegendItem {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(options, legend) {\n        this.setState = BubbleLegendItem_noop;\n        this.init(options, legend);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Create basic bubbleLegend properties similar to item in legend.\n     * @private\n     */\n    init(options, legend) {\n        this.options = options;\n        this.visible = true;\n        this.chart = legend.chart;\n        this.legend = legend;\n    }\n    /**\n     * Depending on the position option, add bubbleLegend to legend items.\n     *\n     * @private\n     *\n     * @param {Array<(Highcharts.Point|Highcharts.Series)>} items\n     *        All legend items\n     */\n    addToLegend(items) {\n        // Insert bubbleLegend into legend items\n        items.splice(this.options.legendIndex, 0, this);\n    }\n    /**\n     * Calculate ranges, sizes and call the next steps of bubbleLegend\n     * creation.\n     *\n     * @private\n     *\n     * @param {Highcharts.Legend} legend\n     *        Legend instance\n     */\n    drawLegendSymbol(legend) {\n        const itemDistance = BubbleLegendItem_pick(legend.options.itemDistance, 20), legendItem = this.legendItem || {}, options = this.options, ranges = options.ranges, connectorDistance = options.connectorDistance;\n        let connectorSpace;\n        // Do not create bubbleLegend now if ranges or ranges values are not\n        // specified or if are empty array.\n        if (!ranges || !ranges.length || !BubbleLegendItem_isNumber(ranges[0].value)) {\n            legend.options.bubbleLegend.autoRanges = true;\n            return;\n        }\n        // Sort ranges to right render order\n        stableSort(ranges, function (a, b) {\n            return b.value - a.value;\n        });\n        this.ranges = ranges;\n        this.setOptions();\n        this.render();\n        // Get max label size\n        const maxLabel = this.getMaxLabelSize(), radius = this.ranges[0].radius, size = radius * 2;\n        // Space for connectors and labels.\n        connectorSpace =\n            connectorDistance - radius + maxLabel.width;\n        connectorSpace = connectorSpace > 0 ? connectorSpace : 0;\n        this.maxLabel = maxLabel;\n        this.movementX = options.labels.align === 'left' ?\n            connectorSpace : 0;\n        legendItem.labelWidth = size + connectorSpace + itemDistance;\n        legendItem.labelHeight = size + maxLabel.height / 2;\n    }\n    /**\n     * Set style options for each bubbleLegend range.\n     * @private\n     */\n    setOptions() {\n        const ranges = this.ranges, options = this.options, series = this.chart.series[options.seriesIndex], baseline = this.legend.baseline, bubbleAttribs = {\n            zIndex: options.zIndex,\n            'stroke-width': options.borderWidth\n        }, connectorAttribs = {\n            zIndex: options.zIndex,\n            'stroke-width': options.connectorWidth\n        }, labelAttribs = {\n            align: (this.legend.options.rtl ||\n                options.labels.align === 'left') ? 'right' : 'left',\n            zIndex: options.zIndex\n        }, fillOpacity = series.options.marker.fillOpacity, styledMode = this.chart.styledMode;\n        // Allow to parts of styles be used individually for range\n        ranges.forEach(function (range, i) {\n            if (!styledMode) {\n                bubbleAttribs.stroke = BubbleLegendItem_pick(range.borderColor, options.borderColor, series.color);\n                bubbleAttribs.fill = BubbleLegendItem_pick(range.color, options.color, fillOpacity !== 1 ?\n                    color(series.color).setOpacity(fillOpacity)\n                        .get('rgba') :\n                    series.color);\n                connectorAttribs.stroke = BubbleLegendItem_pick(range.connectorColor, options.connectorColor, series.color);\n            }\n            // Set options needed for rendering each range\n            ranges[i].radius = this.getRangeRadius(range.value);\n            ranges[i] = BubbleLegendItem_merge(ranges[i], {\n                center: (ranges[0].radius - ranges[i].radius +\n                    baseline)\n            });\n            if (!styledMode) {\n                BubbleLegendItem_merge(true, ranges[i], {\n                    bubbleAttribs: BubbleLegendItem_merge(bubbleAttribs),\n                    connectorAttribs: BubbleLegendItem_merge(connectorAttribs),\n                    labelAttribs: labelAttribs\n                });\n            }\n        }, this);\n    }\n    /**\n     * Calculate radius for each bubble range,\n     * used code from BubbleSeries.js 'getRadius' method.\n     *\n     * @private\n     *\n     * @param {number} value\n     *        Range value\n     *\n     * @return {number|null}\n     *         Radius for one range\n     */\n    getRangeRadius(value) {\n        const options = this.options, seriesIndex = this.options.seriesIndex, bubbleSeries = this.chart.series[seriesIndex], zMax = options.ranges[0].value, zMin = options.ranges[options.ranges.length - 1].value, minSize = options.minSize, maxSize = options.maxSize;\n        return bubbleSeries.getRadius.call(this, zMin, zMax, minSize, maxSize, value);\n    }\n    /**\n     * Render the legendItem group.\n     * @private\n     */\n    render() {\n        const legendItem = this.legendItem || {}, renderer = this.chart.renderer, zThreshold = this.options.zThreshold;\n        if (!this.symbols) {\n            this.symbols = {\n                connectors: [],\n                bubbleItems: [],\n                labels: []\n            };\n        }\n        // Nesting SVG groups to enable handleOverflow\n        legendItem.symbol = renderer.g('bubble-legend');\n        legendItem.label = renderer.g('bubble-legend-item')\n            .css(this.legend.itemStyle || {});\n        // To enable default 'hideOverlappingLabels' method\n        legendItem.symbol.translateX = 0;\n        legendItem.symbol.translateY = 0;\n        // To use handleOverflow method\n        legendItem.symbol.add(legendItem.label);\n        legendItem.label.add(legendItem.group);\n        for (const range of this.ranges) {\n            if (range.value >= zThreshold) {\n                this.renderRange(range);\n            }\n        }\n        this.hideOverlappingLabels();\n    }\n    /**\n     * Render one range, consisting of bubble symbol, connector and label.\n     *\n     * @private\n     *\n     * @param {Highcharts.LegendBubbleLegendRangesOptions} range\n     *        Range options\n     */\n    renderRange(range) {\n        const mainRange = this.ranges[0], legend = this.legend, options = this.options, labelsOptions = options.labels, chart = this.chart, bubbleSeries = chart.series[options.seriesIndex], renderer = chart.renderer, symbols = this.symbols, labels = symbols.labels, elementCenter = range.center, absoluteRadius = Math.abs(range.radius), connectorDistance = options.connectorDistance || 0, labelsAlign = labelsOptions.align, rtl = legend.options.rtl, borderWidth = options.borderWidth, connectorWidth = options.connectorWidth, posX = mainRange.radius || 0, posY = elementCenter - absoluteRadius -\n            borderWidth / 2 + connectorWidth / 2, crispMovement = (posY % 1 ? 1 : 0.5) -\n            (connectorWidth % 2 ? 0 : 0.5), styledMode = renderer.styledMode;\n        let connectorLength = rtl || labelsAlign === 'left' ?\n            -connectorDistance : connectorDistance;\n        // Set options for centered labels\n        if (labelsAlign === 'center') {\n            connectorLength = 0; // Do not use connector\n            options.connectorDistance = 0;\n            range.labelAttribs.align = 'center';\n        }\n        // Render bubble symbol\n        symbols.bubbleItems.push(renderer\n            .circle(posX, elementCenter + crispMovement, absoluteRadius)\n            .attr(styledMode ? {} : range.bubbleAttribs)\n            .addClass((styledMode ?\n            'highcharts-color-' +\n                bubbleSeries.colorIndex + ' ' :\n            '') +\n            'highcharts-bubble-legend-symbol ' +\n            (options.className || '')).add(this.legendItem.symbol));\n        // Render connector\n        symbols.connectors.push(renderer\n            .path(renderer.crispLine([\n            ['M', posX, posY],\n            ['L', posX + connectorLength, posY]\n        ], options.connectorWidth))\n            .attr((styledMode ? {} : range.connectorAttribs))\n            .addClass((styledMode ?\n            'highcharts-color-' +\n                this.options.seriesIndex + ' ' : '') +\n            'highcharts-bubble-legend-connectors ' +\n            (options.connectorClassName || '')).add(this.legendItem.symbol));\n        // Render label\n        const label = renderer\n            .text(this.formatLabel(range))\n            .attr((styledMode ? {} : range.labelAttribs))\n            .css(styledMode ? {} : labelsOptions.style)\n            .addClass('highcharts-bubble-legend-labels ' +\n            (options.labels.className || '')).add(this.legendItem.symbol);\n        // Now that the label is added we can read the bounding box and\n        // vertically align\n        const position = {\n            x: posX + connectorLength + options.labels.x,\n            y: posY + options.labels.y + label.getBBox().height * 0.4\n        };\n        label.attr(position);\n        labels.push(label);\n        // To enable default 'hideOverlappingLabels' method\n        label.placed = true;\n        label.alignAttr = position;\n    }\n    /**\n     * Get the label which takes up the most space.\n     * @private\n     */\n    getMaxLabelSize() {\n        const labels = this.symbols.labels;\n        let maxLabel, labelSize;\n        labels.forEach(function (label) {\n            labelSize = label.getBBox(true);\n            if (maxLabel) {\n                maxLabel = labelSize.width > maxLabel.width ?\n                    labelSize : maxLabel;\n            }\n            else {\n                maxLabel = labelSize;\n            }\n        });\n        return maxLabel || {};\n    }\n    /**\n     * Get formatted label for range.\n     *\n     * @private\n     *\n     * @param {Highcharts.LegendBubbleLegendRangesOptions} range\n     *        Range options\n     *\n     * @return {string}\n     *         Range label text\n     */\n    formatLabel(range) {\n        const options = this.options, formatter = options.labels.formatter, format = options.labels.format;\n        const { numberFormatter } = this.chart;\n        return format ? highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default().format(format, range, this.chart) :\n            formatter ? formatter.call(range) :\n                numberFormatter(range.value, 1);\n    }\n    /**\n     * By using default chart 'hideOverlappingLabels' method, hide or show\n     * labels and connectors.\n     * @private\n     */\n    hideOverlappingLabels() {\n        const chart = this.chart, allowOverlap = this.options.labels.allowOverlap, symbols = this.symbols;\n        if (!allowOverlap && symbols) {\n            chart.hideOverlappingLabels(symbols.labels);\n            // Hide or show connectors\n            symbols.labels.forEach(function (label, index) {\n                if (!label.newOpacity) {\n                    symbols.connectors[index].hide();\n                }\n                else if (label.newOpacity !== label.oldOpacity) {\n                    symbols.connectors[index].show();\n                }\n            });\n        }\n    }\n    /**\n     * Calculate ranges from created series.\n     *\n     * @private\n     *\n     * @return {Array<Highcharts.LegendBubbleLegendRangesOptions>}\n     *         Array of range objects\n     */\n    getRanges() {\n        const bubbleLegend = this.legend.bubbleLegend, series = bubbleLegend.chart.series, rangesOptions = bubbleLegend.options.ranges;\n        let ranges, zData, minZ = Number.MAX_VALUE, maxZ = -Number.MAX_VALUE;\n        series.forEach(function (s) {\n            // Find the min and max Z, like in bubble series\n            if (s.isBubble && !s.ignoreSeries) {\n                zData = s.getColumn('z').filter(BubbleLegendItem_isNumber);\n                if (zData.length) {\n                    minZ = BubbleLegendItem_pick(s.options.zMin, Math.min(minZ, Math.max(arrayMin(zData), s.options.displayNegative === false ?\n                        s.options.zThreshold :\n                        -Number.MAX_VALUE)));\n                    maxZ = BubbleLegendItem_pick(s.options.zMax, Math.max(maxZ, arrayMax(zData)));\n                }\n            }\n        });\n        // Set values for ranges\n        if (minZ === maxZ) {\n            // Only one range if min and max values are the same.\n            ranges = [{ value: maxZ }];\n        }\n        else {\n            ranges = [\n                { value: minZ },\n                { value: (minZ + maxZ) / 2 },\n                { value: maxZ, autoRanges: true }\n            ];\n        }\n        // Prevent reverse order of ranges after redraw\n        if (rangesOptions.length && rangesOptions[0].radius) {\n            ranges.reverse();\n        }\n        // Merge ranges values with user options\n        ranges.forEach(function (range, i) {\n            if (rangesOptions && rangesOptions[i]) {\n                ranges[i] = BubbleLegendItem_merge(rangesOptions[i], range);\n            }\n        });\n        return ranges;\n    }\n    /**\n     * Calculate bubble legend sizes from rendered series.\n     *\n     * @private\n     *\n     * @return {Array<number,number>}\n     *         Calculated min and max bubble sizes\n     */\n    predictBubbleSizes() {\n        const chart = this.chart, legendOptions = chart.legend.options, floating = legendOptions.floating, horizontal = legendOptions.layout === 'horizontal', lastLineHeight = horizontal ? chart.legend.lastLineHeight : 0, plotSizeX = chart.plotSizeX, plotSizeY = chart.plotSizeY, bubbleSeries = chart.series[this.options.seriesIndex], pxSizes = bubbleSeries.getPxExtremes(), minSize = Math.ceil(pxSizes.minPxSize), maxPxSize = Math.ceil(pxSizes.maxPxSize), plotSize = Math.min(plotSizeY, plotSizeX);\n        let calculatedSize, maxSize = bubbleSeries.options.maxSize;\n        // Calculate predicted max size of bubble\n        if (floating || !(/%$/.test(maxSize))) {\n            calculatedSize = maxPxSize;\n        }\n        else {\n            maxSize = parseFloat(maxSize);\n            calculatedSize = ((plotSize + lastLineHeight) * maxSize / 100) /\n                (maxSize / 100 + 1);\n            // Get maxPxSize from bubble series if calculated bubble legend\n            // size will not affect to bubbles series.\n            if ((horizontal && plotSizeY - calculatedSize >=\n                plotSizeX) || (!horizontal && plotSizeX -\n                calculatedSize >= plotSizeY)) {\n                calculatedSize = maxPxSize;\n            }\n        }\n        return [minSize, Math.ceil(calculatedSize)];\n    }\n    /**\n     * Correct ranges with calculated sizes.\n     * @private\n     */\n    updateRanges(min, max) {\n        const bubbleLegendOptions = this.legend.options.bubbleLegend;\n        bubbleLegendOptions.minSize = min;\n        bubbleLegendOptions.maxSize = max;\n        bubbleLegendOptions.ranges = this.getRanges();\n    }\n    /**\n     * Because of the possibility of creating another legend line, predicted\n     * bubble legend sizes may differ by a few pixels, so it is necessary to\n     * correct them.\n     * @private\n     */\n    correctSizes() {\n        const legend = this.legend, chart = this.chart, bubbleSeries = chart.series[this.options.seriesIndex], pxSizes = bubbleSeries.getPxExtremes(), bubbleSeriesSize = pxSizes.maxPxSize, bubbleLegendSize = this.options.maxSize;\n        if (Math.abs(Math.ceil(bubbleSeriesSize) - bubbleLegendSize) >\n            1) {\n            this.updateRanges(this.options.minSize, pxSizes.maxPxSize);\n            legend.render();\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bubble_BubbleLegendItem = (BubbleLegendItem);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @interface Highcharts.BubbleLegendFormatterContextObject\n */ /**\n* The center y position of the range.\n* @name Highcharts.BubbleLegendFormatterContextObject#center\n* @type {number}\n*/ /**\n* The radius of the bubble range.\n* @name Highcharts.BubbleLegendFormatterContextObject#radius\n* @type {number}\n*/ /**\n* The bubble value.\n* @name Highcharts.BubbleLegendFormatterContextObject#value\n* @type {number}\n*/\n''; // Detach doclets above\n\n;// ./code/es-modules/Series/Bubble/BubbleLegendComposition.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  Author: Paweł Potaczek\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { setOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: BubbleLegendComposition_addEvent, objectEach, pushUnique, wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * If ranges are not specified, determine ranges from rendered bubble series\n * and render legend again.\n */\nfunction chartDrawChartBox(proceed, options, callback) {\n    const chart = this, legend = chart.legend, bubbleSeries = getVisibleBubbleSeriesIndex(chart) >= 0;\n    let bubbleLegendOptions, bubbleSizes, legendItem;\n    if (legend && legend.options.enabled && legend.bubbleLegend &&\n        legend.options.bubbleLegend.autoRanges && bubbleSeries) {\n        bubbleLegendOptions = legend.bubbleLegend.options;\n        bubbleSizes = legend.bubbleLegend.predictBubbleSizes();\n        legend.bubbleLegend.updateRanges(bubbleSizes[0], bubbleSizes[1]);\n        // Disable animation on init\n        if (!bubbleLegendOptions.placed) {\n            legend.group.placed = false;\n            legend.allItems.forEach((item) => {\n                legendItem = item.legendItem || {};\n                if (legendItem.group) {\n                    legendItem.group.translateY = void 0;\n                }\n            });\n        }\n        // Create legend with bubbleLegend\n        legend.render();\n        // Calculate margins after first rendering the bubble legend\n        if (!bubbleLegendOptions.placed) {\n            chart.getMargins();\n            chart.axes.forEach((axis) => {\n                axis.setScale();\n                axis.updateNames();\n                // Disable axis animation on init\n                objectEach(axis.ticks, function (tick) {\n                    tick.isNew = true;\n                    tick.isNewLabel = true;\n                });\n            });\n            chart.getMargins();\n        }\n        bubbleLegendOptions.placed = true;\n        // Call default 'drawChartBox' method.\n        proceed.call(chart, options, callback);\n        // Check bubble legend sizes and correct them if necessary.\n        legend.bubbleLegend.correctSizes();\n        // Correct items positions with different dimensions in legend.\n        retranslateItems(legend, getLinesHeights(legend));\n    }\n    else {\n        proceed.call(chart, options, callback);\n        // Allow color change on static bubble legend after click on legend\n        if (legend && legend.options.enabled && legend.bubbleLegend) {\n            legend.render();\n            retranslateItems(legend, getLinesHeights(legend));\n        }\n    }\n}\n/**\n * Compose classes for use with Bubble series.\n * @private\n *\n * @param {Highcharts.Chart} ChartClass\n * Core chart class to use with Bubble series.\n *\n * @param {Highcharts.Legend} LegendClass\n * Core legend class to use with Bubble series.\n */\nfunction BubbleLegendComposition_compose(ChartClass, LegendClass) {\n    if (pushUnique(composed, 'Series.BubbleLegend')) {\n        setOptions({\n            // Set default bubble legend options\n            legend: {\n                bubbleLegend: Bubble_BubbleLegendDefaults\n            }\n        });\n        wrap(ChartClass.prototype, 'drawChartBox', chartDrawChartBox);\n        BubbleLegendComposition_addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);\n        BubbleLegendComposition_addEvent(LegendClass, 'itemClick', onLegendItemClick);\n    }\n}\n/**\n * Check if there is at least one visible bubble series.\n *\n * @private\n * @function getVisibleBubbleSeriesIndex\n * @param {Highcharts.Chart} chart\n * Chart to check.\n * @return {number}\n * First visible bubble series index\n */\nfunction getVisibleBubbleSeriesIndex(chart) {\n    const series = chart.series;\n    let i = 0;\n    while (i < series.length) {\n        if (series[i] &&\n            series[i].isBubble &&\n            series[i].visible &&\n            series[i].dataTable.rowCount) {\n            return i;\n        }\n        i++;\n    }\n    return -1;\n}\n/**\n * Calculate height for each row in legend.\n *\n * @private\n * @function getLinesHeights\n *\n * @param {Highcharts.Legend} legend\n * Legend to calculate from.\n *\n * @return {Array<Highcharts.Dictionary<number>>}\n * Informations about line height and items amount\n */\nfunction getLinesHeights(legend) {\n    const items = legend.allItems, lines = [], length = items.length;\n    let lastLine, legendItem, legendItem2, i = 0, j = 0;\n    for (i = 0; i < length; i++) {\n        legendItem = items[i].legendItem || {};\n        legendItem2 = (items[i + 1] || {}).legendItem || {};\n        if (legendItem.labelHeight) {\n            // For bubbleLegend\n            items[i].itemHeight = legendItem.labelHeight;\n        }\n        if ( // Line break\n        items[i] === items[length - 1] ||\n            legendItem.y !== legendItem2.y) {\n            lines.push({ height: 0 });\n            lastLine = lines[lines.length - 1];\n            // Find the highest item in line\n            for (j; j <= i; j++) {\n                if (items[j].itemHeight > lastLine.height) {\n                    lastLine.height = items[j].itemHeight;\n                }\n            }\n            lastLine.step = i;\n        }\n    }\n    return lines;\n}\n/**\n * Start the bubble legend creation process.\n */\nfunction onLegendAfterGetAllItems(e) {\n    const legend = this, bubbleLegend = legend.bubbleLegend, legendOptions = legend.options, options = legendOptions.bubbleLegend, bubbleSeriesIndex = getVisibleBubbleSeriesIndex(legend.chart);\n    // Remove unnecessary element\n    if (bubbleLegend && bubbleLegend.ranges && bubbleLegend.ranges.length) {\n        // Allow change the way of calculating ranges in update\n        if (options.ranges.length) {\n            options.autoRanges =\n                !!options.ranges[0].autoRanges;\n        }\n        // Update bubbleLegend dimensions in each redraw\n        legend.destroyItem(bubbleLegend);\n    }\n    // Create bubble legend\n    if (bubbleSeriesIndex >= 0 &&\n        legendOptions.enabled &&\n        options.enabled) {\n        options.seriesIndex = bubbleSeriesIndex;\n        legend.bubbleLegend = new Bubble_BubbleLegendItem(options, legend);\n        legend.bubbleLegend.addToLegend(e.allItems);\n    }\n}\n/**\n * Toggle bubble legend depending on the visible status of bubble series.\n */\nfunction onLegendItemClick(e) {\n    // #14080 don't fire this code if click function is prevented\n    if (e.defaultPrevented) {\n        return false;\n    }\n    const legend = this, series = e.legendItem, chart = legend.chart, visible = series.visible;\n    let status;\n    if (legend && legend.bubbleLegend) {\n        // Temporary correct 'visible' property\n        series.visible = !visible;\n        // Save future status for getRanges method\n        series.ignoreSeries = visible;\n        // Check if at lest one bubble series is visible\n        status = getVisibleBubbleSeriesIndex(chart) >= 0;\n        // Hide bubble legend if all bubble series are disabled\n        if (legend.bubbleLegend.visible !== status) {\n            // Show or hide bubble legend\n            legend.update({\n                bubbleLegend: { enabled: status }\n            });\n            legend.bubbleLegend.visible = status; // Restore default status\n        }\n        series.visible = visible;\n    }\n}\n/**\n * Correct legend items translation in case of different elements heights.\n *\n * @private\n * @function Highcharts.Legend#retranslateItems\n *\n * @param {Highcharts.Legend} legend\n * Legend to translate in.\n *\n * @param {Array<Highcharts.Dictionary<number>>} lines\n * Informations about line height and items amount\n */\nfunction retranslateItems(legend, lines) {\n    const items = legend.allItems, rtl = legend.options.rtl;\n    let orgTranslateX, orgTranslateY, movementX, legendItem, actualLine = 0;\n    items.forEach((item, index) => {\n        legendItem = item.legendItem || {};\n        if (!legendItem.group) {\n            return;\n        }\n        orgTranslateX = legendItem.group.translateX || 0;\n        orgTranslateY = legendItem.y || 0;\n        movementX = item.movementX;\n        if (movementX || (rtl && item.ranges)) {\n            movementX = rtl ?\n                orgTranslateX - item.options.maxSize / 2 :\n                orgTranslateX + movementX;\n            legendItem.group.attr({ translateX: movementX });\n        }\n        if (index > lines[actualLine].step) {\n            actualLine++;\n        }\n        legendItem.group.attr({\n            translateY: Math.round(orgTranslateY + lines[actualLine].height / 2)\n        });\n        legendItem.y = orgTranslateY + lines[actualLine].height / 2;\n    });\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst BubbleLegendComposition = {\n    compose: BubbleLegendComposition_compose\n};\n/* harmony default export */ const Bubble_BubbleLegendComposition = (BubbleLegendComposition);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Point\"],\"commonjs\":[\"highcharts\",\"Point\"],\"commonjs2\":[\"highcharts\",\"Point\"],\"root\":[\"Highcharts\",\"Point\"]}\nvar highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_ = __webpack_require__(260);\nvar highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default = /*#__PURE__*/__webpack_require__.n(highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_);\n;// ./code/es-modules/Series/Bubble/BubblePoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { seriesTypes: { scatter: { prototype: { pointClass: ScatterPoint } } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { extend: BubblePoint_extend } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass BubblePoint extends ScatterPoint {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    haloPath(size) {\n        const computedSize = (size && this.marker ?\n            this.marker.radius ||\n                0 :\n            0) + size;\n        if (this.series.chart.inverted) {\n            const pos = this.pos() || [0, 0], { xAxis, yAxis, chart } = this.series;\n            return chart.renderer.symbols.circle(xAxis.len - pos[1] - computedSize, yAxis.len - pos[0] - computedSize, computedSize * 2, computedSize * 2);\n        }\n        return highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.haloPath.call(this, \n        // #6067\n        computedSize);\n    }\n}\n/* *\n *\n *  Class Prototype\n *\n * */\nBubblePoint_extend(BubblePoint.prototype, {\n    ttBelow: false\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bubble_BubblePoint = (BubblePoint);\n\n;// ./code/es-modules/Series/Bubble/BubbleSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { parse: BubbleSeries_color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\nconst { composed: BubbleSeries_composed, noop: BubbleSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { series: Series, seriesTypes: { column: { prototype: BubbleSeries_columnProto }, scatter: ScatterSeries } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { addEvent: BubbleSeries_addEvent, arrayMax: BubbleSeries_arrayMax, arrayMin: BubbleSeries_arrayMin, clamp, extend: BubbleSeries_extend, isNumber: BubbleSeries_isNumber, merge: BubbleSeries_merge, pick: BubbleSeries_pick, pushUnique: BubbleSeries_pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Add logic to pad each axis with the amount of pixels necessary to avoid the\n * bubbles to overflow.\n */\nfunction onAxisFoundExtremes() {\n    const axisLength = this.len, { coll, isXAxis, min } = this, range = (this.max || 0) - (min || 0);\n    let pxMin = 0, pxMax = axisLength, transA = axisLength / range, hasActiveSeries;\n    if (coll !== 'xAxis' && coll !== 'yAxis') {\n        return;\n    }\n    // Handle padding on the second pass, or on redraw\n    this.series.forEach((series) => {\n        if (series.bubblePadding && series.reserveSpace()) {\n            // Correction for #1673\n            this.allowZoomOutside = true;\n            hasActiveSeries = true;\n            const data = series.getColumn(isXAxis ? 'x' : 'y');\n            if (isXAxis) {\n                (series.onPoint || series).getRadii(0, 0, series);\n                if (series.onPoint) {\n                    series.radii = series.onPoint.radii;\n                }\n            }\n            if (range > 0) {\n                let i = data.length;\n                while (i--) {\n                    if (BubbleSeries_isNumber(data[i]) &&\n                        this.dataMin <= data[i] &&\n                        data[i] <= this.max) {\n                        const radius = series.radii && series.radii[i] || 0;\n                        pxMin = Math.min(((data[i] - min) * transA) - radius, pxMin);\n                        pxMax = Math.max(((data[i] - min) * transA) + radius, pxMax);\n                    }\n                }\n            }\n        }\n    });\n    // Apply the padding to the min and max properties\n    if (hasActiveSeries && range > 0 && !this.logarithmic) {\n        pxMax -= axisLength;\n        transA *= (axisLength +\n            Math.max(0, pxMin) - // #8901\n            Math.min(pxMax, axisLength)) / axisLength;\n        [\n            ['min', 'userMin', pxMin],\n            ['max', 'userMax', pxMax]\n        ].forEach((keys) => {\n            if (typeof BubbleSeries_pick(this.options[keys[0]], this[keys[1]]) === 'undefined') {\n                this[keys[0]] += keys[2] / transA;\n            }\n        });\n    }\n}\n/**\n * If a user has defined categories, it is necessary to retroactively hide any\n * ticks added by the 'onAxisFoundExtremes' function above (#21672).\n *\n * Otherwise they can show up on the axis, alongside user-defined categories.\n */\nfunction onAxisAfterRender() {\n    const { ticks, tickPositions, dataMin = 0, dataMax = 0, categories } = this, type = this.options.type;\n    if ((categories?.length || type === 'category') &&\n        this.series.find((s) => s.bubblePadding)) {\n        let tickCount = tickPositions.length;\n        while (tickCount--) {\n            const tick = ticks[tickPositions[tickCount]], pos = tick.pos || 0;\n            if (pos > dataMax || pos < dataMin) {\n                tick.label?.hide();\n            }\n        }\n    }\n}\n/* *\n *\n *  Class\n *\n * */\nclass BubbleSeries extends ScatterSeries {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(AxisClass, ChartClass, LegendClass) {\n        Bubble_BubbleLegendComposition.compose(ChartClass, LegendClass);\n        if (BubbleSeries_pushUnique(BubbleSeries_composed, 'Series.Bubble')) {\n            BubbleSeries_addEvent(AxisClass, 'foundExtremes', onAxisFoundExtremes);\n            BubbleSeries_addEvent(AxisClass, 'afterRender', onAxisAfterRender);\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Perform animation on the bubbles\n     * @private\n     */\n    animate(init) {\n        if (!init &&\n            this.points.length < this.options.animationLimit // #8099\n        ) {\n            this.points.forEach(function (point) {\n                const { graphic, plotX = 0, plotY = 0 } = point;\n                if (graphic && graphic.width) { // URL symbols don't have width\n                    // Start values\n                    if (!this.hasRendered) {\n                        graphic.attr({\n                            x: plotX,\n                            y: plotY,\n                            width: 1,\n                            height: 1\n                        });\n                    }\n                    graphic.animate(this.markerAttribs(point), this.options.animation);\n                }\n            }, this);\n        }\n    }\n    /**\n     * Get the radius for each point based on the minSize, maxSize and each\n     * point's Z value. This must be done prior to Series.translate because\n     * the axis needs to add padding in accordance with the point sizes.\n     * @private\n     */\n    getRadii() {\n        const zData = this.getColumn('z'), yData = this.getColumn('y'), radii = [];\n        let len, i, value, zExtremes = this.chart.bubbleZExtremes;\n        const { minPxSize, maxPxSize } = this.getPxExtremes();\n        // Get the collective Z extremes of all bubblish series. The chart-level\n        // `bubbleZExtremes` are only computed once, and reset on `updatedData`\n        // in any member series.\n        if (!zExtremes) {\n            let zMin = Number.MAX_VALUE;\n            let zMax = -Number.MAX_VALUE;\n            let valid;\n            this.chart.series.forEach((otherSeries) => {\n                if (otherSeries.bubblePadding && otherSeries.reserveSpace()) {\n                    const zExtremes = (otherSeries.onPoint || otherSeries).getZExtremes();\n                    if (zExtremes) {\n                        // Changed '||' to 'pick' because min or max can be 0.\n                        // #17280\n                        zMin = Math.min(BubbleSeries_pick(zMin, zExtremes.zMin), zExtremes.zMin);\n                        zMax = Math.max(BubbleSeries_pick(zMax, zExtremes.zMax), zExtremes.zMax);\n                        valid = true;\n                    }\n                }\n            });\n            if (valid) {\n                zExtremes = { zMin, zMax };\n                this.chart.bubbleZExtremes = zExtremes;\n            }\n            else {\n                zExtremes = { zMin: 0, zMax: 0 };\n            }\n        }\n        // Set the shape type and arguments to be picked up in drawPoints\n        for (i = 0, len = zData.length; i < len; i++) {\n            value = zData[i];\n            // Separate method to get individual radius for bubbleLegend\n            radii.push(this.getRadius(zExtremes.zMin, zExtremes.zMax, minPxSize, maxPxSize, value, yData && yData[i]));\n        }\n        this.radii = radii;\n    }\n    /**\n     * Get the individual radius for one point.\n     * @private\n     */\n    getRadius(zMin, zMax, minSize, maxSize, value, yValue) {\n        const options = this.options, sizeByArea = options.sizeBy !== 'width', zThreshold = options.zThreshold;\n        let zRange = zMax - zMin, pos = 0.5;\n        // #8608 - bubble should be visible when z is undefined\n        if (yValue === null || value === null) {\n            return null;\n        }\n        if (BubbleSeries_isNumber(value)) {\n            // When sizing by threshold, the absolute value of z determines\n            // the size of the bubble.\n            if (options.sizeByAbsoluteValue) {\n                value = Math.abs(value - zThreshold);\n                zMax = zRange = Math.max(zMax - zThreshold, Math.abs(zMin - zThreshold));\n                zMin = 0;\n            }\n            // Issue #4419 - if value is less than zMin, push a radius that's\n            // always smaller than the minimum size\n            if (value < zMin) {\n                return minSize / 2 - 1;\n            }\n            // Relative size, a number between 0 and 1\n            if (zRange > 0) {\n                pos = (value - zMin) / zRange;\n            }\n        }\n        if (sizeByArea && pos >= 0) {\n            pos = Math.sqrt(pos);\n        }\n        return Math.ceil(minSize + pos * (maxSize - minSize)) / 2;\n    }\n    /**\n     * Define hasData function for non-cartesian series.\n     * Returns true if the series has points at all.\n     * @private\n     */\n    hasData() {\n        return !!this.dataTable.rowCount;\n    }\n    /**\n     * @private\n     */\n    markerAttribs(point, state) {\n        const attr = super.markerAttribs(point, state), { height = 0, width = 0 } = attr;\n        // Bubble needs a specific `markerAttribs` override because the markers\n        // are rendered into the potentially inverted `series.group`. Unlike\n        // regular markers, which are rendered into the `markerGroup` (#21125).\n        return this.chart.inverted ? BubbleSeries_extend(attr, {\n            x: (point.plotX || 0) - width / 2,\n            y: (point.plotY || 0) - height / 2\n        }) : attr;\n    }\n    /**\n     * @private\n     */\n    pointAttribs(point, state) {\n        const markerOptions = this.options.marker, fillOpacity = markerOptions.fillOpacity, attr = Series.prototype.pointAttribs.call(this, point, state);\n        if (fillOpacity !== 1) {\n            attr.fill = BubbleSeries_color(attr.fill)\n                .setOpacity(fillOpacity)\n                .get('rgba');\n        }\n        return attr;\n    }\n    /**\n     * Extend the base translate method to handle bubble size\n     * @private\n     */\n    translate() {\n        // Run the parent method\n        super.translate.call(this);\n        this.getRadii();\n        this.translateBubble();\n    }\n    translateBubble() {\n        const { data, options, radii } = this, { minPxSize } = this.getPxExtremes();\n        // Set the shape type and arguments to be picked up in drawPoints\n        let i = data.length;\n        while (i--) {\n            const point = data[i], radius = radii ? radii[i] : 0; // #1737\n            // Negative points means negative z values (#9728)\n            if (this.zoneAxis === 'z') {\n                point.negative = (point.z || 0) < (options.zThreshold || 0);\n            }\n            if (BubbleSeries_isNumber(radius) && radius >= minPxSize / 2) {\n                // Shape arguments\n                point.marker = BubbleSeries_extend(point.marker, {\n                    radius,\n                    width: 2 * radius,\n                    height: 2 * radius\n                });\n                // Alignment box for the data label\n                point.dlBox = {\n                    x: point.plotX - radius,\n                    y: point.plotY - radius,\n                    width: 2 * radius,\n                    height: 2 * radius\n                };\n            }\n            else { // Below zThreshold\n                // #1691\n                point.shapeArgs = point.plotY = point.dlBox = void 0;\n                point.isInside = false; // #17281\n            }\n        }\n    }\n    getPxExtremes() {\n        const smallestSize = Math.min(this.chart.plotWidth, this.chart.plotHeight);\n        const getPxSize = (length) => {\n            let isPercent;\n            if (typeof length === 'string') {\n                isPercent = /%$/.test(length);\n                length = parseInt(length, 10);\n            }\n            return isPercent ? smallestSize * length / 100 : length;\n        };\n        const minPxSize = getPxSize(BubbleSeries_pick(this.options.minSize, 8));\n        // Prioritize min size if conflict to make sure bubbles are\n        // always visible. #5873\n        const maxPxSize = Math.max(getPxSize(BubbleSeries_pick(this.options.maxSize, '20%')), minPxSize);\n        return { minPxSize, maxPxSize };\n    }\n    getZExtremes() {\n        const options = this.options, zData = this.getColumn('z').filter(BubbleSeries_isNumber);\n        if (zData.length) {\n            const zMin = BubbleSeries_pick(options.zMin, clamp(BubbleSeries_arrayMin(zData), options.displayNegative === false ?\n                (options.zThreshold || 0) :\n                -Number.MAX_VALUE, Number.MAX_VALUE));\n            const zMax = BubbleSeries_pick(options.zMax, BubbleSeries_arrayMax(zData));\n            if (BubbleSeries_isNumber(zMin) && BubbleSeries_isNumber(zMax)) {\n                return { zMin, zMax };\n            }\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Series#searchKDTree\n     */\n    searchKDTree(point, compareX, e, suppliedPointEvaluator = BubbleSeries_noop, suppliedBSideCheckEvaluator = BubbleSeries_noop) {\n        suppliedPointEvaluator = (p1, p2, comparisonProp) => {\n            const p1Dist = p1[comparisonProp] || 0;\n            const p2Dist = p2[comparisonProp] || 0;\n            let ret, flip = false;\n            if (p1Dist < 0 && p2Dist < 0) {\n                ret = (p1Dist - (p1.marker?.radius || 0) >=\n                    p2Dist - (p2.marker?.radius || 0)) ?\n                    p1 :\n                    p2;\n                flip = true;\n            }\n            else {\n                ret = p1Dist < p2Dist ? p1 : p2;\n            }\n            return [ret, flip];\n        };\n        suppliedBSideCheckEvaluator = (a, b, flip) => !flip && (a > b) || (a < b);\n        return super.searchKDTree(point, compareX, e, suppliedPointEvaluator, suppliedBSideCheckEvaluator);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\n/**\n * A bubble series is a three dimensional series type where each point\n * renders an X, Y and Z value. Each points is drawn as a bubble where the\n * position along the X and Y axes mark the X and Y values, and the size of\n * the bubble relates to the Z value.\n *\n * @sample {highcharts} highcharts/demo/bubble/\n *         Bubble chart\n *\n * @extends      plotOptions.scatter\n * @excluding    cluster\n * @product      highcharts highstock\n * @requires     highcharts-more\n * @optionparent plotOptions.bubble\n */\nBubbleSeries.defaultOptions = BubbleSeries_merge(ScatterSeries.defaultOptions, {\n    dataLabels: {\n        formatter: function () {\n            const { numberFormatter } = this.series.chart;\n            const { z } = this.point;\n            return BubbleSeries_isNumber(z) ? numberFormatter(z, -1) : '';\n        },\n        inside: true,\n        verticalAlign: 'middle'\n    },\n    /**\n     * If there are more points in the series than the `animationLimit`, the\n     * animation won't run. Animation affects overall performance and\n     * doesn't work well with heavy data series.\n     *\n     * @since 6.1.0\n     */\n    animationLimit: 250,\n    /**\n     * Whether to display negative sized bubbles. The threshold is given\n     * by the [zThreshold](#plotOptions.bubble.zThreshold) option, and negative\n     * bubbles can be visualized by setting\n     * [negativeColor](#plotOptions.bubble.negativeColor).\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-negative/\n     *         Negative bubbles\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     3.0\n     * @apioption plotOptions.bubble.displayNegative\n     */\n    /**\n     * @extends   plotOptions.series.marker\n     * @excluding enabled, enabledThreshold, height, radius, width\n     */\n    marker: {\n        lineColor: null, // Inherit from series.color\n        lineWidth: 1,\n        /**\n         * The fill opacity of the bubble markers.\n         */\n        fillOpacity: 0.5,\n        /**\n         * In bubble charts, the radius is overridden and determined based\n         * on the point's data value.\n         *\n         * @ignore-option\n         */\n        radius: null,\n        states: {\n            hover: {\n                radiusPlus: 0\n            }\n        },\n        /**\n         * A predefined shape or symbol for the marker. Possible values are\n         * \"circle\", \"square\", \"diamond\", \"triangle\" and \"triangle-down\".\n         *\n         * Additionally, the URL to a graphic can be given on the form\n         * `url(graphic.png)`. Note that for the image to be applied to\n         * exported charts, its URL needs to be accessible by the export\n         * server.\n         *\n         * Custom callbacks for symbol path generation can also be added to\n         * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then\n         * used by its method name, as shown in the demo.\n         *\n         * @sample {highcharts} highcharts/plotoptions/bubble-symbol/\n         *         Bubble chart with various symbols\n         * @sample {highcharts} highcharts/plotoptions/series-marker-symbol/\n         *         General chart with predefined, graphic and custom markers\n         *\n         * @type  {Highcharts.SymbolKeyValue|string}\n         * @since 5.0.11\n         */\n        symbol: 'circle'\n    },\n    /**\n     * Minimum bubble size. Bubbles will automatically size between the\n     * `minSize` and `maxSize` to reflect the `z` value of each bubble.\n     * Can be either pixels (when no unit is given), or a percentage of\n     * the smallest one of the plot width and height.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-size/\n     *         Bubble size\n     *\n     * @type    {number|string}\n     * @since   3.0\n     * @product highcharts highstock\n     */\n    minSize: 8,\n    /**\n     * Maximum bubble size. Bubbles will automatically size between the\n     * `minSize` and `maxSize` to reflect the `z` value of each bubble.\n     * Can be either pixels (when no unit is given), or a percentage of\n     * the smallest one of the plot width and height.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-size/\n     *         Bubble size\n     *\n     * @type    {number|string}\n     * @since   3.0\n     * @product highcharts highstock\n     */\n    maxSize: '20%',\n    /**\n     * When a point's Z value is below the\n     * [zThreshold](#plotOptions.bubble.zThreshold)\n     * setting, this color is used.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-negative/\n     *         Negative bubbles\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.bubble.negativeColor\n     */\n    /**\n     * Whether the bubble's value should be represented by the area or the\n     * width of the bubble. The default, `area`, corresponds best to the\n     * human perception of the size of each bubble.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-sizeby/\n     *         Comparison of area and size\n     *\n     * @type       {Highcharts.BubbleSizeByValue}\n     * @default    area\n     * @since      3.0.7\n     * @apioption  plotOptions.bubble.sizeBy\n     */\n    /**\n     * When this is true, the absolute value of z determines the size of\n     * the bubble. This means that with the default `zThreshold` of 0, a\n     * bubble of value -1 will have the same size as a bubble of value 1,\n     * while a bubble of value 0 will have a smaller size according to\n     * `minSize`.\n     *\n     * @sample    {highcharts} highcharts/plotoptions/bubble-sizebyabsolutevalue/\n     *            Size by absolute value, various thresholds\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     4.1.9\n     * @product   highcharts\n     * @apioption plotOptions.bubble.sizeByAbsoluteValue\n     */\n    /**\n     * When this is true, the series will not cause the Y axis to cross\n     * the zero plane (or [threshold](#plotOptions.series.threshold) option)\n     * unless the data actually crosses the plane.\n     *\n     * For example, if `softThreshold` is `false`, a series of 0, 1, 2,\n     * 3 will make the Y axis show negative values according to the\n     * `minPadding` option. If `softThreshold` is `true`, the Y axis starts\n     * at 0.\n     *\n     * @since   4.1.9\n     * @product highcharts\n     */\n    softThreshold: false,\n    states: {\n        hover: {\n            halo: {\n                size: 5\n            }\n        }\n    },\n    tooltip: {\n        pointFormat: '({point.x}, {point.y}), Size: {point.z}'\n    },\n    turboThreshold: 0,\n    /**\n     * The minimum for the Z value range. Defaults to the highest Z value\n     * in the data.\n     *\n     * @see [zMin](#plotOptions.bubble.zMin)\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-zmin-zmax/\n     *         Z has a possible range of 0-100\n     *\n     * @type      {number}\n     * @since     4.0.3\n     * @product   highcharts\n     * @apioption plotOptions.bubble.zMax\n     */\n    /**\n     * @default   z\n     * @apioption plotOptions.bubble.colorKey\n     */\n    /**\n     * The minimum for the Z value range. Defaults to the lowest Z value\n     * in the data.\n     *\n     * @see [zMax](#plotOptions.bubble.zMax)\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-zmin-zmax/\n     *         Z has a possible range of 0-100\n     *\n     * @type      {number}\n     * @since     4.0.3\n     * @product   highcharts\n     * @apioption plotOptions.bubble.zMin\n     */\n    /**\n     * When [displayNegative](#plotOptions.bubble.displayNegative) is `false`,\n     * bubbles with lower Z values are skipped. When `displayNegative`\n     * is `true` and a [negativeColor](#plotOptions.bubble.negativeColor)\n     * is given, points with lower Z is colored.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-negative/\n     *         Negative bubbles\n     *\n     * @since   3.0\n     * @product highcharts\n     */\n    zThreshold: 0,\n    zoneAxis: 'z'\n});\nBubbleSeries_extend(BubbleSeries.prototype, {\n    alignDataLabel: BubbleSeries_columnProto.alignDataLabel,\n    applyZones: BubbleSeries_noop,\n    bubblePadding: true,\n    isBubble: true,\n    keysAffectYAxis: ['y'],\n    pointArrayMap: ['y', 'z'],\n    pointClass: Bubble_BubblePoint,\n    parallelArrays: ['x', 'y', 'z'],\n    trackerGroups: ['group', 'dataLabelsGroup'],\n    specialGroup: 'group', // To allow clipping (#6296)\n    zoneAxis: 'z'\n});\n// On updated data in any series, delete the chart-level Z extremes cache\nBubbleSeries_addEvent(BubbleSeries, 'updatedData', (e) => {\n    delete e.target.chart.bubbleZExtremes;\n});\n// After removing series, delete the chart-level Z extremes cache, #17502.\nBubbleSeries_addEvent(BubbleSeries, 'remove', (e) => {\n    delete e.target.chart.bubbleZExtremes;\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('bubble', BubbleSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bubble_BubbleSeries = (BubbleSeries);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @typedef {\"area\"|\"width\"} Highcharts.BubbleSizeByValue\n */\n''; // Detach doclets above\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A `bubble` series. If the [type](#series.bubble.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.bubble\n * @excluding dataParser, dataURL, legendSymbolColor, stack\n * @product   highcharts highstock\n * @requires  highcharts-more\n * @apioption series.bubble\n */\n/**\n * An array of data points for the series. For the `bubble` series type,\n * points can be given in the following ways:\n *\n * 1. An array of arrays with 3 or 2 values. In this case, the values correspond\n *    to `x,y,z`. If the first value is a string, it is applied as the name of\n *    the point, and the `x` value is inferred. The `x` value can also be\n *    omitted, in which case the inner arrays should be of length 2\\. Then the\n *    `x` value is automatically calculated, either starting at 0 and\n *    incremented by 1, or from `pointStart` and `pointInterval` given in the\n *    series options.\n *    ```js\n *    data: [\n *        [0, 1, 2],\n *        [1, 5, 5],\n *        [2, 0, 2]\n *    ]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.bubble.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 1,\n *        z: 1,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 5,\n *        z: 4,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}\n * @extends   series.line.data\n * @product   highcharts\n * @apioption series.bubble.data\n */\n/**\n * @extends     series.line.data.marker\n * @excluding   enabledThreshold, height, radius, width\n * @product     highcharts\n * @apioption   series.bubble.data.marker\n */\n/**\n * The size value for each bubble. The bubbles' diameters are computed\n * based on the `z`, and controlled by series options like `minSize`,\n * `maxSize`, `sizeBy`, `zMin` and `zMax`.\n *\n * @type      {number|null}\n * @product   highcharts\n * @apioption series.bubble.data.z\n */\n/**\n * @excluding enabled, enabledThreshold, height, radius, width\n * @apioption series.bubble.marker\n */\n''; // Adds doclets above to transpiled file\n\n;// ./code/es-modules/Series/ColumnRange/ColumnRangePoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { seriesTypes: { column: { prototype: { pointClass: { prototype: ColumnRangePoint_columnProto } } }, arearange: { prototype: { pointClass: ColumnRangePoint_AreaRangePoint } } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { extend: ColumnRangePoint_extend, isNumber: ColumnRangePoint_isNumber } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass ColumnRangePoint extends ColumnRangePoint_AreaRangePoint {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    isValid() {\n        return ColumnRangePoint_isNumber(this.low);\n    }\n}\nColumnRangePoint_extend(ColumnRangePoint.prototype, {\n    setState: ColumnRangePoint_columnProto.setState\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ColumnRange_ColumnRangePoint = (ColumnRangePoint);\n\n;// ./code/es-modules/Series/ColumnRange/ColumnRangeSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { noop: ColumnRangeSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { seriesTypes: { arearange: ColumnRangeSeries_AreaRangeSeries, column: ColumnSeries, column: { prototype: ColumnRangeSeries_columnProto } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { addEvent: ColumnRangeSeries_addEvent, clamp: ColumnRangeSeries_clamp, extend: ColumnRangeSeries_extend, isNumber: ColumnRangeSeries_isNumber, merge: ColumnRangeSeries_merge, pick: ColumnRangeSeries_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\n/**\n * The column range is a cartesian series type with higher and lower\n * Y values along an X axis. To display horizontal bars, set\n * [chart.inverted](#chart.inverted) to `true`.\n *\n * @sample {highcharts|highstock} highcharts/demo/columnrange/\n *         Inverted column range\n *\n * @extends      plotOptions.column\n * @since        2.3.0\n * @excluding    negativeColor, stacking, softThreshold, threshold\n * @product      highcharts highstock\n * @requires     highcharts-more\n * @optionparent plotOptions.columnrange\n */\nconst columnRangeOptions = {\n    borderRadius: {\n        where: 'all'\n    },\n    /**\n     * Extended data labels for range series types. Range series data labels\n     * have no `x` and `y` options. Instead, they have `xLow`, `xHigh`,\n     * `yLow` and `yHigh` options to allow the higher and lower data label\n     * sets individually.\n     *\n     * @declare   Highcharts.SeriesAreaRangeDataLabelsOptionsObject\n     * @extends   plotOptions.arearange.dataLabels\n     * @since     2.3.0\n     * @product   highcharts highstock\n     * @apioption plotOptions.columnrange.dataLabels\n     */\n    pointRange: null,\n    legendSymbol: 'rectangle',\n    /** @ignore-option */\n    marker: null,\n    states: {\n        hover: {\n            /** @ignore-option */\n            halo: false\n        }\n    }\n};\n/* *\n *\n *  Class\n *\n * */\n/**\n * The ColumnRangeSeries class\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.columnrange\n *\n * @augments Highcharts.Series\n */\nclass ColumnRangeSeries extends ColumnRangeSeries_AreaRangeSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    setOptions() {\n        // #14359 Prevent side-effect from stacking.\n        ColumnRangeSeries_merge(true, arguments[0], { stacking: void 0 });\n        return ColumnRangeSeries_AreaRangeSeries.prototype.setOptions.apply(this, arguments);\n    }\n    // Overrides from modules that may be loaded after this module\n    // @todo move to compositions\n    translate() {\n        return ColumnRangeSeries_columnProto.translate.apply(this);\n    }\n    // Public crispCol(): BBoxObject {\n    //     return columnProto.crispCol.apply(this, arguments as any);\n    // }\n    // public drawPoints(): void {\n    //     return columnProto.drawPoints.apply(this, arguments as any);\n    // }\n    // public drawTracker(): void {\n    //     return columnProto.drawTracker.apply(this, arguments as any);\n    // }\n    // public getColumnMetrics(): ColumnMetricsObject {\n    //     return columnProto.getColumnMetrics.apply(this, arguments as any);\n    // }\n    pointAttribs() {\n        return ColumnRangeSeries_columnProto.pointAttribs.apply(this, arguments);\n    }\n    // Public adjustForMissingColumns(): number {\n    //     return columnProto.adjustForMissingColumns.apply(this, arguments);\n    // }\n    // public animate(): void {\n    //     return columnProto.animate.apply(this, arguments as any);\n    // }\n    translate3dPoints() {\n        return ColumnRangeSeries_columnProto.translate3dPoints.apply(this, arguments);\n    }\n    translate3dShapes() {\n        return ColumnRangeSeries_columnProto.translate3dShapes.apply(this, arguments);\n    }\n    afterColumnTranslate() {\n        /**\n         * Translate data points from raw values x and y to plotX and plotY\n         * @private\n         */\n        const yAxis = this.yAxis, xAxis = this.xAxis, startAngleRad = xAxis.startAngleRad, chart = this.chart, isRadial = this.xAxis.isRadial, safeDistance = Math.max(chart.chartWidth, chart.chartHeight) + 999;\n        let height, heightDifference, start, y;\n        // eslint-disable-next-line valid-jsdoc\n        /**\n         * Don't draw too far outside plot area (#6835)\n         * @private\n         */\n        function safeBounds(pixelPos) {\n            return ColumnRangeSeries_clamp(pixelPos, -safeDistance, safeDistance);\n        }\n        // Set plotLow and plotHigh\n        this.points.forEach((point) => {\n            const shapeArgs = point.shapeArgs || {}, minPointLength = this.options.minPointLength, plotY = point.plotY, plotHigh = yAxis.translate(point.high, 0, 1, 0, 1);\n            if (ColumnRangeSeries_isNumber(plotHigh) && ColumnRangeSeries_isNumber(plotY)) {\n                point.plotHigh = safeBounds(plotHigh);\n                point.plotLow = safeBounds(plotY);\n                // Adjust shape\n                y = point.plotHigh;\n                height = ColumnRangeSeries_pick(point.rectPlotY, point.plotY) - point.plotHigh;\n                // Adjust for minPointLength\n                if (Math.abs(height) < minPointLength) {\n                    heightDifference = (minPointLength - height);\n                    height += heightDifference;\n                    y -= heightDifference / 2;\n                    // Adjust for negative ranges or reversed Y axis (#1457)\n                }\n                else if (height < 0) {\n                    height *= -1;\n                    y -= height;\n                }\n                if (isRadial && this.polar) {\n                    start = point.barX + startAngleRad;\n                    point.shapeType = 'arc';\n                    point.shapeArgs = this.polar.arc(y + height, y, start, start + point.pointWidth);\n                }\n                else {\n                    shapeArgs.height = height;\n                    shapeArgs.y = y;\n                    const { x = 0, width = 0 } = shapeArgs;\n                    // #17912, aligning column range points\n                    // merge if shapeArgs contains more properties e.g. for 3d\n                    point.shapeArgs = ColumnRangeSeries_merge(point.shapeArgs, this.crispCol(x, y, width, height));\n                    point.tooltipPos = chart.inverted ?\n                        [\n                            yAxis.len + yAxis.pos - chart.plotLeft - y -\n                                height / 2,\n                            xAxis.len + xAxis.pos - chart.plotTop - x -\n                                width / 2,\n                            height\n                        ] : [\n                        xAxis.left - chart.plotLeft + x + width / 2,\n                        yAxis.pos - chart.plotTop + y + height / 2,\n                        height\n                    ]; // Don't inherit from column tooltip position - #3372\n                }\n            }\n        });\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nColumnRangeSeries.defaultOptions = ColumnRangeSeries_merge(ColumnSeries.defaultOptions, ColumnRangeSeries_AreaRangeSeries.defaultOptions, columnRangeOptions);\nColumnRangeSeries_addEvent(ColumnRangeSeries, 'afterColumnTranslate', function () {\n    ColumnRangeSeries.prototype.afterColumnTranslate.apply(this);\n}, { order: 5 });\nColumnRangeSeries_extend(ColumnRangeSeries.prototype, {\n    directTouch: true,\n    pointClass: ColumnRange_ColumnRangePoint,\n    trackerGroups: ['group', 'dataLabelsGroup'],\n    adjustForMissingColumns: ColumnRangeSeries_columnProto.adjustForMissingColumns,\n    animate: ColumnRangeSeries_columnProto.animate,\n    crispCol: ColumnRangeSeries_columnProto.crispCol,\n    drawGraph: ColumnRangeSeries_noop,\n    drawPoints: ColumnRangeSeries_columnProto.drawPoints,\n    getSymbol: ColumnRangeSeries_noop,\n    drawTracker: ColumnRangeSeries_columnProto.drawTracker,\n    getColumnMetrics: ColumnRangeSeries_columnProto.getColumnMetrics\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('columnrange', ColumnRangeSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ColumnRange_ColumnRangeSeries = ((/* unused pure expression or super */ null && (ColumnRangeSeries)));\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A `columnrange` series. If the [type](#series.columnrange.type)\n * option is not specified, it is inherited from\n * [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.columnrange\n * @excluding dataParser, dataURL, stack, stacking\n * @product   highcharts highstock\n * @requires  highcharts-more\n * @apioption series.columnrange\n */\n/**\n * An array of data points for the series. For the `columnrange` series\n * type, points can be given in the following ways:\n *\n * 1. An array of arrays with 3 or 2 values. In this case, the values correspond\n *    to `x,low,high`. If the first value is a string, it is applied as the name\n *    of the point, and the `x` value is inferred. The `x` value can also be\n *    omitted, in which case the inner arrays should be of length 2\\. Then the\n *    `x` value is automatically calculated, either starting at 0 and\n *    incremented by 1, or from `pointStart` and `pointInterval` given in the\n *    series options.\n *    ```js\n *    data: [\n *        [0, 4, 2],\n *        [1, 2, 1],\n *        [2, 9, 10]\n *    ]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.columnrange.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        low: 0,\n *        high: 4,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        low: 5,\n *        high: 3,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}\n * @extends   series.arearange.data\n * @excluding marker\n * @product   highcharts highstock\n * @apioption series.columnrange.data\n */\n/**\n * @extends   series.columnrange.dataLabels\n * @product   highcharts highstock\n * @apioption series.columnrange.data.dataLabels\n */\n/**\n * @excluding halo, lineWidth, lineWidthPlus, marker\n * @product   highcharts highstock\n * @apioption series.columnrange.states.hover\n */\n/**\n * @excluding halo, lineWidth, lineWidthPlus, marker\n * @product   highcharts highstock\n * @apioption series.columnrange.states.select\n */\n''; // Adds doclets above into transpiled\n\n;// ./code/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Sebastian Bochan\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Column pyramid series display one pyramid per value along an X axis.\n * To display horizontal pyramids, set [chart.inverted](#chart.inverted) to\n * `true`.\n *\n * @sample {highcharts|highstock} highcharts/demo/column-pyramid/\n *         Column pyramid\n * @sample {highcharts|highstock} highcharts/plotoptions/columnpyramid-stacked/\n *         Column pyramid stacked\n * @sample {highcharts|highstock} highcharts/plotoptions/columnpyramid-inverted/\n *         Column pyramid inverted\n *\n * @extends      plotOptions.column\n * @since        7.0.0\n * @product      highcharts highstock\n * @excluding    boostThreshold, borderRadius, crisp, depth, edgeColor,\n *               edgeWidth, groupZPadding, negativeColor, softThreshold,\n *               threshold, zoneAxis, zones, boostBlending\n * @requires     highcharts-more\n * @optionparent plotOptions.columnpyramid\n */\nconst ColumnPyramidSeriesDefaults = {};\n/**\n * A `columnpyramid` series. If the [type](#series.columnpyramid.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.columnpyramid\n * @excluding connectEnds, connectNulls, dashStyle, dataParser, dataURL,\n *            gapSize, gapUnit, linecap, lineWidth, marker, step,\n *            boostThreshold, boostBlending\n * @product   highcharts highstock\n * @requires  highcharts-more\n * @apioption series.columnpyramid\n */\n/**\n * @excluding halo, lineWidth, lineWidthPlus, marker\n * @product   highcharts highstock\n * @apioption series.columnpyramid.states.hover\n */\n/**\n * @excluding halo, lineWidth, lineWidthPlus, marker\n * @product   highcharts highstock\n * @apioption series.columnpyramid.states.select\n */\n/**\n * An array of data points for the series. For the `columnpyramid` series type,\n * points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 6],\n *        [1, 2],\n *        [2, 6]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The objects are point configuration\n *    objects as seen below. If the total number of data points exceeds the\n *    series' [turboThreshold](#series.columnpyramid.turboThreshold), this\n *    option is not available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 9,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 6,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.line.data\n * @excluding marker\n * @product   highcharts highstock\n * @apioption series.columnpyramid.data\n */\n''; // Keeps doclets above separate\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ColumnPyramid_ColumnPyramidSeriesDefaults = (ColumnPyramidSeriesDefaults);\n\n;// ./code/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js\n/* *\n *\n *  (c) 2010-2024 Sebastian Bochan\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { column: ColumnPyramidSeries_ColumnSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { clamp: ColumnPyramidSeries_clamp, merge: ColumnPyramidSeries_merge, pick: ColumnPyramidSeries_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * The ColumnPyramidSeries class\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.columnpyramid\n *\n * @augments Highcharts.Series\n */\nclass ColumnPyramidSeries extends ColumnPyramidSeries_ColumnSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Overrides the column translate method\n     * @private\n     */\n    translate() {\n        const series = this, chart = series.chart, options = series.options, dense = series.dense =\n            series.closestPointRange * series.xAxis.transA < 2, borderWidth = series.borderWidth = ColumnPyramidSeries_pick(options.borderWidth, dense ? 0 : 1 // #3635\n        ), yAxis = series.yAxis, threshold = options.threshold, minPointLength = ColumnPyramidSeries_pick(options.minPointLength, 5), metrics = series.getColumnMetrics(), pointWidth = metrics.width, pointXOffset = series.pointXOffset = metrics.offset;\n        let translatedThreshold = series.translatedThreshold =\n            yAxis.getThreshold(threshold), \n        // Postprocessed for border width\n        seriesBarW = series.barW =\n            Math.max(pointWidth, 1 + 2 * borderWidth);\n        if (chart.inverted) {\n            translatedThreshold -= 0.5; // #3355\n        }\n        // When the pointPadding is 0,\n        // we want the pyramids to be packed tightly,\n        // so we allow individual pyramids to have individual sizes.\n        // When pointPadding is greater,\n        // we strive for equal-width columns (#2694).\n        if (options.pointPadding) {\n            seriesBarW = Math.ceil(seriesBarW);\n        }\n        super.translate();\n        // Record the new values\n        for (const point of series.points) {\n            const yBottom = ColumnPyramidSeries_pick(point.yBottom, translatedThreshold), safeDistance = 999 + Math.abs(yBottom), plotY = ColumnPyramidSeries_clamp(point.plotY, -safeDistance, yAxis.len + safeDistance), \n            // Don't draw too far outside plot area\n            // (#1303, #2241, #4264)\n            barW = seriesBarW / 2, barY = Math.min(plotY, yBottom), barH = Math.max(plotY, yBottom) - barY;\n            let barX = point.plotX + pointXOffset, stackTotal, stackHeight, topXwidth, bottomXwidth, invBarPos, x1, x2, x3, x4, y1, y2;\n            // Adjust for null or missing points\n            if (options.centerInCategory) {\n                barX = series.adjustForMissingColumns(barX, pointWidth, point, metrics);\n            }\n            point.barX = barX;\n            point.pointWidth = pointWidth;\n            // Fix the tooltip on center of grouped pyramids\n            // (#1216, #424, #3648)\n            point.tooltipPos = chart.inverted ?\n                [\n                    yAxis.len + yAxis.pos - chart.plotLeft - plotY,\n                    series.xAxis.len - barX - barW,\n                    barH\n                ] :\n                [\n                    barX + barW,\n                    plotY + yAxis.pos - chart.plotTop,\n                    barH\n                ];\n            stackTotal =\n                threshold + (point.total || point.y);\n            // Overwrite stacktotal (always 100 / -100)\n            if (options.stacking === 'percent') {\n                stackTotal =\n                    threshold + (point.y < 0) ?\n                        -100 :\n                        100;\n            }\n            // Get the highest point (if stack, extract from total)\n            const topPointY = yAxis.toPixels((stackTotal), true);\n            // Calculate height of stack (in pixels)\n            stackHeight =\n                chart.plotHeight - topPointY -\n                    (chart.plotHeight - translatedThreshold);\n            // `topXwidth` and `bottomXwidth` = width of lines from the center\n            // calculated from tanges proportion. Cannot be a NaN #12514.\n            topXwidth = stackHeight ?\n                (barW * (barY - topPointY)) / stackHeight : 0;\n            // Like topXwidth, but with height of point\n            bottomXwidth = stackHeight ?\n                (barW * (barY + barH - topPointY)) / stackHeight :\n                0;\n            /*\n                    /\\\n                   /  \\\n            x1,y1,------ x2,y1\n                /       \\\n               -----------\n            x4,y2        x3,y2\n            */\n            x1 = barX - topXwidth + barW;\n            x2 = barX + topXwidth + barW;\n            x3 = barX + bottomXwidth + barW;\n            x4 = barX - bottomXwidth + barW;\n            y1 = barY - minPointLength;\n            y2 = barY + barH;\n            if (point.y < 0) {\n                y1 = barY;\n                y2 = barY + barH + minPointLength;\n            }\n            // Inverted chart\n            if (chart.inverted) {\n                invBarPos = yAxis.width - barY;\n                stackHeight =\n                    topPointY - (yAxis.width - translatedThreshold);\n                // Proportion tanges\n                topXwidth = (barW *\n                    (topPointY - invBarPos)) / stackHeight;\n                bottomXwidth = (barW *\n                    (topPointY - (invBarPos - barH))) / stackHeight;\n                x1 = barX + barW + topXwidth; // Top bottom\n                x2 = x1 - 2 * topXwidth; // Top top\n                x3 = barX - bottomXwidth + barW; // Bottom top\n                x4 = barX + bottomXwidth + barW; // Bottom bottom\n                y1 = barY;\n                y2 = barY + barH - minPointLength;\n                if (point.y < 0) {\n                    y2 = barY + barH + minPointLength;\n                }\n            }\n            // Register shape type and arguments to be used in drawPoints\n            point.shapeType = 'path';\n            point.shapeArgs = {\n                x: x1,\n                y: y1,\n                width: x2 - x1,\n                height: barH,\n                // Path of pyramid\n                d: [\n                    ['M', x1, y1],\n                    ['L', x2, y1],\n                    ['L', x3, y2],\n                    ['L', x4, y2],\n                    ['Z']\n                ]\n            };\n        }\n    }\n}\n/* *\n *\n *  Static properties\n *\n * */\nColumnPyramidSeries.defaultOptions = ColumnPyramidSeries_merge(ColumnPyramidSeries_ColumnSeries.defaultOptions, ColumnPyramid_ColumnPyramidSeriesDefaults);\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('columnpyramid', ColumnPyramidSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ColumnPyramid_ColumnPyramidSeries = ((/* unused pure expression or super */ null && (ColumnPyramidSeries)));\n\n;// ./code/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Error bars are a graphical representation of the variability of data and\n * are used on graphs to indicate the error, or uncertainty in a reported\n * measurement.\n *\n * @sample highcharts/demo/error-bar/\n *         Error bars on a column series\n * @sample highcharts/series-errorbar/on-scatter/\n *         Error bars on a scatter series\n * @sample highcharts/series-errorbar/datalabels/\n *         Error bars with data labels\n *\n * @extends      plotOptions.boxplot\n * @excluding    boostBlending, boostThreshold\n * @product      highcharts\n * @requires     highcharts-more\n * @optionparent plotOptions.errorbar\n */\nconst ErrorBarSeriesDefaults = {\n    /**\n     * The main color of the bars. This can be overridden by\n     * [stemColor](#plotOptions.errorbar.stemColor) and\n     * [whiskerColor](#plotOptions.errorbar.whiskerColor) individually.\n     *\n     * @sample {highcharts} highcharts/plotoptions/error-bar-styling/\n     *         Error bar styling\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default #000000\n     * @since   3.0\n     * @product highcharts\n     */\n    color: \"#000000\" /* Palette.neutralColor100 */,\n    grouping: false,\n    /**\n     * The parent series of the error bar. The default value links it to\n     * the previous series. Otherwise, use the id of the parent series.\n     *\n     * @since   3.0\n     * @product highcharts\n     */\n    linkedTo: ':previous',\n    tooltip: {\n        pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'\n    },\n    /**\n     * The line width of the whiskers, the horizontal lines marking\n     * low and high values. When `null`, the general\n     * [lineWidth](#plotOptions.errorbar.lineWidth) applies.\n     *\n     * @sample {highcharts} highcharts/plotoptions/error-bar-styling/\n     *         Error bar styling\n     *\n     * @type    {number}\n     * @since   3.0\n     * @product highcharts\n     */\n    whiskerWidth: null\n};\n/**\n * A `errorbar` series. If the [type](#series.errorbar.type) option\n * is not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.errorbar\n * @excluding dataParser, dataURL, stack, stacking, boostThreshold,\n *            boostBlending\n * @product   highcharts\n * @requires  highcharts-more\n * @apioption series.errorbar\n */\n/**\n * An array of data points for the series. For the `errorbar` series\n * type, points can be given in the following ways:\n *\n * 1. An array of arrays with 3 or 2 values. In this case, the values correspond\n *    to `x,low,high`. If the first value is a string, it is applied as the name\n *    of the point, and the `x` value is inferred. The `x` value can also be\n *    omitted, in which case the inner arrays should be of length 2\\. Then the\n *    `x` value is automatically calculated, either starting at 0 and\n *    incremented by 1, or from `pointStart` and `pointInterval` given in the\n *    series options.\n *    ```js\n *    data: [\n *        [0, 10, 2],\n *        [1, 1, 8],\n *        [2, 4, 5]\n *    ]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.errorbar.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        low: 0,\n *        high: 0,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        low: 5,\n *        high: 5,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}\n * @extends   series.arearange.data\n * @excluding dataLabels, drilldown, marker, states\n * @product   highcharts\n * @apioption series.errorbar.data\n */\n''; // Adds doclets above to transpiled file\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ErrorBar_ErrorBarSeriesDefaults = (ErrorBarSeriesDefaults);\n\n;// ./code/es-modules/Series/ErrorBar/ErrorBarSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\nconst { arearange: ErrorBarSeries_AreaRangeSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { addEvent: ErrorBarSeries_addEvent, merge: ErrorBarSeries_merge, extend: ErrorBarSeries_extend } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * Errorbar series type\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.errorbar\n *\n * @augments Highcharts.Series\n */\nclass ErrorBarSeries extends BoxPlot_BoxPlotSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    getColumnMetrics() {\n        const series = this;\n        // Get the width and X offset, either on top of the linked series\n        // column or standalone\n        return ((series.linkedParent && series.linkedParent.columnMetrics) ||\n            highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_default().prototype.getColumnMetrics.call(series));\n    }\n    drawDataLabels() {\n        const series = this, valKey = series.pointValKey;\n        if (ErrorBarSeries_AreaRangeSeries) {\n            ErrorBarSeries_AreaRangeSeries.prototype.drawDataLabels.call(series);\n            // Arearange drawDataLabels does not reset point.y to high,\n            // but to low after drawing (#4133)\n            for (const point of series.points) {\n                point.y = point[valKey];\n            }\n        }\n    }\n    toYData(point) {\n        // Return a plain array for speedy calculation\n        return [point.low, point.high];\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nErrorBarSeries.defaultOptions = ErrorBarSeries_merge(BoxPlot_BoxPlotSeries.defaultOptions, ErrorBar_ErrorBarSeriesDefaults);\nErrorBarSeries_addEvent(ErrorBarSeries, 'afterTranslate', function () {\n    for (const point of this.points) {\n        point.plotLow = point.plotY;\n    }\n}, { order: 0 });\nErrorBarSeries_extend(ErrorBarSeries.prototype, {\n    pointArrayMap: ['low', 'high'], // Array point configs are mapped to this\n    pointValKey: 'high', // Defines the top of the tracker\n    doQuartiles: false\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('errorbar', ErrorBarSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ErrorBar_ErrorBarSeries = ((/* unused pure expression or super */ null && (ErrorBarSeries)));\n\n;// ./code/es-modules/Series/Gauge/GaugePoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { series: { prototype: { pointClass: Point } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n/* *\n *\n *  Class\n *\n * */\nclass GaugePoint extends Point {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Don't do any hover colors or anything\n     * @private\n     */\n    setState(state) {\n        this.state = state;\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Gauge_GaugePoint = (GaugePoint);\n\n;// ./code/es-modules/Series/Gauge/GaugeSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { noop: GaugeSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { series: GaugeSeries_Series, seriesTypes: { column: GaugeSeries_ColumnSeries } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { clamp: GaugeSeries_clamp, isNumber: GaugeSeries_isNumber, extend: GaugeSeries_extend, merge: GaugeSeries_merge, pick: GaugeSeries_pick, pInt, defined: GaugeSeries_defined } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n *\n * The `gauge` series type\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.map\n *\n * @augments Highcharts.Series\n */\nclass GaugeSeries extends GaugeSeries_Series {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Calculate paths etc\n     * @private\n     */\n    translate() {\n        const series = this, yAxis = series.yAxis, options = series.options, center = yAxis.center;\n        series.generatePoints();\n        series.points.forEach((point) => {\n            const dialOptions = GaugeSeries_merge(options.dial, point.dial), radius = (pInt(dialOptions.radius) * center[2]) / 200, baseLength = (pInt(dialOptions.baseLength) * radius) / 100, rearLength = (pInt(dialOptions.rearLength) * radius) / 100, baseWidth = dialOptions.baseWidth, topWidth = dialOptions.topWidth;\n            let overshoot = options.overshoot, rotation = yAxis.startAngleRad + yAxis.translate(point.y, void 0, void 0, void 0, true);\n            // Handle the wrap and overshoot options\n            if (GaugeSeries_isNumber(overshoot) || options.wrap === false) {\n                overshoot = GaugeSeries_isNumber(overshoot) ?\n                    (overshoot / 180 * Math.PI) : 0;\n                rotation = GaugeSeries_clamp(rotation, yAxis.startAngleRad - overshoot, yAxis.endAngleRad + overshoot);\n            }\n            rotation = rotation * 180 / Math.PI;\n            point.shapeType = 'path';\n            const d = dialOptions.path || [\n                ['M', -rearLength, -baseWidth / 2],\n                ['L', baseLength, -baseWidth / 2],\n                ['L', radius, -topWidth / 2],\n                ['L', radius, topWidth / 2],\n                ['L', baseLength, baseWidth / 2],\n                ['L', -rearLength, baseWidth / 2],\n                ['Z']\n            ];\n            point.shapeArgs = {\n                d,\n                translateX: center[0],\n                translateY: center[1],\n                rotation: rotation\n            };\n            // Positions for data label\n            point.plotX = center[0];\n            point.plotY = center[1];\n            if (GaugeSeries_defined(point.y) && yAxis.max - yAxis.min) {\n                point.percentage =\n                    (point.y - yAxis.min) / (yAxis.max - yAxis.min) * 100;\n            }\n        });\n    }\n    /**\n     * Draw the points where each point is one needle\n     * @private\n     */\n    drawPoints() {\n        const series = this, chart = series.chart, center = series.yAxis.center, pivot = series.pivot, options = series.options, pivotOptions = options.pivot, renderer = chart.renderer;\n        series.points.forEach((point) => {\n            const graphic = point.graphic, shapeArgs = point.shapeArgs, d = shapeArgs.d, dialOptions = GaugeSeries_merge(options.dial, point.dial); // #1233\n            if (graphic) {\n                graphic.animate(shapeArgs);\n                shapeArgs.d = d; // Animate alters it\n            }\n            else {\n                point.graphic =\n                    renderer[point.shapeType](shapeArgs)\n                        .addClass('highcharts-dial')\n                        .add(series.group);\n            }\n            // Presentational attributes\n            if (!chart.styledMode) {\n                point.graphic[graphic ? 'animate' : 'attr']({\n                    stroke: dialOptions.borderColor,\n                    'stroke-width': dialOptions.borderWidth,\n                    fill: dialOptions.backgroundColor\n                });\n            }\n        });\n        // Add or move the pivot\n        if (pivot) {\n            pivot.animate({\n                translateX: center[0],\n                translateY: center[1]\n            });\n        }\n        else if (pivotOptions) {\n            series.pivot =\n                renderer.circle(0, 0, pivotOptions.radius)\n                    .attr({\n                    zIndex: 2\n                })\n                    .addClass('highcharts-pivot')\n                    .translate(center[0], center[1])\n                    .add(series.group);\n            // Presentational attributes\n            if (!chart.styledMode) {\n                series.pivot.attr({\n                    fill: pivotOptions.backgroundColor,\n                    stroke: pivotOptions.borderColor,\n                    'stroke-width': pivotOptions.borderWidth\n                });\n            }\n        }\n    }\n    /**\n     * Animate the arrow up from startAngle\n     * @private\n     */\n    animate(init) {\n        const series = this;\n        if (!init) {\n            series.points.forEach((point) => {\n                const graphic = point.graphic;\n                if (graphic) {\n                    // Start value\n                    graphic.attr({\n                        rotation: series.yAxis.startAngleRad * 180 / Math.PI\n                    });\n                    // Animate\n                    graphic.animate({\n                        rotation: point.shapeArgs.rotation\n                    }, series.options.animation);\n                }\n            });\n        }\n    }\n    /**\n     * @private\n     */\n    render() {\n        this.group = this.plotGroup('group', 'series', this.visible ? 'inherit' : 'hidden', this.options.zIndex, this.chart.seriesGroup);\n        GaugeSeries_Series.prototype.render.call(this);\n        this.group.clip(this.chart.clipRect);\n    }\n    /**\n     * Extend the basic setData method by running processData and generatePoints\n     * immediately, in order to access the points from the legend.\n     * @private\n     */\n    setData(data, redraw) {\n        GaugeSeries_Series.prototype.setData.call(this, data, false);\n        this.processData();\n        this.generatePoints();\n        if (GaugeSeries_pick(redraw, true)) {\n            this.chart.redraw();\n        }\n    }\n    /**\n     * Define hasData function for non-cartesian series.\n     * Returns true if the series has points at all.\n     * @private\n     */\n    hasData() {\n        return !!this.points.length; // != 0\n    }\n}\n/* *\n *\n *  Static properties\n *\n * */\n/**\n * Gauges are circular plots displaying one or more values with a dial\n * pointing to values along the perimeter.\n *\n * @sample highcharts/demo/gauge-speedometer/\n *         Gauge chart\n *\n * @extends      plotOptions.line\n * @excluding    animationLimit, boostThreshold, colorAxis, colorKey,\n *               connectEnds, connectNulls, cropThreshold, dashStyle,\n *               dragDrop, findNearestPointBy, getExtremesFromAll, marker,\n *               negativeColor, pointPlacement, shadow, softThreshold,\n *               stacking, states, step, threshold, turboThreshold, xAxis,\n *               zoneAxis, zones, dataSorting, boostBlending\n * @product      highcharts\n * @requires     highcharts-more\n * @optionparent plotOptions.gauge\n */\nGaugeSeries.defaultOptions = GaugeSeries_merge(GaugeSeries_Series.defaultOptions, {\n    /**\n     * When this option is `true`, the dial will wrap around the axes.\n     * For instance, in a full-range gauge going from 0 to 360, a value\n     * of 400 will point to 40\\. When `wrap` is `false`, the dial stops\n     * at 360.\n     *\n     * @see [overshoot](#plotOptions.gauge.overshoot)\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.gauge.wrap\n     */\n    /**\n     * Data labels for the gauge. For gauges, the data labels are\n     * enabled by default and shown in a bordered box below the point.\n     *\n     * @since   2.3.0\n     * @product highcharts\n     */\n    dataLabels: {\n        borderColor: \"#cccccc\" /* Palette.neutralColor20 */,\n        borderRadius: 3,\n        borderWidth: 1,\n        crop: false,\n        defer: false,\n        enabled: true,\n        verticalAlign: 'top',\n        y: 15,\n        zIndex: 2\n    },\n    /**\n     * Options for the dial or arrow pointer of the gauge.\n     *\n     * In styled mode, the dial is styled with the\n     * `.highcharts-gauge-series .highcharts-dial` rule.\n     *\n     * @sample {highcharts} highcharts/css/gauge/\n     *         Styled mode\n     *\n     * @type    {*}\n     * @since   2.3.0\n     * @product highcharts\n     */\n    dial: {\n        /**\n         * The background or fill color of the gauge's dial.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-dial/\n         *         Dial options demonstrated\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @default   #000000\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.backgroundColor\n         */\n        backgroundColor: \"#000000\" /* Palette.neutralColor100 */,\n        /**\n         * The length of the dial's base part, relative to the total\n         * radius or length of the dial.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-dial/\n         *         Dial options demonstrated\n         *\n         * @type      {string}\n         * @default   70%\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.baseLength\n         */\n        baseLength: '70%',\n        /**\n         * The pixel width of the base of the gauge dial. The base is\n         * the part closest to the pivot, defined by baseLength.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-dial/\n         *         Dial options demonstrated\n         *\n         * @type      {number}\n         * @default   3\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.baseWidth\n         */\n        baseWidth: 3,\n        /**\n         * The border color or stroke of the gauge's dial. By default,\n         * the borderWidth is 0, so this must be set in addition to a\n         * custom border color.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-dial/\n         *         Dial options demonstrated\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @default   #cccccc\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.borderColor\n         */\n        borderColor: \"#cccccc\" /* Palette.neutralColor20 */,\n        /**\n         * The width of the gauge dial border in pixels.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-dial/\n         *         Dial options demonstrated\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.borderWidth\n         */\n        borderWidth: 0,\n        /**\n         * An array with an SVG path for the custom dial.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-path/\n         *         Dial options demonstrated\n         *\n         * @type      {Highcharts.SVGPathArray}\n         * @since 10.2.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.path\n         */\n        /**\n         * The radius or length of the dial, in percentages relative to\n         * the radius of the gauge itself.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-dial/\n         *         Dial options demonstrated\n         *\n         * @type      {string}\n         * @default   80%\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.radius\n         */\n        radius: '80%',\n        /**\n         * The length of the dial's rear end, the part that extends out\n         * on the other side of the pivot. Relative to the dial's\n         * length.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-dial/\n         *         Dial options demonstrated\n         *\n         * @type      {string}\n         * @default   10%\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.rearLength\n         */\n        rearLength: '10%',\n        /**\n         * The width of the top of the dial, closest to the perimeter.\n         * The pivot narrows in from the base to the top.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-dial/\n         *         Dial options demonstrated\n         *\n         * @type      {number}\n         * @default   1\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.dial.topWidth\n         */\n        topWidth: 1\n    },\n    /**\n     * Allow the dial to overshoot the end of the perimeter axis by\n     * this many degrees. Say if the gauge axis goes from 0 to 60, a\n     * value of 100, or 1000, will show 5 degrees beyond the end of the\n     * axis when this option is set to 5.\n     *\n     * @see [wrap](#plotOptions.gauge.wrap)\n     *\n     * @sample {highcharts} highcharts/plotoptions/gauge-overshoot/\n     *         Allow 5 degrees overshoot\n     *\n     * @type      {number}\n     * @since     3.0.10\n     * @product   highcharts\n     * @apioption plotOptions.gauge.overshoot\n     */\n    /**\n     * Options for the pivot or the center point of the gauge.\n     *\n     * In styled mode, the pivot is styled with the\n     * `.highcharts-gauge-series .highcharts-pivot` rule.\n     *\n     * @sample {highcharts} highcharts/css/gauge/\n     *         Styled mode\n     *\n     * @type    {*}\n     * @since   2.3.0\n     * @product highcharts\n     */\n    pivot: {\n        /**\n         * The pixel radius of the pivot.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-pivot/\n         *         Pivot options demonstrated\n         *\n         * @type      {number}\n         * @default   5\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.pivot.radius\n         */\n        radius: 5,\n        /**\n         * The border or stroke width of the pivot.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-pivot/\n         *         Pivot options demonstrated\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.pivot.borderWidth\n         */\n        borderWidth: 0,\n        /**\n         * The border or stroke color of the pivot. In able to change\n         * this, the borderWidth must also be set to something other\n         * than the default 0.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-pivot/\n         *         Pivot options demonstrated\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @default   #cccccc\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.pivot.borderColor\n         */\n        borderColor: \"#cccccc\" /* Palette.neutralColor20 */,\n        /**\n         * The background color or fill of the pivot.\n         *\n         * @sample {highcharts} highcharts/plotoptions/gauge-pivot/\n         *         Pivot options demonstrated\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @default   #000000\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.gauge.pivot.backgroundColor\n         */\n        backgroundColor: \"#000000\" /* Palette.neutralColor100 */\n    },\n    tooltip: {\n        headerFormat: ''\n    },\n    /**\n     * Whether to display this particular series or series type in the\n     * legend. Defaults to false for gauge series.\n     *\n     * @since   2.3.0\n     * @product highcharts\n     */\n    showInLegend: false\n    // Prototype members\n});\nGaugeSeries_extend(GaugeSeries.prototype, {\n    // `chart.angular` will be set to true when a gauge series is present, and\n    // this will be used on the axes\n    angular: true,\n    directTouch: true, // #5063\n    drawGraph: GaugeSeries_noop,\n    drawTracker: GaugeSeries_ColumnSeries.prototype.drawTracker,\n    fixedBox: true,\n    forceDL: true,\n    noSharedTooltip: true,\n    pointClass: Gauge_GaugePoint,\n    trackerGroups: ['group', 'dataLabelsGroup']\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('gauge', GaugeSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Gauge_GaugeSeries = ((/* unused pure expression or super */ null && (GaugeSeries)));\n/* *\n *\n *  API options\n *\n * */\n/**\n * A `gauge` series. If the [type](#series.gauge.type) option is not\n * specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.gauge\n * @excluding animationLimit, boostThreshold, connectEnds, connectNulls,\n *            cropThreshold, dashStyle, dataParser, dataURL, findNearestPointBy,\n *            getExtremesFromAll, marker, negativeColor, pointPlacement, shadow,\n *            softThreshold, stack, stacking, states, step, threshold,\n *            turboThreshold, zoneAxis, zones, dataSorting, boostBlending\n * @product   highcharts\n * @requires  highcharts-more\n * @apioption series.gauge\n */\n/**\n * An array of data points for the series. For the `gauge` series type,\n * points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.gauge.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        y: 6,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        y: 8,\n *        name: \"Point1\",\n *       color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * The typical gauge only contains a single data value.\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|null|*>}\n * @extends   series.line.data\n * @excluding drilldown, marker, x\n * @product   highcharts\n * @apioption series.gauge.data\n */\n''; // Adds the doclets above in the transpiled file\n\n;// ./code/es-modules/Series/DragNodesComposition.js\n/* *\n *\n *  Networkgraph series\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { composed: DragNodesComposition_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: DragNodesComposition_addEvent, pushUnique: DragNodesComposition_pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction DragNodesComposition_compose(ChartClass) {\n    if (DragNodesComposition_pushUnique(DragNodesComposition_composed, 'DragNodes')) {\n        DragNodesComposition_addEvent(ChartClass, 'load', onChartLoad);\n    }\n}\n/**\n * Draggable mode:\n * @private\n */\nfunction onChartLoad() {\n    const chart = this;\n    let mousedownUnbinder, mousemoveUnbinder, mouseupUnbinder;\n    if (chart.container) {\n        mousedownUnbinder = DragNodesComposition_addEvent(chart.container, 'mousedown', (event) => {\n            const point = chart.hoverPoint;\n            if (point &&\n                point.series &&\n                point.series.hasDraggableNodes &&\n                point.series.options.draggable) {\n                point.series.onMouseDown(point, event);\n                mousemoveUnbinder = DragNodesComposition_addEvent(chart.container, 'mousemove', (e) => (point &&\n                    point.series &&\n                    point.series.onMouseMove(point, e)));\n                mouseupUnbinder = DragNodesComposition_addEvent(chart.container.ownerDocument, 'mouseup', (e) => {\n                    mousemoveUnbinder();\n                    mouseupUnbinder();\n                    return point &&\n                        point.series &&\n                        point.series.onMouseUp(point, e);\n                });\n            }\n        });\n    }\n    DragNodesComposition_addEvent(chart, 'destroy', function () {\n        mousedownUnbinder();\n    });\n}\n/**\n * Mouse down action, initializing drag&drop mode.\n *\n * @private\n * @param {Highcharts.Point} point\n *        The point that event occurred.\n * @param {Highcharts.PointerEventObject} event\n *        Browser event, before normalization.\n */\nfunction onMouseDown(point, event) {\n    const normalizedEvent = this.chart.pointer?.normalize(event) || event;\n    point.fixedPosition = {\n        chartX: normalizedEvent.chartX,\n        chartY: normalizedEvent.chartY,\n        plotX: point.plotX,\n        plotY: point.plotY\n    };\n    point.inDragMode = true;\n}\n/**\n * Mouse move action during drag&drop.\n *\n * @private\n *\n * @param {Highcharts.Point} point\n *        The point that event occurred.\n * @param {global.Event} event\n *        Browser event, before normalization.\n */\nfunction onMouseMove(point, event) {\n    if (point.fixedPosition && point.inDragMode) {\n        const series = this, chart = series.chart, normalizedEvent = chart.pointer?.normalize(event) || event, diffX = point.fixedPosition.chartX - normalizedEvent.chartX, diffY = point.fixedPosition.chartY - normalizedEvent.chartY, graphLayoutsLookup = chart.graphLayoutsLookup;\n        let newPlotX, newPlotY;\n        // At least 5px to apply change (avoids simple click):\n        if (Math.abs(diffX) > 5 || Math.abs(diffY) > 5) {\n            newPlotX = point.fixedPosition.plotX - diffX;\n            newPlotY = point.fixedPosition.plotY - diffY;\n            if (chart.isInsidePlot(newPlotX, newPlotY)) {\n                point.plotX = newPlotX;\n                point.plotY = newPlotY;\n                point.hasDragged = true;\n                this.redrawHalo(point);\n                graphLayoutsLookup.forEach((layout) => {\n                    layout.restartSimulation();\n                });\n            }\n        }\n    }\n}\n/**\n * Mouse up action, finalizing drag&drop.\n *\n * @private\n * @param {Highcharts.Point} point\n *        The point that event occurred.\n */\nfunction onMouseUp(point) {\n    if (point.fixedPosition) {\n        if (point.hasDragged) {\n            if (this.layout.enableSimulation) {\n                this.layout.start();\n            }\n            else {\n                this.chart.redraw();\n            }\n        }\n        point.inDragMode = point.hasDragged = false;\n        if (!this.options.fixedDraggable) {\n            delete point.fixedPosition;\n        }\n    }\n}\n/**\n * Redraw halo on mousemove during the drag&drop action.\n *\n * @private\n * @param {Highcharts.Point} point\n *        The point that should show halo.\n */\nfunction redrawHalo(point) {\n    if (point && this.halo) {\n        this.halo.attr({\n            d: point.haloPath(this.options.states.hover.halo.size)\n        });\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst DragNodesComposition = {\n    compose: DragNodesComposition_compose,\n    onMouseDown,\n    onMouseMove,\n    onMouseUp,\n    redrawHalo\n};\n/* harmony default export */ const Series_DragNodesComposition = (DragNodesComposition);\n\n;// ./code/es-modules/Series/GraphLayoutComposition.js\n/* *\n *\n *  Networkgraph series\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { setAnimation } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { composed: GraphLayoutComposition_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: GraphLayoutComposition_addEvent, pushUnique: GraphLayoutComposition_pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\nconst integrations = {};\nconst layouts = {};\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction GraphLayoutComposition_compose(ChartClass) {\n    if (GraphLayoutComposition_pushUnique(GraphLayoutComposition_composed, 'GraphLayout')) {\n        GraphLayoutComposition_addEvent(ChartClass, 'afterPrint', onChartAfterPrint);\n        GraphLayoutComposition_addEvent(ChartClass, 'beforePrint', onChartBeforePrint);\n        GraphLayoutComposition_addEvent(ChartClass, 'predraw', onChartPredraw);\n        GraphLayoutComposition_addEvent(ChartClass, 'render', onChartRender);\n    }\n}\n/**\n * Re-enable simulation after print.\n * @private\n */\nfunction onChartAfterPrint() {\n    if (this.graphLayoutsLookup) {\n        this.graphLayoutsLookup.forEach((layout) => {\n            // Return to default simulation\n            layout.updateSimulation();\n        });\n        this.redraw();\n    }\n}\n/**\n * Disable simulation before print if enabled.\n * @private\n */\nfunction onChartBeforePrint() {\n    if (this.graphLayoutsLookup) {\n        this.graphLayoutsLookup.forEach((layout) => {\n            layout.updateSimulation(false);\n        });\n        this.redraw();\n    }\n}\n/**\n * Clear previous layouts.\n * @private\n */\nfunction onChartPredraw() {\n    if (this.graphLayoutsLookup) {\n        this.graphLayoutsLookup.forEach((layout) => {\n            layout.stop();\n        });\n    }\n}\n/**\n * @private\n */\nfunction onChartRender() {\n    let systemsStable, afterRender = false;\n    const layoutStep = (layout) => {\n        if (layout.maxIterations-- &&\n            isFinite(layout.temperature) &&\n            !layout.isStable() &&\n            !layout.enableSimulation) {\n            // Hook similar to build-in addEvent, but instead of\n            // creating whole events logic, use just a function.\n            // It's faster which is important for rAF code.\n            // Used e.g. in packed-bubble series for bubble radius\n            // calculations\n            if (layout.beforeStep) {\n                layout.beforeStep();\n            }\n            layout.step();\n            systemsStable = false;\n            afterRender = true;\n        }\n    };\n    if (this.graphLayoutsLookup) {\n        setAnimation(false, this);\n        // Start simulation\n        this.graphLayoutsLookup.forEach((layout) => layout.start());\n        // Just one sync step, to run different layouts similar to\n        // async mode.\n        while (!systemsStable) {\n            systemsStable = true;\n            this.graphLayoutsLookup.forEach(layoutStep);\n        }\n        if (afterRender) {\n            this.series.forEach((series) => {\n                if (series && series.layout) {\n                    series.render();\n                }\n            });\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst GraphLayoutComposition = {\n    compose: GraphLayoutComposition_compose,\n    integrations,\n    layouts\n};\n/* harmony default export */ const Series_GraphLayoutComposition = (GraphLayoutComposition);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Chart\"],\"commonjs\":[\"highcharts\",\"Chart\"],\"commonjs2\":[\"highcharts\",\"Chart\"],\"root\":[\"Highcharts\",\"Chart\"]}\nvar highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_ = __webpack_require__(960);\nvar highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default = /*#__PURE__*/__webpack_require__.n(highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_);\n;// ./code/es-modules/Series/PackedBubble/PackedBubblePoint.js\n/* *\n *\n *  (c) 2010-2024 Grzegorz Blachlinski, Sebastian Bochan\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { seriesTypes: { bubble: { prototype: { pointClass: PackedBubblePoint_BubblePoint } } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n/* *\n *\n *  Class\n *\n * */\nclass PackedBubblePoint extends PackedBubblePoint_BubblePoint {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Destroy point.\n     * Then remove point from the layout.\n     * @private\n     */\n    destroy() {\n        if (this.series?.layout) {\n            this.series.layout.removeElementFromCollection(this, this.series.layout.nodes);\n        }\n        return highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.destroy.apply(this, arguments);\n    }\n    firePointEvent() {\n        const series = this.series, seriesOptions = series.options;\n        if (this.isParentNode && seriesOptions.parentNode) {\n            const temp = seriesOptions.allowPointSelect;\n            seriesOptions.allowPointSelect = (seriesOptions.parentNode.allowPointSelect);\n            highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.firePointEvent.apply(this, arguments);\n            seriesOptions.allowPointSelect = temp;\n        }\n        else {\n            highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.firePointEvent.apply(this, arguments);\n        }\n    }\n    select() {\n        const point = this, series = this.series, chart = series.chart;\n        if (point.isParentNode) {\n            chart.getSelectedPoints = chart.getSelectedParentNodes;\n            highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.select.apply(this, arguments);\n            chart.getSelectedPoints = (highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default()).prototype.getSelectedPoints;\n        }\n        else {\n            highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.select.apply(this, arguments);\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const PackedBubble_PackedBubblePoint = (PackedBubblePoint);\n\n;// ./code/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js\n/* *\n *\n *  Imports\n *\n * */\n\nconst { isNumber: PackedBubbleSeriesDefaults_isNumber } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\n/**\n * A packed bubble series is a two dimensional series type, where each point\n * renders a value in X, Y position. Each point is drawn as a bubble\n * where the bubbles don't overlap with each other and the radius\n * of the bubble relates to the value.\n *\n * @sample highcharts/demo/packed-bubble/\n *         Packed bubble chart\n * @sample highcharts/demo/packed-bubble-split/\n *         Split packed bubble chart\n *\n * @extends      plotOptions.bubble\n * @excluding    boostThreshold, boostBlending,connectEnds, connectNulls,\n *               cropThreshold, dataSorting, dragDrop, jitter,\n *               legendSymbolColor, keys, pointPlacement, sizeByAbsoluteValue,\n *               step, xAxis, yAxis, zMax, zMin\n * @product      highcharts\n * @since        7.0.0\n * @requires     highcharts-more\n * @optionparent plotOptions.packedbubble\n *\n * @private\n */\nconst PackedBubbleSeriesDefaults = {\n    /**\n     * Minimum bubble size. Bubbles will automatically size between the\n     * `minSize` and `maxSize` to reflect the value of each bubble.\n     * Can be either pixels (when no unit is given), or a percentage of\n     * the smallest one of the plot width and height, divided by the square\n     * root of total number of points.\n     *\n     * @sample highcharts/plotoptions/bubble-size/\n     *         Bubble size\n     *\n     * @type {number|string}\n     *\n     * @private\n     */\n    minSize: '10%',\n    /**\n     * Maximum bubble size. Bubbles will automatically size between the\n     * `minSize` and `maxSize` to reflect the value of each bubble.\n     * Can be either pixels (when no unit is given), or a percentage of\n     * the smallest one of the plot width and height, divided by the square\n     * root of total number of points.\n     *\n     * @sample highcharts/plotoptions/bubble-size/\n     *         Bubble size\n     *\n     * @type {number|string}\n     *\n     * @private\n     */\n    maxSize: '50%',\n    sizeBy: 'area',\n    zoneAxis: 'y',\n    crisp: false,\n    tooltip: {\n        pointFormat: 'Value: {point.value}'\n    },\n    /**\n     * Flag to determine if nodes are draggable or not. Available for\n     * graph with useSimulation set to true only.\n     *\n     * @since 7.1.0\n     *\n     * @private\n     */\n    draggable: true,\n    /**\n     * An option is giving a possibility to choose between using simulation\n     * for calculating bubble positions. These reflects in both animation\n     * and final position of bubbles. Simulation is also adding options to\n     * the series graph based on used layout. In case of big data sets, with\n     * any performance issues, it is possible to disable animation and pack\n     * bubble in a simple circular way.\n     *\n     * @sample highcharts/series-packedbubble/spiral/\n     *         useSimulation set to false\n     *\n     * @since 7.1.0\n     *\n     * @private\n     */\n    useSimulation: true,\n    /**\n     * Series options for parent nodes.\n     *\n     * @since 8.1.1\n     *\n     * @private\n     */\n    parentNode: {\n        /**\n         * Allow this series' parent nodes to be selected\n         * by clicking on the graph.\n         *\n         * @since 8.1.1\n         */\n        allowPointSelect: false\n    },\n    /**\n     *\n     * @declare Highcharts.SeriesPackedBubbleDataLabelsOptionsObject\n     *\n     * @private\n     */\n    dataLabels: {\n        /**\n         * The\n         * [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)\n         * specifying what to show for _node_ in the networkgraph. In v7.0\n         * defaults to `{key}`, since v7.1 defaults to `undefined` and\n         * `formatter` is used instead.\n         *\n         * @type      {string}\n         * @since     7.0.0\n         * @apioption plotOptions.packedbubble.dataLabels.format\n         */\n        // eslint-disable-next-line valid-jsdoc\n        /**\n         * Callback JavaScript function to format the data label for a node.\n         * Note that if a `format` is defined, the format takes precedence\n         * and the formatter is ignored.\n         *\n         * @since 7.0.0\n         */\n        formatter: function () {\n            const { numberFormatter } = this.series.chart;\n            const { value } = this.point;\n            return PackedBubbleSeriesDefaults_isNumber(value) ? numberFormatter(value, -1) : '';\n        },\n        /**\n         * @type      {string}\n         * @since     7.1.0\n         * @apioption plotOptions.packedbubble.dataLabels.parentNodeFormat\n         */\n        // eslint-disable-next-line valid-jsdoc\n        /**\n         * @since 7.1.0\n         */\n        parentNodeFormatter: function () {\n            return this.name || '';\n        },\n        /**\n         * @sample {highcharts} highcharts/series-packedbubble/packed-dashboard\n         *         Dashboard with dataLabels on parentNodes\n         *\n         * @declare Highcharts.SeriesPackedBubbleDataLabelsTextPathOptionsObject\n         * @since   7.1.0\n         */\n        parentNodeTextPath: {\n            /**\n             * Presentation attributes for the text path.\n             *\n             * @type      {Highcharts.SVGAttributes}\n             * @since     7.1.0\n             * @apioption plotOptions.packedbubble.dataLabels.attributes\n             */\n            /**\n             * Enable or disable `textPath` option for link's or marker's\n             * data labels.\n             *\n             * @since 7.1.0\n             */\n            enabled: true\n        },\n        /**\n         * Options for a _node_ label text which should follow marker's\n         * shape.\n         *\n         * **Note:** Only SVG-based renderer supports this option.\n         *\n         * @extends   plotOptions.series.dataLabels.textPath\n         * @apioption plotOptions.packedbubble.dataLabels.textPath\n         */\n        padding: 0,\n        style: {\n            transition: 'opacity 2000ms'\n        }\n    },\n    /**\n     * Options for layout algorithm when simulation is enabled. Inside there\n     * are options to change the speed, padding, initial bubbles positions\n     * and more.\n     *\n     * @extends   plotOptions.networkgraph.layoutAlgorithm\n     * @excluding approximation, attractiveForce, repulsiveForce, theta\n     * @since     7.1.0\n     *\n     * @private\n     */\n    layoutAlgorithm: {\n        /**\n         * Initial layout algorithm for positioning nodes. Can be one of\n         * the built-in options (\"circle\", \"random\") or a function where\n         * positions should be set on each node (`this.nodes`) as\n         * `node.plotX` and `node.plotY`.\n         *\n         * @sample highcharts/series-networkgraph/initial-positions/\n         *         Initial positions with callback\n         *\n         * @type {\"circle\"|\"random\"|Function}\n         */\n        initialPositions: 'circle',\n        /**\n         * @sample highcharts/series-packedbubble/initial-radius/\n         *         Initial radius set to 200\n         *\n         * @extends   plotOptions.networkgraph.layoutAlgorithm.initialPositionRadius\n         * @excluding states\n         */\n        initialPositionRadius: 20,\n        /**\n         * The distance between two bubbles, when the algorithm starts to\n         * treat two bubbles as overlapping. The `bubblePadding` is also the\n         * expected distance between all the bubbles on simulation end.\n         */\n        bubblePadding: 5,\n        /**\n         * Whether bubbles should interact with their parentNode to keep\n         * them inside.\n         */\n        parentNodeLimit: false,\n        /**\n         * Whether series should interact with each other or not. When\n         * `parentNodeLimit` is set to true, thi option should be set to\n         * false to avoid sticking points in wrong series parentNode.\n         */\n        seriesInteraction: true,\n        /**\n         * In case of split series, this option allows user to drag and\n         * drop points between series, for changing point related series.\n         *\n         * @sample highcharts/series-packedbubble/packed-dashboard/\n         *         Example of drag'n drop bubbles for bubble kanban\n         */\n        dragBetweenSeries: false,\n        /**\n         * Layout algorithm options for parent nodes.\n         *\n         * @extends   plotOptions.networkgraph.layoutAlgorithm\n         * @excluding approximation, attractiveForce, enableSimulation,\n         *            repulsiveForce, theta\n         */\n        parentNodeOptions: {\n            maxIterations: 400,\n            gravitationalConstant: 0.03,\n            maxSpeed: 50,\n            initialPositionRadius: 100,\n            seriesInteraction: true,\n            /**\n             * Styling options for parentNodes markers. Similar to\n             * line.marker options.\n             *\n             * @sample highcharts/series-packedbubble/parentnode-style/\n             *         Bubble size\n             *\n             * @extends   plotOptions.series.marker\n             * @excluding states\n             */\n            marker: {\n                fillColor: null,\n                fillOpacity: 1,\n                lineWidth: null,\n                lineColor: null,\n                symbol: 'circle'\n            }\n        },\n        enableSimulation: true,\n        /**\n         * Type of the algorithm used when positioning bubbles.\n         * @ignore-option\n         */\n        type: 'packedbubble',\n        /**\n         * Integration type. Integration determines how forces are applied\n         * on particles. The `packedbubble` integration is based on\n         * the networkgraph `verlet` integration, where the new position\n         * is based on a previous position without velocity:\n         * `newPosition += previousPosition - newPosition`.\n         *\n         * @sample highcharts/series-networkgraph/forces/\n         *\n         * @ignore-option\n         */\n        integration: 'packedbubble',\n        maxIterations: 1000,\n        /**\n         * Whether to split series into individual groups or to mix all\n         * series together.\n         *\n         * @since   7.1.0\n         * @default false\n         */\n        splitSeries: false,\n        /**\n         * Max speed that node can get in one iteration. In terms of\n         * simulation, it's a maximum translation (in pixels) that a node\n         * can move (in both, x and y, dimensions). While `friction` is\n         * applied on all nodes, max speed is applied only for nodes that\n         * move very fast, for example small or disconnected ones.\n         *\n         * @see [layoutAlgorithm.integration](#series.networkgraph.layoutAlgorithm.integration)\n         *\n         * @see [layoutAlgorithm.friction](#series.networkgraph.layoutAlgorithm.friction)\n         */\n        maxSpeed: 5,\n        gravitationalConstant: 0.01,\n        friction: -0.981\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const PackedBubble_PackedBubbleSeriesDefaults = (PackedBubbleSeriesDefaults);\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A `packedbubble` series. If the [type](#series.packedbubble.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @type      {Object}\n * @extends   series,plotOptions.packedbubble\n * @excluding cropThreshold, dataParser, dataSorting, dataURL, dragDrop, stack,\n *            boostThreshold, boostBlending\n * @product   highcharts\n * @requires  highcharts-more\n * @apioption series.packedbubble\n */\n/**\n * An array of data points for the series. For the `packedbubble` series type,\n * points can be given in the following ways:\n *\n * 1.  An array of `values`.\n *\n *  ```js\n *     data: [5, 1, 20]\n *  ```\n *\n * 2.  An array of objects with named values. The objects are point\n * configuration objects as seen below. If the total number of data points\n * exceeds the series' [turboThreshold](#series.packedbubble.turboThreshold),\n * this option is not available.\n *\n *  ```js\n *     data: [{\n *         value: 1,\n *         name: \"Point2\",\n *         color: \"#00FF00\"\n *     }, {\n *         value: 5,\n *         name: \"Point1\",\n *         color: \"#FF00FF\"\n *     }]\n *  ```\n *\n * @type      {Array<Object|Array>}\n * @extends   series.line.data\n * @excluding marker, x, y\n * @sample    {highcharts} highcharts/series/data-array-of-objects/\n *            Config objects\n * @product   highcharts\n * @apioption series.packedbubble.data\n */\n/**\n * @type      {Highcharts.SeriesPackedBubbleDataLabelsOptionsObject|Array<Highcharts.SeriesPackedBubbleDataLabelsOptionsObject>}\n * @product   highcharts\n * @apioption series.packedbubble.data.dataLabels\n */\n/**\n * @excluding enabled,enabledThreshold,height,radius,width\n * @product   highcharts\n * @apioption series.packedbubble.marker\n */\n''; // Adds doclets above to transpiled file\n\n;// ./code/es-modules/Series/Networkgraph/VerletIntegration.js\n/* *\n *\n *  Networkgraph series\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Attractive force.\n *\n * In Verlet integration, force is applied on a node immediately to it's\n * `plotX` and `plotY` position.\n *\n * @private\n * @param {Highcharts.Point} link\n *        Link that connects two nodes\n * @param {number} force\n *        Force calculated in `repulsiveForceFunction`\n * @param {Highcharts.PositionObject} distanceXY\n *        Distance between two nodes e.g. `{x, y}`\n */\nfunction attractive(link, force, distanceXY) {\n    const massFactor = link.getMass(), translatedX = -distanceXY.x * force * this.diffTemperature, translatedY = -distanceXY.y * force * this.diffTemperature;\n    if (!link.fromNode.fixedPosition) {\n        link.fromNode.plotX -=\n            translatedX * massFactor.fromNode / link.fromNode.degree;\n        link.fromNode.plotY -=\n            translatedY * massFactor.fromNode / link.fromNode.degree;\n    }\n    if (!link.toNode.fixedPosition) {\n        link.toNode.plotX +=\n            translatedX * massFactor.toNode / link.toNode.degree;\n        link.toNode.plotY +=\n            translatedY * massFactor.toNode / link.toNode.degree;\n    }\n}\n/**\n * Attractive force function. Can be replaced by API's\n * `layoutAlgorithm.attractiveForce`\n *\n * @private\n * @param {number} d current distance between two nodes\n * @param {number} k expected distance between two nodes\n * @return {number} force\n */\nfunction attractiveForceFunction(d, k) {\n    // Used in API:\n    return (k - d) / d;\n}\n/**\n * Barycenter force. Calculate and applys barycenter forces on the\n * nodes. Making them closer to the center of their barycenter point.\n *\n * In Verlet integration, force is applied on a node immediately to it's\n * `plotX` and `plotY` position.\n *\n * @private\n */\nfunction barycenter() {\n    const gravitationalConstant = this.options.gravitationalConstant || 0, xFactor = (this.barycenter.xFactor -\n        (this.box.left + this.box.width) / 2) * gravitationalConstant, yFactor = (this.barycenter.yFactor -\n        (this.box.top + this.box.height) / 2) * gravitationalConstant;\n    this.nodes.forEach(function (node) {\n        if (!node.fixedPosition) {\n            node.plotX -=\n                xFactor / node.mass / node.degree;\n            node.plotY -=\n                yFactor / node.mass / node.degree;\n        }\n    });\n}\n/**\n * Estiamte the best possible distance between two nodes, making graph\n * readable.\n * @private\n */\nfunction getK(layout) {\n    return Math.pow(layout.box.width * layout.box.height / layout.nodes.length, 0.5);\n}\n/**\n * Integration method.\n *\n * In Verlet integration, forces are applied on node immediately to it's\n * `plotX` and `plotY` position.\n *\n * Verlet without velocity:\n *\n *    x(n+1) = 2 * x(n) - x(n-1) + A(T) * deltaT ^ 2\n *\n * where:\n *     - x(n+1) - new position\n *     - x(n) - current position\n *     - x(n-1) - previous position\n *\n * Assuming A(t) = 0 (no acceleration) and (deltaT = 1) we get:\n *\n *     x(n+1) = x(n) + (x(n) - x(n-1))\n *\n * where:\n *     - (x(n) - x(n-1)) - position change\n *\n * TO DO:\n * Consider Verlet with velocity to support additional\n * forces. Or even Time-Corrected Verlet by Jonathan\n * \"lonesock\" Dummer\n *\n * @private\n * @param {Highcharts.NetworkgraphLayout} layout layout object\n * @param {Highcharts.Point} node node that should be translated\n */\nfunction integrate(layout, node) {\n    const friction = -layout.options.friction, maxSpeed = layout.options.maxSpeed, prevX = node.prevX, prevY = node.prevY, \n    // Apply friction:\n    frictionX = ((node.plotX + node.dispX -\n        prevX) * friction), frictionY = ((node.plotY + node.dispY -\n        prevY) * friction), abs = Math.abs, signX = abs(frictionX) / (frictionX || 1), // Need to deal with 0\n    signY = abs(frictionY) / (frictionY || 1), \n    // Apply max speed:\n    diffX = signX * Math.min(maxSpeed, Math.abs(frictionX)), diffY = signY * Math.min(maxSpeed, Math.abs(frictionY));\n    // Store for the next iteration:\n    node.prevX = node.plotX + node.dispX;\n    node.prevY = node.plotY + node.dispY;\n    // Update positions:\n    node.plotX += diffX;\n    node.plotY += diffY;\n    node.temperature = layout.vectorLength({\n        x: diffX,\n        y: diffY\n    });\n}\n/**\n * Repulsive force.\n *\n * In Verlet integration, force is applied on a node immediately to it's\n * `plotX` and `plotY` position.\n *\n * @private\n * @param {Highcharts.Point} node\n *        Node that should be translated by force.\n * @param {number} force\n *        Force calculated in `repulsiveForceFunction`\n * @param {Highcharts.PositionObject} distanceXY\n *        Distance between two nodes e.g. `{x, y}`\n */\nfunction repulsive(node, force, distanceXY) {\n    const factor = force * this.diffTemperature / node.mass / node.degree;\n    if (!node.fixedPosition) {\n        node.plotX += distanceXY.x * factor;\n        node.plotY += distanceXY.y * factor;\n    }\n}\n/**\n * Repulsive force function. Can be replaced by API's\n * `layoutAlgorithm.repulsiveForce`\n *\n * @private\n * @param {number} d current distance between two nodes\n * @param {number} k expected distance between two nodes\n * @return {number} force\n */\nfunction repulsiveForceFunction(d, k) {\n    // Used in API:\n    return (k - d) / d * (k > d ? 1 : 0); // Force only for close nodes\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst VerletIntegration = {\n    attractive,\n    attractiveForceFunction,\n    barycenter,\n    getK,\n    integrate,\n    repulsive,\n    repulsiveForceFunction\n};\n/* harmony default export */ const Networkgraph_VerletIntegration = (VerletIntegration);\n\n;// ./code/es-modules/Series/PackedBubble/PackedBubbleIntegration.js\n/* *\n *\n *  (c) 2010-2024 Grzegorz Blachlinski, Sebastian Bochan\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { noop: PackedBubbleIntegration_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction PackedBubbleIntegration_barycenter() {\n    const layout = this, gravitationalConstant = layout.options.gravitationalConstant, box = layout.box, nodes = layout.nodes;\n    let centerX, centerY;\n    for (const node of nodes) {\n        if (layout.options.splitSeries && !node.isParentNode) {\n            centerX = node.series.parentNode.plotX;\n            centerY = node.series.parentNode.plotY;\n        }\n        else {\n            centerX = box.width / 2;\n            centerY = box.height / 2;\n        }\n        if (!node.fixedPosition) {\n            node.plotX -=\n                (node.plotX - centerX) *\n                    gravitationalConstant /\n                    (node.mass * Math.sqrt(nodes.length));\n            node.plotY -=\n                (node.plotY - centerY) *\n                    gravitationalConstant /\n                    (node.mass * Math.sqrt(nodes.length));\n        }\n    }\n}\n/**\n * @private\n */\nfunction PackedBubbleIntegration_repulsive(node, force, distanceXY, repNode) {\n    const factor = (force * this.diffTemperature / node.mass /\n        node.degree), x = distanceXY.x * factor, y = distanceXY.y * factor;\n    if (!node.fixedPosition) {\n        node.plotX += x;\n        node.plotY += y;\n    }\n    if (!repNode.fixedPosition) {\n        repNode.plotX -= x;\n        repNode.plotY -= y;\n    }\n}\n/**\n * @private\n */\nfunction PackedBubbleIntegration_repulsiveForceFunction(d, k, node, repNode) {\n    return Math.min(d, (node.marker.radius +\n        repNode.marker.radius) / 2);\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst PackedBubbleIntegration = {\n    barycenter: PackedBubbleIntegration_barycenter,\n    getK: PackedBubbleIntegration_noop,\n    integrate: Networkgraph_VerletIntegration.integrate,\n    repulsive: PackedBubbleIntegration_repulsive,\n    repulsiveForceFunction: PackedBubbleIntegration_repulsiveForceFunction\n};\n/* harmony default export */ const PackedBubble_PackedBubbleIntegration = (PackedBubbleIntegration);\n\n;// ./code/es-modules/Series/Networkgraph/EulerIntegration.js\n/* *\n *\n *  Networkgraph series\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Attractive force.\n *\n * In Euler integration, force is stored in a node, not changing it's\n * position. Later, in `integrate()` forces are applied on nodes.\n *\n * @private\n * @param {Highcharts.Point} link\n *        Link that connects two nodes\n * @param {number} force\n *        Force calculated in `repulsiveForceFunction`\n * @param {Highcharts.PositionObject} distanceXY\n *        Distance between two nodes e.g. `{x, y}`\n * @param {number} distanceR\n     */\nfunction EulerIntegration_attractive(link, force, distanceXY, distanceR) {\n    const massFactor = link.getMass(), translatedX = (distanceXY.x / distanceR) * force, translatedY = (distanceXY.y / distanceR) * force;\n    if (!link.fromNode.fixedPosition) {\n        link.fromNode.dispX -=\n            translatedX * massFactor.fromNode / link.fromNode.degree;\n        link.fromNode.dispY -=\n            translatedY * massFactor.fromNode / link.fromNode.degree;\n    }\n    if (!link.toNode.fixedPosition) {\n        link.toNode.dispX +=\n            translatedX * massFactor.toNode / link.toNode.degree;\n        link.toNode.dispY +=\n            translatedY * massFactor.toNode / link.toNode.degree;\n    }\n}\n/**\n * Attractive force function. Can be replaced by API's\n * `layoutAlgorithm.attractiveForce`\n *\n * Other forces that can be used:\n *\n * basic, not recommended:\n *    `function (d, k) { return d / k }`\n *\n * @private\n * @param {number} d current distance between two nodes\n * @param {number} k expected distance between two nodes\n * @return {number} force\n */\nfunction EulerIntegration_attractiveForceFunction(d, k) {\n    return d * d / k;\n}\n/**\n * Barycenter force. Calculate and applys barycenter forces on the\n * nodes. Making them closer to the center of their barycenter point.\n *\n * In Euler integration, force is stored in a node, not changing it's\n * position. Later, in `integrate()` forces are applied on nodes.\n *\n * @private\n */\nfunction EulerIntegration_barycenter() {\n    const gravitationalConstant = this.options.gravitationalConstant, xFactor = this.barycenter.xFactor, yFactor = this.barycenter.yFactor;\n    this.nodes.forEach(function (node) {\n        if (!node.fixedPosition) {\n            const degree = node.getDegree(), phi = degree * (1 + degree / 2);\n            node.dispX += ((xFactor - node.plotX) *\n                gravitationalConstant *\n                phi / node.degree);\n            node.dispY += ((yFactor - node.plotY) *\n                gravitationalConstant *\n                phi / node.degree);\n        }\n    });\n}\n/**\n * Estimate the best possible distance between two nodes, making graph\n * readable.\n * @private\n */\nfunction EulerIntegration_getK(layout) {\n    return Math.pow(layout.box.width * layout.box.height / layout.nodes.length, 0.3);\n}\n/**\n * Integration method.\n *\n * In Euler integration, force were stored in a node, not changing it's\n * position. Now, in the integrator method, we apply changes.\n *\n * Euler:\n *\n * Basic form: `x(n+1) = x(n) + v(n)`\n *\n * With Rengoild-Fruchterman we get:\n * `x(n+1) = x(n) + v(n) / length(v(n)) * min(v(n), temperature(n))`\n * where:\n * - `x(n+1)`: next position\n * - `x(n)`: current position\n * - `v(n)`: velocity (comes from net force)\n * - `temperature(n)`: current temperature\n *\n * Known issues:\n * Oscillations when force vector has the same magnitude but opposite\n * direction in the next step. Potentially solved by decreasing force by\n * `v * (1 / node.degree)`\n *\n * Note:\n * Actually `min(v(n), temperature(n))` replaces simulated annealing.\n *\n * @private\n * @param {Highcharts.NetworkgraphLayout} layout\n *        Layout object\n * @param {Highcharts.Point} node\n *        Node that should be translated\n */\nfunction EulerIntegration_integrate(layout, node) {\n    node.dispX +=\n        node.dispX * layout.options.friction;\n    node.dispY +=\n        node.dispY * layout.options.friction;\n    const distanceR = node.temperature = layout.vectorLength({\n        x: node.dispX,\n        y: node.dispY\n    });\n    if (distanceR !== 0) {\n        node.plotX += (node.dispX / distanceR *\n            Math.min(Math.abs(node.dispX), layout.temperature));\n        node.plotY += (node.dispY / distanceR *\n            Math.min(Math.abs(node.dispY), layout.temperature));\n    }\n}\n/**\n * Repulsive force.\n *\n * @private\n * @param {Highcharts.Point} node\n *        Node that should be translated by force.\n * @param {number} force\n *        Force calculated in `repulsiveForceFunction`\n * @param {Highcharts.PositionObject} distanceXY\n *        Distance between two nodes e.g. `{x, y}`\n */\nfunction EulerIntegration_repulsive(node, force, distanceXY, distanceR) {\n    node.dispX +=\n        (distanceXY.x / distanceR) * force / node.degree;\n    node.dispY +=\n        (distanceXY.y / distanceR) * force / node.degree;\n}\n/**\n * Repulsive force function. Can be replaced by API's\n * `layoutAlgorithm.repulsiveForce`.\n *\n * Other forces that can be used:\n *\n * basic, not recommended:\n *    `function (d, k) { return k / d }`\n *\n * standard:\n *    `function (d, k) { return k * k / d }`\n *\n * grid-variant:\n *    `function (d, k) { return k * k / d * (2 * k - d > 0 ? 1 : 0) }`\n *\n * @private\n * @param {number} d current distance between two nodes\n * @param {number} k expected distance between two nodes\n * @return {number} force\n */\nfunction EulerIntegration_repulsiveForceFunction(d, k) {\n    return k * k / d;\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst EulerIntegration = {\n    attractive: EulerIntegration_attractive,\n    attractiveForceFunction: EulerIntegration_attractiveForceFunction,\n    barycenter: EulerIntegration_barycenter,\n    getK: EulerIntegration_getK,\n    integrate: EulerIntegration_integrate,\n    repulsive: EulerIntegration_repulsive,\n    repulsiveForceFunction: EulerIntegration_repulsiveForceFunction\n};\n/* harmony default export */ const Networkgraph_EulerIntegration = (EulerIntegration);\n\n;// ./code/es-modules/Series/Networkgraph/QuadTreeNode.js\n/* *\n *\n *  Networkgraph series\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Class\n *\n * */\n/**\n * The QuadTree node class. Used in Networkgraph chart as a base for Barnes-Hut\n * approximation.\n *\n * @private\n * @class\n * @name Highcharts.QuadTreeNode\n *\n * @param {Highcharts.Dictionary<number>} box\n *        Available space for the node\n */\nclass QuadTreeNode {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(box) {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        /**\n         * Read only. If QuadTreeNode is an external node, Point is stored in\n         * `this.body`.\n         *\n         * @name Highcharts.QuadTreeNode#body\n         * @type {boolean|Highcharts.Point}\n         */\n        this.body = false;\n        /**\n         * Read only. Internal nodes when created are empty to reserve the\n         * space. If Point is added to this QuadTreeNode, QuadTreeNode is no\n         * longer empty.\n         *\n         * @name Highcharts.QuadTreeNode#isEmpty\n         * @type {boolean}\n         */\n        this.isEmpty = false;\n        /**\n         * Read only. Flag to determine if QuadTreeNode is internal (and has\n         * subnodes with mass and central position) or external (bound to\n         * Point).\n         *\n         * @name Highcharts.QuadTreeNode#isInternal\n         * @type {boolean}\n         */\n        this.isInternal = false;\n        /**\n         * Read only. Array of subnodes. Empty if QuadTreeNode has just one\n         * Point. When added another Point to this QuadTreeNode, array is\n         * filled with four subnodes.\n         *\n         * @name Highcharts.QuadTreeNode#nodes\n         * @type {Array<Highcharts.QuadTreeNode>}\n         */\n        this.nodes = [];\n        /**\n         * Read only. The available space for node.\n         *\n         * @name Highcharts.QuadTreeNode#box\n         * @type {Highcharts.Dictionary<number>}\n         */\n        this.box = box;\n        /**\n         * Read only. The minium of width and height values.\n         *\n         * @name Highcharts.QuadTreeNode#boxSize\n         * @type {number}\n         */\n        this.boxSize = Math.min(box.width, box.height);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * When inserting another node into the box, that already hove one node,\n     * divide the available space into another four quadrants.\n     *\n     * Indexes of quadrants are:\n     * ```\n     * -------------               -------------\n     * |           |               |     |     |\n     * |           |               |  0  |  1  |\n     * |           |   divide()    |     |     |\n     * |     1     | ----------->  -------------\n     * |           |               |     |     |\n     * |           |               |  3  |  2  |\n     * |           |               |     |     |\n     * -------------               -------------\n     * ```\n     */\n    divideBox() {\n        const halfWidth = this.box.width / 2, halfHeight = this.box.height / 2;\n        // Top left\n        this.nodes[0] = new QuadTreeNode({\n            left: this.box.left,\n            top: this.box.top,\n            width: halfWidth,\n            height: halfHeight\n        });\n        // Top right\n        this.nodes[1] = new QuadTreeNode({\n            left: this.box.left + halfWidth,\n            top: this.box.top,\n            width: halfWidth,\n            height: halfHeight\n        });\n        // Bottom right\n        this.nodes[2] = new QuadTreeNode({\n            left: this.box.left + halfWidth,\n            top: this.box.top + halfHeight,\n            width: halfWidth,\n            height: halfHeight\n        });\n        // Bottom left\n        this.nodes[3] = new QuadTreeNode({\n            left: this.box.left,\n            top: this.box.top + halfHeight,\n            width: halfWidth,\n            height: halfHeight\n        });\n    }\n    /**\n     * Determine which of the quadrants should be used when placing node in\n     * the QuadTree. Returned index is always in range `< 0 , 3 >`.\n     * @private\n     */\n    getBoxPosition(point) {\n        const left = point.plotX < this.box.left + this.box.width / 2, top = point.plotY < this.box.top + this.box.height / 2;\n        let index;\n        if (left) {\n            if (top) {\n                // Top left\n                index = 0;\n            }\n            else {\n                // Bottom left\n                index = 3;\n            }\n        }\n        else {\n            if (top) {\n                // Top right\n                index = 1;\n            }\n            else {\n                // Bottom right\n                index = 2;\n            }\n        }\n        return index;\n    }\n    /**\n     * Insert recursively point(node) into the QuadTree. If the given\n     * quadrant is already occupied, divide it into smaller quadrants.\n     *\n     * @param {Highcharts.Point} point\n     *        Point/node to be inserted\n     * @param {number} depth\n     *        Max depth of the QuadTree\n     */\n    insert(point, depth) {\n        let newQuadTreeNode;\n        if (this.isInternal) {\n            // Internal node:\n            this.nodes[this.getBoxPosition(point)].insert(point, depth - 1);\n        }\n        else {\n            this.isEmpty = false;\n            if (!this.body) {\n                // First body in a quadrant:\n                this.isInternal = false;\n                this.body = point;\n            }\n            else {\n                if (depth) {\n                    // Every other body in a quadrant:\n                    this.isInternal = true;\n                    this.divideBox();\n                    // Reinsert main body only once:\n                    if (this.body !== true) {\n                        this.nodes[this.getBoxPosition(this.body)]\n                            .insert(this.body, depth - 1);\n                        this.body = true;\n                    }\n                    // Add second body:\n                    this.nodes[this.getBoxPosition(point)]\n                        .insert(point, depth - 1);\n                }\n                else {\n                    // We are below max allowed depth. That means either:\n                    // - really huge number of points\n                    // - falling two points into exactly the same position\n                    // In this case, create another node in the QuadTree.\n                    //\n                    // Alternatively we could add some noise to the\n                    // position, but that could result in different\n                    // rendered chart in exporting.\n                    newQuadTreeNode = new QuadTreeNode({\n                        top: point.plotX || NaN,\n                        left: point.plotY || NaN,\n                        // Width/height below 1px\n                        width: 0.1,\n                        height: 0.1\n                    });\n                    newQuadTreeNode.body = point;\n                    newQuadTreeNode.isInternal = false;\n                    this.nodes.push(newQuadTreeNode);\n                }\n            }\n        }\n    }\n    /**\n     * Each quad node requires it's mass and center position. That mass and\n     * position is used to imitate real node in the layout by approximation.\n     */\n    updateMassAndCenter() {\n        let mass = 0, plotX = 0, plotY = 0;\n        if (this.isInternal) {\n            // Calculate weightened mass of the quad node:\n            for (const pointMass of this.nodes) {\n                if (!pointMass.isEmpty) {\n                    mass += pointMass.mass;\n                    plotX += pointMass.plotX * pointMass.mass;\n                    plotY += pointMass.plotY * pointMass.mass;\n                }\n            }\n            plotX /= mass;\n            plotY /= mass;\n        }\n        else if (this.body) {\n            // Just one node, use coordinates directly:\n            mass = this.body.mass;\n            plotX = this.body.plotX;\n            plotY = this.body.plotY;\n        }\n        // Store details:\n        this.mass = mass;\n        this.plotX = plotX;\n        this.plotY = plotY;\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Networkgraph_QuadTreeNode = (QuadTreeNode);\n\n;// ./code/es-modules/Series/Networkgraph/QuadTree.js\n/* *\n *\n *  Networkgraph series\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n/* *\n *\n *  Class\n *\n * */\n/**\n * The QuadTree class. Used in Networkgraph chart as a base for Barnes-Hut\n * approximation.\n *\n * @private\n * @class\n * @name Highcharts.QuadTree\n *\n * @param {number} x\n *        Left position of the plotting area\n * @param {number} y\n *        Top position of the plotting area\n * @param {number} width\n *        Width of the plotting area\n * @param {number} height\n *        Height of the plotting area\n */\nclass QuadTree {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(x, y, width, height) {\n        // Boundary rectangle:\n        this.box = {\n            left: x,\n            top: y,\n            width: width,\n            height: height\n        };\n        this.maxDepth = 25;\n        this.root = new Networkgraph_QuadTreeNode(this.box);\n        this.root.isInternal = true;\n        this.root.isRoot = true;\n        this.root.divideBox();\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Calculate mass of the each QuadNode in the tree.\n     */\n    calculateMassAndCenter() {\n        this.visitNodeRecursive(null, null, function (node) {\n            node.updateMassAndCenter();\n        });\n    }\n    /**\n     * Insert nodes into the QuadTree\n     *\n     * @param {Array<Highcharts.Point>} points\n     *        Points as nodes\n     */\n    insertNodes(points) {\n        for (const point of points) {\n            this.root.insert(point, this.maxDepth);\n        }\n    }\n    /**\n     * Depth first treversal (DFS). Using `before` and `after` callbacks,\n     * we can get two results: preorder and postorder traversals, reminder:\n     *\n     * ```\n     *     (a)\n     *     / \\\n     *   (b) (c)\n     *   / \\\n     * (d) (e)\n     * ```\n     *\n     * DFS (preorder): `a -> b -> d -> e -> c`\n     *\n     * DFS (postorder): `d -> e -> b -> c -> a`\n     *\n     * @param {Highcharts.QuadTreeNode|null} node\n     *        QuadTree node\n     * @param {Function} [beforeCallback]\n     *        Function to be called before visiting children nodes.\n     * @param {Function} [afterCallback]\n     *        Function to be called after visiting children nodes.\n     */\n    visitNodeRecursive(node, beforeCallback, afterCallback) {\n        let goFurther;\n        if (!node) {\n            node = this.root;\n        }\n        if (node === this.root && beforeCallback) {\n            goFurther = beforeCallback(node);\n        }\n        if (goFurther === false) {\n            return;\n        }\n        for (const qtNode of node.nodes) {\n            if (qtNode.isInternal) {\n                if (beforeCallback) {\n                    goFurther = beforeCallback(qtNode);\n                }\n                if (goFurther === false) {\n                    continue;\n                }\n                this.visitNodeRecursive(qtNode, beforeCallback, afterCallback);\n            }\n            else if (qtNode.body) {\n                if (beforeCallback) {\n                    beforeCallback(qtNode.body);\n                }\n            }\n            if (afterCallback) {\n                afterCallback(qtNode);\n            }\n        }\n        if (node === this.root && afterCallback) {\n            afterCallback(node);\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Networkgraph_QuadTree = (QuadTree);\n\n;// ./code/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js\n/* *\n *\n *  Networkgraph series\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { clamp: ReingoldFruchtermanLayout_clamp, defined: ReingoldFruchtermanLayout_defined, isFunction, fireEvent: ReingoldFruchtermanLayout_fireEvent, pick: ReingoldFruchtermanLayout_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n/* *\n *\n *  Class\n *\n * */\n/**\n * Reingold-Fruchterman algorithm from\n * \"Graph Drawing by Force-directed Placement\" paper.\n * @private\n */\nclass ReingoldFruchtermanLayout {\n    constructor() {\n        /* *\n         *\n         *  Static Functions\n         *\n         * */\n        this.box = {};\n        this.currentStep = 0;\n        this.initialRendering = true;\n        this.links = [];\n        this.nodes = [];\n        this.series = [];\n        this.simulation = false;\n    }\n    static compose(ChartClass) {\n        Series_GraphLayoutComposition.compose(ChartClass);\n        Series_GraphLayoutComposition.integrations.euler = Networkgraph_EulerIntegration;\n        Series_GraphLayoutComposition.integrations.verlet = Networkgraph_VerletIntegration;\n        Series_GraphLayoutComposition.layouts['reingold-fruchterman'] =\n            ReingoldFruchtermanLayout;\n    }\n    init(options) {\n        this.options = options;\n        this.nodes = [];\n        this.links = [];\n        this.series = [];\n        this.box = {\n            x: 0,\n            y: 0,\n            width: 0,\n            height: 0\n        };\n        this.setInitialRendering(true);\n        this.integration =\n            Series_GraphLayoutComposition.integrations[options.integration];\n        this.enableSimulation = options.enableSimulation;\n        this.attractiveForce = ReingoldFruchtermanLayout_pick(options.attractiveForce, this.integration.attractiveForceFunction);\n        this.repulsiveForce = ReingoldFruchtermanLayout_pick(options.repulsiveForce, this.integration.repulsiveForceFunction);\n        this.approximation = options.approximation;\n    }\n    updateSimulation(enable) {\n        this.enableSimulation = ReingoldFruchtermanLayout_pick(enable, this.options.enableSimulation);\n    }\n    start() {\n        const layout = this, series = this.series, options = this.options;\n        layout.currentStep = 0;\n        layout.forces = series[0] && series[0].forces || [];\n        layout.chart = series[0] && series[0].chart;\n        if (layout.initialRendering) {\n            layout.initPositions();\n            // Render elements in initial positions:\n            series.forEach(function (s) {\n                s.finishedAnimating = true; // #13169\n                s.render();\n            });\n        }\n        layout.setK();\n        layout.resetSimulation(options);\n        if (layout.enableSimulation) {\n            layout.step();\n        }\n    }\n    step() {\n        const anyLayout = this, allSeries = this.series;\n        // Algorithm:\n        this.currentStep++;\n        if (this.approximation === 'barnes-hut') {\n            this.createQuadTree();\n            this.quadTree.calculateMassAndCenter();\n        }\n        for (const forceName of this.forces || []) {\n            anyLayout[forceName + 'Forces'](this.temperature);\n        }\n        // Limit to the plotting area and cool down:\n        this.applyLimits();\n        // Cool down the system:\n        this.temperature = this.coolDown(this.startTemperature, this.diffTemperature, this.currentStep);\n        this.prevSystemTemperature = this.systemTemperature;\n        this.systemTemperature = this.getSystemTemperature();\n        if (this.enableSimulation) {\n            for (const series of allSeries) {\n                // Chart could be destroyed during the simulation\n                if (series.chart) {\n                    series.render();\n                }\n            }\n            if (this.maxIterations-- &&\n                isFinite(this.temperature) &&\n                !this.isStable()) {\n                if (this.simulation) {\n                    win.cancelAnimationFrame(this.simulation);\n                }\n                this.simulation = win.requestAnimationFrame(() => this.step());\n            }\n            else {\n                this.simulation = false;\n                this.series.forEach((s) => {\n                    ReingoldFruchtermanLayout_fireEvent(s, 'afterSimulation');\n                });\n            }\n        }\n    }\n    stop() {\n        if (this.simulation) {\n            win.cancelAnimationFrame(this.simulation);\n        }\n    }\n    setArea(x, y, w, h) {\n        this.box = {\n            left: x,\n            top: y,\n            width: w,\n            height: h\n        };\n    }\n    setK() {\n        // Optimal distance between nodes,\n        // available space around the node:\n        this.k = this.options.linkLength || this.integration.getK(this);\n    }\n    addElementsToCollection(elements, collection) {\n        for (const element of elements) {\n            if (collection.indexOf(element) === -1) {\n                collection.push(element);\n            }\n        }\n    }\n    removeElementFromCollection(element, collection) {\n        const index = collection.indexOf(element);\n        if (index !== -1) {\n            collection.splice(index, 1);\n        }\n    }\n    clear() {\n        this.nodes.length = 0;\n        this.links.length = 0;\n        this.series.length = 0;\n        this.resetSimulation();\n    }\n    resetSimulation() {\n        this.forcedStop = false;\n        this.systemTemperature = 0;\n        this.setMaxIterations();\n        this.setTemperature();\n        this.setDiffTemperature();\n    }\n    restartSimulation() {\n        if (!this.simulation) {\n            // When dragging nodes, we don't need to calculate\n            // initial positions and rendering nodes:\n            this.setInitialRendering(false);\n            // Start new simulation:\n            if (!this.enableSimulation) {\n                // Run only one iteration to speed things up:\n                this.setMaxIterations(1);\n            }\n            else {\n                this.start();\n            }\n            if (this.chart) {\n                this.chart.redraw();\n            }\n            // Restore defaults:\n            this.setInitialRendering(true);\n        }\n        else {\n            // Extend current simulation:\n            this.resetSimulation();\n        }\n    }\n    setMaxIterations(maxIterations) {\n        this.maxIterations = ReingoldFruchtermanLayout_pick(maxIterations, this.options.maxIterations);\n    }\n    setTemperature() {\n        this.temperature = this.startTemperature =\n            Math.sqrt(this.nodes.length);\n    }\n    setDiffTemperature() {\n        this.diffTemperature = this.startTemperature /\n            (this.options.maxIterations + 1);\n    }\n    setInitialRendering(enable) {\n        this.initialRendering = enable;\n    }\n    createQuadTree() {\n        this.quadTree = new Networkgraph_QuadTree(this.box.left, this.box.top, this.box.width, this.box.height);\n        this.quadTree.insertNodes(this.nodes);\n    }\n    initPositions() {\n        const initialPositions = this.options.initialPositions;\n        if (isFunction(initialPositions)) {\n            initialPositions.call(this);\n            for (const node of this.nodes) {\n                if (!ReingoldFruchtermanLayout_defined(node.prevX)) {\n                    node.prevX = node.plotX;\n                }\n                if (!ReingoldFruchtermanLayout_defined(node.prevY)) {\n                    node.prevY = node.plotY;\n                }\n                node.dispX = 0;\n                node.dispY = 0;\n            }\n        }\n        else if (initialPositions === 'circle') {\n            this.setCircularPositions();\n        }\n        else {\n            this.setRandomPositions();\n        }\n    }\n    setCircularPositions() {\n        const box = this.box, nodes = this.nodes, nodesLength = nodes.length + 1, angle = 2 * Math.PI / nodesLength, rootNodes = nodes.filter(function (node) {\n            return node.linksTo.length === 0;\n        }), visitedNodes = {}, radius = this.options.initialPositionRadius, addToNodes = (node) => {\n            for (const link of node.linksFrom || []) {\n                if (!visitedNodes[link.toNode.id]) {\n                    visitedNodes[link.toNode.id] = true;\n                    sortedNodes.push(link.toNode);\n                    addToNodes(link.toNode);\n                }\n            }\n        };\n        let sortedNodes = [];\n        // Start with identified root nodes an sort the nodes by their\n        // hierarchy. In trees, this ensures that branches don't cross\n        // eachother.\n        for (const rootNode of rootNodes) {\n            sortedNodes.push(rootNode);\n            addToNodes(rootNode);\n        }\n        // Cyclic tree, no root node found\n        if (!sortedNodes.length) {\n            sortedNodes = nodes;\n            // Dangling, cyclic trees\n        }\n        else {\n            for (const node of nodes) {\n                if (sortedNodes.indexOf(node) === -1) {\n                    sortedNodes.push(node);\n                }\n            }\n        }\n        let node;\n        // Initial positions are laid out along a small circle, appearing\n        // as a cluster in the middle\n        for (let i = 0, iEnd = sortedNodes.length; i < iEnd; ++i) {\n            node = sortedNodes[i];\n            node.plotX = node.prevX = ReingoldFruchtermanLayout_pick(node.plotX, box.width / 2 + radius * Math.cos(i * angle));\n            node.plotY = node.prevY = ReingoldFruchtermanLayout_pick(node.plotY, box.height / 2 + radius * Math.sin(i * angle));\n            node.dispX = 0;\n            node.dispY = 0;\n        }\n    }\n    setRandomPositions() {\n        const box = this.box, nodes = this.nodes, nodesLength = nodes.length + 1, \n        /**\n         * Return a repeatable, quasi-random number based on an integer\n         * input. For the initial positions\n         * @private\n         */\n        unrandom = (n) => {\n            let rand = n * n / Math.PI;\n            rand = rand - Math.floor(rand);\n            return rand;\n        };\n        let node;\n        // Initial positions:\n        for (let i = 0, iEnd = nodes.length; i < iEnd; ++i) {\n            node = nodes[i];\n            node.plotX = node.prevX = ReingoldFruchtermanLayout_pick(node.plotX, box.width * unrandom(i));\n            node.plotY = node.prevY = ReingoldFruchtermanLayout_pick(node.plotY, box.height * unrandom(nodesLength + i));\n            node.dispX = 0;\n            node.dispY = 0;\n        }\n    }\n    force(name, ...args) {\n        this.integration[name].apply(this, args);\n    }\n    barycenterForces() {\n        this.getBarycenter();\n        this.force('barycenter');\n    }\n    getBarycenter() {\n        let systemMass = 0, cx = 0, cy = 0;\n        for (const node of this.nodes) {\n            cx += node.plotX * node.mass;\n            cy += node.plotY * node.mass;\n            systemMass += node.mass;\n        }\n        this.barycenter = {\n            x: cx,\n            y: cy,\n            xFactor: cx / systemMass,\n            yFactor: cy / systemMass\n        };\n        return this.barycenter;\n    }\n    barnesHutApproximation(node, quadNode) {\n        const distanceXY = this.getDistXY(node, quadNode), distanceR = this.vectorLength(distanceXY);\n        let goDeeper, force;\n        if (node !== quadNode && distanceR !== 0) {\n            if (quadNode.isInternal) {\n                // Internal node:\n                if (quadNode.boxSize / distanceR <\n                    this.options.theta &&\n                    distanceR !== 0) {\n                    // Treat as an external node:\n                    force = this.repulsiveForce(distanceR, this.k);\n                    this.force('repulsive', node, force * quadNode.mass, distanceXY, distanceR);\n                    goDeeper = false;\n                }\n                else {\n                    // Go deeper:\n                    goDeeper = true;\n                }\n            }\n            else {\n                // External node, direct force:\n                force = this.repulsiveForce(distanceR, this.k);\n                this.force('repulsive', node, force * quadNode.mass, distanceXY, distanceR);\n            }\n        }\n        return goDeeper;\n    }\n    repulsiveForces() {\n        if (this.approximation === 'barnes-hut') {\n            for (const node of this.nodes) {\n                this.quadTree.visitNodeRecursive(null, (quadNode) => (this.barnesHutApproximation(node, quadNode)));\n            }\n        }\n        else {\n            let force, distanceR, distanceXY;\n            for (const node of this.nodes) {\n                for (const repNode of this.nodes) {\n                    if (\n                    // Node cannot repulse itself:\n                    node !== repNode &&\n                        // Only close nodes affect each other:\n                        // layout.getDistR(node, repNode) < 2 * k &&\n                        // Not dragged:\n                        !node.fixedPosition) {\n                        distanceXY = this.getDistXY(node, repNode);\n                        distanceR = this.vectorLength(distanceXY);\n                        if (distanceR !== 0) {\n                            force = this.repulsiveForce(distanceR, this.k);\n                            this.force('repulsive', node, force * repNode.mass, distanceXY, distanceR);\n                        }\n                    }\n                }\n            }\n        }\n    }\n    attractiveForces() {\n        let distanceXY, distanceR, force;\n        for (const link of this.links) {\n            if (link.fromNode && link.toNode) {\n                distanceXY = this.getDistXY(link.fromNode, link.toNode);\n                distanceR = this.vectorLength(distanceXY);\n                if (distanceR !== 0) {\n                    force = this.attractiveForce(distanceR, this.k);\n                    this.force('attractive', link, force, distanceXY, distanceR);\n                }\n            }\n        }\n    }\n    applyLimits() {\n        const nodes = this.nodes;\n        for (const node of nodes) {\n            if (node.fixedPosition) {\n                continue;\n            }\n            this.integration.integrate(this, node);\n            this.applyLimitBox(node, this.box);\n            // Reset displacement:\n            node.dispX = 0;\n            node.dispY = 0;\n        }\n    }\n    /**\n     * External box that nodes should fall. When hitting an edge, node\n     * should stop or bounce.\n     * @private\n     */\n    applyLimitBox(node, box) {\n        const radius = node.radius;\n        /*\n        TO DO: Consider elastic collision instead of stopping.\n        o' means end position when hitting plotting area edge:\n\n        - \"inelastic\":\n        o\n            \\\n        ______\n        |  o'\n        |   \\\n        |    \\\n\n        - \"elastic\"/\"bounced\":\n        o\n            \\\n        ______\n        |  ^\n        | / \\\n        |o'  \\\n\n        Euler sample:\n        if (plotX < 0) {\n            plotX = 0;\n            dispX *= -1;\n        }\n\n        if (plotX > box.width) {\n            plotX = box.width;\n            dispX *= -1;\n        }\n\n        */\n        // Limit X-coordinates:\n        node.plotX = ReingoldFruchtermanLayout_clamp(node.plotX, box.left + radius, box.width - radius);\n        // Limit Y-coordinates:\n        node.plotY = ReingoldFruchtermanLayout_clamp(node.plotY, box.top + radius, box.height - radius);\n    }\n    /**\n     * From \"A comparison of simulated annealing cooling strategies\" by\n     * Nourani and Andresen work.\n     * @private\n     */\n    coolDown(temperature, temperatureStep, currentStep) {\n        // Logarithmic:\n        /*\n        return Math.sqrt(this.nodes.length) -\n            Math.log(\n                currentStep * layout.diffTemperature\n            );\n        */\n        // Exponential:\n        /*\n        let alpha = 0.1;\n        layout.temperature = Math.sqrt(layout.nodes.length) *\n            Math.pow(alpha, layout.diffTemperature);\n        */\n        // Linear:\n        return temperature - temperatureStep * currentStep;\n    }\n    isStable() {\n        return Math.abs(this.systemTemperature -\n            this.prevSystemTemperature) < 0.00001 || this.temperature <= 0;\n    }\n    getSystemTemperature() {\n        let value = 0;\n        for (const node of this.nodes) {\n            value += node.temperature;\n        }\n        return value;\n    }\n    vectorLength(vector) {\n        return Math.sqrt(vector.x * vector.x + vector.y * vector.y);\n    }\n    getDistR(nodeA, nodeB) {\n        const distance = this.getDistXY(nodeA, nodeB);\n        return this.vectorLength(distance);\n    }\n    getDistXY(nodeA, nodeB) {\n        const xDist = nodeA.plotX - nodeB.plotX, yDist = nodeA.plotY - nodeB.plotY;\n        return {\n            x: xDist,\n            y: yDist,\n            absX: Math.abs(xDist),\n            absY: Math.abs(yDist)\n        };\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Networkgraph_ReingoldFruchtermanLayout = (ReingoldFruchtermanLayout);\n\n;// ./code/es-modules/Series/PackedBubble/PackedBubbleLayout.js\n/* *\n *\n *  (c) 2010-2024 Grzegorz Blachlinski, Sebastian Bochan\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\nconst { addEvent: PackedBubbleLayout_addEvent, pick: PackedBubbleLayout_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction chartGetSelectedParentNodes() {\n    const allSeries = this.series, selectedParentsNodes = [];\n    allSeries.forEach((series) => {\n        if (series.parentNode && series.parentNode.selected) {\n            selectedParentsNodes.push(series.parentNode);\n        }\n    });\n    return selectedParentsNodes;\n}\n/**\n * Remove accumulated data points to redistribute all of them again\n * (i.e after hiding series by legend)\n * @private\n */\nfunction onChartBeforeRedraw() {\n    if (this.allDataPoints) {\n        delete this.allDataPoints;\n    }\n}\n/* *\n *\n *  Class\n *\n * */\nclass PackedBubbleLayout extends Networkgraph_ReingoldFruchtermanLayout {\n    constructor() {\n        /* *\n         *\n         *  Static Functions\n         *\n         * */\n        super(...arguments);\n        this.index = NaN;\n        this.nodes = [];\n        this.series = [];\n    }\n    static compose(ChartClass) {\n        Networkgraph_ReingoldFruchtermanLayout.compose(ChartClass);\n        Series_GraphLayoutComposition.integrations.packedbubble = PackedBubble_PackedBubbleIntegration;\n        Series_GraphLayoutComposition.layouts.packedbubble = PackedBubbleLayout;\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.getSelectedParentNodes) {\n            PackedBubbleLayout_addEvent(ChartClass, 'beforeRedraw', onChartBeforeRedraw);\n            chartProto.getSelectedParentNodes = chartGetSelectedParentNodes;\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    beforeStep() {\n        if (this.options.marker) {\n            this.series.forEach((series) => {\n                if (series) {\n                    series.calculateParentRadius();\n                }\n            });\n        }\n    }\n    // #14439, new stable check.\n    isStable() {\n        const tempDiff = Math.abs(this.prevSystemTemperature -\n            this.systemTemperature);\n        const upScaledTemperature = 10 * this.systemTemperature /\n            Math.sqrt(this.nodes.length);\n        return Math.abs(upScaledTemperature) < 1 &&\n            tempDiff < 0.00001 ||\n            this.temperature <= 0;\n    }\n    setCircularPositions() {\n        const layout = this, box = layout.box, nodes = layout.nodes, nodesLength = nodes.length + 1, angle = 2 * Math.PI / nodesLength, radius = layout.options.initialPositionRadius;\n        let centerX, centerY, index = 0;\n        for (const node of nodes) {\n            if (layout.options.splitSeries &&\n                !node.isParentNode) {\n                centerX = node.series.parentNode.plotX;\n                centerY = node.series.parentNode.plotY;\n            }\n            else {\n                centerX = box.width / 2;\n                centerY = box.height / 2;\n            }\n            node.plotX = node.prevX = PackedBubbleLayout_pick(node.plotX, centerX +\n                radius * Math.cos(node.index || index * angle));\n            node.plotY = node.prevY = PackedBubbleLayout_pick(node.plotY, centerY +\n                radius * Math.sin(node.index || index * angle));\n            node.dispX = 0;\n            node.dispY = 0;\n            index++;\n        }\n    }\n    repulsiveForces() {\n        const layout = this, bubblePadding = layout.options.bubblePadding, nodes = layout.nodes;\n        let force, distanceR, distanceXY;\n        nodes.forEach((node) => {\n            node.degree = node.mass;\n            node.neighbours = 0;\n            nodes.forEach((repNode) => {\n                force = 0;\n                if (\n                // Node cannot repulse itself:\n                node !== repNode &&\n                    // Only close nodes affect each other:\n                    // Not dragged:\n                    !node.fixedPosition &&\n                    (layout.options.seriesInteraction ||\n                        node.series === repNode.series)) {\n                    distanceXY = layout.getDistXY(node, repNode);\n                    distanceR = (layout.vectorLength(distanceXY) -\n                        (node.marker.radius +\n                            repNode.marker.radius +\n                            bubblePadding));\n                    // TODO padding configurable\n                    if (distanceR < 0) {\n                        node.degree += 0.01;\n                        node.neighbours++;\n                        force = layout.repulsiveForce(-distanceR / Math.sqrt(node.neighbours), layout.k, node, repNode);\n                    }\n                    layout.force('repulsive', node, force * repNode.mass, distanceXY, repNode, distanceR);\n                }\n            });\n        });\n    }\n    applyLimitBox(node, box) {\n        const layout = this, factor = 0.01;\n        let distanceXY, distanceR;\n        // `parentNodeLimit` should be used together with seriesInteraction:\n        // false\n        if (layout.options.splitSeries &&\n            !node.isParentNode &&\n            layout.options.parentNodeLimit) {\n            distanceXY = layout.getDistXY(node, node.series.parentNode);\n            distanceR = (node.series.parentNodeRadius -\n                node.marker.radius -\n                layout.vectorLength(distanceXY));\n            if (distanceR < 0 &&\n                distanceR > -2 * node.marker.radius) {\n                node.plotX -= distanceXY.x * factor;\n                node.plotY -= distanceXY.y * factor;\n            }\n        }\n        super.applyLimitBox(node, box);\n    }\n}\n/* *\n *\n *  Registry\n *\n * */\nSeries_GraphLayoutComposition.layouts.packedbubble = PackedBubbleLayout;\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const PackedBubble_PackedBubbleLayout = (PackedBubbleLayout);\n\n;// ./code/es-modules/Series/SimulationSeriesUtilities.js\n/* *\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { merge: SimulationSeriesUtilities_merge, syncTimeout } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/**\n * Create a setTimeout for the first drawDataLabels()\n * based on the dataLabels.animation.defer value\n * for series which have enabled simulation.\n * @private\n */\nfunction initDataLabelsDefer() {\n    const dlOptions = this.options.dataLabels;\n    // Method drawDataLabels() fires for the first time after\n    // dataLabels.animation.defer time unless\n    // the dataLabels.animation = false or dataLabels.defer = false\n    // or if the simulation is disabled\n    if (!dlOptions?.defer ||\n        !this.options.layoutAlgorithm?.enableSimulation) {\n        this.deferDataLabels = false;\n    }\n    else {\n        syncTimeout(() => {\n            this.deferDataLabels = false;\n        }, dlOptions ? animObject(dlOptions.animation).defer : 0);\n    }\n}\n/**\n * Initialize the SVG group for the DataLabels with correct opacities\n * and correct styles so that the animation for the series that have\n * simulation enabled works fine.\n * @private\n */\nfunction initDataLabels() {\n    const series = this, dlOptions = series.options.dataLabels;\n    if (!series.dataLabelsGroup) {\n        const dataLabelsGroup = this.initDataLabelsGroup();\n        // Apply the dataLabels.style not only to the\n        // individual dataLabels but also to the entire group\n        if (!series.chart.styledMode && dlOptions?.style) {\n            dataLabelsGroup.css(dlOptions.style);\n        }\n        // Initialize the opacity of the group to 0 (start of animation)\n        dataLabelsGroup.attr({ opacity: 0 });\n        if (series.visible) { // #2597, #3023, #3024\n            dataLabelsGroup.show();\n        }\n        return dataLabelsGroup;\n    }\n    // Place it on first and subsequent (redraw) calls\n    series.dataLabelsGroup.attr(SimulationSeriesUtilities_merge({ opacity: 1 }, this.getPlotBox('data-labels')));\n    return series.dataLabelsGroup;\n}\nconst DataLabelsDeferUtils = {\n    initDataLabels,\n    initDataLabelsDefer\n};\n/* harmony default export */ const SimulationSeriesUtilities = (DataLabelsDeferUtils);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SVGElement\"],\"commonjs\":[\"highcharts\",\"SVGElement\"],\"commonjs2\":[\"highcharts\",\"SVGElement\"],\"root\":[\"Highcharts\",\"SVGElement\"]}\nvar highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_ = __webpack_require__(28);\nvar highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_default = /*#__PURE__*/__webpack_require__.n(highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_);\n;// ./code/es-modules/Extensions/TextPath.js\n/* *\n *\n *  Highcharts module with textPath functionality.\n *\n *  (c) 2009-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { deg2rad: TextPath_deg2rad } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nconst { addEvent: TextPath_addEvent, merge: TextPath_merge, uniqueKey, defined: TextPath_defined, extend: TextPath_extend } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/**\n * Set a text path for a `text` or `label` element, allowing the text to\n * flow along a path.\n *\n * In order to unset the path for an existing element, call `setTextPath`\n * with `{ enabled: false }` as the second argument.\n *\n * Text path support is not bundled into `highcharts.js`, and requires the\n * `modules/textpath.js` file. However, it is included in the script files of\n * those series types that use it by default\n *\n * @sample highcharts/members/renderer-textpath/ Text path demonstrated\n *\n * @function Highcharts.SVGElement#setTextPath\n *\n * @param {Highcharts.SVGElement|undefined} path\n *        Path to follow. If undefined, it allows changing options for the\n *        existing path.\n *\n * @param {Highcharts.DataLabelsTextPathOptionsObject} textPathOptions\n *        Options.\n *\n * @return {Highcharts.SVGElement} Returns the SVGElement for chaining.\n */\nfunction setTextPath(path, textPathOptions) {\n    // Defaults\n    textPathOptions = TextPath_merge(true, {\n        enabled: true,\n        attributes: {\n            dy: -5,\n            startOffset: '50%',\n            textAnchor: 'middle'\n        }\n    }, textPathOptions);\n    const url = this.renderer.url, textWrapper = this.text || this, textPath = textWrapper.textPath, { attributes, enabled } = textPathOptions;\n    path = path || (textPath && textPath.path);\n    // Remove previously added event\n    if (textPath) {\n        textPath.undo();\n    }\n    if (path && enabled) {\n        const undo = TextPath_addEvent(textWrapper, 'afterModifyTree', (e) => {\n            if (path && enabled) {\n                // Set ID for the path\n                let textPathId = path.attr('id');\n                if (!textPathId) {\n                    path.attr('id', textPathId = uniqueKey());\n                }\n                // Set attributes for the <text>\n                const textAttribs = {\n                    // `dx`/`dy` options must by set on <text> (parent), the\n                    // rest should be set on <textPath>\n                    x: 0,\n                    y: 0\n                };\n                if (TextPath_defined(attributes.dx)) {\n                    textAttribs.dx = attributes.dx;\n                    delete attributes.dx;\n                }\n                if (TextPath_defined(attributes.dy)) {\n                    textAttribs.dy = attributes.dy;\n                    delete attributes.dy;\n                }\n                textWrapper.attr(textAttribs);\n                // Handle label properties\n                this.attr({ transform: '' });\n                if (this.box) {\n                    this.box = this.box.destroy();\n                }\n                // Wrap the nodes in a textPath\n                const children = e.nodes.slice(0);\n                e.nodes.length = 0;\n                e.nodes[0] = {\n                    tagName: 'textPath',\n                    attributes: TextPath_extend(attributes, {\n                        'text-anchor': attributes.textAnchor,\n                        href: `${url}#${textPathId}`\n                    }),\n                    children\n                };\n            }\n        });\n        // Set the reference\n        textWrapper.textPath = { path, undo };\n    }\n    else {\n        textWrapper.attr({ dx: 0, dy: 0 });\n        delete textWrapper.textPath;\n    }\n    if (this.added) {\n        // Rebuild text after added\n        textWrapper.textCache = '';\n        this.renderer.buildText(textWrapper);\n    }\n    return this;\n}\n/**\n * Attach a polygon to a bounding box if the element contains a textPath.\n *\n * @function Highcharts.SVGElement#setPolygon\n *\n * @param {any} event\n *        An event containing a bounding box object\n *\n * @return {Highcharts.BBoxObject} Returns the bounding box object.\n */\nfunction setPolygon(event) {\n    const bBox = event.bBox, tp = this.element?.querySelector('textPath');\n    if (tp) {\n        const polygon = [], { b, h } = this.renderer.fontMetrics(this.element), descender = h - b, lineCleanerRegex = new RegExp('(<tspan>|' +\n            '<tspan(?!\\\\sclass=\"highcharts-br\")[^>]*>|' +\n            '<\\\\/tspan>)', 'g'), lines = tp\n            .innerHTML\n            .replace(lineCleanerRegex, '')\n            .split(/<tspan class=\"highcharts-br\"[^>]*>/), numOfLines = lines.length;\n        // Calculate top and bottom coordinates for\n        // either the start or the end of a single\n        // character, and append it to the polygon.\n        const appendTopAndBottom = (charIndex, positionOfChar) => {\n            const { x, y } = positionOfChar, rotation = (tp.getRotationOfChar(charIndex) - 90) * TextPath_deg2rad, cosRot = Math.cos(rotation), sinRot = Math.sin(rotation);\n            return [\n                [\n                    x - descender * cosRot,\n                    y - descender * sinRot\n                ],\n                [\n                    x + b * cosRot,\n                    y + b * sinRot\n                ]\n            ];\n        };\n        for (let i = 0, lineIndex = 0; lineIndex < numOfLines; lineIndex++) {\n            const line = lines[lineIndex], lineLen = line.length;\n            for (let lineCharIndex = 0; lineCharIndex < lineLen; lineCharIndex += 5) {\n                try {\n                    const srcCharIndex = (i +\n                        lineCharIndex +\n                        lineIndex), [lower, upper] = appendTopAndBottom(srcCharIndex, tp.getStartPositionOfChar(srcCharIndex));\n                    if (lineCharIndex === 0) {\n                        polygon.push(upper);\n                        polygon.push(lower);\n                    }\n                    else {\n                        if (lineIndex === 0) {\n                            polygon.unshift(upper);\n                        }\n                        if (lineIndex === numOfLines - 1) {\n                            polygon.push(lower);\n                        }\n                    }\n                }\n                catch (e) {\n                    // Safari fails on getStartPositionOfChar even if the\n                    // character is within the `textContent.length`\n                    break;\n                }\n            }\n            i += lineLen - 1;\n            try {\n                const srcCharIndex = i + lineIndex, charPos = tp.getEndPositionOfChar(srcCharIndex), [lower, upper] = appendTopAndBottom(srcCharIndex, charPos);\n                polygon.unshift(upper);\n                polygon.unshift(lower);\n            }\n            catch (e) {\n                // Safari fails on getStartPositionOfChar even if the character\n                // is within the `textContent.length`\n                break;\n            }\n        }\n        // Close it\n        if (polygon.length) {\n            polygon.push(polygon[0].slice());\n        }\n        bBox.polygon = polygon;\n    }\n    return bBox;\n}\n/**\n * Draw text along a textPath for a dataLabel.\n *\n * @function Highcharts.SVGElement#setTextPath\n *\n * @param {any} event\n *        An event containing label options\n *\n * @return {void}\n */\nfunction drawTextPath(event) {\n    const labelOptions = event.labelOptions, point = event.point, textPathOptions = (labelOptions[point.formatPrefix + 'TextPath'] ||\n        labelOptions.textPath);\n    if (textPathOptions && !labelOptions.useHTML) {\n        this.setTextPath(point.getDataLabelPath?.(this) || point.graphic, textPathOptions);\n        if (point.dataLabelPath &&\n            !textPathOptions.enabled) {\n            // Clean the DOM\n            point.dataLabelPath = (point.dataLabelPath.destroy());\n        }\n    }\n}\nfunction TextPath_compose(SVGElementClass) {\n    TextPath_addEvent(SVGElementClass, 'afterGetBBox', setPolygon);\n    TextPath_addEvent(SVGElementClass, 'beforeAddingDataLabel', drawTextPath);\n    const svgElementProto = SVGElementClass.prototype;\n    if (!svgElementProto.setTextPath) {\n        svgElementProto.setTextPath = setTextPath;\n    }\n}\nconst TextPath = {\n    compose: TextPath_compose\n};\n/* harmony default export */ const Extensions_TextPath = (TextPath);\n\n;// ./code/es-modules/Series/PackedBubble/PackedBubbleSeries.js\n/* *\n *\n *  (c) 2010-2024 Grzegorz Blachlinski, Sebastian Bochan\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: PackedBubbleSeries_color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\n\n\nconst { noop: PackedBubbleSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n\nconst { series: { prototype: seriesProto }, seriesTypes: { bubble: PackedBubbleSeries_BubbleSeries } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { initDataLabels: PackedBubbleSeries_initDataLabels, initDataLabelsDefer: PackedBubbleSeries_initDataLabelsDefer } = SimulationSeriesUtilities;\n\nconst { addEvent: PackedBubbleSeries_addEvent, clamp: PackedBubbleSeries_clamp, defined: PackedBubbleSeries_defined, extend: PackedBubbleSeries_extend, fireEvent: PackedBubbleSeries_fireEvent, isArray: PackedBubbleSeries_isArray, isNumber: PackedBubbleSeries_isNumber, merge: PackedBubbleSeries_merge, pick: PackedBubbleSeries_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nExtensions_TextPath.compose((highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_default()));\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.packedbubble\n *\n * @extends Highcharts.Series\n */\nclass PackedBubbleSeries extends PackedBubbleSeries_BubbleSeries {\n    constructor() {\n        /* *\n         *\n         *  Static Properties\n         *\n         * */\n        super(...arguments);\n        this.parentNodeMass = 0;\n        this.deferDataLabels = true;\n        /* eslint-enable valid-jsdoc */\n    }\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(AxisClass, ChartClass, LegendClass) {\n        PackedBubbleSeries_BubbleSeries.compose(AxisClass, ChartClass, LegendClass);\n        Series_DragNodesComposition.compose(ChartClass);\n        PackedBubble_PackedBubbleLayout.compose(ChartClass);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Create a single array of all points from all series\n     * @private\n     */\n    accumulateAllPoints() {\n        const chart = this.chart, allDataPoints = [];\n        for (const series of chart.series) {\n            if (series.is('packedbubble') && // #13574\n                series.reserveSpace()) {\n                const valueData = series.getColumn('value');\n                // Add data to array only if series is visible\n                for (let j = 0; j < valueData.length; j++) {\n                    allDataPoints.push([\n                        null, null,\n                        valueData[j],\n                        series.index,\n                        j,\n                        {\n                            id: j,\n                            marker: {\n                                radius: 0\n                            }\n                        }\n                    ]);\n                }\n            }\n        }\n        return allDataPoints;\n    }\n    /**\n     * Adding the basic layout to series points.\n     * @private\n     */\n    addLayout() {\n        const layoutOptions = this.options.layoutAlgorithm =\n            this.options.layoutAlgorithm || {}, layoutType = layoutOptions.type || 'packedbubble', chartOptions = this.chart.options.chart;\n        let graphLayoutsStorage = this.chart.graphLayoutsStorage, graphLayoutsLookup = this.chart.graphLayoutsLookup, layout;\n        if (!graphLayoutsStorage) {\n            this.chart.graphLayoutsStorage = graphLayoutsStorage = {};\n            this.chart.graphLayoutsLookup = graphLayoutsLookup = [];\n        }\n        layout = graphLayoutsStorage[layoutType];\n        if (!layout) {\n            layoutOptions.enableSimulation =\n                !PackedBubbleSeries_defined(chartOptions.forExport) ?\n                    layoutOptions.enableSimulation :\n                    !chartOptions.forExport;\n            graphLayoutsStorage[layoutType] = layout =\n                new Series_GraphLayoutComposition.layouts[layoutType]();\n            layout.init(layoutOptions);\n            graphLayoutsLookup.splice(layout.index, 0, layout);\n        }\n        this.layout = layout;\n        this.points.forEach((node) => {\n            node.mass = 2;\n            node.degree = 1;\n            node.collisionNmb = 1;\n        });\n        layout.setArea(0, 0, this.chart.plotWidth, this.chart.plotHeight);\n        layout.addElementsToCollection([this], layout.series);\n        layout.addElementsToCollection(this.points, layout.nodes);\n    }\n    /**\n     * Function responsible for adding series layout, used for parent nodes.\n     * @private\n     */\n    addSeriesLayout() {\n        const layoutOptions = this.options.layoutAlgorithm =\n            this.options.layoutAlgorithm || {}, layoutType = (layoutOptions.type || 'packedbubble'), graphLayoutsStorage = this.chart.graphLayoutsStorage, graphLayoutsLookup = this.chart.graphLayoutsLookup, parentNodeOptions = PackedBubbleSeries_merge(layoutOptions, layoutOptions.parentNodeOptions, {\n            enableSimulation: this.layout.options.enableSimulation\n        });\n        let seriesLayout = graphLayoutsStorage[layoutType + '-series'];\n        if (!seriesLayout) {\n            graphLayoutsStorage[layoutType + '-series'] = seriesLayout =\n                new Series_GraphLayoutComposition.layouts[layoutType]();\n            seriesLayout.init(parentNodeOptions);\n            graphLayoutsLookup.splice(seriesLayout.index, 0, seriesLayout);\n        }\n        this.parentNodeLayout = seriesLayout;\n        this.createParentNodes();\n    }\n    /**\n     * The function responsible for calculating the parent node radius\n     * based on the total surface of inside-bubbles and the group BBox\n     * @private\n     */\n    calculateParentRadius() {\n        const bBox = this.seriesBox(), parentPadding = 20, minParentRadius = 20;\n        this.parentNodeRadius = PackedBubbleSeries_clamp(Math.sqrt(2 * this.parentNodeMass / Math.PI) + parentPadding, minParentRadius, bBox ?\n            Math.max(Math.sqrt(Math.pow(bBox.width, 2) +\n                Math.pow(bBox.height, 2)) / 2 + parentPadding, minParentRadius) :\n            Math.sqrt(2 * this.parentNodeMass / Math.PI) + parentPadding);\n        if (this.parentNode) {\n            this.parentNode.marker.radius =\n                this.parentNode.radius = this.parentNodeRadius;\n        }\n    }\n    /**\n     * Calculate min and max bubble value for radius calculation.\n     * @private\n     */\n    calculateZExtremes() {\n        const chart = this.chart, allSeries = chart.series;\n        let zMin = this.options.zMin, zMax = this.options.zMax, valMin = Infinity, valMax = -Infinity;\n        if (zMin && zMax) {\n            return [zMin, zMax];\n        }\n        // It is needed to deal with null and undefined values\n        allSeries.forEach((series) => {\n            series.getColumn('value').forEach((y) => {\n                if (PackedBubbleSeries_defined(y)) {\n                    if (y > valMax) {\n                        valMax = y;\n                    }\n                    if (y < valMin) {\n                        valMin = y;\n                    }\n                }\n            });\n        });\n        zMin = PackedBubbleSeries_pick(zMin, valMin);\n        zMax = PackedBubbleSeries_pick(zMax, valMax);\n        return [zMin, zMax];\n    }\n    /**\n     * Check if two bubbles overlaps.\n     * @private\n     */\n    checkOverlap(bubble1, bubble2) {\n        const diffX = bubble1[0] - bubble2[0], // Diff of X center values\n        diffY = bubble1[1] - bubble2[1], // Diff of Y center values\n        sumRad = bubble1[2] + bubble2[2]; // Sum of bubble radius\n        return (Math.sqrt(diffX * diffX + diffY * diffY) -\n            Math.abs(sumRad)) < -0.001;\n    }\n    /**\n     * Creating parent nodes for split series, in which all the bubbles\n     * are rendered.\n     * @private\n     */\n    createParentNodes() {\n        const PackedBubblePoint = this.pointClass, chart = this.chart, parentNodeLayout = this.parentNodeLayout, layoutOptions = this.layout.options;\n        let nodeAdded, parentNode = this.parentNode, parentMarkerOptions = {\n            radius: this.parentNodeRadius,\n            lineColor: this.color,\n            fillColor: PackedBubbleSeries_color(this.color).brighten(0.4).get()\n        };\n        if (layoutOptions.parentNodeOptions) {\n            parentMarkerOptions = PackedBubbleSeries_merge(layoutOptions.parentNodeOptions.marker || {}, parentMarkerOptions);\n        }\n        this.parentNodeMass = 0;\n        this.points.forEach((p) => {\n            this.parentNodeMass +=\n                Math.PI * Math.pow(p.marker.radius, 2);\n        });\n        this.calculateParentRadius();\n        parentNodeLayout.nodes\n            .forEach((node) => {\n            if (node.seriesIndex === this.index) {\n                nodeAdded = true;\n            }\n        });\n        parentNodeLayout.setArea(0, 0, chart.plotWidth, chart.plotHeight);\n        if (!nodeAdded) {\n            if (!parentNode) {\n                parentNode = new PackedBubblePoint(this, {\n                    mass: this.parentNodeRadius / 2,\n                    marker: parentMarkerOptions,\n                    dataLabels: {\n                        inside: false\n                    },\n                    states: {\n                        normal: {\n                            marker: parentMarkerOptions\n                        },\n                        hover: {\n                            marker: parentMarkerOptions\n                        }\n                    },\n                    dataLabelOnNull: true,\n                    degree: this.parentNodeRadius,\n                    isParentNode: true,\n                    seriesIndex: this.index\n                });\n            }\n            if (this.parentNode) {\n                parentNode.plotX = this.parentNode.plotX;\n                parentNode.plotY = this.parentNode.plotY;\n            }\n            this.parentNode = parentNode;\n            parentNodeLayout.addElementsToCollection([this], parentNodeLayout.series);\n            parentNodeLayout.addElementsToCollection([parentNode], parentNodeLayout.nodes);\n        }\n    }\n    /**\n     * Function responsible for adding all the layouts to the chart.\n     * @private\n     */\n    deferLayout() {\n        // TODO split layouts to independent methods\n        const layoutOptions = this.options.layoutAlgorithm;\n        if (!this.visible) {\n            return;\n        }\n        // Layout is using nodes for position calculation\n        this.addLayout();\n        if (layoutOptions.splitSeries) {\n            this.addSeriesLayout();\n        }\n    }\n    destroy() {\n        // Remove the series from all layouts series collections #11469\n        if (this.chart.graphLayoutsLookup) {\n            this.chart.graphLayoutsLookup.forEach((layout) => {\n                layout.removeElementFromCollection(this, layout.series);\n            }, this);\n        }\n        if (this.parentNode &&\n            this.parentNodeLayout) {\n            this.parentNodeLayout.removeElementFromCollection(this.parentNode, this.parentNodeLayout.nodes);\n            if (this.parentNode.dataLabel) {\n                this.parentNode.dataLabel =\n                    this.parentNode.dataLabel.destroy();\n            }\n        }\n        seriesProto.destroy.apply(this, arguments);\n    }\n    /**\n     * Packedbubble has two separate collections of nodes if split, render\n     * dataLabels for both sets:\n     * @private\n     */\n    drawDataLabels() {\n        // We defer drawing the dataLabels\n        // until dataLabels.animation.defer time passes\n        if (this.deferDataLabels) {\n            return;\n        }\n        seriesProto.drawDataLabels.call(this, this.points);\n        // Render parentNode labels:\n        if (this.parentNode) {\n            this.parentNode.formatPrefix = 'parentNode';\n            seriesProto.drawDataLabels.call(this, [this.parentNode]);\n        }\n    }\n    /**\n     * Create Background/Parent Nodes for split series.\n     * @private\n     */\n    drawGraph() {\n        // If the series is not using layout, don't add parent nodes\n        if (!this.layout || !this.layout.options.splitSeries) {\n            return;\n        }\n        const chart = this.chart, nodeMarker = this.layout.options.parentNodeOptions.marker, parentOptions = {\n            fill: (nodeMarker.fillColor ||\n                PackedBubbleSeries_color(this.color).brighten(0.4).get()),\n            opacity: nodeMarker.fillOpacity,\n            stroke: nodeMarker.lineColor || this.color,\n            'stroke-width': PackedBubbleSeries_pick(nodeMarker.lineWidth, this.options.lineWidth)\n        };\n        let parentAttribs = {};\n        // Create the group for parent Nodes if doesn't exist\n        // If exists it will only be adjusted to the updated plot size (#12063)\n        this.parentNodesGroup = this.plotGroup('parentNodesGroup', 'parentNode', this.visible ? 'inherit' : 'hidden', 0.1, chart.seriesGroup);\n        this.group?.attr({\n            zIndex: 2\n        });\n        this.calculateParentRadius();\n        if (this.parentNode &&\n            PackedBubbleSeries_defined(this.parentNode.plotX) &&\n            PackedBubbleSeries_defined(this.parentNode.plotY) &&\n            PackedBubbleSeries_defined(this.parentNodeRadius)) {\n            parentAttribs = PackedBubbleSeries_merge({\n                x: this.parentNode.plotX -\n                    this.parentNodeRadius,\n                y: this.parentNode.plotY -\n                    this.parentNodeRadius,\n                width: this.parentNodeRadius * 2,\n                height: this.parentNodeRadius * 2\n            }, parentOptions);\n            if (!this.parentNode.graphic) {\n                this.graph = this.parentNode.graphic =\n                    chart.renderer.symbol(parentOptions.symbol)\n                        .add(this.parentNodesGroup);\n            }\n            this.parentNode.graphic.attr(parentAttribs);\n        }\n    }\n    drawTracker() {\n        const parentNode = this.parentNode;\n        // Chart = series.chart,\n        // pointer = chart.pointer,\n        // onMouseOver = function (e: PointerEvent): void {\n        //     const point = pointer.getPointFromEvent(e);\n        //     // undefined on graph in scatterchart\n        //     if (typeof point !== 'undefined') {\n        //         pointer.isDirectTouch = true;\n        //         point.onMouseOver(e);\n        //     }\n        // };\n        let dataLabels;\n        super.drawTracker();\n        // Add reference to the point\n        if (parentNode) {\n            dataLabels = (PackedBubbleSeries_isArray(parentNode.dataLabels) ?\n                parentNode.dataLabels :\n                (parentNode.dataLabel ? [parentNode.dataLabel] : []));\n            if (parentNode.graphic) {\n                parentNode.graphic.element.point = parentNode;\n            }\n            dataLabels.forEach((dataLabel) => {\n                (dataLabel.div || dataLabel.element).point = parentNode;\n            });\n        }\n    }\n    /**\n     * Calculate radius of bubbles in series.\n     * @private\n     */\n    getPointRadius() {\n        const chart = this.chart, plotWidth = chart.plotWidth, plotHeight = chart.plotHeight, seriesOptions = this.options, useSimulation = seriesOptions.useSimulation, smallestSize = Math.min(plotWidth, plotHeight), extremes = {}, radii = [], allDataPoints = chart.allDataPoints || [], allDataPointsLength = allDataPoints.length;\n        let minSize, maxSize, value, radius;\n        ['minSize', 'maxSize'].forEach((prop) => {\n            const length = parseInt(seriesOptions[prop], 10), isPercent = /%$/.test(seriesOptions[prop]);\n            extremes[prop] = isPercent ?\n                smallestSize * length / 100 :\n                length * Math.sqrt(allDataPointsLength);\n        });\n        chart.minRadius = minSize = extremes.minSize /\n            Math.sqrt(allDataPointsLength);\n        chart.maxRadius = maxSize = extremes.maxSize /\n            Math.sqrt(allDataPointsLength);\n        const zExtremes = useSimulation ?\n            this.calculateZExtremes() :\n            [minSize, maxSize];\n        allDataPoints.forEach((point, i) => {\n            value = useSimulation ?\n                PackedBubbleSeries_clamp(point[2], zExtremes[0], zExtremes[1]) :\n                point[2];\n            radius = this.getRadius(zExtremes[0], zExtremes[1], minSize, maxSize, value);\n            if (radius === 0) {\n                radius = null;\n            }\n            allDataPoints[i][2] = radius;\n            radii.push(radius);\n        });\n        this.radii = radii;\n    }\n    init() {\n        seriesProto.init.apply(this, arguments);\n        PackedBubbleSeries_initDataLabelsDefer.call(this);\n        /* eslint-disable no-invalid-this */\n        // When one series is modified, the others need to be recomputed\n        this.eventsToUnbind.push(PackedBubbleSeries_addEvent(this, 'updatedData', function () {\n            this.chart.series.forEach((s) => {\n                if (s.type === this.type) {\n                    s.isDirty = true;\n                }\n            }, this);\n        }));\n        /* eslint-enable no-invalid-this */\n        return this;\n    }\n    /**\n     * Mouse up action, finalizing drag&drop.\n     * @private\n     * @param {Highcharts.Point} point The point that event occurred.\n     */\n    onMouseUp(dnPoint) {\n        const point = dnPoint;\n        if (point.fixedPosition && !point.removed) {\n            const layout = this.layout, parentNodeLayout = this.parentNodeLayout;\n            let distanceXY, distanceR;\n            if (parentNodeLayout && layout.options.dragBetweenSeries) {\n                parentNodeLayout.nodes.forEach((node) => {\n                    if (point && point.marker &&\n                        node !== point.series.parentNode) {\n                        distanceXY = layout.getDistXY(point, node);\n                        distanceR = (layout.vectorLength(distanceXY) -\n                            node.marker.radius -\n                            point.marker.radius);\n                        if (distanceR < 0) {\n                            node.series.addPoint(PackedBubbleSeries_merge(point.options, {\n                                plotX: point.plotX,\n                                plotY: point.plotY\n                            }), false);\n                            layout.removeElementFromCollection(point, layout.nodes);\n                            point.remove();\n                        }\n                    }\n                });\n            }\n            Series_DragNodesComposition.onMouseUp.apply(this, arguments);\n        }\n    }\n    /**\n     * This is the main function responsible\n     * for positioning all of the bubbles\n     * allDataPoints - bubble array, in format [pixel x value,\n     * pixel y value, radius,\n     * related series index, related point index]\n     * @private\n     * @param {Array<Highcharts.PackedBubbleData>} allDataPoints All points from all series\n     * @return {Array<Highcharts.PackedBubbleData>} Positions of all bubbles\n     */\n    placeBubbles(allDataPoints) {\n        const checkOverlap = this.checkOverlap, positionBubble = this.positionBubble, bubblePos = [];\n        let stage = 1, j = 0, k = 0, calculatedBubble, arr = [], i;\n        // Sort all points\n        const sortedArr = allDataPoints.sort((a, b) => b[2] - a[2]);\n        if (sortedArr.length) {\n            // Create first bubble in the middle of the chart\n            bubblePos.push([\n                [\n                    0, // Starting in 0,0 coordinates\n                    0,\n                    sortedArr[0][2], // Radius\n                    sortedArr[0][3], // Series index\n                    sortedArr[0][4]\n                ] // Point index\n            ]); // 0 level bubble\n            if (sortedArr.length > 1) {\n                bubblePos.push([\n                    [\n                        0,\n                        (0 - sortedArr[1][2] -\n                            sortedArr[0][2]),\n                        // Move bubble above first one\n                        sortedArr[1][2],\n                        sortedArr[1][3],\n                        sortedArr[1][4]\n                    ]\n                ]); // 1 level 1st bubble\n                // first two already positioned so starting from 2\n                for (i = 2; i < sortedArr.length; i++) {\n                    sortedArr[i][2] = sortedArr[i][2] || 1;\n                    // In case if radius is calculated as 0.\n                    calculatedBubble = positionBubble(bubblePos[stage][j], bubblePos[stage - 1][k], sortedArr[i]); // Calculate initial bubble position\n                    if (checkOverlap(calculatedBubble, bubblePos[stage][0])) {\n                        /* If new bubble is overlapping with first bubble\n                            * in current level (stage)\n                            */\n                        bubblePos.push([]);\n                        k = 0;\n                        /* Reset index of bubble, used for\n                            * positioning the bubbles around it,\n                            * we are starting from first bubble in next\n                            * stage because we are changing level to higher\n                            */\n                        bubblePos[stage + 1].push(positionBubble(bubblePos[stage][j], bubblePos[stage][0], sortedArr[i]));\n                        // (last bubble, 1. from curr stage, new bubble)\n                        stage++; // The new level is created, above current\n                        j = 0; // Set the index of bubble in curr level to 0\n                    }\n                    else if (stage > 1 &&\n                        bubblePos[stage - 1][k + 1] &&\n                        checkOverlap(calculatedBubble, bubblePos[stage - 1][k + 1])) {\n                        /* If new bubble is overlapping with one of the prev\n                            * stage bubbles, it means that - bubble, used for\n                            * positioning the bubbles around it has changed\n                            * so we need to recalculate it\n                            */\n                        k++;\n                        bubblePos[stage].push(positionBubble(bubblePos[stage][j], bubblePos[stage - 1][k], sortedArr[i]));\n                        // (last bubble, prev stage bubble, new bubble)\n                        j++;\n                    }\n                    else { // Simply add calculated bubble\n                        j++;\n                        bubblePos[stage].push(calculatedBubble);\n                    }\n                }\n            }\n            this.chart.stages = bubblePos;\n            // It may not be necessary but adding it just in case -\n            // it is containing all of the bubble levels\n            this.chart.rawPositions =\n                []\n                    .concat.apply([], bubblePos);\n            // Bubble positions merged into one array\n            this.resizeRadius();\n            arr = this.chart.rawPositions;\n        }\n        return arr;\n    }\n    /**\n     * Function that checks for a parentMarker and sets the correct opacity.\n     * @private\n     * @param {Highcharts.Pack} point\n     * Candidate point for opacity correction.\n     * @param {string} [state]\n     * The point state, can be either `hover`, `select` or 'normal'. If\n     * undefined, normal state is assumed.\n     *\n     * @return {Highcharts.SVGAttributes}\n     * The presentational attributes to be set on the point.\n     */\n    pointAttribs(point, state) {\n        const options = this.options, hasParentMarker = point && point.isParentNode;\n        let markerOptions = options.marker;\n        if (hasParentMarker &&\n            options.layoutAlgorithm &&\n            options.layoutAlgorithm.parentNodeOptions) {\n            markerOptions = options.layoutAlgorithm.parentNodeOptions.marker;\n        }\n        const fillOpacity = markerOptions.fillOpacity, attr = seriesProto.pointAttribs.call(this, point, state);\n        if (fillOpacity !== 1) {\n            attr['fill-opacity'] = fillOpacity;\n        }\n        return attr;\n    }\n    /**\n     * Function that is adding one bubble based on positions and sizes of\n     * two other bubbles, lastBubble is the last added bubble, newOrigin is\n     * the bubble for positioning new bubbles. nextBubble is the currently\n     * added bubble for which we are calculating positions\n     * @private\n     * @param {Array<number>} lastBubble The closest last bubble\n     * @param {Array<number>} newOrigin New bubble\n     * @param {Array<number>} nextBubble The closest next bubble\n     * @return {Array<number>} Bubble with correct positions\n     */\n    positionBubble(lastBubble, newOrigin, nextBubble) {\n        const sqrt = Math.sqrt, asin = Math.asin, acos = Math.acos, pow = Math.pow, abs = Math.abs, distance = sqrt(// Dist between lastBubble and newOrigin\n        pow((lastBubble[0] - newOrigin[0]), 2) +\n            pow((lastBubble[1] - newOrigin[1]), 2)), alfa = acos(\n        // From cosinus theorem: alfa is an angle used for\n        // calculating correct position\n        (pow(distance, 2) +\n            pow(nextBubble[2] + newOrigin[2], 2) -\n            pow(nextBubble[2] + lastBubble[2], 2)) / (2 * (nextBubble[2] + newOrigin[2]) * distance)), beta = asin(// From sinus theorem.\n        abs(lastBubble[0] - newOrigin[0]) /\n            distance), \n        // Providing helping variables, related to angle between\n        // lastBubble and newOrigin\n        gamma = (lastBubble[1] - newOrigin[1]) < 0 ? 0 : Math.PI, \n        // If new origin y is smaller than last bubble y value\n        // (2 and 3 quarter),\n        // add Math.PI to final angle\n        delta = (lastBubble[0] - newOrigin[0]) *\n            (lastBubble[1] - newOrigin[1]) < 0 ?\n            1 : -1, // (1st and 3rd quarter)\n        finalAngle = gamma + alfa + beta * delta, cosA = Math.cos(finalAngle), sinA = Math.sin(finalAngle), posX = newOrigin[0] + (newOrigin[2] + nextBubble[2]) * sinA, \n        // Center of new origin + (radius1 + radius2) * sinus A\n        posY = newOrigin[1] - (newOrigin[2] + nextBubble[2]) * cosA;\n        return [\n            posX,\n            posY,\n            nextBubble[2],\n            nextBubble[3],\n            nextBubble[4]\n        ]; // The same as described before\n    }\n    render() {\n        const dataLabels = [];\n        seriesProto.render.apply(this, arguments);\n        // #10823 - dataLabels should stay visible\n        // when enabled allowOverlap.\n        if (!this.options.dataLabels.allowOverlap) {\n            this.data.forEach((point) => {\n                if (PackedBubbleSeries_isArray(point.dataLabels)) {\n                    point.dataLabels.forEach((dataLabel) => {\n                        dataLabels.push(dataLabel);\n                    });\n                }\n            });\n            // Only hide overlapping dataLabels for layouts that\n            // use simulation. Spiral packedbubble don't need\n            // additional dataLabel hiding on every simulation step\n            if (this.options.useSimulation) {\n                this.chart.hideOverlappingLabels(dataLabels);\n            }\n        }\n    }\n    /**\n     * The function responsible for resizing the bubble radius.\n     * In shortcut: it is taking the initially\n     * calculated positions of bubbles. Then it is calculating the min max\n     * of both dimensions, creating something in shape of bBox.\n     * The comparison of bBox and the size of plotArea\n     * (later it may be also the size set by customer) is giving the\n     * value how to recalculate the radius so it will match the size\n     * @private\n     */\n    resizeRadius() {\n        const chart = this.chart, positions = chart.rawPositions, min = Math.min, max = Math.max, plotLeft = chart.plotLeft, plotTop = chart.plotTop, chartHeight = chart.plotHeight, chartWidth = chart.plotWidth;\n        let minX, maxX, minY, maxY, radius;\n        minX = minY = Number.POSITIVE_INFINITY; // Set initial values\n        maxX = maxY = Number.NEGATIVE_INFINITY;\n        for (const position of positions) {\n            radius = position[2];\n            minX = min(minX, position[0] - radius);\n            // (x center-radius) is the min x value used by specific bubble\n            maxX = max(maxX, position[0] + radius);\n            minY = min(minY, position[1] - radius);\n            maxY = max(maxY, position[1] + radius);\n        }\n        const bBox = [maxX - minX, maxY - minY], spaceRatio = [\n            (chartWidth - plotLeft) / bBox[0],\n            (chartHeight - plotTop) / bBox[1]\n        ], smallerDimension = min.apply([], spaceRatio);\n        if (Math.abs(smallerDimension - 1) > 1e-10) {\n            // If bBox is considered not the same width as possible size\n            for (const position of positions) {\n                position[2] *= smallerDimension;\n            }\n            this.placeBubbles(positions);\n        }\n        else {\n            /** If no radius recalculation is needed, we need to position\n             * the whole bubbles in center of chart plotarea\n             * for this, we are adding two parameters,\n             * diffY and diffX, that are related to differences\n             * between the initial center and the bounding box\n             */\n            chart.diffY = chartHeight / 2 +\n                plotTop - minY - (maxY - minY) / 2;\n            chart.diffX = chartWidth / 2 +\n                plotLeft - minX - (maxX - minX) / 2;\n        }\n    }\n    /**\n     * The function responsible for calculating series bubble' s bBox.\n     * Needed because of exporting failure when useSimulation\n     * is set to false\n     * @private\n     */\n    seriesBox() {\n        const chart = this.chart, data = this.data, max = Math.max, min = Math.min, bBox = [\n            chart.plotLeft,\n            chart.plotLeft + chart.plotWidth,\n            chart.plotTop,\n            chart.plotTop + chart.plotHeight\n        ];\n        let radius;\n        data.forEach((p) => {\n            if (PackedBubbleSeries_defined(p.plotX) &&\n                PackedBubbleSeries_defined(p.plotY) &&\n                p.marker.radius) {\n                radius = p.marker.radius;\n                bBox[0] = min(bBox[0], p.plotX - radius);\n                bBox[1] = max(bBox[1], p.plotX + radius);\n                bBox[2] = min(bBox[2], p.plotY - radius);\n                bBox[3] = max(bBox[3], p.plotY + radius);\n            }\n        });\n        return PackedBubbleSeries_isNumber(bBox.width / bBox.height) ?\n            bBox :\n            null;\n    }\n    /**\n     * Needed because of z-indexing issue if point is added in series.group\n     * @private\n     */\n    setVisible() {\n        const series = this;\n        seriesProto.setVisible.apply(series, arguments);\n        if (series.parentNodeLayout && series.graph) {\n            if (series.visible) {\n                series.graph.show();\n                if (series.parentNode.dataLabel) {\n                    series.parentNode.dataLabel.show();\n                }\n            }\n            else {\n                series.graph.hide();\n                series.parentNodeLayout.removeElementFromCollection(series.parentNode, series.parentNodeLayout.nodes);\n                if (series.parentNode.dataLabel) {\n                    series.parentNode.dataLabel.hide();\n                }\n            }\n        }\n        else if (series.layout) {\n            if (series.visible) {\n                series.layout.addElementsToCollection(series.points, series.layout.nodes);\n            }\n            else {\n                series.points.forEach((node) => {\n                    series.layout.removeElementFromCollection(node, series.layout.nodes);\n                });\n            }\n        }\n    }\n    /**\n     * Extend the base translate method to handle bubble size,\n     * and correct positioning them.\n     * @private\n     */\n    translate() {\n        const chart = this.chart, data = this.data, index = this.index, useSimulation = this.options.useSimulation;\n        let point, radius, positions;\n        this.generatePoints();\n        // Merged data is an array with all of the data from all series\n        if (!PackedBubbleSeries_defined(chart.allDataPoints)) {\n            chart.allDataPoints = this.accumulateAllPoints();\n            // Calculate radius for all added data\n            this.getPointRadius();\n        }\n        // After getting initial radius, calculate bubble positions\n        if (useSimulation) {\n            positions = chart.allDataPoints;\n        }\n        else {\n            positions = this.placeBubbles(chart.allDataPoints);\n            this.options.draggable = false;\n        }\n        // Set the shape and arguments to be picked up in drawPoints\n        for (const position of positions) {\n            if (position[3] === index) {\n                // Update the series points with the val from positions\n                // array\n                point = data[position[4]];\n                radius = PackedBubbleSeries_pick(position[2], void 0);\n                if (!useSimulation) {\n                    point.plotX = (position[0] - chart.plotLeft +\n                        chart.diffX);\n                    point.plotY = (position[1] - chart.plotTop +\n                        chart.diffY);\n                }\n                if (PackedBubbleSeries_isNumber(radius)) {\n                    point.marker = PackedBubbleSeries_extend(point.marker, {\n                        radius,\n                        width: 2 * radius,\n                        height: 2 * radius\n                    });\n                    point.radius = radius;\n                }\n            }\n        }\n        if (useSimulation) {\n            this.deferLayout();\n        }\n        PackedBubbleSeries_fireEvent(this, 'afterTranslate');\n    }\n}\nPackedBubbleSeries.defaultOptions = PackedBubbleSeries_merge(PackedBubbleSeries_BubbleSeries.defaultOptions, PackedBubble_PackedBubbleSeriesDefaults);\nPackedBubbleSeries_extend(PackedBubbleSeries.prototype, {\n    pointClass: PackedBubble_PackedBubblePoint,\n    axisTypes: [],\n    directTouch: true,\n    forces: ['barycenter', 'repulsive'],\n    hasDraggableNodes: true,\n    invertible: false,\n    isCartesian: false,\n    noSharedTooltip: true,\n    pointArrayMap: ['value'],\n    pointValKey: 'value',\n    requireSorting: false,\n    trackerGroups: ['group', 'dataLabelsGroup', 'parentNodesGroup'],\n    initDataLabels: PackedBubbleSeries_initDataLabels,\n    alignDataLabel: seriesProto.alignDataLabel,\n    indexateNodes: PackedBubbleSeries_noop,\n    onMouseDown: Series_DragNodesComposition.onMouseDown,\n    onMouseMove: Series_DragNodesComposition.onMouseMove,\n    redrawHalo: Series_DragNodesComposition.redrawHalo,\n    searchPoint: PackedBubbleSeries_noop // Solving #12287\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('packedbubble', PackedBubbleSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const PackedBubble_PackedBubbleSeries = (PackedBubbleSeries);\n\n;// ./code/es-modules/Series/Polygon/PolygonSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A polygon series can be used to draw any freeform shape in the cartesian\n * coordinate system. A fill is applied with the `color` option, and\n * stroke is applied through `lineWidth` and `lineColor` options.\n *\n * @sample {highcharts} highcharts/demo/polygon/\n *         Polygon\n * @sample {highstock} highcharts/demo/polygon/\n *         Polygon\n *\n * @extends      plotOptions.scatter\n * @since        4.1.0\n * @excluding    jitter, softThreshold, threshold, cluster, boostThreshold,\n *               boostBlending\n * @product      highcharts highstock\n * @requires     highcharts-more\n * @optionparent plotOptions.polygon\n */\nconst PolygonSeriesDefaults = {\n    marker: {\n        enabled: false,\n        states: {\n            hover: {\n                enabled: false\n            }\n        }\n    },\n    stickyTracking: false,\n    tooltip: {\n        followPointer: true,\n        pointFormat: ''\n    },\n    trackByArea: true,\n    legendSymbol: 'rectangle'\n};\n/**\n * A `polygon` series. If the [type](#series.polygon.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.polygon\n * @excluding dataParser, dataURL, stack, boostThreshold, boostBlending\n * @product   highcharts highstock\n * @requires  highcharts-more\n * @apioption series.polygon\n */\n/**\n * An array of data points for the series. For the `polygon` series\n * type, points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 10],\n *        [1, 3],\n *        [2, 1]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.polygon.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 1,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 8,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.line.data\n * @product   highcharts highstock\n * @apioption series.polygon.data\n */\n''; // Keeps doclets above separate\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Polygon_PolygonSeriesDefaults = (PolygonSeriesDefaults);\n\n;// ./code/es-modules/Series/Polygon/PolygonSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { noop: PolygonSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { area: PolygonSeries_AreaSeries, line: LineSeries, scatter: PolygonSeries_ScatterSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { extend: PolygonSeries_extend, merge: PolygonSeries_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass PolygonSeries extends PolygonSeries_ScatterSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    getGraphPath() {\n        const graphPath = LineSeries.prototype.getGraphPath.call(this);\n        let i = graphPath.length + 1;\n        // Close all segments\n        while (i--) {\n            if ((i === graphPath.length || graphPath[i][0] === 'M') && i > 0) {\n                graphPath.splice(i, 0, ['Z']);\n            }\n        }\n        this.areaPath = graphPath;\n        return graphPath;\n    }\n    drawGraph() {\n        // Hack into the fill logic in area.drawGraph\n        this.options.fillColor = this.color;\n        PolygonSeries_AreaSeries.prototype.drawGraph.call(this);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nPolygonSeries.defaultOptions = PolygonSeries_merge(PolygonSeries_ScatterSeries.defaultOptions, Polygon_PolygonSeriesDefaults);\nPolygonSeries_extend(PolygonSeries.prototype, {\n    type: 'polygon',\n    drawTracker: LineSeries.prototype.drawTracker,\n    setStackedPoints: PolygonSeries_noop // No stacking points on polygons (#5310)\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('polygon', PolygonSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Polygon_PolygonSeries = ((/* unused pure expression or super */ null && (PolygonSeries)));\n\n;// ./code/es-modules/Core/Axis/RadialAxisDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  Extension for radial axes\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/**\n     * Circular axis around the perimeter of a polar chart.\n     * @private\n     */\nconst defaultCircularOptions = {\n    gridLineWidth: 1, // Spokes\n    labels: {\n        align: void 0, // Auto\n        x: 0,\n        y: void 0 // Auto\n    },\n    maxPadding: 0,\n    minPadding: 0,\n    showLastLabel: false,\n    tickLength: 0\n};\n/**\n * The default options extend defaultYAxisOptions.\n * @private\n */\nconst defaultRadialGaugeOptions = {\n    endOnTick: false,\n    gridLineWidth: 0,\n    labels: {\n        align: 'center',\n        distance: -25,\n        x: 0,\n        y: void 0 // Auto\n    },\n    lineWidth: 1,\n    minorGridLineWidth: 0,\n    minorTickInterval: 'auto',\n    minorTickLength: 10,\n    minorTickPosition: 'inside',\n    minorTickWidth: 1,\n    startOnTick: false,\n    tickLength: 10,\n    tickPixelInterval: 100,\n    tickPosition: 'inside',\n    tickWidth: 2,\n    title: {\n        rotation: 0,\n        text: ''\n    },\n    zIndex: 2 // Behind dials, points in the series group\n};\n/**\n * Radial axis, like a spoke in a polar chart.\n * @private\n */\nconst defaultRadialOptions = {\n    /**\n     * In a polar chart, this is the angle of the Y axis in degrees, where\n     * 0 is up and 90 is right. The angle determines the position of the\n     * axis line and the labels, though the coordinate system is unaffected.\n     * Since v8.0.0 this option is also applicable for X axis (inverted\n     * polar).\n     *\n     * @sample {highcharts} highcharts/xaxis/angle/\n     *         Custom X axis' angle on inverted polar chart\n     * @sample {highcharts} highcharts/yaxis/angle/\n     *         Dual axis polar chart\n     *\n     * @type      {number}\n     * @default   0\n     * @since     4.2.7\n     * @product   highcharts\n     * @apioption xAxis.angle\n     */\n    /**\n     * Polar charts only. Whether the grid lines should draw as a polygon\n     * with straight lines between categories, or as circles. Can be either\n     * `circle` or `polygon`. Since v8.0.0 this option is also applicable\n     * for X axis (inverted polar).\n     *\n     * @sample {highcharts} highcharts/demo/polar-spider/\n     *         Polygon grid lines\n     * @sample {highcharts} highcharts/xaxis/gridlineinterpolation/\n     *         Circle and polygon on inverted polar\n     * @sample {highcharts} highcharts/yaxis/gridlineinterpolation/\n     *         Circle and polygon\n     *\n     * @type       {string}\n     * @product    highcharts\n     * @validvalue [\"circle\", \"polygon\"]\n     * @apioption  xAxis.gridLineInterpolation\n     */\n    gridLineInterpolation: 'circle',\n    gridLineWidth: 1,\n    labels: {\n        align: 'right',\n        padding: 5,\n        x: -3,\n        y: -2\n    },\n    showLastLabel: false,\n    title: {\n        x: 4,\n        text: null,\n        rotation: 90\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\nconst RadialAxisDefaults = {\n    circular: defaultCircularOptions,\n    radial: defaultRadialOptions,\n    radialGauge: defaultRadialGaugeOptions\n};\n/* harmony default export */ const Axis_RadialAxisDefaults = (RadialAxisDefaults);\n\n;// ./code/es-modules/Core/Axis/RadialAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { composed: RadialAxis_composed, noop: RadialAxis_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: RadialAxis_addEvent, correctFloat: RadialAxis_correctFloat, defined: RadialAxis_defined, extend: RadialAxis_extend, fireEvent: RadialAxis_fireEvent, isObject, merge: RadialAxis_merge, pick: RadialAxis_pick, pushUnique: RadialAxis_pushUnique, relativeLength: RadialAxis_relativeLength, wrap: RadialAxis_wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar RadialAxis;\n(function (RadialAxis) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    RadialAxis.radialDefaultOptions = RadialAxis_merge(Axis_RadialAxisDefaults);\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * In case of auto connect, add one closestPointRange to the max value\n     * right before tickPositions are computed, so that ticks will extend\n     * passed the real max.\n     * @private\n     */\n    function beforeSetTickPositions() {\n        // If autoConnect is true, polygonal grid lines are connected, and\n        // one closestPointRange is added to the X axis to prevent the last\n        // point from overlapping the first.\n        this.autoConnect = (this.isCircular &&\n            typeof RadialAxis_pick(this.userMax, this.options.max) === 'undefined' &&\n            RadialAxis_correctFloat(this.endAngleRad - this.startAngleRad) ===\n                RadialAxis_correctFloat(2 * Math.PI));\n        // This will lead to add an extra tick to xAxis in order to display\n        // a correct range on inverted polar\n        if (!this.isCircular && this.chart.inverted) {\n            this.max++;\n        }\n        if (this.autoConnect) {\n            this.max += ((this.categories && 1) ||\n                this.pointRange ||\n                this.closestPointRange ||\n                0); // #1197, #2260\n        }\n    }\n    /**\n     * Augments methods for the value axis.\n     *\n     * @private\n     *\n     * @param {Highcharts.Axis} AxisClass\n     * Axis class to extend.\n     *\n     * @param {Highcharts.Tick} TickClass\n     * Tick class to use.\n     *\n     * @return {Highcharts.Axis}\n     * Axis composition.\n     */\n    function compose(AxisClass, TickClass) {\n        if (RadialAxis_pushUnique(RadialAxis_composed, 'Axis.Radial')) {\n            RadialAxis_addEvent(AxisClass, 'afterInit', onAxisAfterInit);\n            RadialAxis_addEvent(AxisClass, 'autoLabelAlign', onAxisAutoLabelAlign);\n            RadialAxis_addEvent(AxisClass, 'destroy', onAxisDestroy);\n            RadialAxis_addEvent(AxisClass, 'init', onAxisInit);\n            RadialAxis_addEvent(AxisClass, 'initialAxisTranslation', onAxisInitialAxisTranslation);\n            RadialAxis_addEvent(TickClass, 'afterGetLabelPosition', onTickAfterGetLabelPosition);\n            RadialAxis_addEvent(TickClass, 'afterGetPosition', onTickAfterGetPosition);\n            RadialAxis_addEvent((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()), 'setOptions', onGlobalSetOptions);\n            RadialAxis_wrap(TickClass.prototype, 'getMarkPath', wrapTickGetMarkPath);\n        }\n        return AxisClass;\n    }\n    RadialAxis.compose = compose;\n    /**\n     * Attach and return collecting function for labels in radial axis for\n     * anti-collision.\n     *\n     * @private\n     */\n    function createLabelCollector() {\n        return () => {\n            if (this.isRadial &&\n                this.tickPositions &&\n                // Undocumented option for now, but working\n                this.options.labels &&\n                this.options.labels.allowOverlap !== true) {\n                return this.tickPositions\n                    .map((pos) => this.ticks[pos] && this.ticks[pos].label)\n                    .filter((label) => Boolean(label));\n            }\n        };\n    }\n    /**\n     * Creates an empty collector function.\n     * @private\n     */\n    function createLabelCollectorHidden() {\n        return RadialAxis_noop;\n    }\n    /**\n     * Find the correct end values of crosshair in polar.\n     * @private\n     */\n    function getCrosshairPosition(options, x1, y1) {\n        const center = this.pane.center;\n        let value = options.value, shapeArgs, end, x2, y2;\n        if (this.isCircular) {\n            if (!RadialAxis_defined(value)) {\n                // When the snap is set to false\n                x2 = options.chartX || 0;\n                y2 = options.chartY || 0;\n                value = this.translate(Math.atan2(y2 - y1, x2 - x1) - this.startAngleRad, true);\n            }\n            else if (options.point) {\n                // When the snap is set to true\n                shapeArgs = options.point.shapeArgs || {};\n                if (shapeArgs.start) {\n                    // Find a true value of the point based on the\n                    // angle\n                    value = this.chart.inverted ?\n                        this.translate(options.point.rectPlotY, true) :\n                        options.point.x;\n                }\n            }\n            end = this.getPosition(value);\n            x2 = end.x;\n            y2 = end.y;\n        }\n        else {\n            if (!RadialAxis_defined(value)) {\n                x2 = options.chartX;\n                y2 = options.chartY;\n            }\n            if (RadialAxis_defined(x2) && RadialAxis_defined(y2)) {\n                // Calculate radius of non-circular axis' crosshair\n                y1 = center[1] + this.chart.plotTop;\n                value = this.translate(Math.min(Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2)), center[2] / 2) - center[3] / 2, true);\n            }\n        }\n        return [value, x2 || 0, y2 || 0];\n    }\n    /**\n     * Get the path for the axis line. This method is also referenced in the\n     * getPlotLinePath method.\n     *\n     * @private\n     * @param {number} _lineWidth\n     * Line width is not used.\n     * @param {number} [radius]\n     * Radius of radial path.\n     * @param {number} [innerRadius]\n     * Inner radius of radial path.\n     */\n    function getLinePath(_lineWidth, radius, innerRadius) {\n        const center = this.pane.center, chart = this.chart, left = this.left || 0, top = this.top || 0;\n        let end, r = RadialAxis_pick(radius, center[2] / 2 - this.offset), path;\n        if (typeof innerRadius === 'undefined') {\n            innerRadius = this.horiz ? 0 : this.center && -this.center[3] / 2;\n        }\n        // In case when innerSize of pane is set, it must be included\n        if (innerRadius) {\n            r += innerRadius;\n        }\n        if (this.isCircular || typeof radius !== 'undefined') {\n            path = this.chart.renderer.symbols.arc(left + center[0], top + center[1], r, r, {\n                start: this.startAngleRad,\n                end: this.endAngleRad,\n                open: true,\n                innerR: 0\n            });\n            // Bounds used to position the plotLine label next to the line\n            // (#7117)\n            path.xBounds = [left + center[0]];\n            path.yBounds = [top + center[1] - r];\n        }\n        else {\n            end = this.postTranslate(this.angleRad, r);\n            path = [\n                [\n                    'M',\n                    this.center[0] + chart.plotLeft,\n                    this.center[1] + chart.plotTop\n                ],\n                ['L', end.x, end.y]\n            ];\n        }\n        return path;\n    }\n    /**\n     * Wrap the getOffset method to return zero offset for title or labels\n     * in a radial axis.\n     */\n    function getOffset() {\n        const axisProto = this.constructor.prototype;\n        // Call the Axis prototype method (the method we're in now is on the\n        // instance)\n        axisProto.getOffset.call(this);\n        // Title or label offsets are not counted\n        this.chart.axisOffset[this.side] = 0;\n    }\n    /**\n     * Find the path for plot bands along the radial axis.\n     *\n     * @private\n     */\n    function getPlotBandPath(from, to, options) {\n        const chart = this.chart, radiusToPixels = (radius) => {\n            if (typeof radius === 'string') {\n                let r = parseInt(radius, 10);\n                if (percentRegex.test(radius)) {\n                    r = (r * fullRadius) / 100;\n                }\n                return r;\n            }\n            return radius;\n        }, center = this.center, startAngleRad = this.startAngleRad, fullRadius = center[2] / 2, offset = Math.min(this.offset, 0), left = this.left || 0, top = this.top || 0, percentRegex = /%$/, isCircular = this.isCircular; // X axis in a polar chart\n        let start, end, angle, xOnPerimeter, open, path, outerRadius = RadialAxis_pick(radiusToPixels(options.outerRadius), fullRadius), innerRadius = radiusToPixels(options.innerRadius), thickness = RadialAxis_pick(radiusToPixels(options.thickness), 10);\n        // Polygonal plot bands\n        if (this.options.gridLineInterpolation === 'polygon') {\n            path = this.getPlotLinePath({ value: from }).concat(this.getPlotLinePath({ value: to, reverse: true }));\n            // Circular grid bands\n        }\n        else {\n            // Keep within bounds\n            from = Math.max(from, this.min);\n            to = Math.min(to, this.max);\n            const transFrom = this.translate(from), transTo = this.translate(to);\n            // Plot bands on Y axis (radial axis) - inner and outer\n            // radius depend on to and from\n            if (!isCircular) {\n                outerRadius = transFrom || 0;\n                innerRadius = transTo || 0;\n            }\n            // Handle full circle\n            if (options.shape === 'circle' || !isCircular) {\n                start = -Math.PI / 2;\n                end = Math.PI * 1.5;\n                open = true;\n            }\n            else {\n                start = startAngleRad + (transFrom || 0);\n                end = startAngleRad + (transTo || 0);\n            }\n            outerRadius -= offset; // #5283\n            thickness -= offset; // #5283\n            path = chart.renderer.symbols.arc(left + center[0], top + center[1], outerRadius, outerRadius, {\n                // Math is for reversed yAxis (#3606)\n                start: Math.min(start, end),\n                end: Math.max(start, end),\n                innerR: RadialAxis_pick(innerRadius, outerRadius - thickness),\n                open,\n                borderRadius: options.borderRadius\n            });\n            // Provide positioning boxes for the label (#6406)\n            if (isCircular) {\n                angle = (end + start) / 2;\n                xOnPerimeter = (left +\n                    center[0] +\n                    (center[2] / 2) * Math.cos(angle));\n                path.xBounds = angle > -Math.PI / 2 && angle < Math.PI / 2 ?\n                    // Right hemisphere\n                    [xOnPerimeter, chart.plotWidth] :\n                    // Left hemisphere\n                    [0, xOnPerimeter];\n                path.yBounds = [\n                    top + center[1] + (center[2] / 2) * Math.sin(angle)\n                ];\n                // Shift up or down to get the label clear of the perimeter\n                path.yBounds[0] += ((angle > -Math.PI && angle < 0) ||\n                    (angle > Math.PI)) ? -10 : 10;\n            }\n        }\n        return path;\n    }\n    /**\n     * Find the path for plot lines perpendicular to the radial axis.\n     */\n    function getPlotLinePath(options) {\n        const center = this.pane.center, chart = this.chart, inverted = chart.inverted, reverse = options.reverse, background = this.pane.options.background ?\n            (this.pane.options.background[0] ||\n                this.pane.options.background) :\n            {}, innerRadius = background.innerRadius || '0%', outerRadius = background.outerRadius || '100%', x1 = center[0] + chart.plotLeft, y1 = center[1] + chart.plotTop, height = this.height, isCrosshair = options.isCrosshair, paneInnerR = center[3] / 2;\n        let value = options.value, innerRatio, distance, a, b, otherAxis, xy, tickPositions, crossPos, path;\n        const end = this.getPosition(value);\n        let x2 = end.x, y2 = end.y;\n        // Crosshair logic\n        if (isCrosshair) {\n            // Find crosshair's position and perform destructuring\n            // assignment\n            crossPos = this.getCrosshairPosition(options, x1, y1);\n            value = crossPos[0];\n            x2 = crossPos[1];\n            y2 = crossPos[2];\n        }\n        // Spokes\n        if (this.isCircular) {\n            distance = Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2));\n            a = (typeof innerRadius === 'string') ?\n                RadialAxis_relativeLength(innerRadius, 1) :\n                (innerRadius / distance);\n            b = (typeof outerRadius === 'string') ?\n                RadialAxis_relativeLength(outerRadius, 1) :\n                (outerRadius / distance);\n            // To ensure that gridlines won't be displayed in area\n            // defined by innerSize in case of custom radiuses of pane's\n            // background\n            if (center && paneInnerR) {\n                innerRatio = paneInnerR / distance;\n                if (a < innerRatio) {\n                    a = innerRatio;\n                }\n                if (b < innerRatio) {\n                    b = innerRatio;\n                }\n            }\n            path = [\n                ['M', x1 + a * (x2 - x1), y1 - a * (y1 - y2)],\n                ['L', x2 - (1 - b) * (x2 - x1), y2 + (1 - b) * (y1 - y2)]\n            ];\n            // Concentric circles\n        }\n        else {\n            // Pick the right values depending if it is grid line or\n            // crosshair\n            value = this.translate(value);\n            // This is required in case when xAxis is non-circular to\n            // prevent grid lines (or crosshairs, if enabled) from\n            // rendering above the center after they supposed to be\n            // displayed below the center point\n            if (value) {\n                if (value < 0 || value > height) {\n                    value = 0;\n                }\n            }\n            if (this.options.gridLineInterpolation === 'circle') {\n                // A value of 0 is in the center, so it won't be\n                // visible, but draw it anyway for update and animation\n                // (#2366)\n                path = this.getLinePath(0, value, paneInnerR);\n                // Concentric polygons\n            }\n            else {\n                path = [];\n                // Find the other axis (a circular one) in the same pane\n                chart[inverted ? 'yAxis' : 'xAxis'].forEach((a) => {\n                    if (a.pane === this.pane) {\n                        otherAxis = a;\n                    }\n                });\n                if (otherAxis) {\n                    tickPositions = otherAxis.tickPositions;\n                    if (otherAxis.autoConnect) {\n                        tickPositions =\n                            tickPositions.concat([tickPositions[0]]);\n                    }\n                    // Reverse the positions for concatenation of polygonal\n                    // plot bands\n                    if (reverse) {\n                        tickPositions = tickPositions.slice().reverse();\n                    }\n                    if (value) {\n                        value += paneInnerR;\n                    }\n                    for (let i = 0; i < tickPositions.length; i++) {\n                        xy = otherAxis.getPosition(tickPositions[i], value);\n                        path.push(i ? ['L', xy.x, xy.y] : ['M', xy.x, xy.y]);\n                    }\n                }\n            }\n        }\n        return path;\n    }\n    /**\n     * Returns the x, y coordinate of a point given by a value and a pixel\n     * distance from center.\n     *\n     * @private\n     * @param {number} value\n     * Point value.\n     * @param {number} [length]\n     * Distance from center.\n     */\n    function getPosition(value, length) {\n        const translatedVal = this.translate(value);\n        return this.postTranslate(this.isCircular ? translatedVal : this.angleRad, // #2848\n        // In case when translatedVal is negative, the 0 value must be\n        // used instead, in order to deal with lines and labels that\n        // fall out of the visible range near the center of a pane\n        RadialAxis_pick(this.isCircular ?\n            length :\n            (translatedVal < 0 ? 0 : translatedVal), this.center[2] / 2) - this.offset);\n    }\n    /**\n     * Find the position for the axis title, by default inside the gauge.\n     */\n    function getTitlePosition() {\n        const center = this.center, chart = this.chart, titleOptions = this.options.title;\n        return {\n            x: chart.plotLeft + center[0] + (titleOptions.x || 0),\n            y: (chart.plotTop +\n                center[1] -\n                ({\n                    high: 0.5,\n                    middle: 0.25,\n                    low: 0\n                }[titleOptions.align] *\n                    center[2]) +\n                (titleOptions.y || 0))\n        };\n    }\n    /**\n     * Modify radial axis.\n     * @private\n     *\n     * @param {Highcharts.Axis} radialAxis\n     * Radial axis to modify.\n     */\n    function modify(axis) {\n        axis.beforeSetTickPositions = beforeSetTickPositions;\n        axis.createLabelCollector = createLabelCollector;\n        axis.getCrosshairPosition = getCrosshairPosition;\n        axis.getLinePath = getLinePath;\n        axis.getOffset = getOffset;\n        axis.getPlotBandPath = getPlotBandPath;\n        axis.getPlotLinePath = getPlotLinePath;\n        axis.getPosition = getPosition;\n        axis.getTitlePosition = getTitlePosition;\n        axis.postTranslate = postTranslate;\n        axis.setAxisSize = setAxisSize;\n        axis.setAxisTranslation = setAxisTranslation;\n        axis.setOptions = setOptions;\n    }\n    /**\n     * Modify radial axis as hidden.\n     * @private\n     *\n     * @param {Highcharts.Axis} radialAxis\n     * Radial axis to modify.\n     */\n    function modifyAsHidden(radialAxis) {\n        radialAxis.isHidden = true;\n        radialAxis.createLabelCollector = createLabelCollectorHidden;\n        radialAxis.getOffset = RadialAxis_noop;\n        radialAxis.redraw = renderHidden;\n        radialAxis.render = renderHidden;\n        radialAxis.setScale = RadialAxis_noop;\n        radialAxis.setCategories = RadialAxis_noop;\n        radialAxis.setTitle = RadialAxis_noop;\n    }\n    /**\n     * Finalize modification of axis instance with radial logic.\n     */\n    function onAxisAfterInit() {\n        const chart = this.chart, options = this.options, isHidden = chart.angular && this.isXAxis, pane = this.pane, paneOptions = pane && pane.options;\n        if (!isHidden && pane && (chart.angular || chart.polar)) {\n            const fullCircle = Math.PI * 2, \n            // Start and end angle options are given in degrees relative to\n            // top, while internal computations are in radians relative to\n            // right (like SVG).\n            start = (RadialAxis_pick(paneOptions.startAngle, 0) - 90) * Math.PI / 180, end = (RadialAxis_pick(paneOptions.endAngle, RadialAxis_pick(paneOptions.startAngle, 0) + 360) - 90) * Math.PI / 180;\n            // Y axis in polar charts\n            this.angleRad = (options.angle || 0) * Math.PI / 180;\n            // Gauges\n            this.startAngleRad = start;\n            this.endAngleRad = end;\n            this.offset = options.offset || 0;\n            // Normalize Start and End to <0, 2*PI> range\n            // (in degrees: <0,360>)\n            let normalizedStart = (start % fullCircle + fullCircle) %\n                fullCircle, normalizedEnd = (end % fullCircle + fullCircle) % fullCircle;\n            // Move normalized angles to <-PI, PI> range (<-180, 180>)\n            // to match values returned by Math.atan2()\n            if (normalizedStart > Math.PI) {\n                normalizedStart -= fullCircle;\n            }\n            if (normalizedEnd > Math.PI) {\n                normalizedEnd -= fullCircle;\n            }\n            this.normalizedStartAngleRad = normalizedStart;\n            this.normalizedEndAngleRad = normalizedEnd;\n        }\n    }\n    /**\n     * Wrap auto label align to avoid setting axis-wide rotation on radial axes.\n     * (#4920)\n     */\n    function onAxisAutoLabelAlign(e) {\n        if (this.isRadial) {\n            e.align = void 0;\n            e.preventDefault();\n        }\n    }\n    /**\n     * Remove label collector function on axis remove/update.\n     */\n    function onAxisDestroy() {\n        if (this.chart &&\n            this.chart.labelCollectors) {\n            const index = (this.labelCollector ?\n                this.chart.labelCollectors.indexOf(this.labelCollector) :\n                -1);\n            if (index >= 0) {\n                this.chart.labelCollectors.splice(index, 1);\n            }\n        }\n    }\n    /**\n     * Modify axis instance with radial logic before common axis init.\n     */\n    function onAxisInit(e) {\n        const chart = this.chart, angular = chart.angular, polar = chart.polar, isX = this.isXAxis, coll = this.coll, isHidden = angular && isX, paneIndex = e.userOptions.pane || 0, pane = this.pane = chart.pane && chart.pane[paneIndex];\n        let isCircular;\n        // Prevent changes for colorAxis\n        if (coll === 'colorAxis') {\n            this.isRadial = false;\n            return;\n        }\n        // Before prototype.init\n        if (angular) {\n            if (isHidden) {\n                modifyAsHidden(this);\n            }\n            else {\n                modify(this);\n            }\n            isCircular = !isX;\n        }\n        else if (polar) {\n            modify(this);\n            // Check which axis is circular\n            isCircular = this.horiz;\n        }\n        // Disable certain features on angular and polar axes\n        if (angular || polar) {\n            this.isRadial = true;\n            if (!this.labelCollector) {\n                this.labelCollector = this.createLabelCollector();\n            }\n            if (this.labelCollector) {\n                // Prevent overlapping axis labels (#9761)\n                chart.labelCollectors.push(this.labelCollector);\n            }\n        }\n        else {\n            this.isRadial = false;\n        }\n        // A pointer back to this axis to borrow geometry\n        if (pane && isCircular) {\n            pane.axis = this;\n        }\n        this.isCircular = isCircular;\n    }\n    /**\n     * Prepare axis translation.\n     */\n    function onAxisInitialAxisTranslation() {\n        if (this.isRadial) {\n            this.beforeSetTickPositions();\n        }\n    }\n    /**\n     * Find the center position of the label based on the distance option.\n     */\n    function onTickAfterGetLabelPosition(e) {\n        const label = this.label;\n        if (!label) {\n            return;\n        }\n        const axis = this.axis, labelBBox = label.getBBox(), labelOptions = axis.options.labels, angle = ((axis.translate(this.pos) + axis.startAngleRad +\n            Math.PI / 2) / Math.PI * 180) % 360, correctAngle = Math.round(angle), labelYPosCorrection = !RadialAxis_defined(labelOptions.y) ? -labelBBox.height * 0.3 : 0;\n        let optionsY = labelOptions.y, ret, centerSlot = 20, // 20 degrees to each side at the top and bottom\n        align = labelOptions.align, labelDir = 'end', // Direction of the label 'start' or 'end'\n        reducedAngle1 = correctAngle < 0 ?\n            correctAngle + 360 : correctAngle, reducedAngle2 = reducedAngle1, translateY = 0, translateX = 0;\n        if (axis.isRadial) { // Both X and Y axes in a polar chart\n            ret = axis.getPosition(this.pos, (axis.center[2] / 2) +\n                RadialAxis_relativeLength(RadialAxis_pick(labelOptions.distance, -25), axis.center[2] / 2, -axis.center[2] / 2));\n            // Automatically rotated\n            if (labelOptions.rotation === 'auto') {\n                label.attr({\n                    rotation: angle\n                });\n                // Vertically centered\n            }\n            else if (!RadialAxis_defined(optionsY)) {\n                optionsY = (axis.chart.renderer.fontMetrics(label).b -\n                    labelBBox.height / 2);\n            }\n            // Automatic alignment\n            if (!RadialAxis_defined(align)) {\n                if (axis.isCircular) { // Y axis\n                    if (labelBBox.width >\n                        axis.len * axis.tickInterval / (axis.max - axis.min)) { // #3506\n                        centerSlot = 0;\n                    }\n                    if (angle > centerSlot && angle < 180 - centerSlot) {\n                        align = 'left'; // Right hemisphere\n                    }\n                    else if (angle > 180 + centerSlot &&\n                        angle < 360 - centerSlot) {\n                        align = 'right'; // Left hemisphere\n                    }\n                    else {\n                        align = 'center'; // Top or bottom\n                    }\n                }\n                else {\n                    align = 'center';\n                }\n                label.attr({\n                    align: align\n                });\n            }\n            // Auto alignment for solid-gauges with two labels (#10635)\n            if (align === 'auto' &&\n                axis.tickPositions.length === 2 &&\n                axis.isCircular) {\n                // Angles reduced to 0 - 90 or 180 - 270\n                if (reducedAngle1 > 90 && reducedAngle1 < 180) {\n                    reducedAngle1 = 180 - reducedAngle1;\n                }\n                else if (reducedAngle1 > 270 && reducedAngle1 <= 360) {\n                    reducedAngle1 = 540 - reducedAngle1;\n                }\n                // Angles reduced to 0 - 180\n                if (reducedAngle2 > 180 && reducedAngle2 <= 360) {\n                    reducedAngle2 = 360 - reducedAngle2;\n                }\n                if ((axis.pane.options.startAngle === correctAngle) ||\n                    (axis.pane.options.startAngle === correctAngle + 360) ||\n                    (axis.pane.options.startAngle === correctAngle - 360)) {\n                    labelDir = 'start';\n                }\n                if ((correctAngle >= -90 && correctAngle <= 90) ||\n                    (correctAngle >= -360 && correctAngle <= -270) ||\n                    (correctAngle >= 270 && correctAngle <= 360)) {\n                    align = (labelDir === 'start') ? 'right' : 'left';\n                }\n                else {\n                    align = (labelDir === 'start') ? 'left' : 'right';\n                }\n                // For angles between (90 + n * 180) +- 20\n                if (reducedAngle2 > 70 && reducedAngle2 < 110) {\n                    align = 'center';\n                }\n                // Auto Y translation\n                if (reducedAngle1 < 15 ||\n                    (reducedAngle1 >= 180 && reducedAngle1 < 195)) {\n                    translateY = labelBBox.height * 0.3;\n                }\n                else if (reducedAngle1 >= 15 && reducedAngle1 <= 35) {\n                    translateY = labelDir === 'start' ?\n                        0 : labelBBox.height * 0.75;\n                }\n                else if (reducedAngle1 >= 195 && reducedAngle1 <= 215) {\n                    translateY = labelDir === 'start' ?\n                        labelBBox.height * 0.75 : 0;\n                }\n                else if (reducedAngle1 > 35 && reducedAngle1 <= 90) {\n                    translateY = labelDir === 'start' ?\n                        -labelBBox.height * 0.25 : labelBBox.height;\n                }\n                else if (reducedAngle1 > 215 && reducedAngle1 <= 270) {\n                    translateY = labelDir === 'start' ?\n                        labelBBox.height : -labelBBox.height * 0.25;\n                }\n                // Auto X translation\n                if (reducedAngle2 < 15) {\n                    translateX = labelDir === 'start' ?\n                        -labelBBox.height * 0.15 : labelBBox.height * 0.15;\n                }\n                else if (reducedAngle2 > 165 && reducedAngle2 <= 180) {\n                    translateX = labelDir === 'start' ?\n                        labelBBox.height * 0.15 : -labelBBox.height * 0.15;\n                }\n                label.attr({ align: align });\n                label.translate(translateX, translateY + labelYPosCorrection);\n            }\n            e.pos.x = ret.x + (labelOptions.x || 0);\n            e.pos.y = ret.y + (optionsY || 0);\n        }\n    }\n    /**\n     * Add special cases within the Tick class' methods for radial axes.\n     */\n    function onTickAfterGetPosition(e) {\n        if (this.axis.getPosition) {\n            RadialAxis_extend(e.pos, this.axis.getPosition(this.pos));\n        }\n    }\n    /**\n     * Update default options for radial axes from setOptions method.\n     */\n    function onGlobalSetOptions({ options }) {\n        if (options.xAxis) {\n            RadialAxis_merge(true, RadialAxis.radialDefaultOptions.circular, options.xAxis);\n        }\n        if (options.yAxis) {\n            RadialAxis_merge(true, RadialAxis.radialDefaultOptions.radialGauge, options.yAxis);\n        }\n    }\n    /**\n     * Translate from intermediate plotX (angle), plotY (axis.len - radius)\n     * to final chart coordinates.\n     *\n     * @private\n     * @param {number} angle\n     * Translation angle.\n     * @param {number} radius\n     * Translation radius.\n     */\n    function postTranslate(angle, radius) {\n        const chart = this.chart, center = this.center;\n        angle = this.startAngleRad + angle;\n        return {\n            x: chart.plotLeft + center[0] + Math.cos(angle) * radius,\n            y: chart.plotTop + center[1] + Math.sin(angle) * radius\n        };\n    }\n    /**\n     * Prevent setting Y axis dirty.\n     */\n    function renderHidden() {\n        this.isDirty = false;\n    }\n    /**\n     * Override the setAxisSize method to use the arc's circumference as\n     * length. This allows tickPixelInterval to apply to pixel lengths along\n     * the perimeter.\n     * @private\n     */\n    function setAxisSize() {\n        const axisProto = this.constructor.prototype;\n        let center, start;\n        axisProto.setAxisSize.call(this);\n        if (this.isRadial) {\n            // Set the center array\n            this.pane.updateCenter(this);\n            // In case when the innerSize is set in a polar chart, the axis'\n            // center cannot be a reference to pane's center\n            center = this.center = this.pane.center.slice();\n            // The sector is used in Axis.translate to compute the\n            // translation of reversed axis points (#2570)\n            if (this.isCircular) {\n                this.sector = this.endAngleRad - this.startAngleRad;\n            }\n            else {\n                // When the pane's startAngle or the axis' angle is set then\n                // new x and y values for vertical axis' center must be\n                // calculated\n                start = this.postTranslate(this.angleRad, center[3] / 2);\n                center[0] = start.x - this.chart.plotLeft;\n                center[1] = start.y - this.chart.plotTop;\n            }\n            // Axis len is used to lay out the ticks\n            this.len = this.width = this.height =\n                (center[2] - center[3]) * RadialAxis_pick(this.sector, 1) / 2;\n        }\n    }\n    /**\n     * Override setAxisTranslation by setting the translation to the\n     * difference in rotation. This allows the translate method to return\n     * angle for any given value.\n     *\n     * @private\n     */\n    function setAxisTranslation() {\n        const axisProto = this.constructor.prototype;\n        // Call uber method\n        axisProto.setAxisTranslation.call(this);\n        // Set transA and minPixelPadding\n        if (this.center) { // It's not defined the first time\n            if (this.isCircular) {\n                this.transA = (this.endAngleRad - this.startAngleRad) /\n                    ((this.max - this.min) || 1);\n            }\n            else {\n                // The transA here is the length of the axis, so in case\n                // of inner radius, the length must be decreased by it\n                this.transA = ((this.center[2] - this.center[3]) / 2) /\n                    ((this.max - this.min) || 1);\n            }\n            if (this.isXAxis) {\n                this.minPixelPadding = this.transA * this.minPointOffset;\n            }\n            else {\n                // This is a workaround for regression #2593, but categories\n                // still don't position correctly.\n                this.minPixelPadding = 0;\n            }\n        }\n    }\n    /**\n     * Merge and set options.\n     */\n    function setOptions(userOptions) {\n        const { coll } = this;\n        const { angular, inverted, polar } = this.chart;\n        let defaultPolarOptions = {};\n        if (angular) {\n            if (!this.isXAxis) {\n                defaultPolarOptions = RadialAxis_merge(defaultOptions.yAxis, RadialAxis.radialDefaultOptions.radialGauge);\n            }\n        }\n        else if (polar) {\n            defaultPolarOptions = this.horiz ?\n                RadialAxis_merge(defaultOptions.xAxis, RadialAxis.radialDefaultOptions.circular) :\n                RadialAxis_merge(coll === 'xAxis' ?\n                    defaultOptions.xAxis :\n                    defaultOptions.yAxis, RadialAxis.radialDefaultOptions.radial);\n        }\n        if (inverted && coll === 'yAxis') {\n            defaultPolarOptions.stackLabels = isObject(defaultOptions.yAxis, true) ? defaultOptions.yAxis.stackLabels : {};\n            defaultPolarOptions.reversedStacks = true;\n        }\n        const options = this.options = RadialAxis_merge(defaultPolarOptions, userOptions);\n        // Make sure the plotBands array is instantiated for each Axis\n        // (#2649)\n        if (!options.plotBands) {\n            options.plotBands = [];\n        }\n        RadialAxis_fireEvent(this, 'afterSetOptions');\n    }\n    /**\n     * Wrap the getMarkPath function to return the path of the radial marker.\n     */\n    function wrapTickGetMarkPath(proceed, x, y, tickLength, tickWidth, horiz, renderer) {\n        const axis = this.axis;\n        let endPoint, ret;\n        if (axis.isRadial) {\n            endPoint = axis.getPosition(this.pos, axis.center[2] / 2 + tickLength);\n            ret = [\n                'M',\n                x,\n                y,\n                'L',\n                endPoint.x,\n                endPoint.y\n            ];\n        }\n        else {\n            ret = proceed.call(this, x, y, tickLength, tickWidth, horiz, renderer);\n        }\n        return ret;\n    }\n    /* eslint-enable valid-jsdoc */\n})(RadialAxis || (RadialAxis = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Axis_RadialAxis = (RadialAxis);\n\n;// ./code/es-modules/Series/PolarComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject: PolarComposition_animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { composed: PolarComposition_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n\nconst { addEvent: PolarComposition_addEvent, defined: PolarComposition_defined, find, isNumber: PolarComposition_isNumber, merge: PolarComposition_merge, pick: PolarComposition_pick, pushUnique: PolarComposition_pushUnique, relativeLength: PolarComposition_relativeLength, splat: PolarComposition_splat, uniqueKey: PolarComposition_uniqueKey, wrap: PolarComposition_wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction clipCircle(renderer, x, y, r, innerR) {\n    const id = PolarComposition_uniqueKey(), clipPath = renderer.createElement('clipPath').attr({\n        id: id\n    }).add(renderer.defs), wrapper = innerR ?\n        renderer.arc(x, y, r, innerR, 0, 2 * Math.PI).add(clipPath) :\n        renderer.circle(x, y, r).add(clipPath);\n    wrapper.id = id;\n    wrapper.clipPath = clipPath;\n    return wrapper;\n}\n/**\n * Find correct align and vertical align based on an angle in polar chart\n * @private\n */\nfunction findAlignments(angle, options) {\n    let align, verticalAlign;\n    if (options.align === null) {\n        if (angle > 20 && angle < 160) {\n            align = 'left'; // Right hemisphere\n        }\n        else if (angle > 200 && angle < 340) {\n            align = 'right'; // Left hemisphere\n        }\n        else {\n            align = 'center'; // Top or bottom\n        }\n        options.align = align;\n    }\n    if (options.verticalAlign === null) {\n        if (angle < 45 || angle > 315) {\n            verticalAlign = 'bottom'; // Top part\n        }\n        else if (angle > 135 && angle < 225) {\n            verticalAlign = 'top'; // Bottom part\n        }\n        else {\n            verticalAlign = 'middle'; // Left or right\n        }\n        options.verticalAlign = verticalAlign;\n    }\n    return options;\n}\n/**\n * #6212 Calculate connectors for spline series in polar chart.\n * @private\n * @param {boolean} calculateNeighbours\n *        Check if connectors should be calculated for neighbour points as\n *        well allows short recurrence\n */\nfunction getConnectors(segment, index, calculateNeighbours, connectEnds) {\n    const smoothing = 1.5, denom = smoothing + 1, addedNumber = connectEnds ? 1 : 0;\n    let i, leftContX, leftContY, rightContX, rightContY, jointAngle;\n    // Calculate final index of points depending on the initial index value.\n    // Because of calculating neighbours, index may be outside segment\n    // array.\n    if (index >= 0 && index <= segment.length - 1) {\n        i = index;\n    }\n    else if (index < 0) {\n        i = segment.length - 1 + index;\n    }\n    else {\n        i = 0;\n    }\n    // 1 means control points midway between points, 2 means 1/3 from\n    // the point, 3 is 1/4 etc;\n    const prevPointInd = ((i - 1 < 0) ? segment.length - (1 + addedNumber) : i - 1), nextPointInd = (i + 1 > segment.length - 1) ? addedNumber : i + 1, previousPoint = segment[prevPointInd], nextPoint = segment[nextPointInd], previousX = previousPoint.plotX, previousY = previousPoint.plotY, nextX = nextPoint.plotX, nextY = nextPoint.plotY, plotX = segment[i].plotX, // Actual point\n    plotY = segment[i].plotY;\n    leftContX = (smoothing * plotX + previousX) / denom;\n    leftContY = (smoothing * plotY + previousY) / denom;\n    rightContX = (smoothing * plotX + nextX) / denom;\n    rightContY = (smoothing * plotY + nextY) / denom;\n    // Distance left control point\n    const dLControlPoint = Math.sqrt(Math.pow(leftContX - plotX, 2) + Math.pow(leftContY - plotY, 2)), dRControlPoint = Math.sqrt(Math.pow(rightContX - plotX, 2) + Math.pow(rightContY - plotY, 2)), leftContAngle = Math.atan2(leftContY - plotY, leftContX - plotX), rightContAngle = Math.atan2(rightContY - plotY, rightContX - plotX);\n    jointAngle = (Math.PI / 2) + ((leftContAngle + rightContAngle) / 2);\n    // Ensure the right direction, jointAngle should be in the same quadrant\n    // as leftContAngle\n    if (Math.abs(leftContAngle - jointAngle) > Math.PI / 2) {\n        jointAngle -= Math.PI;\n    }\n    // Find the corrected control points for a spline straight through the\n    // point\n    leftContX = plotX + Math.cos(jointAngle) * dLControlPoint;\n    leftContY = plotY + Math.sin(jointAngle) * dLControlPoint;\n    rightContX = plotX + Math.cos(Math.PI + jointAngle) * dRControlPoint;\n    rightContY = plotY + Math.sin(Math.PI + jointAngle) * dRControlPoint;\n    // Push current point's connectors into returned object\n    const ret = {\n        rightContX: rightContX,\n        rightContY: rightContY,\n        leftContX: leftContX,\n        leftContY: leftContY,\n        plotX: plotX,\n        plotY: plotY\n    };\n    // Calculate connectors for previous and next point and push them inside\n    // returned object\n    if (calculateNeighbours) {\n        ret.prevPointCont = getConnectors(segment, prevPointInd, false, connectEnds);\n    }\n    return ret;\n}\n/**\n *\n */\nfunction onChartAfterDrawChartBox() {\n    (this.pane || []).forEach((pane) => {\n        pane.render();\n    });\n}\n/**\n * If polar has polygonal grid lines, force start and endOnTick on radial axis\n * @private\n */\nfunction onChartAfterInit(event) {\n    const xAxis = event.args[0].xAxis, yAxis = event.args[0].yAxis, chart = event.args[0].chart;\n    if (xAxis && yAxis) {\n        if (yAxis.gridLineInterpolation === 'polygon') {\n            xAxis.startOnTick = true;\n            xAxis.endOnTick = true;\n        }\n        else if (xAxis.gridLineInterpolation === 'polygon' &&\n            chart.inverted) {\n            yAxis.startOnTick = true;\n            yAxis.endOnTick = true;\n        }\n    }\n}\n/**\n *\n */\nfunction onChartCreateAxes() {\n    if (!this.pane) {\n        this.pane = [];\n    }\n    this.options.pane = PolarComposition_splat(this.options.pane || {});\n    this.options.pane.forEach((paneOptions) => {\n        new Pane_Pane(// eslint-disable-line no-new\n        paneOptions, this);\n    }, this);\n}\n/**\n * Get selection dimensions\n * @private\n */\nfunction onPointerGetSelectionBox(event) {\n    const marker = event.args.marker, xAxis = this.chart.xAxis[0], yAxis = this.chart.yAxis[0], inverted = this.chart.inverted, radialAxis = inverted ? yAxis : xAxis, linearAxis = inverted ? xAxis : yAxis;\n    if (this.chart.polar) {\n        event.preventDefault();\n        const start = (marker.attr ? marker.attr('start') : marker.start) - radialAxis.startAngleRad, r = (marker.attr ? marker.attr('r') : marker.r), end = (marker.attr ? marker.attr('end') : marker.end) - radialAxis.startAngleRad, innerR = (marker.attr ? marker.attr('innerR') : marker.innerR);\n        event.result.x = start + radialAxis.pos;\n        event.result.width = end - start;\n        // `innerR` goes from pane's center but `toValue` computes values from\n        // top\n        event.result.y = linearAxis.len + linearAxis.pos - r;\n        event.result.height = r - innerR;\n    }\n}\n/**\n * Get attrs for Polar selection marker\n * @private\n */\nfunction onPointerGetSelectionMarkerAttrs(event) {\n    const chart = this.chart;\n    if (chart.polar && chart.hoverPane && chart.hoverPane.axis) {\n        event.preventDefault();\n        const center = chart.hoverPane.center, mouseDownX = chart.mouseDownX || 0, mouseDownY = chart.mouseDownY || 0, chartY = event.args.chartY, chartX = event.args.chartX, fullCircle = Math.PI * 2, startAngleRad = chart.hoverPane.axis.startAngleRad, endAngleRad = chart.hoverPane.axis.endAngleRad, linearAxis = chart.inverted ? chart.xAxis[0] : chart.yAxis[0], attrs = {};\n        let shapeType = 'arc';\n        attrs.x = center[0] + chart.plotLeft;\n        attrs.y = center[1] + chart.plotTop;\n        // Adjust the width of the selection marker\n        if (this.zoomHor) {\n            const paneRadRange = startAngleRad > 0 ?\n                endAngleRad - startAngleRad :\n                Math.abs(startAngleRad) + Math.abs(endAngleRad);\n            let startAngle = Math.atan2(mouseDownY - chart.plotTop - center[1], mouseDownX - chart.plotLeft - center[0]) - startAngleRad, endAngle = Math.atan2(chartY - chart.plotTop - center[1], chartX - chart.plotLeft - center[0]) - startAngleRad;\n            attrs.r = center[2] / 2;\n            attrs.innerR = center[3] / 2;\n            if (startAngle <= 0) {\n                startAngle += fullCircle;\n            }\n            if (endAngle <= 0) {\n                endAngle += fullCircle;\n            }\n            if (endAngle < startAngle) {\n                // Swapping angles\n                endAngle = [startAngle, startAngle = endAngle][0];\n            }\n            // If pane is not a full circle we need to let users zoom to the min\n            // We do this by swapping angles after pointer crosses\n            // middle angle (swapAngle) of the missing slice of the pane\n            if (paneRadRange < fullCircle) {\n                const swapAngle = endAngleRad + (fullCircle - paneRadRange) / 2;\n                if (startAngleRad + endAngle > swapAngle) {\n                    endAngle = startAngle;\n                    startAngle = startAngleRad <= 0 ? startAngleRad : 0;\n                }\n            }\n            const start = attrs.start =\n                Math.max(startAngle + startAngleRad, startAngleRad), end = attrs.end =\n                Math.min(endAngle + startAngleRad, endAngleRad);\n            // Adjust the selection shape for polygon grid lines\n            if (linearAxis.options.gridLineInterpolation === 'polygon') {\n                const radialAxis = chart.hoverPane.axis, min = start - radialAxis.startAngleRad + radialAxis.pos, max = end - start;\n                let path = linearAxis.getPlotLinePath({\n                    value: linearAxis.max\n                }), pathStart = radialAxis.toValue(min), pathEnd = radialAxis.toValue(min + max);\n                if (pathStart < radialAxis.getExtremes().min) {\n                    const { min, max } = radialAxis.getExtremes();\n                    pathStart = max - (min - pathStart);\n                }\n                if (pathEnd < radialAxis.getExtremes().min) {\n                    const { min, max } = radialAxis.getExtremes();\n                    pathEnd = max - (min - pathEnd);\n                }\n                if (pathEnd < pathStart) {\n                    // Swapping angles\n                    pathEnd = [pathStart, pathStart = pathEnd][0];\n                }\n                // Get trimmed path\n                path = trimPath(path, pathStart, pathEnd, radialAxis);\n                // Add center to the path\n                path.push([\n                    'L', center[0] + chart.plotLeft,\n                    chart.plotTop + center[1]\n                ]);\n                attrs.d = path;\n                shapeType = 'path';\n            }\n        }\n        // Adjust the height of the selection marker\n        if (this.zoomVert) {\n            const linearAxis = chart.inverted ? chart.xAxis[0] : chart.yAxis[0];\n            let innerR = Math.sqrt(Math.pow(mouseDownX - chart.plotLeft - center[0], 2) +\n                Math.pow(mouseDownY - chart.plotTop - center[1], 2)), r = Math.sqrt(Math.pow(chartX - chart.plotLeft - center[0], 2) +\n                Math.pow(chartY - chart.plotTop - center[1], 2));\n            if (r < innerR) {\n                // Swapping angles\n                innerR = [r, r = innerR][0];\n            }\n            if (r > center[2] / 2) {\n                r = center[2] / 2;\n            }\n            if (innerR < center[3] / 2) {\n                innerR = center[3] / 2;\n            }\n            if (!this.zoomHor) {\n                attrs.start = startAngleRad;\n                attrs.end = endAngleRad;\n            }\n            attrs.r = r;\n            attrs.innerR = innerR;\n            if (linearAxis.options.gridLineInterpolation === 'polygon') {\n                const end = linearAxis.toValue(linearAxis.len + linearAxis.pos - innerR), start = linearAxis.toValue(linearAxis.len + linearAxis.pos - r), path = linearAxis.getPlotLinePath({\n                    value: start\n                }).concat(linearAxis.getPlotLinePath({\n                    value: end,\n                    reverse: true\n                }));\n                attrs.d = path;\n                shapeType = 'path';\n            }\n        }\n        if (this.zoomHor &&\n            this.zoomVert &&\n            linearAxis.options.gridLineInterpolation === 'polygon') {\n            const radialAxis = chart.hoverPane.axis, start = attrs.start || 0, end = attrs.end || 0, min = start - radialAxis.startAngleRad + radialAxis.pos, max = end - start, pathStart = radialAxis.toValue(min), pathEnd = radialAxis.toValue(min + max);\n            // Trim path\n            if (attrs.d instanceof Array) {\n                let innerPath = attrs.d.slice(0, attrs.d.length / 2), outerPath = attrs.d.slice(attrs.d.length / 2, attrs.d.length);\n                outerPath = [...outerPath].reverse();\n                const radialAxis = chart.hoverPane.axis;\n                innerPath = trimPath(innerPath, pathStart, pathEnd, radialAxis);\n                outerPath = trimPath(outerPath, pathStart, pathEnd, radialAxis);\n                if (outerPath) {\n                    (outerPath[0][0]) = 'L';\n                }\n                outerPath = [...outerPath].reverse();\n                attrs.d = innerPath.concat(outerPath);\n                shapeType = 'path';\n            }\n        }\n        event.attrs = attrs;\n        event.shapeType = shapeType;\n    }\n}\n/**\n * @private\n */\nfunction onSeriesAfterInit() {\n    const chart = this.chart;\n    if (chart.polar) {\n        this.polar = new PolarAdditions(this);\n        // Add flags that identifies radial inverted series\n        if (chart.inverted) {\n            this.isRadialSeries = true;\n            if (this.is('column')) {\n                this.isRadialBar = true;\n            }\n        }\n    }\n}\n/**\n * Extend translate. The plotX and plotY values are computed as if the polar\n * chart were a cartesian plane, where plotX denotes the angle in radians\n * and (yAxis.len - plotY) is the pixel distance from center.\n * @private\n */\nfunction onSeriesAfterTranslate() {\n    if (this.chart.polar && this.xAxis) {\n        const series = this, { xAxis, yAxis } = series, chart = series.chart;\n        // Prepare k-d-tree handling. It searches by angle (clientX) in\n        // case of shared tooltip, and by two dimensional distance in case\n        // of non-shared.\n        series.kdByAngle = chart.tooltip && chart.tooltip.shared;\n        if (series.kdByAngle || chart.inverted) {\n            series.searchPoint = searchPointByAngleOrInverted;\n        }\n        else {\n            series.options.findNearestPointBy = 'xy';\n        }\n        const points = series.points;\n        let i = points.length;\n        while (i--) {\n            // Translate plotX, plotY from angle and radius to true plot\n            // coordinates\n            if (!series.is('column') && !series.is('columnrange')) {\n                series.polar.toXY(points[i]);\n            }\n            // Treat points below Y axis min as null (#10082)\n            if (!chart.hasParallelCoordinates &&\n                !series.yAxis.reversed) {\n                if (PolarComposition_pick(points[i].y, Number.MIN_VALUE) < yAxis.min ||\n                    points[i].x < xAxis.min ||\n                    points[i].x > xAxis.max) {\n                    // Destroy markers\n                    points[i].isNull = true;\n                    // Destroy column's graphic\n                    points[i].plotY = NaN;\n                }\n                else {\n                    // Restore isNull flag\n                    points[i].isNull =\n                        points[i].isValid && !points[i].isValid();\n                }\n            }\n        }\n        // Perform clip after render\n        if (!this.hasClipCircleSetter) {\n            this.hasClipCircleSetter = !!series.eventsToUnbind.push(PolarComposition_addEvent(series, 'afterRender', function () {\n                let circ;\n                if (chart.polar && this.options.clip !== false) {\n                    // For clipping purposes there is a need for\n                    // coordinates from the absolute center\n                    circ = this.yAxis.pane.center;\n                    if (!this.clipCircle) {\n                        this.clipCircle = clipCircle(chart.renderer, circ[0], circ[1], circ[2] / 2, circ[3] / 2);\n                    }\n                    else {\n                        this.clipCircle.animate({\n                            x: circ[0],\n                            y: circ[1],\n                            r: circ[2] / 2,\n                            innerR: circ[3] / 2\n                        });\n                    }\n                    this.group.clip(this.clipCircle);\n                    this.setClip = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).noop;\n                }\n            }));\n        }\n    }\n}\n/**\n * Search a k-d tree by the point angle (used for shared tooltips in polar) or\n * the inverted point.\n * charts\n * @private\n */\nfunction searchPointByAngleOrInverted(e) {\n    const series = this, chart = series.chart, xAxis = series.xAxis, yAxis = series.yAxis, center = xAxis.pane && xAxis.pane.center, plotX = e.chartX - (center && center[0] || 0) - chart.plotLeft, plotY = e.chartY - (center && center[1] || 0) - chart.plotTop;\n    const searchKDTreePoint = chart.inverted ? {\n        clientX: e.chartX - yAxis.pos,\n        plotY: e.chartY - xAxis.pos\n    } : {\n        clientX: 180 + (Math.atan2(plotX, plotY) * (-180 / Math.PI))\n    };\n    return series.searchKDTree(searchKDTreePoint);\n}\n/**\n * Trim polygonal path\n * @private\n */\nfunction trimPath(path, start, end, radialAxis) {\n    const tickInterval = radialAxis.tickInterval, ticks = radialAxis.tickPositions;\n    let lastTick = find(ticks, (tick) => tick >= end), firstTick = find([...ticks].reverse(), (tick) => tick <= start);\n    if (!PolarComposition_defined(lastTick)) {\n        lastTick = ticks[ticks.length - 1];\n    }\n    if (!PolarComposition_defined(firstTick)) {\n        firstTick = ticks[0];\n        lastTick += tickInterval;\n        path[0][0] = 'L';\n        // To do: figure out why -3 or -2\n        path.unshift(path[path.length - 3]);\n    }\n    path = path.slice(ticks.indexOf(firstTick), ticks.indexOf(lastTick) + 1);\n    path[0][0] = 'M';\n    return path;\n}\n/**\n * Extend chart.get to also search in panes. Used internally in\n * responsiveness and chart.update.\n * @private\n */\nfunction wrapChartGet(proceed, id) {\n    return find(this.pane || [], (pane) => (\n    // @todo remove id or define id type:\n    pane.options.id === id)) || proceed.call(this, id);\n}\n/**\n * Align column data labels outside the columns. #1199.\n * @private\n */\nfunction wrapColumnSeriesAlignDataLabel(proceed, point, dataLabel, options, alignTo, isNew) {\n    const chart = this.chart, inside = PolarComposition_pick(options.inside, !!this.options.stacking);\n    let angle, shapeArgs, labelPos;\n    if (chart.polar) {\n        angle = point.rectPlotX / Math.PI * 180;\n        if (!chart.inverted) {\n            // Align nicely outside the perimeter of the columns\n            options = findAlignments(angle, options);\n        }\n        else { // Required corrections for data labels of inverted bars\n            // The plotX and plotY are correctly set therefore they\n            // don't need to be swapped (inverted argument is false)\n            this.forceDL = chart.isInsidePlot(point.plotX, point.plotY);\n            // Checks if labels should be positioned inside\n            if (inside && point.shapeArgs) {\n                shapeArgs = point.shapeArgs;\n                // Calculates pixel positions for a data label to be\n                // inside\n                labelPos =\n                    this.yAxis.postTranslate(\n                    // Angle\n                    ((shapeArgs.start || 0) + (shapeArgs.end || 0)) / 2 -\n                        this\n                            .xAxis.startAngleRad, \n                    // Radius\n                    point.barX +\n                        point.pointWidth / 2);\n                alignTo = PolarComposition_merge(alignTo, {\n                    x: labelPos.x - chart.plotLeft,\n                    y: labelPos.y - chart.plotTop\n                });\n            }\n            else if (point.tooltipPos) {\n                alignTo = PolarComposition_merge(alignTo, {\n                    x: point.tooltipPos[0],\n                    y: point.tooltipPos[1]\n                });\n            }\n            options.align = PolarComposition_pick(options.align, 'center');\n            options.verticalAlign =\n                PolarComposition_pick(options.verticalAlign, 'middle');\n        }\n        highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default().prototype.alignDataLabel.call(this, point, dataLabel, options, alignTo, isNew);\n        // Hide label of a point (only inverted) that is outside the\n        // visible y range\n        if (this.isRadialBar && point.shapeArgs &&\n            point.shapeArgs.start === point.shapeArgs.end) {\n            dataLabel.hide();\n        }\n        else {\n            dataLabel.show();\n        }\n    }\n    else {\n        proceed.call(this, point, dataLabel, options, alignTo, isNew);\n    }\n}\n/**\n * Extend the column prototype's translate method\n * @private\n */\nfunction onAfterColumnTranslate() {\n    const series = this, options = series.options, stacking = options.stacking, chart = series.chart, xAxis = series.xAxis, yAxis = series.yAxis, reversed = yAxis.reversed, center = yAxis.center, startAngleRad = xAxis.startAngleRad, endAngleRad = xAxis.endAngleRad, visibleRange = endAngleRad - startAngleRad;\n    let threshold = options.threshold, thresholdAngleRad = 0, points, point, i, yMin, yMax, start = 0, end = 0, tooltipPos, pointX, pointY, stackValues, stack, barX, innerR, r;\n    // Postprocess plot coordinates\n    if (xAxis.isRadial) {\n        points = series.points;\n        i = points.length;\n        yMin = yAxis.translate(yAxis.min);\n        yMax = yAxis.translate(yAxis.max);\n        threshold = options.threshold || 0;\n        if (chart.inverted) {\n            // Finding a correct threshold\n            if (PolarComposition_isNumber(threshold)) {\n                thresholdAngleRad = yAxis.translate(threshold);\n                // Checks if threshold is outside the visible range\n                if (PolarComposition_defined(thresholdAngleRad)) {\n                    if (thresholdAngleRad < 0) {\n                        thresholdAngleRad = 0;\n                    }\n                    else if (thresholdAngleRad > visibleRange) {\n                        thresholdAngleRad = visibleRange;\n                    }\n                    // Adding start angle offset\n                    series.translatedThreshold =\n                        thresholdAngleRad + startAngleRad;\n                }\n            }\n        }\n        while (i--) {\n            point = points[i];\n            barX = point.barX;\n            pointX = point.x;\n            pointY = point.y;\n            point.shapeType = 'arc';\n            if (chart.inverted) {\n                point.plotY = yAxis.translate(pointY);\n                if (stacking && yAxis.stacking) {\n                    stack = yAxis.stacking.stacks[(pointY < 0 ? '-' : '') +\n                        series.stackKey];\n                    if (series.visible && stack && stack[pointX]) {\n                        if (!point.isNull) {\n                            stackValues = stack[pointX].points[series.getStackIndicator(void 0, pointX, series.index).key];\n                            // Translating to radial values\n                            start = yAxis.translate(stackValues[0]);\n                            end = yAxis.translate(stackValues[1]);\n                            // If starting point is beyond the\n                            // range, set it to 0\n                            if (PolarComposition_defined(start)) {\n                                start = highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().clamp(start, 0, visibleRange);\n                            }\n                        }\n                    }\n                }\n                else {\n                    // Initial start and end angles for radial bar\n                    start = thresholdAngleRad;\n                    end = point.plotY;\n                }\n                if (start > end) {\n                    // Swapping start and end\n                    end = [start, start = end][0];\n                }\n                // Prevent from rendering point outside the\n                // acceptable circular range\n                if (!reversed) {\n                    if (start < yMin) {\n                        start = yMin;\n                    }\n                    else if (end > yMax) {\n                        end = yMax;\n                    }\n                    else if (end < yMin || start > yMax) {\n                        start = end = 0;\n                    }\n                }\n                else {\n                    if (end > yMin) {\n                        end = yMin;\n                    }\n                    else if (start < yMax) {\n                        start = yMax;\n                    }\n                    else if (start > yMin || end < yMax) {\n                        start = end = visibleRange;\n                    }\n                }\n                if (yAxis.min > yAxis.max) {\n                    start = end = reversed ? visibleRange : 0;\n                }\n                start += startAngleRad;\n                end += startAngleRad;\n                if (center) {\n                    point.barX = barX += center[3] / 2;\n                }\n                // In case when radius, inner radius or both are negative, a\n                // point is rendered but partially or as a center point\n                innerR = Math.max(barX, 0);\n                r = Math.max(barX + point.pointWidth, 0);\n                // Handle border radius\n                const brOption = options.borderRadius, brValue = typeof brOption === 'object' ?\n                    brOption.radius : brOption, borderRadius = PolarComposition_relativeLength(brValue || 0, r - innerR);\n                point.shapeArgs = {\n                    x: center[0],\n                    y: center[1],\n                    r,\n                    innerR,\n                    start,\n                    end,\n                    borderRadius\n                };\n                // Fade out the points if not inside the polar \"plot area\"\n                point.opacity = start === end ? 0 : void 0;\n                // A correct value for stacked or not fully visible\n                // point\n                point.plotY = (PolarComposition_defined(series.translatedThreshold) &&\n                    (start < series.translatedThreshold ? start : end)) -\n                    startAngleRad;\n                // Non-inverted polar columns\n            }\n            else {\n                start = barX + startAngleRad;\n                point.shapeArgs = series.polar.arc(point.yBottom, point.plotY, start, start + point.pointWidth);\n                // Disallow border radius on polar columns for now. It would\n                // take some refactoring to work with the `scope` and the\n                // `where` options. Those options would require that only\n                // individual corners be rounded, in practice individual calls\n                // to applyBorderRadius from the extended `arc` function. That\n                // would be a viable solution, though it would not be perfect\n                // until we implemented rounding that included the lower points\n                // in the stack, like we have for cartesian column.\n                point.shapeArgs.borderRadius = 0;\n            }\n            // Provided a correct coordinates for the tooltip\n            series.polar.toXY(point);\n            if (chart.inverted) {\n                tooltipPos = yAxis.postTranslate(point.rectPlotY, barX + point.pointWidth / 2);\n                point.tooltipPos = [\n                    tooltipPos.x - chart.plotLeft,\n                    tooltipPos.y - chart.plotTop\n                ];\n            }\n            else {\n                point.tooltipPos = [point.plotX, point.plotY];\n            }\n            if (center) {\n                point.ttBelow = point.plotY > center[1];\n            }\n        }\n    }\n}\n/**\n * Extend getSegmentPath to allow connecting ends across 0 to provide a\n * closed circle in line-like series.\n * @private\n */\nfunction wrapLineSeriesGetGraphPath(proceed, points) {\n    const series = this;\n    let firstValid, popLastPoint;\n    // Connect the path\n    if (this.chart.polar) {\n        points = points || this.points;\n        // Append first valid point in order to connect the ends\n        for (let i = 0; i < points.length; i++) {\n            if (!points[i].isNull) {\n                firstValid = i;\n                break;\n            }\n        }\n        /**\n         * Polar charts only. Whether to connect the ends of a line series\n         * plot across the extremes.\n         *\n         * @sample {highcharts} highcharts/plotoptions/line-connectends-false/\n         *         Do not connect\n         *\n         * @type      {boolean}\n         * @since     2.3.0\n         * @product   highcharts\n         * @apioption plotOptions.series.connectEnds\n         */\n        if (this.options.connectEnds !== false &&\n            typeof firstValid !== 'undefined') {\n            this.connectEnds = true; // Re-used in splines\n            points.splice(points.length, 0, points[firstValid]);\n            popLastPoint = true;\n        }\n        // For area charts, pseudo points are added to the graph, now we\n        // need to translate these\n        points.forEach((point) => {\n            if (typeof point.polarPlotY === 'undefined') {\n                series.polar.toXY(point);\n            }\n        });\n    }\n    // Run uber method\n    const ret = proceed.apply(this, [].slice.call(arguments, 1));\n    // #6212 points.splice method is adding points to an array. In case of\n    // areaspline getGraphPath method is used two times and in both times\n    // points are added to an array. That is why points.pop is used, to get\n    // unmodified points.\n    if (popLastPoint) {\n        points.pop();\n    }\n    return ret;\n}\n/**\n * Extend getCoordinates to prepare for polar axis values\n * @private\n */\nfunction wrapPointerGetCoordinates(proceed, e) {\n    const chart = this.chart;\n    let ret = {\n        xAxis: [],\n        yAxis: []\n    };\n    if (chart.polar) {\n        chart.axes.forEach((axis) => {\n            // Skip colorAxis\n            if (axis.coll === 'colorAxis') {\n                return;\n            }\n            const isXAxis = axis.isXAxis, center = axis.center, x = e.chartX - center[0] - chart.plotLeft, y = e.chartY - center[1] - chart.plotTop;\n            ret[isXAxis ? 'xAxis' : 'yAxis'].push({\n                axis: axis,\n                value: axis.translate(isXAxis ?\n                    Math.PI - Math.atan2(x, y) : // Angle\n                    // distance from center\n                    Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)), true)\n            });\n        });\n    }\n    else {\n        ret = proceed.call(this, e);\n    }\n    return ret;\n}\n/**\n * Prevent zooming on mobile devices\n * @private\n */\nfunction wrapPointerPinch(proceed, e) {\n    if (this.chart.polar) {\n        return;\n    }\n    proceed.call(this, e);\n}\n/**\n * Define the animate method for regular series\n * @private\n */\nfunction wrapSeriesAnimate(proceed, init) {\n    const series = this, chart = this.chart, group = this.group, markerGroup = this.markerGroup, center = this.xAxis && this.xAxis.center, plotLeft = chart.plotLeft, plotTop = chart.plotTop;\n    let animation = this.options.animation, attribs, paneInnerR, graphic, shapeArgs, r, innerR;\n    // Specific animation for polar charts\n    if (chart.polar) {\n        if (series.isRadialBar) {\n            if (!init) {\n                // Run the pie animation for radial bars\n                series.startAngleRad = PolarComposition_pick(series.translatedThreshold, series.xAxis.startAngleRad);\n                highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().seriesTypes.pie.prototype.animate.call(series, init);\n            }\n        }\n        else {\n            animation = PolarComposition_animObject(animation);\n            // A different animation needed for column like series\n            if (series.is('column')) {\n                if (!init) {\n                    paneInnerR = center[3] / 2;\n                    series.points.forEach((point) => {\n                        graphic = point.graphic;\n                        shapeArgs = point.shapeArgs;\n                        r = shapeArgs && shapeArgs.r;\n                        innerR = shapeArgs && shapeArgs.innerR;\n                        if (graphic && shapeArgs) {\n                            // Start values\n                            graphic.attr({\n                                r: paneInnerR,\n                                innerR: paneInnerR\n                            });\n                            // Animate\n                            graphic.animate({\n                                r: r,\n                                innerR: innerR\n                            }, series.options.animation);\n                        }\n                    });\n                }\n            }\n            else {\n                // Initialize the animation\n                if (init) {\n                    // Scale down the group and place it in the center\n                    attribs = {\n                        translateX: center[0] + plotLeft,\n                        translateY: center[1] + plotTop,\n                        scaleX: 0.001,\n                        scaleY: 0.001\n                    };\n                    group.attr(attribs);\n                    if (markerGroup) {\n                        markerGroup.attr(attribs);\n                    }\n                    // Run the animation\n                }\n                else {\n                    attribs = {\n                        translateX: plotLeft,\n                        translateY: plotTop,\n                        scaleX: 1,\n                        scaleY: 1\n                    };\n                    group.animate(attribs, animation);\n                    if (markerGroup) {\n                        markerGroup.animate(attribs, animation);\n                    }\n                }\n            }\n        }\n        // For non-polar charts, revert to the basic animation\n    }\n    else {\n        proceed.call(this, init);\n    }\n}\n/**\n * Overridden method for calculating a spline from one point to the next\n * @private\n */\nfunction wrapSplineSeriesGetPointSpline(proceed, segment, point, i) {\n    let ret, connectors;\n    if (this.chart.polar) {\n        // `moveTo` or `lineTo`\n        if (!i) {\n            ret = ['M', point.plotX, point.plotY];\n        }\n        else { // Curve from last point to this\n            connectors = getConnectors(segment, i, true, this.connectEnds);\n            const rightContX = connectors.prevPointCont &&\n                connectors.prevPointCont.rightContX;\n            const rightContY = connectors.prevPointCont &&\n                connectors.prevPointCont.rightContY;\n            ret = [\n                'C',\n                PolarComposition_isNumber(rightContX) ? rightContX : connectors.plotX,\n                PolarComposition_isNumber(rightContY) ? rightContY : connectors.plotY,\n                PolarComposition_isNumber(connectors.leftContX) ?\n                    connectors.leftContX :\n                    connectors.plotX,\n                PolarComposition_isNumber(connectors.leftContY) ?\n                    connectors.leftContY :\n                    connectors.plotY,\n                connectors.plotX,\n                connectors.plotY\n            ];\n        }\n    }\n    else {\n        ret = proceed.call(this, segment, point, i);\n    }\n    return ret;\n}\n/**\n * Extend the point pos method to calculate point positions for the polar chart.\n * @private\n */\nfunction wrapPointPos(proceed, chartCoordinates, plotY = this.plotY) {\n    if (!this.destroyed) {\n        const { plotX, series } = this, { chart } = series;\n        if (chart.polar &&\n            PolarComposition_isNumber(plotX) &&\n            PolarComposition_isNumber(plotY)) {\n            return [\n                plotX + (chartCoordinates ? chart.plotLeft : 0),\n                plotY + (chartCoordinates ? chart.plotTop : 0)\n            ];\n        }\n        return proceed.call(this, chartCoordinates, plotY);\n    }\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * Extensions for polar charts. Additionally, much of the geometry required\n * for polar charts is gathered in RadialAxes.js.\n * @private\n */\nclass PolarAdditions {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(AxisClass, ChartClass, PointerClass, SeriesClass, TickClass, PointClass, AreaSplineRangeSeriesClass, ColumnSeriesClass, LineSeriesClass, SplineSeriesClass) {\n        Pane_Pane.compose(ChartClass, PointerClass);\n        Axis_RadialAxis.compose(AxisClass, TickClass);\n        if (PolarComposition_pushUnique(PolarComposition_composed, 'Polar')) {\n            const chartProto = ChartClass.prototype, pointProto = PointClass.prototype, pointerProto = PointerClass.prototype, seriesProto = SeriesClass.prototype;\n            PolarComposition_addEvent(ChartClass, 'afterDrawChartBox', onChartAfterDrawChartBox);\n            PolarComposition_addEvent(ChartClass, 'createAxes', onChartCreateAxes);\n            PolarComposition_addEvent(ChartClass, 'init', onChartAfterInit);\n            PolarComposition_wrap(chartProto, 'get', wrapChartGet);\n            PolarComposition_wrap(pointerProto, 'getCoordinates', wrapPointerGetCoordinates);\n            PolarComposition_wrap(pointerProto, 'pinch', wrapPointerPinch);\n            PolarComposition_addEvent(PointerClass, 'getSelectionMarkerAttrs', onPointerGetSelectionMarkerAttrs);\n            PolarComposition_addEvent(PointerClass, 'getSelectionBox', onPointerGetSelectionBox);\n            PolarComposition_addEvent(SeriesClass, 'afterInit', onSeriesAfterInit);\n            PolarComposition_addEvent(SeriesClass, 'afterTranslate', onSeriesAfterTranslate, { order: 2 } // Run after translation of ||-coords\n            );\n            PolarComposition_addEvent(SeriesClass, 'afterColumnTranslate', onAfterColumnTranslate, { order: 4 });\n            PolarComposition_wrap(seriesProto, 'animate', wrapSeriesAnimate);\n            PolarComposition_wrap(pointProto, 'pos', wrapPointPos);\n            if (ColumnSeriesClass) {\n                const columnProto = ColumnSeriesClass.prototype;\n                PolarComposition_wrap(columnProto, 'alignDataLabel', wrapColumnSeriesAlignDataLabel);\n                PolarComposition_wrap(columnProto, 'animate', wrapSeriesAnimate);\n            }\n            if (LineSeriesClass) {\n                const lineProto = LineSeriesClass.prototype;\n                PolarComposition_wrap(lineProto, 'getGraphPath', wrapLineSeriesGetGraphPath);\n            }\n            if (SplineSeriesClass) {\n                const splineProto = SplineSeriesClass.prototype;\n                PolarComposition_wrap(splineProto, 'getPointSpline', wrapSplineSeriesGetPointSpline);\n                if (AreaSplineRangeSeriesClass) {\n                    const areaSplineRangeProto = AreaSplineRangeSeriesClass.prototype;\n                    // #6430 Areasplinerange series use unwrapped getPointSpline\n                    // method, so we need to set this method again.\n                    areaSplineRangeProto.getPointSpline =\n                        splineProto.getPointSpline;\n                }\n            }\n        }\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(series) {\n        this.series = series;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    arc(low, high, start, end) {\n        const series = this.series, center = series.xAxis.center, len = series.yAxis.len, paneInnerR = center[3] / 2;\n        let r = len - high + paneInnerR, innerR = len - PolarComposition_pick(low, len) + paneInnerR;\n        // Prevent columns from shooting through the pane's center\n        if (series.yAxis.reversed) {\n            if (r < 0) {\n                r = paneInnerR;\n            }\n            if (innerR < 0) {\n                innerR = paneInnerR;\n            }\n        }\n        // Return a new shapeArgs\n        return {\n            x: center[0],\n            y: center[1],\n            r: r,\n            innerR: innerR,\n            start: start,\n            end: end\n        };\n    }\n    /**\n     * Translate a point's plotX and plotY from the internal angle and radius\n     * measures to true plotX, plotY coordinates\n     * @private\n     */\n    toXY(point) {\n        const series = this.series, chart = series.chart, xAxis = series.xAxis, yAxis = series.yAxis, plotX = point.plotX, inverted = chart.inverted, pointY = point.y;\n        let plotY = point.plotY, radius = inverted ? plotX : yAxis.len - plotY, clientX;\n        // Corrected y position of inverted series other than column\n        if (inverted && series && !series.isRadialBar) {\n            point.plotY = plotY =\n                PolarComposition_isNumber(pointY) ? yAxis.translate(pointY) : 0;\n        }\n        // Save rectangular plotX, plotY for later computation\n        point.rectPlotX = plotX;\n        point.rectPlotY = plotY;\n        if (yAxis.center) {\n            radius += yAxis.center[3] / 2;\n        }\n        // Find the polar plotX and plotY. Avoid setting plotX and plotY to NaN\n        // when plotY is undefined (#15438)\n        if (PolarComposition_isNumber(plotY)) {\n            const xy = inverted ? yAxis.postTranslate(plotY, radius) :\n                xAxis.postTranslate(plotX, radius);\n            point.plotX = point.polarPlotX = xy.x - chart.plotLeft;\n            point.plotY = point.polarPlotY = xy.y - chart.plotTop;\n        }\n        // If shared tooltip, record the angle in degrees in order to align X\n        // points. Otherwise, use a standard k-d tree to get the nearest point\n        // in two dimensions.\n        if (series.kdByAngle) {\n            clientX = ((plotX / Math.PI * 180) + xAxis.pane.options.startAngle) % 360;\n            if (clientX < 0) { // #2665\n                clientX += 360;\n            }\n            point.clientX = clientX;\n        }\n        else {\n            point.clientX = point.plotX;\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const PolarComposition = (PolarAdditions);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"StackItem\"],\"commonjs\":[\"highcharts\",\"StackItem\"],\"commonjs2\":[\"highcharts\",\"StackItem\"],\"root\":[\"Highcharts\",\"StackItem\"]}\nvar highcharts_StackItem_commonjs_highcharts_StackItem_commonjs2_highcharts_StackItem_root_Highcharts_StackItem_ = __webpack_require__(184);\nvar highcharts_StackItem_commonjs_highcharts_StackItem_commonjs2_highcharts_StackItem_root_Highcharts_StackItem_default = /*#__PURE__*/__webpack_require__.n(highcharts_StackItem_commonjs_highcharts_StackItem_commonjs2_highcharts_StackItem_root_Highcharts_StackItem_);\n;// ./code/es-modules/Core/Axis/WaterfallAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { composed: WaterfallAxis_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { addEvent: WaterfallAxis_addEvent, objectEach: WaterfallAxis_objectEach, pushUnique: WaterfallAxis_pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Namespace\n *\n * */\nvar WaterfallAxis;\n(function (WaterfallAxis) {\n    /* *\n     *\n     *  Interfaces\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(AxisClass, ChartClass) {\n        if (WaterfallAxis_pushUnique(WaterfallAxis_composed, 'Axis.Waterfall')) {\n            WaterfallAxis_addEvent(AxisClass, 'init', onAxisInit);\n            WaterfallAxis_addEvent(AxisClass, 'afterBuildStacks', onAxisAfterBuildStacks);\n            WaterfallAxis_addEvent(AxisClass, 'afterRender', onAxisAfterRender);\n            WaterfallAxis_addEvent(ChartClass, 'beforeRedraw', onChartBeforeRedraw);\n        }\n    }\n    WaterfallAxis.compose = compose;\n    /**\n     * @private\n     */\n    function onAxisAfterBuildStacks() {\n        const axis = this, stacks = axis.waterfall.stacks;\n        if (stacks) {\n            stacks.changed = false;\n            delete stacks.alreadyChanged;\n        }\n    }\n    /**\n     * @private\n     */\n    function onAxisAfterRender() {\n        const axis = this, stackLabelOptions = axis.options.stackLabels;\n        if (stackLabelOptions && stackLabelOptions.enabled &&\n            axis.waterfall.stacks) {\n            axis.waterfall.renderStackTotals();\n        }\n    }\n    /**\n     * @private\n     */\n    function onAxisInit() {\n        const axis = this;\n        if (!axis.waterfall) {\n            axis.waterfall = new Composition(axis);\n        }\n    }\n    /**\n     * @private\n     */\n    function onChartBeforeRedraw() {\n        const axes = this.axes, series = this.series;\n        for (const serie of series) {\n            if (serie.options.stacking) {\n                for (const axis of axes) {\n                    if (!axis.isXAxis) {\n                        axis.waterfall.stacks.changed = true;\n                    }\n                }\n                break;\n            }\n        }\n    }\n    /* *\n     *\n     *  Classes\n     *\n     * */\n    class Composition {\n        /* *\n         *\n         *  Constructors\n         *\n         * */\n        constructor(axis) {\n            this.axis = axis;\n            this.stacks = {\n                changed: false\n            };\n        }\n        /* *\n         *\n         *  Functions\n         *\n         * */\n        /**\n         * Calls StackItem.prototype.render function that creates and renders\n         * stack total label for each waterfall stack item.\n         *\n         * @private\n         * @function Highcharts.Axis#renderWaterfallStackTotals\n         */\n        renderStackTotals() {\n            const yAxis = this.axis, waterfallStacks = yAxis.waterfall.stacks, stackTotalGroup = (yAxis.stacking && yAxis.stacking.stackTotalGroup), dummyStackItem = new (highcharts_StackItem_commonjs_highcharts_StackItem_commonjs2_highcharts_StackItem_root_Highcharts_StackItem_default())(yAxis, yAxis.options.stackLabels || {}, false, 0, void 0);\n            this.dummyStackItem = dummyStackItem;\n            // Render each waterfall stack total\n            if (stackTotalGroup) {\n                WaterfallAxis_objectEach(waterfallStacks, (type) => {\n                    WaterfallAxis_objectEach(type, (stackItem, key) => {\n                        dummyStackItem.total = stackItem.stackTotal;\n                        dummyStackItem.x = +key;\n                        if (stackItem.label) {\n                            dummyStackItem.label = stackItem.label;\n                        }\n                        highcharts_StackItem_commonjs_highcharts_StackItem_commonjs2_highcharts_StackItem_root_Highcharts_StackItem_default().prototype.render.call(dummyStackItem, stackTotalGroup);\n                        stackItem.label = dummyStackItem.label;\n                        delete dummyStackItem.label;\n                    });\n                });\n            }\n            dummyStackItem.total = null;\n        }\n    }\n    WaterfallAxis.Composition = Composition;\n})(WaterfallAxis || (WaterfallAxis = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Axis_WaterfallAxis = (WaterfallAxis);\n\n;// ./code/es-modules/Series/Waterfall/WaterfallPoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { isNumber: WaterfallPoint_isNumber } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass WaterfallPoint extends (highcharts_Series_types_column_commonjs_highcharts_Series_types_column_commonjs2_highcharts_Series_types_column_root_Highcharts_Series_types_column_default()).prototype.pointClass {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    getClassName() {\n        let className = highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.getClassName.call(this);\n        if (this.isSum) {\n            className += ' highcharts-sum';\n        }\n        else if (this.isIntermediateSum) {\n            className += ' highcharts-intermediate-sum';\n        }\n        return className;\n    }\n    // Pass the null test in ColumnSeries.translate.\n    isValid() {\n        return (WaterfallPoint_isNumber(this.y) ||\n            this.isSum ||\n            Boolean(this.isIntermediateSum));\n    }\n}\n/* *\n *\n *  Export\n *\n * */\n/* harmony default export */ const Waterfall_WaterfallPoint = (WaterfallPoint);\n\n;// ./code/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A waterfall chart displays sequentially introduced positive or negative\n * values in cumulative columns.\n *\n * @sample highcharts/demo/waterfall/\n *         Waterfall chart\n * @sample highcharts/plotoptions/waterfall-inverted/\n *         Horizontal (inverted) waterfall\n * @sample highcharts/plotoptions/waterfall-stacked/\n *         Stacked waterfall chart\n *\n * @extends      plotOptions.column\n * @excluding    boostThreshold, boostBlending\n * @product      highcharts\n * @requires     highcharts-more\n * @optionparent plotOptions.waterfall\n */\nconst WaterfallSeriesDefaults = {\n    /**\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @apioption plotOptions.waterfall.color\n     */\n    /**\n     * The color used specifically for positive point columns. When not\n     * specified, the general series color is used.\n     *\n     * In styled mode, the waterfall colors can be set with the\n     * `.highcharts-point-negative`, `.highcharts-sum` and\n     * `.highcharts-intermediate-sum` classes.\n     *\n     * @sample {highcharts} highcharts/demo/waterfall/\n     *         Waterfall\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product   highcharts\n     * @apioption plotOptions.waterfall.upColor\n     */\n    dataLabels: {\n        inside: true\n    },\n    /**\n     * The width of the line connecting waterfall columns.\n     *\n     * @product highcharts\n     */\n    lineWidth: 1,\n    /**\n     * The color of the line that connects columns in a waterfall series.\n     *\n     * In styled mode, the stroke can be set with the `.highcharts-graph`\n     * class.\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since   3.0\n     * @product highcharts\n     */\n    lineColor: \"#333333\" /* Palette.neutralColor80 */,\n    /**\n     * A name for the dash style to use for the line connecting the columns\n     * of the waterfall series. Possible values: Dash, DashDot, Dot,\n     * LongDash, LongDashDot, LongDashDotDot, ShortDash, ShortDashDot,\n     * ShortDashDotDot, ShortDot, Solid\n     *\n     * In styled mode, the stroke dash-array can be set with the\n     * `.highcharts-graph` class.\n     *\n     * @type    {Highcharts.DashStyleValue}\n     * @since   3.0\n     * @product highcharts\n     */\n    dashStyle: 'Dot',\n    /**\n     * The color of the border of each waterfall column.\n     *\n     * In styled mode, the border stroke can be set with the\n     * `.highcharts-point` class.\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since   3.0\n     * @product highcharts\n     */\n    borderColor: \"#333333\" /* Palette.neutralColor80 */,\n    states: {\n        hover: {\n            lineWidthPlus: 0 // #3126\n        }\n    }\n};\n/**\n * A `waterfall` series. If the [type](#series.waterfall.type) option\n * is not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.waterfall\n * @excluding dataParser, dataURL, boostThreshold, boostBlending\n * @product   highcharts\n * @requires  highcharts-more\n * @apioption series.waterfall\n */\n/**\n * An array of data points for the series. For the `waterfall` series\n * type, points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `x,y`. If the first value is a string, it is applied as the name of the\n *    point, and the `x` value is inferred.\n *    ```js\n *    data: [\n *        [0, 7],\n *        [1, 8],\n *        [2, 3]\n *    ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.waterfall.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 8,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 8,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}\n * @extends   series.line.data\n * @excluding marker\n * @product   highcharts\n * @apioption series.waterfall.data\n */\n/**\n * When this property is true, the points acts as a summary column for\n * the values added or subtracted since the last intermediate sum,\n * or since the start of the series. The `y` value is ignored.\n *\n * @sample {highcharts} highcharts/demo/waterfall/\n *         Waterfall\n *\n * @type      {boolean}\n * @default   false\n * @product   highcharts\n * @apioption series.waterfall.data.isIntermediateSum\n */\n/**\n * When this property is true, the point display the total sum across\n * the entire series. The `y` value is ignored.\n *\n * @sample {highcharts} highcharts/demo/waterfall/\n *         Waterfall\n *\n * @type      {boolean}\n * @default   false\n * @product   highcharts\n * @apioption series.waterfall.data.isSum\n */\n''; // Adds doclets above to transpiled file\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Waterfall_WaterfallSeriesDefaults = (WaterfallSeriesDefaults);\n\n;// ./code/es-modules/Series/Waterfall/WaterfallSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { column: WaterfallSeries_ColumnSeries, line: WaterfallSeries_LineSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { addEvent: WaterfallSeries_addEvent, arrayMax: WaterfallSeries_arrayMax, arrayMin: WaterfallSeries_arrayMin, correctFloat: WaterfallSeries_correctFloat, crisp: WaterfallSeries_crisp, extend: WaterfallSeries_extend, isNumber: WaterfallSeries_isNumber, merge: WaterfallSeries_merge, objectEach: WaterfallSeries_objectEach, pick: WaterfallSeries_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Returns true if the key is a direct property of the object.\n * @private\n * @param {*} obj\n * Object with property to test\n * @param {string} key\n * Property key to test\n * @return {boolean}\n * Whether it is a direct property\n */\nfunction ownProp(obj, key) {\n    return Object.hasOwnProperty.call(obj, key);\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * Waterfall series type.\n *\n * @private\n */\nclass WaterfallSeries extends WaterfallSeries_ColumnSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    // After generating points, set y-values for all sums.\n    generatePoints() {\n        // Parent call:\n        WaterfallSeries_ColumnSeries.prototype.generatePoints.apply(this);\n        const processedYData = this.getColumn('y', true);\n        for (let i = 0, len = this.points.length; i < len; i++) {\n            const point = this.points[i], y = processedYData[i];\n            // Override point value for sums. #3710 Update point does not\n            // propagate to sum\n            if (WaterfallSeries_isNumber(y) && (point.isIntermediateSum || point.isSum)) {\n                point.y = WaterfallSeries_correctFloat(y);\n            }\n        }\n    }\n    // Call default processData then override yData to reflect waterfall's\n    // extremes on yAxis\n    processData(force) {\n        const series = this, options = series.options, yData = series.getColumn('y'), \n        // #3710 Update point does not propagate to sum\n        points = options.data, dataLength = yData.length, threshold = options.threshold || 0;\n        let point, subSum, sum, dataMin, dataMax, y;\n        sum = subSum = dataMin = dataMax = 0;\n        for (let i = 0; i < dataLength; i++) {\n            y = yData[i];\n            point = points?.[i] || {};\n            if (y === 'sum' || point.isSum) {\n                yData[i] = WaterfallSeries_correctFloat(sum);\n            }\n            else if (y === 'intermediateSum' ||\n                point.isIntermediateSum) {\n                yData[i] = WaterfallSeries_correctFloat(subSum);\n                subSum = 0;\n            }\n            else {\n                sum += y;\n                subSum += y;\n            }\n            dataMin = Math.min(sum, dataMin);\n            dataMax = Math.max(sum, dataMax);\n        }\n        super.processData.call(this, force);\n        // Record extremes only if stacking was not set:\n        if (!options.stacking) {\n            series.dataMin = dataMin + threshold;\n            series.dataMax = dataMax;\n        }\n        return;\n    }\n    // Return y value or string if point is sum\n    toYData(pt) {\n        if (pt.isSum) {\n            return 'sum';\n        }\n        if (pt.isIntermediateSum) {\n            return 'intermediateSum';\n        }\n        return pt.y;\n    }\n    // Postprocess mapping between options and SVG attributes\n    pointAttribs(point, state) {\n        const upColor = this.options.upColor;\n        // Set or reset up color (#3710, update to negative)\n        if (upColor && !point.options.color && WaterfallSeries_isNumber(point.y)) {\n            point.color = point.y > 0 ? upColor : void 0;\n        }\n        const attr = WaterfallSeries_ColumnSeries.prototype.pointAttribs.call(this, point, state);\n        // The dashStyle option in waterfall applies to the graph, not\n        // the points\n        delete attr.dashstyle;\n        return attr;\n    }\n    // Return an empty path initially, because we need to know the stroke-width\n    // in order to set the final path.\n    getGraphPath() {\n        return [['M', 0, 0]];\n    }\n    // Draw columns' connector lines\n    getCrispPath() {\n        const // Skip points where Y is not a number (#18636)\n        data = this.data.filter((d) => WaterfallSeries_isNumber(d.y)), yAxis = this.yAxis, length = data.length, graphLineWidth = this.graph?.strokeWidth() || 0, reversedXAxis = this.xAxis.reversed, reversedYAxis = this.yAxis.reversed, stacking = this.options.stacking, path = [];\n        for (let i = 1; i < length; i++) {\n            if (!( // Skip lines that would pass over the null point (#18636)\n            this.options.connectNulls ||\n                WaterfallSeries_isNumber(this.data[data[i].index - 1].y))) {\n                continue;\n            }\n            const box = data[i].box, prevPoint = data[i - 1], prevY = prevPoint.y || 0, prevBox = data[i - 1].box;\n            if (!box || !prevBox) {\n                continue;\n            }\n            const prevStack = yAxis.waterfall.stacks[this.stackKey], isPos = prevY > 0 ? -prevBox.height : 0;\n            if (prevStack && prevBox && box) {\n                const prevStackX = prevStack[i - 1];\n                // Y position of the connector is different when series are\n                // stacked, yAxis is reversed and it also depends on point's\n                // value\n                let yPos;\n                if (stacking) {\n                    const connectorThreshold = prevStackX.connectorThreshold;\n                    yPos = WaterfallSeries_crisp(yAxis.translate(connectorThreshold, false, true, false, true) +\n                        (reversedYAxis ? isPos : 0), graphLineWidth);\n                }\n                else {\n                    yPos = WaterfallSeries_crisp(prevBox.y + (prevPoint.minPointLengthOffset || 0), graphLineWidth);\n                }\n                path.push([\n                    'M',\n                    (prevBox.x || 0) + (reversedXAxis ?\n                        0 :\n                        (prevBox.width || 0)),\n                    yPos\n                ], [\n                    'L',\n                    (box.x || 0) + (reversedXAxis ?\n                        (box.width || 0) :\n                        0),\n                    yPos\n                ]);\n            }\n            if (prevBox &&\n                path.length &&\n                ((!stacking && prevY < 0 && !reversedYAxis) ||\n                    (prevY > 0 && reversedYAxis))) {\n                const nextLast = path[path.length - 2];\n                if (nextLast && typeof nextLast[2] === 'number') {\n                    nextLast[2] += prevBox.height || 0;\n                }\n                const last = path[path.length - 1];\n                if (last && typeof last[2] === 'number') {\n                    last[2] += prevBox.height || 0;\n                }\n            }\n        }\n        return path;\n    }\n    // The graph is initially drawn with an empty definition, then updated with\n    // crisp rendering.\n    drawGraph() {\n        WaterfallSeries_LineSeries.prototype.drawGraph.call(this);\n        if (this.graph) {\n            this.graph.attr({\n                d: this.getCrispPath()\n            });\n        }\n    }\n    // Waterfall has stacking along the x-values too.\n    setStackedPoints(axis) {\n        const series = this, options = series.options, waterfallStacks = axis.waterfall?.stacks, seriesThreshold = options.threshold || 0, stackKey = series.stackKey, xData = series.getColumn('x'), yData = series.getColumn('y'), xLength = xData.length;\n        let stackThreshold = seriesThreshold, interSum = stackThreshold, actualStackX, totalYVal = 0, actualSum = 0, prevSum = 0, statesLen, posTotal, negTotal, xPoint, yVal, x, alreadyChanged, changed;\n        // Function responsible for calculating correct values for stackState\n        // array of each stack item. The arguments are: firstS - the value for\n        // the first state, nextS - the difference between the previous and the\n        // newest state, sInx - counter used in the for that updates each state\n        // when necessary, sOff - offset that must be added to each state when\n        // they need to be updated (if point isn't a total sum)\n        // eslint-disable-next-line require-jsdoc\n        const calculateStackState = (firstS, nextS, sInx, sOff) => {\n            if (actualStackX) {\n                if (!statesLen) {\n                    actualStackX.stackState[0] = firstS;\n                    statesLen = actualStackX.stackState.length;\n                }\n                else {\n                    for (sInx; sInx < statesLen; sInx++) {\n                        actualStackX.stackState[sInx] += sOff;\n                    }\n                }\n                actualStackX.stackState.push(actualStackX.stackState[statesLen - 1] + nextS);\n            }\n        };\n        if (axis.stacking && waterfallStacks) {\n            // Code responsible for creating stacks for waterfall series\n            if (series.reserveSpace()) {\n                changed = waterfallStacks.changed;\n                alreadyChanged = waterfallStacks.alreadyChanged;\n                // In case of a redraw, stack for each x value must be emptied\n                // (only for the first series in a specific stack) and\n                // recalculated once more\n                if (alreadyChanged &&\n                    alreadyChanged.indexOf(stackKey) < 0) {\n                    changed = true;\n                }\n                if (!waterfallStacks[stackKey]) {\n                    waterfallStacks[stackKey] = {};\n                }\n                const actualStack = waterfallStacks[stackKey];\n                if (actualStack) {\n                    for (let i = 0; i < xLength; i++) {\n                        x = xData[i];\n                        if (!actualStack[x] || changed) {\n                            actualStack[x] = {\n                                negTotal: 0,\n                                posTotal: 0,\n                                stackTotal: 0,\n                                threshold: 0,\n                                stateIndex: 0,\n                                stackState: [],\n                                label: ((changed &&\n                                    actualStack[x]) ?\n                                    actualStack[x].label :\n                                    void 0)\n                            };\n                        }\n                        actualStackX = actualStack[x];\n                        yVal = yData[i];\n                        if (yVal >= 0) {\n                            actualStackX.posTotal += yVal;\n                        }\n                        else {\n                            actualStackX.negTotal += yVal;\n                        }\n                        // Points do not exist yet, so raw data is used\n                        xPoint = options.data[i];\n                        posTotal = actualStackX.absolutePos =\n                            actualStackX.posTotal;\n                        negTotal = actualStackX.absoluteNeg =\n                            actualStackX.negTotal;\n                        actualStackX.stackTotal = posTotal + negTotal;\n                        statesLen = actualStackX.stackState.length;\n                        if (xPoint && xPoint.isIntermediateSum) {\n                            calculateStackState(prevSum, actualSum, 0, prevSum);\n                            prevSum = actualSum;\n                            actualSum = seriesThreshold;\n                            // Swapping values\n                            stackThreshold ^= interSum;\n                            interSum ^= stackThreshold;\n                            stackThreshold ^= interSum;\n                        }\n                        else if (xPoint && xPoint.isSum) {\n                            calculateStackState(seriesThreshold, totalYVal, statesLen, 0);\n                            stackThreshold = seriesThreshold;\n                        }\n                        else {\n                            calculateStackState(stackThreshold, yVal, 0, totalYVal);\n                            if (xPoint) {\n                                totalYVal += yVal;\n                                actualSum += yVal;\n                            }\n                        }\n                        actualStackX.stateIndex++;\n                        actualStackX.threshold = stackThreshold;\n                        stackThreshold += actualStackX.stackTotal;\n                    }\n                }\n                waterfallStacks.changed = false;\n                if (!waterfallStacks.alreadyChanged) {\n                    waterfallStacks.alreadyChanged = [];\n                }\n                waterfallStacks.alreadyChanged.push(stackKey);\n            }\n        }\n    }\n    // Extremes for a non-stacked series are recorded in processData.\n    // In case of stacking, use Series.stackedYData to calculate extremes.\n    getExtremes() {\n        const stacking = this.options.stacking;\n        let yAxis, waterfallStacks, stackedYNeg, stackedYPos;\n        if (stacking) {\n            yAxis = this.yAxis;\n            waterfallStacks = yAxis.waterfall.stacks;\n            stackedYNeg = this.stackedYNeg = [];\n            stackedYPos = this.stackedYPos = [];\n            // The visible y range can be different when stacking is set to\n            // overlap and different when it's set to normal\n            if (stacking === 'overlap') {\n                WaterfallSeries_objectEach(waterfallStacks[this.stackKey], function (stackX) {\n                    stackedYNeg.push(WaterfallSeries_arrayMin(stackX.stackState));\n                    stackedYPos.push(WaterfallSeries_arrayMax(stackX.stackState));\n                });\n            }\n            else {\n                WaterfallSeries_objectEach(waterfallStacks[this.stackKey], function (stackX) {\n                    stackedYNeg.push(stackX.negTotal + stackX.threshold);\n                    stackedYPos.push(stackX.posTotal + stackX.threshold);\n                });\n            }\n            return {\n                dataMin: WaterfallSeries_arrayMin(stackedYNeg),\n                dataMax: WaterfallSeries_arrayMax(stackedYPos)\n            };\n        }\n        // When not stacking, data extremes have already been computed in the\n        // processData function.\n        return {\n            dataMin: this.dataMin,\n            dataMax: this.dataMax\n        };\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nWaterfallSeries.defaultOptions = WaterfallSeries_merge(WaterfallSeries_ColumnSeries.defaultOptions, Waterfall_WaterfallSeriesDefaults);\nWaterfallSeries.compose = Axis_WaterfallAxis.compose;\nWaterfallSeries_extend(WaterfallSeries.prototype, {\n    pointValKey: 'y',\n    // Property needed to prevent lines between the columns from disappearing\n    // when negativeColor is used.\n    showLine: true,\n    pointClass: Waterfall_WaterfallPoint\n});\n// Translate data points from raw values\nWaterfallSeries_addEvent(WaterfallSeries, 'afterColumnTranslate', function () {\n    const series = this, { options, points, yAxis } = series, minPointLength = WaterfallSeries_pick(options.minPointLength, 5), halfMinPointLength = minPointLength / 2, threshold = options.threshold || 0, stacking = options.stacking, actualStack = yAxis.waterfall.stacks[series.stackKey], processedYData = series.getColumn('y', true);\n    let previousIntermediate = threshold, previousY = threshold, y, total, yPos, hPos;\n    for (let i = 0; i < points.length; i++) {\n        const point = points[i], yValue = processedYData[i], shapeArgs = point.shapeArgs, box = WaterfallSeries_extend({\n            x: 0,\n            y: 0,\n            width: 0,\n            height: 0\n        }, shapeArgs || {});\n        point.box = box;\n        const range = [0, yValue], pointY = point.y || 0;\n        // Code responsible for correct positions of stacked points\n        // starts here\n        if (stacking) {\n            if (actualStack) {\n                const actualStackX = actualStack[i];\n                if (stacking === 'overlap') {\n                    total =\n                        actualStackX.stackState[actualStackX.stateIndex--];\n                    y = pointY >= 0 ? total : total - pointY;\n                    if (ownProp(actualStackX, 'absolutePos')) {\n                        delete actualStackX.absolutePos;\n                    }\n                    if (ownProp(actualStackX, 'absoluteNeg')) {\n                        delete actualStackX.absoluteNeg;\n                    }\n                }\n                else {\n                    if (pointY >= 0) {\n                        total = actualStackX.threshold +\n                            actualStackX.posTotal;\n                        actualStackX.posTotal -= pointY;\n                        y = total;\n                    }\n                    else {\n                        total = actualStackX.threshold +\n                            actualStackX.negTotal;\n                        actualStackX.negTotal -= pointY;\n                        y = total - pointY;\n                    }\n                    if (!actualStackX.posTotal) {\n                        if (WaterfallSeries_isNumber(actualStackX.absolutePos) &&\n                            ownProp(actualStackX, 'absolutePos')) {\n                            actualStackX.posTotal =\n                                actualStackX.absolutePos;\n                            delete actualStackX.absolutePos;\n                        }\n                    }\n                    if (!actualStackX.negTotal) {\n                        if (WaterfallSeries_isNumber(actualStackX.absoluteNeg) &&\n                            ownProp(actualStackX, 'absoluteNeg')) {\n                            actualStackX.negTotal =\n                                actualStackX.absoluteNeg;\n                            delete actualStackX.absoluteNeg;\n                        }\n                    }\n                }\n                if (!point.isSum) {\n                    // The connectorThreshold property is later used in\n                    // getCrispPath function to draw a connector line in a\n                    // correct place\n                    actualStackX.connectorThreshold =\n                        actualStackX.threshold + actualStackX.stackTotal;\n                }\n                if (yAxis.reversed) {\n                    yPos = (pointY >= 0) ? (y - pointY) : (y + pointY);\n                    hPos = y;\n                }\n                else {\n                    yPos = y;\n                    hPos = y - pointY;\n                }\n                point.below = yPos <= threshold;\n                box.y = yAxis.translate(yPos, false, true, false, true);\n                box.height = Math.abs(box.y -\n                    yAxis.translate(hPos, false, true, false, true));\n                const dummyStackItem = yAxis.waterfall.dummyStackItem;\n                if (dummyStackItem) {\n                    dummyStackItem.x = i;\n                    dummyStackItem.label = actualStack[i].label;\n                    dummyStackItem.setOffset(series.pointXOffset || 0, series.barW || 0, series.stackedYNeg[i], series.stackedYPos[i], void 0, this.xAxis);\n                }\n            }\n        }\n        else {\n            // Up points\n            y = Math.max(previousY, previousY + pointY) + range[0];\n            box.y = yAxis.translate(y, false, true, false, true);\n            // Sum points\n            if (point.isSum) {\n                box.y = yAxis.translate(range[1], false, true, false, true);\n                box.height = Math.min(yAxis.translate(range[0], false, true, false, true), yAxis.len) - box.y; // #4256\n                point.below = range[1] <= threshold;\n            }\n            else if (point.isIntermediateSum) {\n                if (pointY >= 0) {\n                    yPos = range[1] + previousIntermediate;\n                    hPos = previousIntermediate;\n                }\n                else {\n                    yPos = previousIntermediate;\n                    hPos = range[1] + previousIntermediate;\n                }\n                if (yAxis.reversed) {\n                    // Swapping values\n                    yPos ^= hPos;\n                    hPos ^= yPos;\n                    yPos ^= hPos;\n                }\n                box.y = yAxis.translate(yPos, false, true, false, true);\n                box.height = Math.abs(box.y -\n                    Math.min(yAxis.translate(hPos, false, true, false, true), yAxis.len));\n                previousIntermediate += range[1];\n                point.below = yPos <= threshold;\n                // If it's not the sum point, update previous stack end position\n                // and get shape height (#3886)\n            }\n            else {\n                box.height = yValue > 0 ?\n                    yAxis.translate(previousY, false, true, false, true) - box.y :\n                    yAxis.translate(previousY, false, true, false, true) - yAxis.translate(previousY - yValue, false, true, false, true);\n                previousY += yValue;\n                point.below = previousY < threshold;\n            }\n            // #3952 Negative sum or intermediate sum not rendered correctly\n            if (box.height < 0) {\n                box.y += box.height;\n                box.height *= -1;\n            }\n        }\n        point.plotY = box.y;\n        point.yBottom = box.y + box.height;\n        if (box.height <= minPointLength && !point.isNull) {\n            box.height = minPointLength;\n            box.y -= halfMinPointLength;\n            point.yBottom = box.y + box.height;\n            point.plotY = box.y;\n            if (pointY < 0) {\n                point.minPointLengthOffset = -halfMinPointLength;\n            }\n            else {\n                point.minPointLengthOffset = halfMinPointLength;\n            }\n        }\n        else {\n            // #8024, empty gaps in the line for null data\n            if (point.isNull) {\n                box.width = 0;\n            }\n            point.minPointLengthOffset = 0;\n        }\n        // Correct tooltip placement (#3014)\n        const tooltipY = point.plotY + (point.negative ? box.height : 0);\n        if (point.below) { // #15334\n            point.plotY += box.height;\n        }\n        if (point.tooltipPos) {\n            if (series.chart.inverted) {\n                point.tooltipPos[0] = yAxis.len - tooltipY;\n            }\n            else {\n                point.tooltipPos[1] = tooltipY;\n            }\n        }\n        // Check point position after recalculation (#16788)\n        point.isInside = this.isPointInside(point);\n        // Crisp vector coordinates\n        const crispBottom = WaterfallSeries_crisp(point.yBottom, series.borderWidth);\n        box.y = WaterfallSeries_crisp(box.y, series.borderWidth);\n        box.height = crispBottom - box.y;\n        WaterfallSeries_merge(true, point.shapeArgs, box);\n    }\n}, { order: 2 });\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('waterfall', WaterfallSeries);\n/* *\n *\n * Export\n *\n * */\n/* harmony default export */ const Waterfall_WaterfallSeries = (WaterfallSeries);\n\n;// ./code/es-modules/masters/highcharts-more.src.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nG.RadialAxis = Axis_RadialAxis;\nBubble_BubbleSeries.compose(G.Axis, G.Chart, G.Legend);\nPackedBubble_PackedBubbleSeries.compose(G.Axis, G.Chart, G.Legend);\nPane_Pane.compose(G.Chart, G.Pointer);\nPolarComposition.compose(G.Axis, G.Chart, G.Pointer, G.Series, G.Tick, G.Point, (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.areasplinerange, (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.column, (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.line, (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.spline);\nWaterfall_WaterfallSeries.compose(G.Axis, G.Chart);\n/* harmony default export */ const highcharts_more_src = (G);\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/exporting\n * @requires highcharts\n *\n * Exporting module\n *\n * (c) 2010-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"AST\"], root[\"_Highcharts\"][\"Chart\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/exporting\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"AST\"],amd1[\"Chart\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/exporting\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"AST\"], root[\"_Highcharts\"][\"Chart\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"AST\"], root[\"Highcharts\"][\"Chart\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__660__, __WEBPACK_EXTERNAL_MODULE__960__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 660:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__660__;\n\n/***/ }),\n\n/***/ 960:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__960__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ exporting_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"AST\"],\"commonjs\":[\"highcharts\",\"AST\"],\"commonjs2\":[\"highcharts\",\"AST\"],\"root\":[\"Highcharts\",\"AST\"]}\nvar highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_ = __webpack_require__(660);\nvar highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default = /*#__PURE__*/__webpack_require__.n(highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Chart\"],\"commonjs\":[\"highcharts\",\"Chart\"],\"commonjs2\":[\"highcharts\",\"Chart\"],\"root\":[\"Highcharts\",\"Chart\"]}\nvar highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_ = __webpack_require__(960);\n;// ./code/es-modules/Core/Chart/ChartNavigationComposition.js\n/**\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Composition\n *\n * */\nvar ChartNavigationComposition;\n(function (ChartNavigationComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    function compose(chart) {\n        if (!chart.navigation) {\n            chart.navigation = new Additions(chart);\n        }\n        return chart;\n    }\n    ChartNavigationComposition.compose = compose;\n    /* *\n     *\n     *  Class\n     *\n     * */\n    /**\n     * Initializes `chart.navigation` object which delegates `update()` methods\n     * to all other common classes (used in exporting and navigationBindings).\n     * @private\n     */\n    class Additions {\n        /* *\n         *\n         *  Constructor\n         *\n         * */\n        constructor(chart) {\n            this.updates = [];\n            this.chart = chart;\n        }\n        /* *\n         *\n         *  Functions\n         *\n         * */\n        /**\n         * Registers an `update()` method in the `chart.navigation` object.\n         *\n         * @private\n         * @param {UpdateFunction} updateFn\n         * The `update()` method that will be called in `chart.update()`.\n         */\n        addUpdate(updateFn) {\n            this.chart.navigation.updates.push(updateFn);\n        }\n        /**\n         * @private\n         */\n        update(options, redraw) {\n            this.updates.forEach((updateFn) => {\n                updateFn.call(this.chart, options, redraw);\n            });\n        }\n    }\n    ChartNavigationComposition.Additions = Additions;\n})(ChartNavigationComposition || (ChartNavigationComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Chart_ChartNavigationComposition = (ChartNavigationComposition);\n\n;// ./code/es-modules/Extensions/Exporting/ExportingDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { isTouchDevice } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  API Options\n *\n * */\n// Add the export related options\n/**\n * Options for the exporting module. For an overview on the matter, see\n * [the docs](https://www.highcharts.com/docs/export-module/export-module-overview) and\n * read our [Fair Usage Policy](https://www.highcharts.com/docs/export-module/privacy-disclaimer-export).\n *\n * @requires     modules/exporting\n * @optionparent exporting\n */\nconst exporting = {\n    /**\n     * Experimental setting to allow HTML inside the chart (added through\n     * the `useHTML` options), directly in the exported image. This allows\n     * you to preserve complicated HTML structures like tables or bi-directional\n     * text in exported charts.\n     *\n     * Disclaimer: The HTML is rendered in a `foreignObject` tag in the\n     * generated SVG. The official export server is based on PhantomJS,\n     * which supports this, but other SVG clients, like Batik, does not\n     * support it. This also applies to downloaded SVG that you want to\n     * open in a desktop client.\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     4.1.8\n     * @apioption exporting.allowHTML\n     */\n    /**\n     * Allows the end user to sort the data table by clicking on column headers.\n     *\n     * @since 10.3.3\n     * @apioption exporting.allowTableSorting\n     */\n    allowTableSorting: true,\n    /**\n     * Allow exporting a chart retaining any user-applied CSS.\n     *\n     * Note that this is is default behavior in [styledMode](#chart.styledMode).\n     *\n     * @see [styledMode](#chart.styledMode)\n     *\n     * @sample {highcharts} highcharts/exporting/apply-stylesheets/\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since 12.0.0\n     * @apioption exporting.applyStyleSheets\n     */\n    /**\n     * Additional chart options to be merged into the chart before exporting to\n     * an image format. This does not apply to printing the chart via the export\n     * menu.\n     *\n     * For example, a common use case is to add data labels to improve\n     * readability of the exported chart, or to add a printer-friendly color\n     * scheme to exported PDFs.\n     *\n     * @sample {highcharts} highcharts/exporting/chartoptions-data-labels/\n     *         Added data labels\n     * @sample {highstock} highcharts/exporting/chartoptions-data-labels/\n     *         Added data labels\n     *\n     * @type      {Highcharts.Options}\n     * @apioption exporting.chartOptions\n     */\n    /**\n     * Whether to enable the exporting module. Disabling the module will\n     * hide the context button, but API methods will still be available.\n     *\n     * @sample {highcharts} highcharts/exporting/enabled-false/\n     *         Exporting module is loaded but disabled\n     * @sample {highstock} highcharts/exporting/enabled-false/\n     *         Exporting module is loaded but disabled\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     2.0\n     * @apioption exporting.enabled\n     */\n    /**\n     * Function to call if the offline-exporting module fails to export\n     * a chart on the client side, and [fallbackToExportServer](\n     * #exporting.fallbackToExportServer) is disabled. If left undefined, an\n     * exception is thrown instead. Receives two parameters, the exporting\n     * options, and the error from the module.\n     *\n     * @see [fallbackToExportServer](#exporting.fallbackToExportServer)\n     *\n     * @type      {Highcharts.ExportingErrorCallbackFunction}\n     * @since     5.0.0\n     * @requires  modules/exporting\n     * @requires  modules/offline-exporting\n     * @apioption exporting.error\n     */\n    /**\n     * Whether or not to fall back to the export server if the offline-exporting\n     * module is unable to export the chart on the client side. This happens for\n     * certain browsers, and certain features (e.g.\n     * [allowHTML](#exporting.allowHTML)), depending on the image type exporting\n     * to. For very complex charts, it is possible that export can fail in\n     * browsers that don't support Blob objects, due to data URL length limits.\n     * It is recommended to define the [exporting.error](#exporting.error)\n     * handler if disabling fallback, in order to notify users in case export\n     * fails.\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     4.1.8\n     * @requires  modules/exporting\n     * @requires  modules/offline-exporting\n     * @apioption exporting.fallbackToExportServer\n     */\n    /**\n     * The filename, without extension, to use for the exported chart.\n     *\n     * @sample {highcharts} highcharts/exporting/filename/\n     *         Custom file name\n     * @sample {highstock} highcharts/exporting/filename/\n     *         Custom file name\n     *\n     * @type      {string}\n     * @default   chart\n     * @since     2.0\n     * @apioption exporting.filename\n     */\n    /**\n     * Highcharts v11.2.0 and older. An object containing additional key value\n     * data for the POST form that sends the SVG to the export server. For\n     * example, a `target` can be set to make sure the generated image is\n     * received in another frame, or a custom `enctype` or `encoding` can be\n     * set.\n     *\n     * With Highcharts v11.3.0, the `fetch` API replaced the old HTML form. To\n     * modify the request, now use [fetchOptions](#exporting.fetchOptions)\n     * instead.\n     *\n     * @deprecated\n     * @type      {Highcharts.HTMLAttributes}\n     * @since     3.0.8\n     * @apioption exporting.formAttributes\n     */\n    /**\n     * Options for the fetch request used when sending the SVG to the export\n     * server.\n     *\n     * See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/fetch)\n     * for more information\n     *\n     * @type {Object}\n     * @since 11.3.0\n     * @apioption exporting.fetchOptions\n     */\n    /**\n     * Path where Highcharts will look for export module dependencies to\n     * load on demand if they don't already exist on `window`. Should currently\n     * point to location of [CanVG](https://github.com/canvg/canvg) library,\n     * [jsPDF](https://github.com/parallax/jsPDF) and\n     * [svg2pdf.js](https://github.com/yWorks/svg2pdf.js), required for client\n     * side export in certain browsers.\n     *\n     * @type      {string}\n     * @default   https://code.highcharts.com/{version}/lib\n     * @since     5.0.0\n     * @apioption exporting.libURL\n     */\n    /**\n     * Analogous to [sourceWidth](#exporting.sourceWidth).\n     *\n     * @type      {number}\n     * @since     3.0\n     * @apioption exporting.sourceHeight\n     */\n    /**\n     * The width of the original chart when exported, unless an explicit\n     * [chart.width](#chart.width) is set, or a pixel width is set on the\n     * container. The width exported raster image is then multiplied by\n     * [scale](#exporting.scale).\n     *\n     * @sample {highcharts} highcharts/exporting/sourcewidth/\n     *         Source size demo\n     * @sample {highstock} highcharts/exporting/sourcewidth/\n     *         Source size demo\n     * @sample {highmaps} maps/exporting/sourcewidth/\n     *         Source size demo\n     *\n     * @type      {number}\n     * @since     3.0\n     * @apioption exporting.sourceWidth\n     */\n    /**\n     * The pixel width of charts exported to PNG or JPG. As of Highcharts\n     * 3.0, the default pixel width is a function of the [chart.width](\n     * #chart.width) or [exporting.sourceWidth](#exporting.sourceWidth) and the\n     * [exporting.scale](#exporting.scale).\n     *\n     * @sample {highcharts} highcharts/exporting/width/\n     *         Export to 200px wide images\n     * @sample {highstock} highcharts/exporting/width/\n     *         Export to 200px wide images\n     *\n     * @type      {number}\n     * @since     2.0\n     * @apioption exporting.width\n     */\n    /**\n     * Default MIME type for exporting if `chart.exportChart()` is called\n     * without specifying a `type` option. Possible values are `image/png`,\n     *  `image/jpeg`, `application/pdf` and `image/svg+xml`.\n     *\n     * @type  {Highcharts.ExportingMimeTypeValue}\n     * @since 2.0\n     */\n    type: 'image/png',\n    /**\n     * The URL for the server module converting the SVG string to an image\n     * format. By default this points to Highchart's free web service.\n     *\n     * @since 2.0\n     */\n    url: 'https://export-svg.highcharts.com/',\n    /**\n     * Settings for a custom font for the exported PDF, when using the\n     * `offline-exporting` module. This is used for languages containing\n     * non-ASCII characters, like Chinese, Russian, Japanese etc.\n     *\n     * As described in the [jsPDF\n     * docs](https://github.com/parallax/jsPDF#use-of-unicode-characters--utf-8),\n     * the 14 standard fonts in PDF are limited to the ASCII-codepage.\n     * Therefore, in order to support other text in the exported PDF, one or\n     * more TTF font files have to be passed on to the exporting module.\n     *\n     * See more in [the\n     * docs](https://www.highcharts.com/docs/export-module/client-side-export).\n     *\n     * @sample {highcharts} highcharts/exporting/offline-download-pdffont/\n     *         Download PDF in a language containing non-Latin characters.\n     *\n     * @since 10.0.0\n     * @requires modules/offline-exporting\n     */\n    pdfFont: {\n        /**\n         * The TTF font file for normal `font-style`. If font variations like\n         * `bold` or `italic` are not defined, the `normal` font will be used\n         * for those too.\n         *\n         * @type string|undefined\n         */\n        normal: void 0,\n        /**\n         * The TTF font file for bold text.\n         *\n         * @type string|undefined\n         */\n        bold: void 0,\n        /**\n         * The TTF font file for bold and italic text.\n         *\n         * @type string|undefined\n         */\n        bolditalic: void 0,\n        /**\n         * The TTF font file for italic text.\n         *\n         * @type string|undefined\n         */\n        italic: void 0\n    },\n    /**\n     * When printing the chart from the menu item in the burger menu, if\n     * the on-screen chart exceeds this width, it is resized. After printing\n     * or cancelled, it is restored. The default width makes the chart\n     * fit into typical paper format. Note that this does not affect the\n     * chart when printing the web page as a whole.\n     *\n     * @since 4.2.5\n     */\n    printMaxWidth: 780,\n    /**\n     * Defines the scale or zoom factor for the exported image compared\n     * to the on-screen display. While for instance a 600px wide chart\n     * may look good on a website, it will look bad in print. The default\n     * scale of 2 makes this chart export to a 1200px PNG or JPG.\n     *\n     * @see [chart.width](#chart.width)\n     * @see [exporting.sourceWidth](#exporting.sourceWidth)\n     *\n     * @sample {highcharts} highcharts/exporting/scale/\n     *         Scale demonstrated\n     * @sample {highstock} highcharts/exporting/scale/\n     *         Scale demonstrated\n     * @sample {highmaps} maps/exporting/scale/\n     *         Scale demonstrated\n     *\n     * @since 3.0\n     */\n    scale: 2,\n    /**\n     * Options for the export related buttons, print and export. In addition\n     * to the default buttons listed here, custom buttons can be added.\n     * See [navigation.buttonOptions](#navigation.buttonOptions) for general\n     * options.\n     *\n     * @type     {Highcharts.Dictionary<*>}\n     * @requires modules/exporting\n     */\n    buttons: {\n        /**\n         * Options for the export button.\n         *\n         * In styled mode, export button styles can be applied with the\n         * `.highcharts-contextbutton` class.\n         *\n         * @declare  Highcharts.ExportingButtonsOptionsObject\n         * @extends  navigation.buttonOptions\n         * @requires modules/exporting\n         */\n        contextButton: {\n            /**\n             * A click handler callback to use on the button directly instead of\n             * the popup menu.\n             *\n             * @sample highcharts/exporting/buttons-contextbutton-onclick/\n             *         Skip the menu and export the chart directly\n             *\n             * @type      {Function}\n             * @since     2.0\n             * @apioption exporting.buttons.contextButton.onclick\n             */\n            /**\n             * See [navigation.buttonOptions.symbolFill](\n             * #navigation.buttonOptions.symbolFill).\n             *\n             * @type      {Highcharts.ColorString}\n             * @default   #666666\n             * @since     2.0\n             * @apioption exporting.buttons.contextButton.symbolFill\n             */\n            /**\n             * The horizontal position of the button relative to the `align`\n             * option.\n             *\n             * @type      {number}\n             * @default   -10\n             * @since     2.0\n             * @apioption exporting.buttons.contextButton.x\n             */\n            /**\n             * The class name of the context button.\n             */\n            className: 'highcharts-contextbutton',\n            /**\n             * The class name of the menu appearing from the button.\n             */\n            menuClassName: 'highcharts-contextmenu',\n            /**\n             * The symbol for the button. Points to a definition function in\n             * the `Highcharts.Renderer.symbols` collection. The default\n             * `menu` function is part of the exporting module. Possible\n             * values are \"circle\", \"square\", \"diamond\", \"triangle\",\n             * \"triangle-down\", \"menu\", \"menuball\" or custom shape.\n             *\n             * @sample highcharts/exporting/buttons-contextbutton-symbol/\n             *         Use a circle for symbol\n             * @sample highcharts/exporting/buttons-contextbutton-symbol-custom/\n             *         Custom shape as symbol\n             *\n             * @type  {Highcharts.SymbolKeyValue|\"menu\"|\"menuball\"|string}\n             * @since 2.0\n             */\n            symbol: 'menu',\n            /**\n             * The key to a [lang](#lang) option setting that is used for the\n             * button's title tooltip. When the key is `contextButtonTitle`, it\n             * refers to [lang.contextButtonTitle](#lang.contextButtonTitle)\n             * that defaults to \"Chart context menu\".\n             *\n             * @since 6.1.4\n             */\n            titleKey: 'contextButtonTitle',\n            /**\n             * A collection of strings pointing to config options for the menu\n             * items. The config options are defined in the\n             * `menuItemDefinitions` option.\n             *\n             * By default, there is the \"View in full screen\" and \"Print\" menu\n             * items, plus one menu item for each of the available export types.\n             *\n             * @sample {highcharts} highcharts/exporting/menuitemdefinitions/\n             *         Menu item definitions\n             * @sample {highstock} highcharts/exporting/menuitemdefinitions/\n             *         Menu item definitions\n             * @sample {highmaps} highcharts/exporting/menuitemdefinitions/\n             *         Menu item definitions\n             *\n             * @type    {Array<string>}\n             * @default [\"viewFullscreen\", \"printChart\", \"separator\", \"downloadPNG\", \"downloadJPEG\", \"downloadSVG\"]\n             * @since   2.0\n             */\n            menuItems: [\n                'viewFullscreen',\n                'printChart',\n                'separator',\n                'downloadPNG',\n                'downloadJPEG',\n                'downloadSVG'\n            ],\n            y: -5\n        }\n    },\n    /**\n     * An object consisting of definitions for the menu items in the context\n     * menu. Each key value pair has a `key` that is referenced in the\n     * [menuItems](#exporting.buttons.contextButton.menuItems) setting,\n     * and a `value`, which is an object with the following properties:\n     *\n     * - **onclick:** The click handler for the menu item\n     *\n     * - **text:** The text for the menu item\n     *\n     * - **textKey:** If internationalization is required, the key to a language\n     *   string\n     *\n     * Custom text for the \"exitFullScreen\" can be set only in lang options\n     * (it is not a separate button).\n     *\n     * @sample {highcharts} highcharts/exporting/menuitemdefinitions/\n     *         Menu item definitions\n     * @sample {highstock} highcharts/exporting/menuitemdefinitions/\n     *         Menu item definitions\n     * @sample {highmaps} highcharts/exporting/menuitemdefinitions/\n     *         Menu item definitions\n     *\n     *\n     * @type    {Highcharts.Dictionary<Highcharts.ExportingMenuObject>}\n     * @default {\"viewFullscreen\": {}, \"printChart\": {}, \"separator\": {}, \"downloadPNG\": {}, \"downloadJPEG\": {}, \"downloadPDF\": {}, \"downloadSVG\": {}}\n     * @since   5.0.13\n     */\n    menuItemDefinitions: {\n        /**\n         * @ignore\n         */\n        viewFullscreen: {\n            textKey: 'viewFullscreen',\n            onclick: function () {\n                if (this.fullscreen) {\n                    this.fullscreen.toggle();\n                }\n            }\n        },\n        /**\n         * @ignore\n         */\n        printChart: {\n            textKey: 'printChart',\n            onclick: function () {\n                this.print();\n            }\n        },\n        /**\n         * @ignore\n         */\n        separator: {\n            separator: true\n        },\n        /**\n         * @ignore\n         */\n        downloadPNG: {\n            textKey: 'downloadPNG',\n            onclick: function () {\n                this.exportChart();\n            }\n        },\n        /**\n         * @ignore\n         */\n        downloadJPEG: {\n            textKey: 'downloadJPEG',\n            onclick: function () {\n                this.exportChart({\n                    type: 'image/jpeg'\n                });\n            }\n        },\n        /**\n         * @ignore\n         */\n        downloadPDF: {\n            textKey: 'downloadPDF',\n            onclick: function () {\n                this.exportChart({\n                    type: 'application/pdf'\n                });\n            }\n        },\n        /**\n         * @ignore\n         */\n        downloadSVG: {\n            textKey: 'downloadSVG',\n            onclick: function () {\n                this.exportChart({\n                    type: 'image/svg+xml'\n                });\n            }\n        }\n    }\n};\n// Add language\n/**\n * @optionparent lang\n */\nconst lang = {\n    /**\n     * Exporting module only. The text for the menu item to view the chart\n     * in full screen.\n     *\n     * @since 8.0.1\n     */\n    viewFullscreen: 'View in full screen',\n    /**\n     * Exporting module only. The text for the menu item to exit the chart\n     * from full screen.\n     *\n     * @since 8.0.1\n     */\n    exitFullscreen: 'Exit from full screen',\n    /**\n     * Exporting module only. The text for the menu item to print the chart.\n     *\n     * @since    3.0.1\n     * @requires modules/exporting\n     */\n    printChart: 'Print chart',\n    /**\n     * Exporting module only. The text for the PNG download menu item.\n     *\n     * @since    2.0\n     * @requires modules/exporting\n     */\n    downloadPNG: 'Download PNG image',\n    /**\n     * Exporting module only. The text for the JPEG download menu item.\n     *\n     * @since    2.0\n     * @requires modules/exporting\n     */\n    downloadJPEG: 'Download JPEG image',\n    /**\n     * Exporting module only. The text for the PDF download menu item.\n     *\n     * @since    2.0\n     * @requires modules/exporting\n     */\n    downloadPDF: 'Download PDF document',\n    /**\n     * Exporting module only. The text for the SVG download menu item.\n     *\n     * @since    2.0\n     * @requires modules/exporting\n     */\n    downloadSVG: 'Download SVG vector image',\n    /**\n     * Exporting module menu. The tooltip title for the context menu holding\n     * print and export menu items.\n     *\n     * @since    3.0\n     * @requires modules/exporting\n     */\n    contextButtonTitle: 'Chart context menu'\n};\n/**\n * A collection of options for buttons and menus appearing in the exporting\n * module or in Stock Tools.\n *\n * @requires     modules/exporting\n * @optionparent navigation\n */\nconst navigation = {\n    /**\n     * A collection of options for buttons appearing in the exporting\n     * module.\n     *\n     * In styled mode, the buttons are styled with the\n     * `.highcharts-contextbutton` and `.highcharts-button-symbol` classes.\n     *\n     * @requires modules/exporting\n     */\n    buttonOptions: {\n        /**\n         * Whether to enable buttons.\n         *\n         * @sample highcharts/navigation/buttonoptions-enabled/\n         *         Exporting module loaded but buttons disabled\n         *\n         * @type      {boolean}\n         * @default   true\n         * @since     2.0\n         * @apioption navigation.buttonOptions.enabled\n         */\n        /**\n         * The pixel size of the symbol on the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        symbolSize: 14,\n        /**\n         * The x position of the center of the symbol inside the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        symbolX: 14.5,\n        /**\n         * The y position of the center of the symbol inside the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        symbolY: 13.5,\n        /**\n         * Alignment for the buttons.\n         *\n         * @sample highcharts/navigation/buttonoptions-align/\n         *         Center aligned\n         *\n         * @type  {Highcharts.AlignValue}\n         * @since 2.0\n         */\n        align: 'right',\n        /**\n         * The pixel spacing between buttons, and between the context button and\n         * the title.\n         *\n         * @sample highcharts/title/widthadjust\n         *         Adjust the spacing when using text button\n         * @since 2.0\n         */\n        buttonSpacing: 5,\n        /**\n         * Pixel height of the buttons.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        height: 28,\n        /**\n         * A text string to add to the individual button.\n         *\n         * @sample highcharts/exporting/buttons-text/\n         *         Full text button\n         * @sample highcharts/exporting/buttons-text-usehtml/\n         *         Icon using CSS font in text\n         * @sample highcharts/exporting/buttons-text-symbol/\n         *         Combined symbol and text\n         *\n         * @type      {string}\n         * @default   null\n         * @since     3.0\n         * @apioption navigation.buttonOptions.text\n         */\n        /**\n         * Whether to use HTML for rendering the button. HTML allows for things\n         * like inline CSS or image-based icons.\n         *\n         * @sample highcharts/exporting/buttons-text-usehtml/\n         *         Icon using CSS font in text\n         *\n         * @type      boolean\n         * @default   false\n         * @since 10.3.0\n         * @apioption navigation.buttonOptions.useHTML\n         */\n        /**\n         * The vertical offset of the button's position relative to its\n         * `verticalAlign`.\n         *\n         * @sample highcharts/navigation/buttonoptions-verticalalign/\n         *         Buttons at lower right\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.0\n         * @apioption navigation.buttonOptions.y\n         */\n        /**\n         * The vertical alignment of the buttons. Can be one of `\"top\"`,\n         * `\"middle\"` or `\"bottom\"`.\n         *\n         * @sample highcharts/navigation/buttonoptions-verticalalign/\n         *         Buttons at lower right\n         *\n         * @type  {Highcharts.VerticalAlignValue}\n         * @since 2.0\n         */\n        verticalAlign: 'top',\n        /**\n         * The pixel width of the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        width: 28,\n        /**\n         * Fill color for the symbol within the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-symbolfill/\n         *         Blue symbol stroke for one of the buttons\n         *\n         * @type  {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @since 2.0\n         */\n        symbolFill: \"#666666\" /* Palette.neutralColor60 */,\n        /**\n         * The color of the symbol's stroke or line.\n         *\n         * @sample highcharts/navigation/buttonoptions-symbolstroke/\n         *         Blue symbol stroke\n         *\n         * @type  {Highcharts.ColorString}\n         * @since 2.0\n         */\n        symbolStroke: \"#666666\" /* Palette.neutralColor60 */,\n        /**\n         * The pixel stroke width of the symbol on the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        symbolStrokeWidth: 3,\n        /**\n         * A configuration object for the button theme. The object accepts\n         * SVG properties like `stroke-width`, `stroke` and `fill`.\n         * Tri-state button styles are supported by the `states.hover` and\n         * `states.select` objects.\n         *\n         * @sample highcharts/navigation/buttonoptions-theme/\n         *         Theming the buttons\n         *\n         * @requires modules/exporting\n         *\n         * @since 3.0\n         */\n        theme: {\n            /**\n             * The default fill exists only to capture hover events.\n             *\n             * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             */\n            fill: \"#ffffff\" /* Palette.backgroundColor */,\n            /**\n             * Padding for the button.\n             */\n            padding: 5,\n            /**\n             * Default stroke for the buttons.\n             *\n             * @type      {Highcharts.ColorString}\n             */\n            stroke: 'none',\n            /**\n             * Default stroke linecap for the buttons.\n             */\n            'stroke-linecap': 'round'\n        }\n    },\n    /**\n     * CSS styles for the popup menu appearing by default when the export\n     * icon is clicked. This menu is rendered in HTML.\n     *\n     * @see In styled mode, the menu is styled with the `.highcharts-menu`\n     *      class.\n     *\n     * @sample highcharts/navigation/menustyle/\n     *         Light gray menu background\n     *\n     * @type    {Highcharts.CSSObject}\n     * @default {\"background\": \"#ffffff\", \"borderRadius\": \"3px\", \"padding\": \"0.5em\"}\n     * @since   2.0\n     */\n    menuStyle: {\n        /** @ignore-option */\n        border: 'none',\n        /** @ignore-option */\n        borderRadius: '3px',\n        /** @ignore-option */\n        background: \"#ffffff\" /* Palette.backgroundColor */,\n        /** @ignore-option */\n        padding: '0.5em'\n    },\n    /**\n     * CSS styles for the individual items within the popup menu appearing\n     * by default when the export icon is clicked. The menu items are\n     * rendered in HTML. Font size defaults to `11px` on desktop and `14px`\n     * on touch devices.\n     *\n     * @see In styled mode, the menu items are styled with the\n     *      `.highcharts-menu-item` class.\n     *\n     * @sample {highcharts} highcharts/navigation/menuitemstyle/\n     *         Add a grey stripe to the left\n     *\n     * @type    {Highcharts.CSSObject}\n     * @default {\"padding\": \"0.5em\", \"color\": \"#333333\", \"background\": \"none\", \"borderRadius\": \"3px\", \"fontSize\": \"0.8em\", \"transition\": \"background 250ms, color 250ms\"}\n     * @since   2.0\n     */\n    menuItemStyle: {\n        /** @ignore-option */\n        background: 'none',\n        /** @ignore-option */\n        borderRadius: '3px',\n        /** @ignore-option */\n        color: \"#333333\" /* Palette.neutralColor80 */,\n        /** @ignore-option */\n        padding: '0.5em',\n        /** @ignore-option */\n        fontSize: isTouchDevice ? '0.9em' : '0.8em',\n        /** @ignore-option */\n        transition: 'background 250ms, color 250ms'\n    },\n    /**\n     * CSS styles for the hover state of the individual items within the\n     * popup menu appearing by default when the export icon is clicked. The\n     * menu items are rendered in HTML.\n     *\n     * @see In styled mode, the menu items are styled with the\n     *      `.highcharts-menu-item` class.\n     *\n     * @sample highcharts/navigation/menuitemhoverstyle/\n     *         Bold text on hover\n     *\n     * @type    {Highcharts.CSSObject}\n     * @default {\"background\": \"#f2f2f2\" }\n     * @since   2.0\n     */\n    menuItemHoverStyle: {\n        /** @ignore-option */\n        background: \"#f2f2f2\" /* Palette.neutralColor5 */\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\nconst ExportingDefaults = {\n    exporting,\n    lang,\n    navigation\n};\n/* harmony default export */ const Exporting_ExportingDefaults = (ExportingDefaults);\n\n;// ./code/es-modules/Extensions/Exporting/ExportingSymbols.js\n/* *\n *\n *  Exporting module\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Composition\n *\n * */\nvar ExportingSymbols;\n(function (ExportingSymbols) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    const modifiedClasses = [];\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    function compose(SVGRendererClass) {\n        if (modifiedClasses.indexOf(SVGRendererClass) === -1) {\n            modifiedClasses.push(SVGRendererClass);\n            const symbols = SVGRendererClass.prototype.symbols;\n            symbols.menu = menu;\n            symbols.menuball = menuball.bind(symbols);\n        }\n    }\n    ExportingSymbols.compose = compose;\n    /**\n     * @private\n     */\n    function menu(x, y, width, height) {\n        const arr = [\n            ['M', x, y + 2.5],\n            ['L', x + width, y + 2.5],\n            ['M', x, y + height / 2 + 0.5],\n            ['L', x + width, y + height / 2 + 0.5],\n            ['M', x, y + height - 1.5],\n            ['L', x + width, y + height - 1.5]\n        ];\n        return arr;\n    }\n    /**\n     * @private\n     */\n    function menuball(x, y, width, height) {\n        const h = (height / 3) - 2;\n        let path = [];\n        path = path.concat(this.circle(width - h, y, h, h), this.circle(width - h, y + h + 4, h, h), this.circle(width - h, y + 2 * (h + 4), h, h));\n        return path;\n    }\n})(ExportingSymbols || (ExportingSymbols = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Exporting_ExportingSymbols = (ExportingSymbols);\n\n;// ./code/es-modules/Extensions/Exporting/Fullscreen.js\n/* *\n *\n *  (c) 2009-2024 Rafal Sebestjanski\n *\n *  Full screen for Highcharts\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n/**\n * The module allows user to enable display chart in full screen mode.\n * Used in StockTools too.\n * Based on default solutions in browsers.\n */\n\n\n\nconst { composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent, fireEvent, pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction onChartBeforeRender() {\n    /**\n     * @name Highcharts.Chart#fullscreen\n     * @type {Highcharts.Fullscreen}\n     * @requires modules/full-screen\n     */\n    this.fullscreen = new Fullscreen(this);\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * Handles displaying chart's container in the fullscreen mode.\n *\n * **Note**: Fullscreen is not supported on iPhone due to iOS limitations.\n *\n * @class\n * @name Highcharts.Fullscreen\n *\n * @requires modules/exporting\n */\nclass Fullscreen {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * Prepares the chart class to support fullscreen.\n     *\n     * @param {typeof_Highcharts.Chart} ChartClass\n     * The chart class to decorate with fullscreen support.\n     */\n    static compose(ChartClass) {\n        if (pushUnique(composed, 'Fullscreen')) {\n            // Initialize fullscreen\n            addEvent(ChartClass, 'beforeRender', onChartBeforeRender);\n        }\n    }\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(chart) {\n        /**\n         * Chart managed by the fullscreen controller.\n         * @name Highcharts.Fullscreen#chart\n         * @type {Highcharts.Chart}\n         */\n        this.chart = chart;\n        /**\n         * The flag is set to `true` when the chart is displayed in\n         * the fullscreen mode.\n         *\n         * @name Highcharts.Fullscreen#isOpen\n         * @type {boolean|undefined}\n         * @since 8.0.1\n         */\n        this.isOpen = false;\n        const container = chart.renderTo;\n        // Hold event and methods available only for a current browser.\n        if (!this.browserProps) {\n            if (typeof container.requestFullscreen === 'function') {\n                this.browserProps = {\n                    fullscreenChange: 'fullscreenchange',\n                    requestFullscreen: 'requestFullscreen',\n                    exitFullscreen: 'exitFullscreen'\n                };\n            }\n            else if (container.mozRequestFullScreen) {\n                this.browserProps = {\n                    fullscreenChange: 'mozfullscreenchange',\n                    requestFullscreen: 'mozRequestFullScreen',\n                    exitFullscreen: 'mozCancelFullScreen'\n                };\n            }\n            else if (container.webkitRequestFullScreen) {\n                this.browserProps = {\n                    fullscreenChange: 'webkitfullscreenchange',\n                    requestFullscreen: 'webkitRequestFullScreen',\n                    exitFullscreen: 'webkitExitFullscreen'\n                };\n            }\n            else if (container.msRequestFullscreen) {\n                this.browserProps = {\n                    fullscreenChange: 'MSFullscreenChange',\n                    requestFullscreen: 'msRequestFullscreen',\n                    exitFullscreen: 'msExitFullscreen'\n                };\n            }\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Stops displaying the chart in fullscreen mode.\n     * Exporting module required.\n     *\n     * @since       8.0.1\n     *\n     * @function    Highcharts.Fullscreen#close\n     * @return      {void}\n     * @requires    modules/full-screen\n     */\n    close() {\n        const fullscreen = this, chart = fullscreen.chart, optionsChart = chart.options.chart;\n        fireEvent(chart, 'fullscreenClose', null, function () {\n            // Don't fire exitFullscreen() when user exited\n            // using 'Escape' button.\n            if (fullscreen.isOpen &&\n                fullscreen.browserProps &&\n                chart.container.ownerDocument instanceof Document) {\n                chart.container.ownerDocument[fullscreen.browserProps.exitFullscreen]();\n            }\n            // Unbind event as it's necessary only before exiting\n            // from fullscreen.\n            if (fullscreen.unbindFullscreenEvent) {\n                fullscreen.unbindFullscreenEvent = fullscreen\n                    .unbindFullscreenEvent();\n            }\n            chart.setSize(fullscreen.origWidth, fullscreen.origHeight, false);\n            fullscreen.origWidth = void 0;\n            fullscreen.origHeight = void 0;\n            optionsChart.width = fullscreen.origWidthOption;\n            optionsChart.height = fullscreen.origHeightOption;\n            fullscreen.origWidthOption = void 0;\n            fullscreen.origHeightOption = void 0;\n            fullscreen.isOpen = false;\n            fullscreen.setButtonText();\n        });\n    }\n    /**\n     * Displays the chart in fullscreen mode.\n     * When fired customly by user before exporting context button is created,\n     * button's text will not be replaced - it's on the user side.\n     * Exporting module required.\n     *\n     * @since       8.0.1\n     *\n     * @function Highcharts.Fullscreen#open\n     * @return      {void}\n     * @requires    modules/full-screen\n     */\n    open() {\n        const fullscreen = this, chart = fullscreen.chart, optionsChart = chart.options.chart;\n        fireEvent(chart, 'fullscreenOpen', null, function () {\n            if (optionsChart) {\n                fullscreen.origWidthOption = optionsChart.width;\n                fullscreen.origHeightOption = optionsChart.height;\n            }\n            fullscreen.origWidth = chart.chartWidth;\n            fullscreen.origHeight = chart.chartHeight;\n            // Handle exitFullscreen() method when user clicks 'Escape' button.\n            if (fullscreen.browserProps) {\n                const unbindChange = addEvent(chart.container.ownerDocument, // Chart's document\n                fullscreen.browserProps.fullscreenChange, function () {\n                    // Handle lack of async of browser's\n                    // fullScreenChange event.\n                    if (fullscreen.isOpen) {\n                        fullscreen.isOpen = false;\n                        fullscreen.close();\n                    }\n                    else {\n                        chart.setSize(null, null, false);\n                        fullscreen.isOpen = true;\n                        fullscreen.setButtonText();\n                    }\n                });\n                const unbindDestroy = addEvent(chart, 'destroy', unbindChange);\n                fullscreen.unbindFullscreenEvent = () => {\n                    unbindChange();\n                    unbindDestroy();\n                };\n                const promise = chart.renderTo[fullscreen.browserProps.requestFullscreen]();\n                if (promise) {\n                    promise['catch'](function () {\n                        alert(// eslint-disable-line no-alert\n                        'Full screen is not supported inside a frame.');\n                    });\n                }\n            }\n        });\n    }\n    /**\n     * Replaces the exporting context button's text when toogling the\n     * fullscreen mode.\n     *\n     * @private\n     *\n     * @since 8.0.1\n     *\n     * @requires modules/full-screen\n     */\n    setButtonText() {\n        const chart = this.chart, exportDivElements = chart.exportDivElements, exportingOptions = chart.options.exporting, menuItems = (exportingOptions &&\n            exportingOptions.buttons &&\n            exportingOptions.buttons.contextButton.menuItems), lang = chart.options.lang;\n        if (exportingOptions &&\n            exportingOptions.menuItemDefinitions &&\n            lang &&\n            lang.exitFullscreen &&\n            lang.viewFullscreen &&\n            menuItems &&\n            exportDivElements) {\n            const exportDivElement = exportDivElements[menuItems.indexOf('viewFullscreen')];\n            if (exportDivElement) {\n                highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().setElementHTML(exportDivElement, !this.isOpen ?\n                    (exportingOptions.menuItemDefinitions.viewFullscreen\n                        .text ||\n                        lang.viewFullscreen) : lang.exitFullscreen);\n            }\n        }\n    }\n    /**\n     * Toggles displaying the chart in fullscreen mode.\n     * By default, when the exporting module is enabled, a context button with\n     * a drop down menu in the upper right corner accesses this function.\n     * Exporting module required.\n     *\n     * @since 8.0.1\n     *\n     * @sample      highcharts/members/chart-togglefullscreen/\n     *              Toggle fullscreen mode from a HTML button\n     *\n     * @function Highcharts.Fullscreen#toggle\n     * @requires    modules/full-screen\n     */\n    toggle() {\n        const fullscreen = this;\n        if (!fullscreen.isOpen) {\n            fullscreen.open();\n        }\n        else {\n            fullscreen.close();\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Exporting_Fullscreen = (Fullscreen);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Gets fired when closing the fullscreen\n *\n * @callback Highcharts.FullScreenfullscreenCloseCallbackFunction\n *\n * @param {Highcharts.Chart} chart\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Gets fired when opening the fullscreen\n *\n * @callback Highcharts.FullScreenfullscreenOpenCallbackFunction\n *\n * @param {Highcharts.Chart} chart\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n(''); // Keeps doclets above separated from following code\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Fires when a fullscreen is closed through the context menu item,\n * or a fullscreen is closed on the `Escape` button click,\n * or the `Chart.fullscreen.close` method.\n *\n * @sample highcharts/chart/events-fullscreen\n *         Title size change on fullscreen open\n *\n * @type      {Highcharts.FullScreenfullscreenCloseCallbackFunction}\n * @since     10.1.0\n * @context   Highcharts.Chart\n * @requires  modules/full-screen\n * @apioption chart.events.fullscreenClose\n */\n/**\n * Fires when a fullscreen is opened through the context menu item,\n * or the `Chart.fullscreen.open` method.\n *\n * @sample highcharts/chart/events-fullscreen\n *         Title size change on fullscreen open\n *\n * @type      {Highcharts.FullScreenfullscreenOpenCallbackFunction}\n * @since     10.1.0\n * @context   Highcharts.Chart\n * @requires  modules/full-screen\n * @apioption chart.events.fullscreenOpen\n */\n(''); // Keeps doclets above in transpiled file\n\n;// ./code/es-modules/Core/HttpUtilities.js\n/* *\n *\n *  (c) 2010-2024 Christer Vasseng, Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { discardElement, objectEach } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Perform an Ajax call.\n *\n * @function Highcharts.ajax\n *\n * @param {Highcharts.AjaxSettingsObject} settings\n *        The Ajax settings to use.\n *\n * @return {false|undefined}\n *         Returns false, if error occurred.\n */\nfunction ajax(settings) {\n    const headers = {\n        json: 'application/json',\n        xml: 'application/xml',\n        text: 'text/plain',\n        octet: 'application/octet-stream'\n    }, r = new XMLHttpRequest();\n    /**\n     * Private error handler.\n     * @private\n     * @param {XMLHttpRequest} xhr\n     * Internal request object.\n     * @param {string|Error} err\n     * Occurred error.\n     */\n    function handleError(xhr, err) {\n        if (settings.error) {\n            settings.error(xhr, err);\n        }\n        else {\n            // @todo Maybe emit a highcharts error event here\n        }\n    }\n    if (!settings.url) {\n        return false;\n    }\n    r.open((settings.type || 'get').toUpperCase(), settings.url, true);\n    if (!settings.headers || !settings.headers['Content-Type']) {\n        r.setRequestHeader('Content-Type', headers[settings.dataType || 'json'] || headers.text);\n    }\n    objectEach(settings.headers, function (val, key) {\n        r.setRequestHeader(key, val);\n    });\n    if (settings.responseType) {\n        r.responseType = settings.responseType;\n    }\n    // @todo lacking timeout handling\n    r.onreadystatechange = function () {\n        let res;\n        if (r.readyState === 4) {\n            if (r.status === 200) {\n                if (settings.responseType !== 'blob') {\n                    res = r.responseText;\n                    if (settings.dataType === 'json') {\n                        try {\n                            res = JSON.parse(res);\n                        }\n                        catch (e) {\n                            if (e instanceof Error) {\n                                return handleError(r, e);\n                            }\n                        }\n                    }\n                }\n                return settings.success && settings.success(res, r);\n            }\n            handleError(r, r.responseText);\n        }\n    };\n    if (settings.data && typeof settings.data !== 'string') {\n        settings.data = JSON.stringify(settings.data);\n    }\n    r.send(settings.data);\n}\n/**\n * Get a JSON resource over XHR, also supporting CORS without preflight.\n *\n * @function Highcharts.getJSON\n * @param {string} url\n *        The URL to load.\n * @param {Function} success\n *        The success callback. For error handling, use the `Highcharts.ajax`\n *        function instead.\n */\nfunction getJSON(url, success) {\n    HttpUtilities.ajax({\n        url: url,\n        success: success,\n        dataType: 'json',\n        headers: {\n            // Override the Content-Type to avoid preflight problems with CORS\n            // in the Highcharts demos\n            'Content-Type': 'text/plain'\n        }\n    });\n}\n/**\n * The post utility\n *\n * @private\n * @function Highcharts.post\n *\n * @param {string} url\n * Post URL\n *\n * @param {Object} data\n * Post data\n *\n * @param {RequestInit} [fetchOptions]\n * Additional attributes for the post request\n */\n/**\n *\n */\nfunction post(url, data, fetchOptions) {\n    const formData = new win.FormData();\n    // Add the data\n    objectEach(data, function (val, name) {\n        formData.append(name, val);\n    });\n    formData.append('b64', 'true');\n    const { filename, type } = data;\n    return win.fetch(url, {\n        method: 'POST',\n        body: formData,\n        ...fetchOptions\n    }).then((res) => {\n        if (res.ok) {\n            res.text().then((text) => {\n                const link = document.createElement('a');\n                link.href = `data:${type};base64,${text}`;\n                link.download = filename;\n                link.click();\n                discardElement(link);\n            });\n        }\n    });\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst HttpUtilities = {\n    ajax,\n    getJSON,\n    post\n};\n/* harmony default export */ const Core_HttpUtilities = (HttpUtilities);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @interface Highcharts.AjaxSettingsObject\n */ /**\n* The payload to send.\n*\n* @name Highcharts.AjaxSettingsObject#data\n* @type {string|Highcharts.Dictionary<any>|undefined}\n*/ /**\n* The data type expected.\n* @name Highcharts.AjaxSettingsObject#dataType\n* @type {\"json\"|\"xml\"|\"text\"|\"octet\"|undefined}\n*/ /**\n* Function to call on error.\n* @name Highcharts.AjaxSettingsObject#error\n* @type {Function|undefined}\n*/ /**\n* The headers; keyed on header name.\n* @name Highcharts.AjaxSettingsObject#headers\n* @type {Highcharts.Dictionary<string>|undefined}\n*/ /**\n* Function to call on success.\n* @name Highcharts.AjaxSettingsObject#success\n* @type {Function|undefined}\n*/ /**\n* The HTTP method to use. For example GET or POST.\n* @name Highcharts.AjaxSettingsObject#type\n* @type {string|undefined}\n*/ /**\n* The URL to call.\n* @name Highcharts.AjaxSettingsObject#url\n* @type {string}\n*/\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Extensions/Exporting/Exporting.js\n/* *\n *\n *  Exporting module\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\nconst { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n\nconst { doc, SVG_NS, win: Exporting_win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { addEvent: Exporting_addEvent, css, createElement, discardElement: Exporting_discardElement, extend, find, fireEvent: Exporting_fireEvent, isObject, merge, objectEach: Exporting_objectEach, pick, removeEvent, splat, uniqueKey } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar Exporting;\n(function (Exporting) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    // These CSS properties are not inlined. Remember camelCase.\n    const inlineDenylist = [\n        /-/, // In Firefox, both hyphened and camelCased names are listed\n        /^(clipPath|cssText|d|height|width)$/, // Full words\n        /^font$/, // More specific props are set\n        /[lL]ogical(Width|Height)$/,\n        /^parentRule$/,\n        /^(cssRules|ownerRules)$/, // #19516 read-only properties\n        /perspective/,\n        /TapHighlightColor/,\n        /^transition/,\n        /^length$/, // #7700\n        /^\\d+$/ // #17538\n    ];\n    // These ones are translated to attributes rather than styles\n    const inlineToAttributes = [\n        'fill',\n        'stroke',\n        'strokeLinecap',\n        'strokeLinejoin',\n        'strokeWidth',\n        'textAnchor',\n        'x',\n        'y'\n    ];\n    Exporting.inlineAllowlist = [];\n    const unstyledElements = [\n        'clipPath',\n        'defs',\n        'desc'\n    ];\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let printingChart;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Add the export button to the chart, with options.\n     *\n     * @private\n     * @function Highcharts.Chart#addButton\n     * @param {Highcharts.NavigationButtonOptions} options\n     * @requires modules/exporting\n     */\n    function addButton(options) {\n        const chart = this, renderer = chart.renderer, btnOptions = merge(chart.options.navigation.buttonOptions, options), onclick = btnOptions.onclick, menuItems = btnOptions.menuItems, symbolSize = btnOptions.symbolSize || 12;\n        let symbol;\n        if (!chart.btnCount) {\n            chart.btnCount = 0;\n        }\n        // Keeps references to the button elements\n        if (!chart.exportDivElements) {\n            chart.exportDivElements = [];\n            chart.exportSVGElements = [];\n        }\n        if (btnOptions.enabled === false || !btnOptions.theme) {\n            return;\n        }\n        const theme = chart.styledMode ? {} : btnOptions.theme;\n        let callback;\n        if (onclick) {\n            callback = function (e) {\n                if (e) {\n                    e.stopPropagation();\n                }\n                onclick.call(chart, e);\n            };\n        }\n        else if (menuItems) {\n            callback = function (e) {\n                // Consistent with onclick call (#3495)\n                if (e) {\n                    e.stopPropagation();\n                }\n                chart.contextMenu(button.menuClassName, menuItems, button.translateX || 0, button.translateY || 0, button.width || 0, button.height || 0, button);\n                button.setState(2);\n            };\n        }\n        if (btnOptions.text && btnOptions.symbol) {\n            theme.paddingLeft = pick(theme.paddingLeft, 30);\n        }\n        else if (!btnOptions.text) {\n            extend(theme, {\n                width: btnOptions.width,\n                height: btnOptions.height,\n                padding: 0\n            });\n        }\n        const button = renderer\n            .button(btnOptions.text, 0, 0, callback, theme, void 0, void 0, void 0, void 0, btnOptions.useHTML)\n            .addClass(options.className)\n            .attr({\n            title: pick(chart.options.lang[btnOptions._titleKey || btnOptions.titleKey], '')\n        });\n        button.menuClassName = (options.menuClassName ||\n            'highcharts-menu-' + chart.btnCount++);\n        if (btnOptions.symbol) {\n            symbol = renderer\n                .symbol(btnOptions.symbol, Math.round((btnOptions.symbolX || 0) - (symbolSize / 2)), Math.round((btnOptions.symbolY || 0) - (symbolSize / 2)), symbolSize, symbolSize\n            // If symbol is an image, scale it (#7957)\n            , {\n                width: symbolSize,\n                height: symbolSize\n            })\n                .addClass('highcharts-button-symbol')\n                .attr({\n                zIndex: 1\n            })\n                .add(button);\n            if (!chart.styledMode) {\n                symbol.attr({\n                    stroke: btnOptions.symbolStroke,\n                    fill: btnOptions.symbolFill,\n                    'stroke-width': btnOptions.symbolStrokeWidth || 1\n                });\n            }\n        }\n        button\n            .add(chart.exportingGroup)\n            .align(extend(btnOptions, {\n            width: button.width,\n            x: pick(btnOptions.x, chart.buttonOffset) // #1654\n        }), true, 'spacingBox');\n        chart.buttonOffset += (((button.width || 0) + btnOptions.buttonSpacing) *\n            (btnOptions.align === 'right' ? -1 : 1));\n        chart.exportSVGElements.push(button, symbol);\n    }\n    /**\n     * Clean up after printing a chart.\n     *\n     * @function Highcharts#afterPrint\n     *\n     * @private\n     *\n     * @param {Highcharts.Chart} chart\n     *        Chart that was (or suppose to be) printed\n     *\n     * @emits Highcharts.Chart#event:afterPrint\n     */\n    function afterPrint() {\n        const chart = this;\n        if (!chart.printReverseInfo) {\n            return void 0;\n        }\n        const { childNodes, origDisplay, resetParams } = chart.printReverseInfo;\n        // Put the chart back in\n        chart.moveContainers(chart.renderTo);\n        // Restore all body content\n        [].forEach.call(childNodes, function (node, i) {\n            if (node.nodeType === 1) {\n                node.style.display = (origDisplay[i] || '');\n            }\n        });\n        chart.isPrinting = false;\n        // Reset printMaxWidth\n        if (resetParams) {\n            chart.setSize.apply(chart, resetParams);\n        }\n        delete chart.printReverseInfo;\n        printingChart = void 0;\n        Exporting_fireEvent(chart, 'afterPrint');\n    }\n    /**\n     * Prepare chart and document before printing a chart.\n     *\n     * @function Highcharts#beforePrint\n     *\n     * @private\n     *\n     *\n     * @emits Highcharts.Chart#event:beforePrint\n     */\n    function beforePrint() {\n        const chart = this, body = doc.body, printMaxWidth = chart.options.exporting.printMaxWidth, printReverseInfo = {\n            childNodes: body.childNodes,\n            origDisplay: [],\n            resetParams: void 0\n        };\n        chart.isPrinting = true;\n        chart.pointer?.reset(void 0, 0);\n        Exporting_fireEvent(chart, 'beforePrint');\n        // Handle printMaxWidth\n        const handleMaxWidth = printMaxWidth &&\n            chart.chartWidth > printMaxWidth;\n        if (handleMaxWidth) {\n            printReverseInfo.resetParams = [\n                chart.options.chart.width,\n                void 0,\n                false\n            ];\n            chart.setSize(printMaxWidth, void 0, false);\n        }\n        // Hide all body content\n        [].forEach.call(printReverseInfo.childNodes, function (node, i) {\n            if (node.nodeType === 1) {\n                printReverseInfo.origDisplay[i] = node.style.display;\n                node.style.display = 'none';\n            }\n        });\n        // Pull out the chart\n        chart.moveContainers(body);\n        // Storage details for undo action after printing\n        chart.printReverseInfo = printReverseInfo;\n    }\n    /**\n     * @private\n     */\n    function chartCallback(chart) {\n        const composition = chart;\n        composition.renderExporting();\n        Exporting_addEvent(chart, 'redraw', composition.renderExporting);\n        // Destroy the export elements at chart destroy\n        Exporting_addEvent(chart, 'destroy', composition.destroyExport);\n        // Uncomment this to see a button directly below the chart, for quick\n        // testing of export\n        /*\n        let button, viewImage, viewSource;\n        if (!chart.renderer.forExport) {\n            viewImage = function () {\n                let div = doc.createElement('div');\n                div.innerHTML = chart.getSVGForExport();\n                chart.renderTo.parentNode.appendChild(div);\n            };\n\n            viewSource = function () {\n                let pre = doc.createElement('pre');\n                pre.innerHTML = chart.getSVGForExport()\n                    .replace(/</g, '\\n&lt;')\n                    .replace(/>/g, '&gt;');\n                chart.renderTo.parentNode.appendChild(pre);\n            };\n\n            viewImage();\n\n            // View SVG Image\n            button = doc.createElement('button');\n            button.innerHTML = 'View SVG Image';\n            chart.renderTo.parentNode.appendChild(button);\n            button.onclick = viewImage;\n\n            // View SVG Source\n            button = doc.createElement('button');\n            button.innerHTML = 'View SVG Source';\n            chart.renderTo.parentNode.appendChild(button);\n            button.onclick = viewSource;\n        }\n        //*/\n    }\n    /**\n     * @private\n     */\n    function compose(ChartClass, SVGRendererClass) {\n        Exporting_ExportingSymbols.compose(SVGRendererClass);\n        Exporting_Fullscreen.compose(ChartClass);\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.exportChart) {\n            chartProto.afterPrint = afterPrint;\n            chartProto.exportChart = exportChart;\n            chartProto.inlineStyles = inlineStyles;\n            chartProto.print = print;\n            chartProto.sanitizeSVG = sanitizeSVG;\n            chartProto.getChartHTML = getChartHTML;\n            chartProto.getSVG = getSVG;\n            chartProto.getSVGForExport = getSVGForExport;\n            chartProto.getFilename = getFilename;\n            chartProto.moveContainers = moveContainers;\n            chartProto.beforePrint = beforePrint;\n            chartProto.contextMenu = contextMenu;\n            chartProto.addButton = addButton;\n            chartProto.destroyExport = destroyExport;\n            chartProto.renderExporting = renderExporting;\n            chartProto.callbacks.push(chartCallback);\n            Exporting_addEvent(ChartClass, 'init', onChartInit);\n            Exporting_addEvent(ChartClass, 'layOutTitle', onChartLayOutTitle);\n            if ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isSafari) {\n                Exporting_win.matchMedia('print').addListener(function (mqlEvent) {\n                    if (!printingChart) {\n                        return void 0;\n                    }\n                    if (mqlEvent.matches) {\n                        printingChart.beforePrint();\n                    }\n                    else {\n                        printingChart.afterPrint();\n                    }\n                });\n            }\n            defaultOptions.exporting = merge(Exporting_ExportingDefaults.exporting, defaultOptions.exporting);\n            defaultOptions.lang = merge(Exporting_ExportingDefaults.lang, defaultOptions.lang);\n            // Buttons and menus are collected in a separate config option set\n            // called 'navigation'. This can be extended later to add control\n            // buttons like zoom and pan right click menus.\n            defaultOptions.navigation = merge(Exporting_ExportingDefaults.navigation, defaultOptions.navigation);\n        }\n    }\n    Exporting.compose = compose;\n    /**\n     * Display a popup menu for choosing the export type.\n     *\n     * @private\n     * @function Highcharts.Chart#contextMenu\n     * @param {string} className\n     *        An identifier for the menu.\n     * @param {Array<string|Highcharts.ExportingMenuObject>} items\n     *        A collection with text and onclicks for the items.\n     * @param {number} x\n     *        The x position of the opener button\n     * @param {number} y\n     *        The y position of the opener button\n     * @param {number} width\n     *        The width of the opener button\n     * @param {number} height\n     *        The height of the opener button\n     * @requires modules/exporting\n     */\n    function contextMenu(className, items, x, y, width, height, button) {\n        const chart = this, navOptions = chart.options.navigation, chartWidth = chart.chartWidth, chartHeight = chart.chartHeight, cacheName = 'cache-' + className, \n        // For mouse leave detection\n        menuPadding = Math.max(width, height);\n        let innerMenu, menu = chart[cacheName];\n        // Create the menu only the first time\n        if (!menu) {\n            // Create a HTML element above the SVG\n            chart.exportContextMenu = chart[cacheName] = menu =\n                createElement('div', {\n                    className: className\n                }, {\n                    position: 'absolute',\n                    zIndex: 1000,\n                    padding: menuPadding + 'px',\n                    pointerEvents: 'auto',\n                    ...chart.renderer.style\n                }, chart.scrollablePlotArea?.fixedDiv || chart.container);\n            innerMenu = createElement('ul', { className: 'highcharts-menu' }, chart.styledMode ? {} : {\n                listStyle: 'none',\n                margin: 0,\n                padding: 0\n            }, menu);\n            // Presentational CSS\n            if (!chart.styledMode) {\n                css(innerMenu, extend({\n                    MozBoxShadow: '3px 3px 10px #888',\n                    WebkitBoxShadow: '3px 3px 10px #888',\n                    boxShadow: '3px 3px 10px #888'\n                }, navOptions.menuStyle));\n            }\n            // Hide on mouse out\n            menu.hideMenu = function () {\n                css(menu, { display: 'none' });\n                if (button) {\n                    button.setState(0);\n                }\n                chart.openMenu = false;\n                // #10361, #9998\n                css(chart.renderTo, { overflow: 'hidden' });\n                css(chart.container, { overflow: 'hidden' });\n                highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().clearTimeout(menu.hideTimer);\n                Exporting_fireEvent(chart, 'exportMenuHidden');\n            };\n            // Hide the menu some time after mouse leave (#1357)\n            chart.exportEvents.push(Exporting_addEvent(menu, 'mouseleave', function () {\n                menu.hideTimer = Exporting_win.setTimeout(menu.hideMenu, 500);\n            }), Exporting_addEvent(menu, 'mouseenter', function () {\n                highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().clearTimeout(menu.hideTimer);\n            }), \n            // Hide it on clicking or touching outside the menu (#2258,\n            // #2335, #2407)\n            Exporting_addEvent(doc, 'mouseup', function (e) {\n                if (!chart.pointer?.inClass(e.target, className)) {\n                    menu.hideMenu();\n                }\n            }), Exporting_addEvent(menu, 'click', function () {\n                if (chart.openMenu) {\n                    menu.hideMenu();\n                }\n            }));\n            // Create the items\n            items.forEach(function (item) {\n                if (typeof item === 'string') {\n                    item = chart.options.exporting\n                        .menuItemDefinitions[item];\n                }\n                if (isObject(item, true)) {\n                    let element;\n                    if (item.separator) {\n                        element = createElement('hr', void 0, void 0, innerMenu);\n                    }\n                    else {\n                        // When chart initialized with the table, wrong button\n                        // text displayed, #14352.\n                        if (item.textKey === 'viewData' &&\n                            chart.isDataTableVisible) {\n                            item.textKey = 'hideData';\n                        }\n                        element = createElement('li', {\n                            className: 'highcharts-menu-item',\n                            onclick: function (e) {\n                                if (e) { // IE7\n                                    e.stopPropagation();\n                                }\n                                menu.hideMenu();\n                                if (typeof item !== 'string' && item.onclick) {\n                                    item.onclick.apply(chart, arguments);\n                                }\n                            }\n                        }, void 0, innerMenu);\n                        highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().setElementHTML(element, item.text ||\n                            chart.options.lang[item.textKey]);\n                        if (!chart.styledMode) {\n                            element.onmouseover = function () {\n                                css(this, navOptions.menuItemHoverStyle);\n                            };\n                            element.onmouseout = function () {\n                                css(this, navOptions.menuItemStyle);\n                            };\n                            css(element, extend({\n                                cursor: 'pointer'\n                            }, navOptions.menuItemStyle || {}));\n                        }\n                    }\n                    // Keep references to menu divs to be able to destroy them\n                    chart.exportDivElements.push(element);\n                }\n            });\n            // Keep references to menu and innerMenu div to be able to destroy\n            // them\n            chart.exportDivElements.push(innerMenu, menu);\n            chart.exportMenuWidth = menu.offsetWidth;\n            chart.exportMenuHeight = menu.offsetHeight;\n        }\n        const menuStyle = { display: 'block' };\n        // If outside right, right align it\n        if (x + (chart.exportMenuWidth || 0) > chartWidth) {\n            menuStyle.right = (chartWidth - x - width - menuPadding) + 'px';\n        }\n        else {\n            menuStyle.left = (x - menuPadding) + 'px';\n        }\n        // If outside bottom, bottom align it\n        if (y + height + (chart.exportMenuHeight || 0) > chartHeight &&\n            button.alignOptions?.verticalAlign !== 'top') {\n            menuStyle.bottom = (chartHeight - y - menuPadding) + 'px';\n        }\n        else {\n            menuStyle.top = (y + height - menuPadding) + 'px';\n        }\n        css(menu, menuStyle);\n        // #10361, #9998\n        css(chart.renderTo, { overflow: '' });\n        css(chart.container, { overflow: '' });\n        chart.openMenu = true;\n        Exporting_fireEvent(chart, 'exportMenuShown');\n    }\n    /**\n     * Destroy the export buttons.\n     * @private\n     * @function Highcharts.Chart#destroyExport\n     * @param {global.Event} [e]\n     * @requires modules/exporting\n     */\n    function destroyExport(e) {\n        const chart = e ? e.target : this, exportSVGElements = chart.exportSVGElements, exportDivElements = chart.exportDivElements, exportEvents = chart.exportEvents;\n        let cacheName;\n        // Destroy the extra buttons added\n        if (exportSVGElements) {\n            exportSVGElements.forEach((elem, i) => {\n                // Destroy and null the svg elements\n                if (elem) { // #1822\n                    elem.onclick = elem.ontouchstart = null;\n                    cacheName = 'cache-' + elem.menuClassName;\n                    if (chart[cacheName]) {\n                        delete chart[cacheName];\n                    }\n                    exportSVGElements[i] = elem.destroy();\n                }\n            });\n            exportSVGElements.length = 0;\n        }\n        // Destroy the exporting group\n        if (chart.exportingGroup) {\n            chart.exportingGroup.destroy();\n            delete chart.exportingGroup;\n        }\n        // Destroy the divs for the menu\n        if (exportDivElements) {\n            exportDivElements.forEach(function (elem, i) {\n                if (elem) {\n                    // Remove the event handler\n                    highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().clearTimeout(elem.hideTimer); // #5427\n                    removeEvent(elem, 'mouseleave');\n                    // Remove inline events\n                    // (chart.exportDivElements as any)[i] =\n                    exportDivElements[i] =\n                        elem.onmouseout =\n                            elem.onmouseover =\n                                elem.ontouchstart =\n                                    elem.onclick = null;\n                    // Destroy the div by moving to garbage bin\n                    Exporting_discardElement(elem);\n                }\n            });\n            exportDivElements.length = 0;\n        }\n        if (exportEvents) {\n            exportEvents.forEach(function (unbind) {\n                unbind();\n            });\n            exportEvents.length = 0;\n        }\n    }\n    /**\n     * Exporting module required. Submit an SVG version of the chart to a server\n     * along with some parameters for conversion.\n     *\n     * @sample highcharts/members/chart-exportchart/\n     *         Export with no options\n     * @sample highcharts/members/chart-exportchart-filename/\n     *         PDF type and custom filename\n     * @sample highcharts/members/chart-exportchart-custom-background/\n     *         Different chart background in export\n     * @sample stock/members/chart-exportchart/\n     *         Export with Highcharts Stock\n     *\n     * @function Highcharts.Chart#exportChart\n     *\n     * @param {Highcharts.ExportingOptions} exportingOptions\n     *        Exporting options in addition to those defined in\n     *        [exporting](https://api.highcharts.com/highcharts/exporting).\n     *\n     * @param {Highcharts.Options} chartOptions\n     *        Additional chart options for the exported chart. For example a\n     *        different background color can be added here, or `dataLabels` for\n     *        export only.\n     *\n     * @requires modules/exporting\n     */\n    function exportChart(exportingOptions, chartOptions) {\n        const svg = this.getSVGForExport(exportingOptions, chartOptions);\n        // Merge the options\n        exportingOptions = merge(this.options.exporting, exportingOptions);\n        // Do the post\n        Core_HttpUtilities.post(exportingOptions.url, {\n            filename: exportingOptions.filename ?\n                exportingOptions.filename.replace(/\\//g, '-') :\n                this.getFilename(),\n            type: exportingOptions.type,\n            width: exportingOptions.width,\n            scale: exportingOptions.scale,\n            svg: svg\n        }, exportingOptions.fetchOptions);\n    }\n    /**\n     * Return the unfiltered innerHTML of the chart container. Used as hook for\n     * plugins. In styled mode, it also takes care of inlining CSS style rules.\n     *\n     * @see Chart#getSVG\n     *\n     * @function Highcharts.Chart#getChartHTML\n     *\n     * @return {string}\n     * The unfiltered SVG of the chart.\n     *\n     * @requires modules/exporting\n     */\n    function getChartHTML(applyStyleSheets) {\n        if (applyStyleSheets) {\n            this.inlineStyles();\n        }\n        return this.container.innerHTML;\n    }\n    /**\n     * Get the default file name used for exported charts. By default it creates\n     * a file name based on the chart title.\n     *\n     * @function Highcharts.Chart#getFilename\n     *\n     * @return {string} A file name without extension.\n     *\n     * @requires modules/exporting\n     */\n    function getFilename() {\n        const s = this.userOptions.title && this.userOptions.title.text;\n        let filename = this.options.exporting.filename;\n        if (filename) {\n            return filename.replace(/\\//g, '-');\n        }\n        if (typeof s === 'string') {\n            filename = s\n                .toLowerCase()\n                .replace(/<\\/?[^>]+(>|$)/g, '') // Strip HTML tags\n                .replace(/[\\s_]+/g, '-')\n                .replace(/[^a-z\\d\\-]/g, '') // Preserve only latin\n                .replace(/^[\\-]+/g, '') // Dashes in the start\n                .replace(/[\\-]+/g, '-') // Dashes in a row\n                .substr(0, 24)\n                .replace(/[\\-]+$/g, ''); // Dashes in the end;\n        }\n        if (!filename || filename.length < 5) {\n            filename = 'chart';\n        }\n        return filename;\n    }\n    /**\n     * Return an SVG representation of the chart.\n     *\n     * @sample highcharts/members/chart-getsvg/\n     *         View the SVG from a button\n     *\n     * @function Highcharts.Chart#getSVG\n     *\n     * @param {Highcharts.Options} [chartOptions]\n     *        Additional chart options for the generated SVG representation. For\n     *        collections like `xAxis`, `yAxis` or `series`, the additional\n     *        options is either merged in to the original item of the same\n     *        `id`, or to the first item if a common id is not found.\n     *\n     * @return {string}\n     *         The SVG representation of the rendered chart.\n     *\n     * @emits Highcharts.Chart#event:getSVG\n     *\n     * @requires modules/exporting\n     */\n    function getSVG(chartOptions) {\n        const chart = this;\n        let svg, seriesOptions, \n        // Copy the options and add extra options\n        options = merge(chart.options, chartOptions);\n        // Use userOptions to make the options chain in series right (#3881)\n        options.plotOptions = merge(chart.userOptions.plotOptions, chartOptions && chartOptions.plotOptions);\n        // ... and likewise with time, avoid that undefined time properties are\n        // merged over legacy global time options\n        options.time = merge(chart.userOptions.time, chartOptions && chartOptions.time);\n        // Create a sandbox where a new chart will be generated\n        const sandbox = createElement('div', null, {\n            position: 'absolute',\n            top: '-9999em',\n            width: chart.chartWidth + 'px',\n            height: chart.chartHeight + 'px'\n        }, doc.body);\n        // Get the source size\n        const cssWidth = chart.renderTo.style.width, cssHeight = chart.renderTo.style.height, sourceWidth = options.exporting.sourceWidth ||\n            options.chart.width ||\n            (/px$/.test(cssWidth) && parseInt(cssWidth, 10)) ||\n            (options.isGantt ? 800 : 600), sourceHeight = options.exporting.sourceHeight ||\n            options.chart.height ||\n            (/px$/.test(cssHeight) && parseInt(cssHeight, 10)) ||\n            400;\n        // Override some options\n        extend(options.chart, {\n            animation: false,\n            renderTo: sandbox,\n            forExport: true,\n            renderer: 'SVGRenderer',\n            width: sourceWidth,\n            height: sourceHeight\n        });\n        options.exporting.enabled = false; // Hide buttons in print\n        delete options.data; // #3004\n        // prepare for replicating the chart\n        options.series = [];\n        chart.series.forEach(function (serie) {\n            seriesOptions = merge(serie.userOptions, {\n                animation: false, // Turn off animation\n                enableMouseTracking: false,\n                showCheckbox: false,\n                visible: serie.visible\n            });\n            // Used for the navigator series that has its own option set\n            if (!seriesOptions.isInternal) {\n                options.series.push(seriesOptions);\n            }\n        });\n        const colls = {};\n        chart.axes.forEach(function (axis) {\n            // Assign an internal key to ensure a one-to-one mapping (#5924)\n            if (!axis.userOptions.internalKey) { // #6444\n                axis.userOptions.internalKey = uniqueKey();\n            }\n            if (!axis.options.isInternal) {\n                if (!colls[axis.coll]) {\n                    colls[axis.coll] = true;\n                    options[axis.coll] = [];\n                }\n                options[axis.coll].push(merge(axis.userOptions, {\n                    visible: axis.visible,\n                    // Force some options that could have be set directly on\n                    // the axis while missing in the userOptions or options.\n                    type: axis.type,\n                    uniqueNames: axis.uniqueNames\n                }));\n            }\n        });\n        // Make sure the `colorAxis` object of the `defaultOptions` isn't used\n        // in the chart copy's user options, because a color axis should only be\n        // added when the user actually applies it.\n        options.colorAxis = chart.userOptions.colorAxis;\n        // Generate the chart copy\n        const chartCopy = new chart.constructor(options, chart.callback);\n        // Axis options and series options  (#2022, #3900, #5982)\n        if (chartOptions) {\n            ['xAxis', 'yAxis', 'series'].forEach(function (coll) {\n                const collOptions = {};\n                if (chartOptions[coll]) {\n                    collOptions[coll] = chartOptions[coll];\n                    chartCopy.update(collOptions);\n                }\n            });\n        }\n        // Reflect axis extremes in the export (#5924)\n        chart.axes.forEach(function (axis) {\n            const axisCopy = find(chartCopy.axes, (copy) => copy.options.internalKey === axis.userOptions.internalKey);\n            if (axisCopy) {\n                const extremes = axis.getExtremes(), \n                // Make sure min and max overrides in the\n                // `exporting.chartOptions.xAxis` settings are reflected.\n                // These should override user-set extremes via zooming,\n                // scrollbar etc (#7873).\n                exportOverride = splat(chartOptions?.[axis.coll] || {})[0], userMin = 'min' in exportOverride ?\n                    exportOverride.min :\n                    extremes.userMin, userMax = 'max' in exportOverride ?\n                    exportOverride.max :\n                    extremes.userMax;\n                if (((typeof userMin !== 'undefined' &&\n                    userMin !== axisCopy.min) || (typeof userMax !== 'undefined' &&\n                    userMax !== axisCopy.max))) {\n                    axisCopy.setExtremes(userMin ?? void 0, userMax ?? void 0, true, false);\n                }\n            }\n        });\n        // Get the SVG from the container's innerHTML\n        svg = chartCopy.getChartHTML(chart.styledMode ||\n            options.exporting?.applyStyleSheets);\n        Exporting_fireEvent(this, 'getSVG', { chartCopy: chartCopy });\n        svg = chart.sanitizeSVG(svg, options);\n        // Free up memory\n        options = null;\n        chartCopy.destroy();\n        Exporting_discardElement(sandbox);\n        return svg;\n    }\n    /**\n     * @private\n     * @function Highcharts.Chart#getSVGForExport\n     */\n    function getSVGForExport(options, chartOptions) {\n        const chartExportingOptions = this.options.exporting;\n        return this.getSVG(merge({ chart: { borderRadius: 0 } }, chartExportingOptions.chartOptions, chartOptions, {\n            exporting: {\n                sourceWidth: ((options && options.sourceWidth) ||\n                    chartExportingOptions.sourceWidth),\n                sourceHeight: ((options && options.sourceHeight) ||\n                    chartExportingOptions.sourceHeight)\n            }\n        }));\n    }\n    /**\n     * Make hyphenated property names out of camelCase\n     * @private\n     * @param {string} prop\n     * Property name in camelCase\n     * @return {string}\n     * Hyphenated property name\n     */\n    function hyphenate(prop) {\n        return prop.replace(/[A-Z]/g, function (match) {\n            return '-' + match.toLowerCase();\n        });\n    }\n    /**\n     * Analyze inherited styles from stylesheets and add them inline\n     *\n     * @private\n     * @function Highcharts.Chart#inlineStyles\n     *\n     * @todo What are the border styles for text about? In general, text has a\n     *       lot of properties.\n     *\n     * @todo Make it work with IE9 and IE10.\n     *\n     * @requires modules/exporting\n     */\n    function inlineStyles() {\n        const denylist = inlineDenylist, allowlist = Exporting.inlineAllowlist, // For IE\n        defaultStyles = {};\n        let dummySVG;\n        // Create an iframe where we read default styles without pollution from\n        // this body\n        const iframe = doc.createElement('iframe');\n        css(iframe, {\n            width: '1px',\n            height: '1px',\n            visibility: 'hidden'\n        });\n        doc.body.appendChild(iframe);\n        const iframeDoc = (iframe.contentWindow && iframe.contentWindow.document);\n        if (iframeDoc) {\n            iframeDoc.body.appendChild(iframeDoc.createElementNS(SVG_NS, 'svg'));\n        }\n        /**\n         * Call this on all elements and recurse to children\n         * @private\n         * @param {Highcharts.HTMLDOMElement} node\n         *        Element child\n             */\n        function recurse(node) {\n            const filteredStyles = {};\n            let styles, parentStyles, dummy, denylisted, allowlisted, i;\n            /**\n             * Check computed styles and whether they are in the allow/denylist\n             * for styles or attributes.\n             * @private\n             * @param {string} val\n             *        Style value\n             * @param {string} prop\n             *        Style property name\n                     */\n            function filterStyles(val, prop) {\n                // Check against allowlist & denylist\n                denylisted = allowlisted = false;\n                if (allowlist.length) {\n                    // Styled mode in IE has a allowlist instead. Exclude all\n                    // props not in this list.\n                    i = allowlist.length;\n                    while (i-- && !allowlisted) {\n                        allowlisted = allowlist[i].test(prop);\n                    }\n                    denylisted = !allowlisted;\n                }\n                // Explicitly remove empty transforms\n                if (prop === 'transform' && val === 'none') {\n                    denylisted = true;\n                }\n                i = denylist.length;\n                while (i-- && !denylisted) {\n                    if (prop.length > 1000 /* RegexLimits.shortLimit */) {\n                        throw new Error('Input too long');\n                    }\n                    denylisted = (denylist[i].test(prop) ||\n                        typeof val === 'function');\n                }\n                if (!denylisted) {\n                    // If parent node has the same style, it gets inherited, no\n                    // need to inline it. Top-level props should be diffed\n                    // against parent (#7687).\n                    if ((parentStyles[prop] !== val ||\n                        node.nodeName === 'svg') &&\n                        defaultStyles[node.nodeName][prop] !== val) {\n                        // Attributes\n                        if (!inlineToAttributes ||\n                            inlineToAttributes.indexOf(prop) !== -1) {\n                            if (val) {\n                                node.setAttribute(hyphenate(prop), val);\n                            }\n                            // Styles\n                        }\n                        else {\n                            filteredStyles[prop] = val;\n                        }\n                    }\n                }\n            }\n            if (iframeDoc &&\n                node.nodeType === 1 &&\n                unstyledElements.indexOf(node.nodeName) === -1) {\n                styles = Exporting_win.getComputedStyle(node, null);\n                parentStyles = node.nodeName === 'svg' ?\n                    {} :\n                    Exporting_win.getComputedStyle(node.parentNode, null);\n                // Get default styles from the browser so that we don't have to\n                // add these\n                if (!defaultStyles[node.nodeName]) {\n                    /*\n                    If (!dummySVG) {\n                        dummySVG = doc.createElementNS(H.SVG_NS, 'svg');\n                        dummySVG.setAttribute('version', '1.1');\n                        doc.body.appendChild(dummySVG);\n                    }\n                    */\n                    dummySVG = iframeDoc.getElementsByTagName('svg')[0];\n                    dummy = iframeDoc.createElementNS(node.namespaceURI, node.nodeName);\n                    dummySVG.appendChild(dummy);\n                    // Get the defaults into a standard object (simple merge\n                    // won't do)\n                    const s = Exporting_win.getComputedStyle(dummy, null), defaults = {};\n                    for (const key in s) {\n                        if (key.length < 1000 /* RegexLimits.shortLimit */ &&\n                            typeof s[key] === 'string' &&\n                            !/^\\d+$/.test(key)) {\n                            defaults[key] = s[key];\n                        }\n                    }\n                    defaultStyles[node.nodeName] = defaults;\n                    // Remove default fill, otherwise text disappears when\n                    // exported\n                    if (node.nodeName === 'text') {\n                        delete defaultStyles.text.fill;\n                    }\n                    dummySVG.removeChild(dummy);\n                }\n                // Loop through all styles and add them inline if they are ok\n                for (const p in styles) {\n                    if (\n                    // Some browsers put lots of styles on the prototype...\n                    (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isFirefox ||\n                        (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isMS ||\n                        (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isSafari || // #16902\n                        // ... Chrome puts them on the instance\n                        Object.hasOwnProperty.call(styles, p)) {\n                        filterStyles(styles[p], p);\n                    }\n                }\n                // Apply styles\n                css(node, filteredStyles);\n                // Set default stroke width (needed at least for IE)\n                if (node.nodeName === 'svg') {\n                    node.setAttribute('stroke-width', '1px');\n                }\n                if (node.nodeName === 'text') {\n                    return;\n                }\n                // Recurse\n                [].forEach.call(node.children || node.childNodes, recurse);\n            }\n        }\n        /**\n         * Remove the dummy objects used to get defaults\n         * @private\n         */\n        function tearDown() {\n            dummySVG.parentNode.removeChild(dummySVG);\n            // Remove trash from DOM that stayed after each exporting\n            iframe.parentNode.removeChild(iframe);\n        }\n        recurse(this.container.querySelector('svg'));\n        tearDown();\n    }\n    /**\n     * Move the chart container(s) to another div.\n     *\n     * @function Highcharts#moveContainers\n     *\n     * @private\n     *\n     * @param {Highcharts.HTMLDOMElement} moveTo\n     *        Move target\n     */\n    function moveContainers(moveTo) {\n        const { scrollablePlotArea } = this;\n        (\n        // When scrollablePlotArea is active (#9533)\n        scrollablePlotArea ?\n            [\n                scrollablePlotArea.fixedDiv,\n                scrollablePlotArea.scrollingContainer\n            ] :\n            [this.container]).forEach(function (div) {\n            moveTo.appendChild(div);\n        });\n    }\n    /**\n     * Add update methods to handle chart.update and chart.exporting.update and\n     * chart.navigation.update. These must be added to the chart instance rather\n     * than the Chart prototype in order to use the chart instance inside the\n     * update function.\n     * @private\n     */\n    function onChartInit() {\n        const chart = this, \n        /**\n         * @private\n         * @param {\"exporting\"|\"navigation\"} prop\n         *        Property name in option root\n         * @param {Highcharts.ExportingOptions|Highcharts.NavigationOptions} options\n         *        Options to update\n         * @param {boolean} [redraw=true]\n         *        Whether to redraw\n                 */\n        update = (prop, options, redraw) => {\n            chart.isDirtyExporting = true;\n            merge(true, chart.options[prop], options);\n            if (pick(redraw, true)) {\n                chart.redraw();\n            }\n        };\n        chart.exporting = {\n            update: function (options, redraw) {\n                update('exporting', options, redraw);\n            }\n        };\n        // Register update() method for navigation. Cannot be set the same way\n        // as for exporting, because navigation options are shared with bindings\n        // which has separate update() logic.\n        Chart_ChartNavigationComposition\n            .compose(chart).navigation\n            .addUpdate((options, redraw) => {\n            update('navigation', options, redraw);\n        });\n    }\n    /**\n     * On layout of titles (title, subtitle and caption), adjust the `alignTo``\n     * box to avoid the context menu button.\n     * @private\n     */\n    function onChartLayOutTitle({ alignTo, key, textPxLength }) {\n        const exportingOptions = this.options.exporting, { align, buttonSpacing = 0, verticalAlign, width = 0 } = merge(this.options.navigation?.buttonOptions, exportingOptions?.buttons?.contextButton), space = alignTo.width - textPxLength, widthAdjust = width + buttonSpacing;\n        if ((exportingOptions?.enabled ?? true) &&\n            key === 'title' &&\n            align === 'right' &&\n            verticalAlign === 'top') {\n            if (space < 2 * widthAdjust) {\n                if (space < widthAdjust) {\n                    alignTo.width -= widthAdjust;\n                }\n                else if (this.title?.alignValue !== 'left') {\n                    alignTo.x -= widthAdjust - space / 2;\n                }\n            }\n        }\n    }\n    /**\n     * Exporting module required. Clears away other elements in the page and\n     * prints the chart as it is displayed. By default, when the exporting\n     * module is enabled, a context button with a drop down menu in the upper\n     * right corner accesses this function.\n     *\n     * @sample highcharts/members/chart-print/\n     *         Print from a HTML button\n     *\n     * @function Highcharts.Chart#print\n     *\n     *\n     * @emits Highcharts.Chart#event:beforePrint\n     * @emits Highcharts.Chart#event:afterPrint\n     *\n     * @requires modules/exporting\n     */\n    function print() {\n        const chart = this;\n        if (chart.isPrinting) { // Block the button while in printing mode\n            return;\n        }\n        printingChart = chart;\n        if (!(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isSafari) {\n            chart.beforePrint();\n        }\n        // Give the browser time to draw WebGL content, an issue that randomly\n        // appears (at least) in Chrome ~67 on the Mac (#8708).\n        setTimeout(() => {\n            Exporting_win.focus(); // #1510\n            Exporting_win.print();\n            // Allow the browser to prepare before reverting\n            if (!(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isSafari) {\n                setTimeout(() => {\n                    chart.afterPrint();\n                }, 1000);\n            }\n        }, 1);\n    }\n    /**\n     * Add the buttons on chart load\n     * @private\n     * @function Highcharts.Chart#renderExporting\n     * @requires modules/exporting\n     */\n    function renderExporting() {\n        const chart = this, exportingOptions = chart.options.exporting, buttons = exportingOptions.buttons, isDirty = chart.isDirtyExporting || !chart.exportSVGElements;\n        chart.buttonOffset = 0;\n        if (chart.isDirtyExporting) {\n            chart.destroyExport();\n        }\n        if (isDirty && exportingOptions.enabled !== false) {\n            chart.exportEvents = [];\n            chart.exportingGroup = chart.exportingGroup ||\n                chart.renderer.g('exporting-group').attr({\n                    zIndex: 3 // #4955, // #8392\n                }).add();\n            Exporting_objectEach(buttons, function (button) {\n                chart.addButton(button);\n            });\n            chart.isDirtyExporting = false;\n        }\n    }\n    /**\n     * Exporting module only. A collection of fixes on the produced SVG to\n     * account for expand properties, browser bugs.\n     * Returns a cleaned SVG.\n     *\n     * @private\n     * @function Highcharts.Chart#sanitizeSVG\n     * @param {string} svg\n     *        SVG code to sanitize\n     * @param {Highcharts.Options} options\n     *        Chart options to apply\n     * @return {string}\n     *         Sanitized SVG code\n     * @requires modules/exporting\n     */\n    function sanitizeSVG(svg, options) {\n        const split = svg.indexOf('</svg>') + 6;\n        let html = svg.substr(split);\n        // Remove any HTML added to the container after the SVG (#894, #9087)\n        svg = svg.substr(0, split);\n        // Move HTML into a foreignObject\n        if (options && options.exporting && options.exporting.allowHTML) {\n            if (html) {\n                html = '<foreignObject x=\"0\" y=\"0\" ' +\n                    'width=\"' + options.chart.width + '\" ' +\n                    'height=\"' + options.chart.height + '\">' +\n                    '<body xmlns=\"http://www.w3.org/1999/xhtml\">' +\n                    // Some tags needs to be closed in xhtml (#13726)\n                    html.replace(/(<(?:img|br).*?(?=\\>))>/g, '$1 />') +\n                    '</body>' +\n                    '</foreignObject>';\n                svg = svg.replace('</svg>', html + '</svg>');\n            }\n        }\n        svg = svg\n            .replace(/zIndex=\"[^\"]+\"/g, '')\n            .replace(/symbolName=\"[^\"]+\"/g, '')\n            .replace(/jQuery\\d+=\"[^\"]+\"/g, '')\n            .replace(/url\\((\"|&quot;)(.*?)(\"|&quot;)\\;?\\)/g, 'url($2)')\n            .replace(/url\\([^#]+#/g, 'url(#')\n            .replace(/<svg /, '<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" ')\n            .replace(/ (NS\\d+\\:)?href=/g, ' xlink:href=') // #3567\n            .replace(/\\n+/g, ' ')\n            // Batik doesn't support rgba fills and strokes (#3095)\n            .replace(/(fill|stroke)=\"rgba\\(([ \\d]+,[ \\d]+,[ \\d]+),([ \\d\\.]+)\\)\"/g, // eslint-disable-line max-len\n        '$1=\"rgb($2)\" $1-opacity=\"$3\"')\n            // Replace HTML entities, issue #347\n            .replace(/&nbsp;/g, '\\u00A0') // No-break space\n            .replace(/&shy;/g, '\\u00AD'); // Soft hyphen\n        return svg;\n    }\n})(Exporting || (Exporting = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Exporting_Exporting = (Exporting);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Gets fired after a chart is printed through the context menu item or the\n * Chart.print method.\n *\n * @callback Highcharts.ExportingAfterPrintCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Gets fired before a chart is printed through the context menu item or the\n * Chart.print method.\n *\n * @callback Highcharts.ExportingBeforePrintCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Function to call if the offline-exporting module fails to export a chart on\n * the client side.\n *\n * @callback Highcharts.ExportingErrorCallbackFunction\n *\n * @param {Highcharts.ExportingOptions} options\n *        The exporting options.\n *\n * @param {global.Error} err\n *        The error from the module.\n */\n/**\n * Definition for a menu item in the context menu.\n *\n * @interface Highcharts.ExportingMenuObject\n */ /**\n* The text for the menu item.\n*\n* @name Highcharts.ExportingMenuObject#text\n* @type {string|undefined}\n*/ /**\n* If internationalization is required, the key to a language string.\n*\n* @name Highcharts.ExportingMenuObject#textKey\n* @type {string|undefined}\n*/ /**\n* The click handler for the menu item.\n*\n* @name Highcharts.ExportingMenuObject#onclick\n* @type {Highcharts.EventCallbackFunction<Highcharts.Chart>|undefined}\n*/ /**\n* Indicates a separator line instead of an item.\n*\n* @name Highcharts.ExportingMenuObject#separator\n* @type {boolean|undefined}\n*/\n/**\n * Possible MIME types for exporting.\n *\n * @typedef {\"image/png\"|\"image/jpeg\"|\"application/pdf\"|\"image/svg+xml\"} Highcharts.ExportingMimeTypeValue\n */\n(''); // Keeps doclets above in transpiled file\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Fires after a chart is printed through the context menu item or the\n * `Chart.print` method.\n *\n * @sample highcharts/chart/events-beforeprint-afterprint/\n *         Rescale the chart to print\n *\n * @type      {Highcharts.ExportingAfterPrintCallbackFunction}\n * @since     4.1.0\n * @context   Highcharts.Chart\n * @requires  modules/exporting\n * @apioption chart.events.afterPrint\n */\n/**\n * Fires before a chart is printed through the context menu item or\n * the `Chart.print` method.\n *\n * @sample highcharts/chart/events-beforeprint-afterprint/\n *         Rescale the chart to print\n *\n * @type      {Highcharts.ExportingBeforePrintCallbackFunction}\n * @since     4.1.0\n * @context   Highcharts.Chart\n * @requires  modules/exporting\n * @apioption chart.events.beforePrint\n */\n(''); // Keeps doclets above in transpiled file\n\n;// ./code/es-modules/masters/modules/exporting.src.js\n\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nG.HttpUtilities = G.HttpUtilities || Core_HttpUtilities;\nG.ajax = G.HttpUtilities.ajax;\nG.getJSON = G.HttpUtilities.getJSON;\nG.post = G.HttpUtilities.post;\nExporting_Exporting.compose(G.Chart, G.Renderer);\n/* harmony default export */ const exporting_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/offline-exporting\n * @requires highcharts\n * @requires highcharts/modules/exporting\n *\n * Client side exporting module\n *\n * (c) 2015-2024 Torstein Honsi / Oystein Moseng\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"AST\"], root[\"_Highcharts\"][\"Chart\"], root[\"_Highcharts\"][\"HttpUtilities\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/offline-exporting\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"AST\"],amd1[\"Chart\"],amd1[\"HttpUtilities\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/offline-exporting\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"AST\"], root[\"_Highcharts\"][\"Chart\"], root[\"_Highcharts\"][\"HttpUtilities\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"AST\"], root[\"Highcharts\"][\"Chart\"], root[\"Highcharts\"][\"HttpUtilities\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__660__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__156__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 660:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__660__;\n\n/***/ }),\n\n/***/ 960:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__960__;\n\n/***/ }),\n\n/***/ 156:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__156__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ offline_exporting_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n;// ./code/es-modules/Extensions/DownloadURL.js\n/* *\n *\n *  (c) 2015-2024 Oystein Moseng\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n *  Mixin for downloading content in the browser\n *\n * */\n\n/* *\n *\n *  Imports\n *\n * */\n\nconst { isSafari, win, win: { document: doc } } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\nconst domurl = win.URL || win.webkitURL || win;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Convert base64 dataURL to Blob if supported, otherwise returns undefined.\n * @private\n * @function Highcharts.dataURLtoBlob\n * @param {string} dataURL\n *        URL to convert\n * @return {string|undefined}\n *         Blob\n */\nfunction dataURLtoBlob(dataURL) {\n    const parts = dataURL\n        .replace(/filename=.*;/, '')\n        .match(/data:([^;]*)(;base64)?,([A-Z+\\d\\/]+)/i);\n    if (parts &&\n        parts.length > 3 &&\n        (win.atob) &&\n        win.ArrayBuffer &&\n        win.Uint8Array &&\n        win.Blob &&\n        (domurl.createObjectURL)) {\n        // Try to convert data URL to Blob\n        const binStr = win.atob(parts[3]), buf = new win.ArrayBuffer(binStr.length), binary = new win.Uint8Array(buf);\n        for (let i = 0; i < binary.length; ++i) {\n            binary[i] = binStr.charCodeAt(i);\n        }\n        return domurl\n            .createObjectURL(new win.Blob([binary], { 'type': parts[1] }));\n    }\n}\n/**\n * Download a data URL in the browser. Can also take a blob as first param.\n *\n * @private\n * @function Highcharts.downloadURL\n * @param {string|global.URL} dataURL\n *        The dataURL/Blob to download\n * @param {string} filename\n *        The name of the resulting file (w/extension)\n * @return {void}\n */\nfunction downloadURL(dataURL, filename) {\n    const nav = win.navigator, a = doc.createElement('a');\n    // IE specific blob implementation\n    // Don't use for normal dataURLs\n    if (typeof dataURL !== 'string' &&\n        !(dataURL instanceof String) &&\n        nav.msSaveOrOpenBlob) {\n        nav.msSaveOrOpenBlob(dataURL, filename);\n        return;\n    }\n    dataURL = '' + dataURL;\n    if (nav.userAgent.length > 1000 /* RegexLimits.shortLimit */) {\n        throw new Error('Input too long');\n    }\n    const // Some browsers have limitations for data URL lengths. Try to convert\n    // to Blob or fall back. Edge always needs that blob.\n    isOldEdgeBrowser = /Edge\\/\\d+/.test(nav.userAgent), \n    // Safari on iOS needs Blob in order to download PDF\n    safariBlob = (isSafari &&\n        typeof dataURL === 'string' &&\n        dataURL.indexOf('data:application/pdf') === 0);\n    if (safariBlob || isOldEdgeBrowser || dataURL.length > 2000000) {\n        dataURL = dataURLtoBlob(dataURL) || '';\n        if (!dataURL) {\n            throw new Error('Failed to convert to blob');\n        }\n    }\n    // Try HTML5 download attr if supported\n    if (typeof a.download !== 'undefined') {\n        a.href = dataURL;\n        a.download = filename; // HTML5 download attribute\n        doc.body.appendChild(a);\n        a.click();\n        doc.body.removeChild(a);\n    }\n    else {\n        // No download attr, just opening data URI\n        try {\n            if (!win.open(dataURL, 'chart')) {\n                throw new Error('Failed to open window');\n            }\n        }\n        catch {\n            // If window.open failed, try location.href\n            win.location.href = dataURL;\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst DownloadURL = {\n    dataURLtoBlob,\n    downloadURL\n};\n/* harmony default export */ const Extensions_DownloadURL = (DownloadURL);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"AST\"],\"commonjs\":[\"highcharts\",\"AST\"],\"commonjs2\":[\"highcharts\",\"AST\"],\"root\":[\"Highcharts\",\"AST\"]}\nvar highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_ = __webpack_require__(660);\nvar highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default = /*#__PURE__*/__webpack_require__.n(highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Chart\"],\"commonjs\":[\"highcharts\",\"Chart\"],\"commonjs2\":[\"highcharts\",\"Chart\"],\"root\":[\"Highcharts\",\"Chart\"]}\nvar highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_ = __webpack_require__(960);\n;// ./code/es-modules/Core/Chart/ChartNavigationComposition.js\n/**\n *\n *  (c) 2010-2024 Paweł Fus\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Composition\n *\n * */\nvar ChartNavigationComposition;\n(function (ChartNavigationComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    function compose(chart) {\n        if (!chart.navigation) {\n            chart.navigation = new Additions(chart);\n        }\n        return chart;\n    }\n    ChartNavigationComposition.compose = compose;\n    /* *\n     *\n     *  Class\n     *\n     * */\n    /**\n     * Initializes `chart.navigation` object which delegates `update()` methods\n     * to all other common classes (used in exporting and navigationBindings).\n     * @private\n     */\n    class Additions {\n        /* *\n         *\n         *  Constructor\n         *\n         * */\n        constructor(chart) {\n            this.updates = [];\n            this.chart = chart;\n        }\n        /* *\n         *\n         *  Functions\n         *\n         * */\n        /**\n         * Registers an `update()` method in the `chart.navigation` object.\n         *\n         * @private\n         * @param {UpdateFunction} updateFn\n         * The `update()` method that will be called in `chart.update()`.\n         */\n        addUpdate(updateFn) {\n            this.chart.navigation.updates.push(updateFn);\n        }\n        /**\n         * @private\n         */\n        update(options, redraw) {\n            this.updates.forEach((updateFn) => {\n                updateFn.call(this.chart, options, redraw);\n            });\n        }\n    }\n    ChartNavigationComposition.Additions = Additions;\n})(ChartNavigationComposition || (ChartNavigationComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Chart_ChartNavigationComposition = (ChartNavigationComposition);\n\n;// ./code/es-modules/Extensions/Exporting/ExportingDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { isTouchDevice } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  API Options\n *\n * */\n// Add the export related options\n/**\n * Options for the exporting module. For an overview on the matter, see\n * [the docs](https://www.highcharts.com/docs/export-module/export-module-overview) and\n * read our [Fair Usage Policy](https://www.highcharts.com/docs/export-module/privacy-disclaimer-export).\n *\n * @requires     modules/exporting\n * @optionparent exporting\n */\nconst exporting = {\n    /**\n     * Experimental setting to allow HTML inside the chart (added through\n     * the `useHTML` options), directly in the exported image. This allows\n     * you to preserve complicated HTML structures like tables or bi-directional\n     * text in exported charts.\n     *\n     * Disclaimer: The HTML is rendered in a `foreignObject` tag in the\n     * generated SVG. The official export server is based on PhantomJS,\n     * which supports this, but other SVG clients, like Batik, does not\n     * support it. This also applies to downloaded SVG that you want to\n     * open in a desktop client.\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     4.1.8\n     * @apioption exporting.allowHTML\n     */\n    /**\n     * Allows the end user to sort the data table by clicking on column headers.\n     *\n     * @since 10.3.3\n     * @apioption exporting.allowTableSorting\n     */\n    allowTableSorting: true,\n    /**\n     * Allow exporting a chart retaining any user-applied CSS.\n     *\n     * Note that this is is default behavior in [styledMode](#chart.styledMode).\n     *\n     * @see [styledMode](#chart.styledMode)\n     *\n     * @sample {highcharts} highcharts/exporting/apply-stylesheets/\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since 12.0.0\n     * @apioption exporting.applyStyleSheets\n     */\n    /**\n     * Additional chart options to be merged into the chart before exporting to\n     * an image format. This does not apply to printing the chart via the export\n     * menu.\n     *\n     * For example, a common use case is to add data labels to improve\n     * readability of the exported chart, or to add a printer-friendly color\n     * scheme to exported PDFs.\n     *\n     * @sample {highcharts} highcharts/exporting/chartoptions-data-labels/\n     *         Added data labels\n     * @sample {highstock} highcharts/exporting/chartoptions-data-labels/\n     *         Added data labels\n     *\n     * @type      {Highcharts.Options}\n     * @apioption exporting.chartOptions\n     */\n    /**\n     * Whether to enable the exporting module. Disabling the module will\n     * hide the context button, but API methods will still be available.\n     *\n     * @sample {highcharts} highcharts/exporting/enabled-false/\n     *         Exporting module is loaded but disabled\n     * @sample {highstock} highcharts/exporting/enabled-false/\n     *         Exporting module is loaded but disabled\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     2.0\n     * @apioption exporting.enabled\n     */\n    /**\n     * Function to call if the offline-exporting module fails to export\n     * a chart on the client side, and [fallbackToExportServer](\n     * #exporting.fallbackToExportServer) is disabled. If left undefined, an\n     * exception is thrown instead. Receives two parameters, the exporting\n     * options, and the error from the module.\n     *\n     * @see [fallbackToExportServer](#exporting.fallbackToExportServer)\n     *\n     * @type      {Highcharts.ExportingErrorCallbackFunction}\n     * @since     5.0.0\n     * @requires  modules/exporting\n     * @requires  modules/offline-exporting\n     * @apioption exporting.error\n     */\n    /**\n     * Whether or not to fall back to the export server if the offline-exporting\n     * module is unable to export the chart on the client side. This happens for\n     * certain browsers, and certain features (e.g.\n     * [allowHTML](#exporting.allowHTML)), depending on the image type exporting\n     * to. For very complex charts, it is possible that export can fail in\n     * browsers that don't support Blob objects, due to data URL length limits.\n     * It is recommended to define the [exporting.error](#exporting.error)\n     * handler if disabling fallback, in order to notify users in case export\n     * fails.\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     4.1.8\n     * @requires  modules/exporting\n     * @requires  modules/offline-exporting\n     * @apioption exporting.fallbackToExportServer\n     */\n    /**\n     * The filename, without extension, to use for the exported chart.\n     *\n     * @sample {highcharts} highcharts/exporting/filename/\n     *         Custom file name\n     * @sample {highstock} highcharts/exporting/filename/\n     *         Custom file name\n     *\n     * @type      {string}\n     * @default   chart\n     * @since     2.0\n     * @apioption exporting.filename\n     */\n    /**\n     * Highcharts v11.2.0 and older. An object containing additional key value\n     * data for the POST form that sends the SVG to the export server. For\n     * example, a `target` can be set to make sure the generated image is\n     * received in another frame, or a custom `enctype` or `encoding` can be\n     * set.\n     *\n     * With Highcharts v11.3.0, the `fetch` API replaced the old HTML form. To\n     * modify the request, now use [fetchOptions](#exporting.fetchOptions)\n     * instead.\n     *\n     * @deprecated\n     * @type      {Highcharts.HTMLAttributes}\n     * @since     3.0.8\n     * @apioption exporting.formAttributes\n     */\n    /**\n     * Options for the fetch request used when sending the SVG to the export\n     * server.\n     *\n     * See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/fetch)\n     * for more information\n     *\n     * @type {Object}\n     * @since 11.3.0\n     * @apioption exporting.fetchOptions\n     */\n    /**\n     * Path where Highcharts will look for export module dependencies to\n     * load on demand if they don't already exist on `window`. Should currently\n     * point to location of [CanVG](https://github.com/canvg/canvg) library,\n     * [jsPDF](https://github.com/parallax/jsPDF) and\n     * [svg2pdf.js](https://github.com/yWorks/svg2pdf.js), required for client\n     * side export in certain browsers.\n     *\n     * @type      {string}\n     * @default   https://code.highcharts.com/{version}/lib\n     * @since     5.0.0\n     * @apioption exporting.libURL\n     */\n    /**\n     * Analogous to [sourceWidth](#exporting.sourceWidth).\n     *\n     * @type      {number}\n     * @since     3.0\n     * @apioption exporting.sourceHeight\n     */\n    /**\n     * The width of the original chart when exported, unless an explicit\n     * [chart.width](#chart.width) is set, or a pixel width is set on the\n     * container. The width exported raster image is then multiplied by\n     * [scale](#exporting.scale).\n     *\n     * @sample {highcharts} highcharts/exporting/sourcewidth/\n     *         Source size demo\n     * @sample {highstock} highcharts/exporting/sourcewidth/\n     *         Source size demo\n     * @sample {highmaps} maps/exporting/sourcewidth/\n     *         Source size demo\n     *\n     * @type      {number}\n     * @since     3.0\n     * @apioption exporting.sourceWidth\n     */\n    /**\n     * The pixel width of charts exported to PNG or JPG. As of Highcharts\n     * 3.0, the default pixel width is a function of the [chart.width](\n     * #chart.width) or [exporting.sourceWidth](#exporting.sourceWidth) and the\n     * [exporting.scale](#exporting.scale).\n     *\n     * @sample {highcharts} highcharts/exporting/width/\n     *         Export to 200px wide images\n     * @sample {highstock} highcharts/exporting/width/\n     *         Export to 200px wide images\n     *\n     * @type      {number}\n     * @since     2.0\n     * @apioption exporting.width\n     */\n    /**\n     * Default MIME type for exporting if `chart.exportChart()` is called\n     * without specifying a `type` option. Possible values are `image/png`,\n     *  `image/jpeg`, `application/pdf` and `image/svg+xml`.\n     *\n     * @type  {Highcharts.ExportingMimeTypeValue}\n     * @since 2.0\n     */\n    type: 'image/png',\n    /**\n     * The URL for the server module converting the SVG string to an image\n     * format. By default this points to Highchart's free web service.\n     *\n     * @since 2.0\n     */\n    url: 'https://export-svg.highcharts.com/',\n    /**\n     * Settings for a custom font for the exported PDF, when using the\n     * `offline-exporting` module. This is used for languages containing\n     * non-ASCII characters, like Chinese, Russian, Japanese etc.\n     *\n     * As described in the [jsPDF\n     * docs](https://github.com/parallax/jsPDF#use-of-unicode-characters--utf-8),\n     * the 14 standard fonts in PDF are limited to the ASCII-codepage.\n     * Therefore, in order to support other text in the exported PDF, one or\n     * more TTF font files have to be passed on to the exporting module.\n     *\n     * See more in [the\n     * docs](https://www.highcharts.com/docs/export-module/client-side-export).\n     *\n     * @sample {highcharts} highcharts/exporting/offline-download-pdffont/\n     *         Download PDF in a language containing non-Latin characters.\n     *\n     * @since 10.0.0\n     * @requires modules/offline-exporting\n     */\n    pdfFont: {\n        /**\n         * The TTF font file for normal `font-style`. If font variations like\n         * `bold` or `italic` are not defined, the `normal` font will be used\n         * for those too.\n         *\n         * @type string|undefined\n         */\n        normal: void 0,\n        /**\n         * The TTF font file for bold text.\n         *\n         * @type string|undefined\n         */\n        bold: void 0,\n        /**\n         * The TTF font file for bold and italic text.\n         *\n         * @type string|undefined\n         */\n        bolditalic: void 0,\n        /**\n         * The TTF font file for italic text.\n         *\n         * @type string|undefined\n         */\n        italic: void 0\n    },\n    /**\n     * When printing the chart from the menu item in the burger menu, if\n     * the on-screen chart exceeds this width, it is resized. After printing\n     * or cancelled, it is restored. The default width makes the chart\n     * fit into typical paper format. Note that this does not affect the\n     * chart when printing the web page as a whole.\n     *\n     * @since 4.2.5\n     */\n    printMaxWidth: 780,\n    /**\n     * Defines the scale or zoom factor for the exported image compared\n     * to the on-screen display. While for instance a 600px wide chart\n     * may look good on a website, it will look bad in print. The default\n     * scale of 2 makes this chart export to a 1200px PNG or JPG.\n     *\n     * @see [chart.width](#chart.width)\n     * @see [exporting.sourceWidth](#exporting.sourceWidth)\n     *\n     * @sample {highcharts} highcharts/exporting/scale/\n     *         Scale demonstrated\n     * @sample {highstock} highcharts/exporting/scale/\n     *         Scale demonstrated\n     * @sample {highmaps} maps/exporting/scale/\n     *         Scale demonstrated\n     *\n     * @since 3.0\n     */\n    scale: 2,\n    /**\n     * Options for the export related buttons, print and export. In addition\n     * to the default buttons listed here, custom buttons can be added.\n     * See [navigation.buttonOptions](#navigation.buttonOptions) for general\n     * options.\n     *\n     * @type     {Highcharts.Dictionary<*>}\n     * @requires modules/exporting\n     */\n    buttons: {\n        /**\n         * Options for the export button.\n         *\n         * In styled mode, export button styles can be applied with the\n         * `.highcharts-contextbutton` class.\n         *\n         * @declare  Highcharts.ExportingButtonsOptionsObject\n         * @extends  navigation.buttonOptions\n         * @requires modules/exporting\n         */\n        contextButton: {\n            /**\n             * A click handler callback to use on the button directly instead of\n             * the popup menu.\n             *\n             * @sample highcharts/exporting/buttons-contextbutton-onclick/\n             *         Skip the menu and export the chart directly\n             *\n             * @type      {Function}\n             * @since     2.0\n             * @apioption exporting.buttons.contextButton.onclick\n             */\n            /**\n             * See [navigation.buttonOptions.symbolFill](\n             * #navigation.buttonOptions.symbolFill).\n             *\n             * @type      {Highcharts.ColorString}\n             * @default   #666666\n             * @since     2.0\n             * @apioption exporting.buttons.contextButton.symbolFill\n             */\n            /**\n             * The horizontal position of the button relative to the `align`\n             * option.\n             *\n             * @type      {number}\n             * @default   -10\n             * @since     2.0\n             * @apioption exporting.buttons.contextButton.x\n             */\n            /**\n             * The class name of the context button.\n             */\n            className: 'highcharts-contextbutton',\n            /**\n             * The class name of the menu appearing from the button.\n             */\n            menuClassName: 'highcharts-contextmenu',\n            /**\n             * The symbol for the button. Points to a definition function in\n             * the `Highcharts.Renderer.symbols` collection. The default\n             * `menu` function is part of the exporting module. Possible\n             * values are \"circle\", \"square\", \"diamond\", \"triangle\",\n             * \"triangle-down\", \"menu\", \"menuball\" or custom shape.\n             *\n             * @sample highcharts/exporting/buttons-contextbutton-symbol/\n             *         Use a circle for symbol\n             * @sample highcharts/exporting/buttons-contextbutton-symbol-custom/\n             *         Custom shape as symbol\n             *\n             * @type  {Highcharts.SymbolKeyValue|\"menu\"|\"menuball\"|string}\n             * @since 2.0\n             */\n            symbol: 'menu',\n            /**\n             * The key to a [lang](#lang) option setting that is used for the\n             * button's title tooltip. When the key is `contextButtonTitle`, it\n             * refers to [lang.contextButtonTitle](#lang.contextButtonTitle)\n             * that defaults to \"Chart context menu\".\n             *\n             * @since 6.1.4\n             */\n            titleKey: 'contextButtonTitle',\n            /**\n             * A collection of strings pointing to config options for the menu\n             * items. The config options are defined in the\n             * `menuItemDefinitions` option.\n             *\n             * By default, there is the \"View in full screen\" and \"Print\" menu\n             * items, plus one menu item for each of the available export types.\n             *\n             * @sample {highcharts} highcharts/exporting/menuitemdefinitions/\n             *         Menu item definitions\n             * @sample {highstock} highcharts/exporting/menuitemdefinitions/\n             *         Menu item definitions\n             * @sample {highmaps} highcharts/exporting/menuitemdefinitions/\n             *         Menu item definitions\n             *\n             * @type    {Array<string>}\n             * @default [\"viewFullscreen\", \"printChart\", \"separator\", \"downloadPNG\", \"downloadJPEG\", \"downloadSVG\"]\n             * @since   2.0\n             */\n            menuItems: [\n                'viewFullscreen',\n                'printChart',\n                'separator',\n                'downloadPNG',\n                'downloadJPEG',\n                'downloadSVG'\n            ],\n            y: -5\n        }\n    },\n    /**\n     * An object consisting of definitions for the menu items in the context\n     * menu. Each key value pair has a `key` that is referenced in the\n     * [menuItems](#exporting.buttons.contextButton.menuItems) setting,\n     * and a `value`, which is an object with the following properties:\n     *\n     * - **onclick:** The click handler for the menu item\n     *\n     * - **text:** The text for the menu item\n     *\n     * - **textKey:** If internationalization is required, the key to a language\n     *   string\n     *\n     * Custom text for the \"exitFullScreen\" can be set only in lang options\n     * (it is not a separate button).\n     *\n     * @sample {highcharts} highcharts/exporting/menuitemdefinitions/\n     *         Menu item definitions\n     * @sample {highstock} highcharts/exporting/menuitemdefinitions/\n     *         Menu item definitions\n     * @sample {highmaps} highcharts/exporting/menuitemdefinitions/\n     *         Menu item definitions\n     *\n     *\n     * @type    {Highcharts.Dictionary<Highcharts.ExportingMenuObject>}\n     * @default {\"viewFullscreen\": {}, \"printChart\": {}, \"separator\": {}, \"downloadPNG\": {}, \"downloadJPEG\": {}, \"downloadPDF\": {}, \"downloadSVG\": {}}\n     * @since   5.0.13\n     */\n    menuItemDefinitions: {\n        /**\n         * @ignore\n         */\n        viewFullscreen: {\n            textKey: 'viewFullscreen',\n            onclick: function () {\n                if (this.fullscreen) {\n                    this.fullscreen.toggle();\n                }\n            }\n        },\n        /**\n         * @ignore\n         */\n        printChart: {\n            textKey: 'printChart',\n            onclick: function () {\n                this.print();\n            }\n        },\n        /**\n         * @ignore\n         */\n        separator: {\n            separator: true\n        },\n        /**\n         * @ignore\n         */\n        downloadPNG: {\n            textKey: 'downloadPNG',\n            onclick: function () {\n                this.exportChart();\n            }\n        },\n        /**\n         * @ignore\n         */\n        downloadJPEG: {\n            textKey: 'downloadJPEG',\n            onclick: function () {\n                this.exportChart({\n                    type: 'image/jpeg'\n                });\n            }\n        },\n        /**\n         * @ignore\n         */\n        downloadPDF: {\n            textKey: 'downloadPDF',\n            onclick: function () {\n                this.exportChart({\n                    type: 'application/pdf'\n                });\n            }\n        },\n        /**\n         * @ignore\n         */\n        downloadSVG: {\n            textKey: 'downloadSVG',\n            onclick: function () {\n                this.exportChart({\n                    type: 'image/svg+xml'\n                });\n            }\n        }\n    }\n};\n// Add language\n/**\n * @optionparent lang\n */\nconst lang = {\n    /**\n     * Exporting module only. The text for the menu item to view the chart\n     * in full screen.\n     *\n     * @since 8.0.1\n     */\n    viewFullscreen: 'View in full screen',\n    /**\n     * Exporting module only. The text for the menu item to exit the chart\n     * from full screen.\n     *\n     * @since 8.0.1\n     */\n    exitFullscreen: 'Exit from full screen',\n    /**\n     * Exporting module only. The text for the menu item to print the chart.\n     *\n     * @since    3.0.1\n     * @requires modules/exporting\n     */\n    printChart: 'Print chart',\n    /**\n     * Exporting module only. The text for the PNG download menu item.\n     *\n     * @since    2.0\n     * @requires modules/exporting\n     */\n    downloadPNG: 'Download PNG image',\n    /**\n     * Exporting module only. The text for the JPEG download menu item.\n     *\n     * @since    2.0\n     * @requires modules/exporting\n     */\n    downloadJPEG: 'Download JPEG image',\n    /**\n     * Exporting module only. The text for the PDF download menu item.\n     *\n     * @since    2.0\n     * @requires modules/exporting\n     */\n    downloadPDF: 'Download PDF document',\n    /**\n     * Exporting module only. The text for the SVG download menu item.\n     *\n     * @since    2.0\n     * @requires modules/exporting\n     */\n    downloadSVG: 'Download SVG vector image',\n    /**\n     * Exporting module menu. The tooltip title for the context menu holding\n     * print and export menu items.\n     *\n     * @since    3.0\n     * @requires modules/exporting\n     */\n    contextButtonTitle: 'Chart context menu'\n};\n/**\n * A collection of options for buttons and menus appearing in the exporting\n * module or in Stock Tools.\n *\n * @requires     modules/exporting\n * @optionparent navigation\n */\nconst navigation = {\n    /**\n     * A collection of options for buttons appearing in the exporting\n     * module.\n     *\n     * In styled mode, the buttons are styled with the\n     * `.highcharts-contextbutton` and `.highcharts-button-symbol` classes.\n     *\n     * @requires modules/exporting\n     */\n    buttonOptions: {\n        /**\n         * Whether to enable buttons.\n         *\n         * @sample highcharts/navigation/buttonoptions-enabled/\n         *         Exporting module loaded but buttons disabled\n         *\n         * @type      {boolean}\n         * @default   true\n         * @since     2.0\n         * @apioption navigation.buttonOptions.enabled\n         */\n        /**\n         * The pixel size of the symbol on the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        symbolSize: 14,\n        /**\n         * The x position of the center of the symbol inside the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        symbolX: 14.5,\n        /**\n         * The y position of the center of the symbol inside the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        symbolY: 13.5,\n        /**\n         * Alignment for the buttons.\n         *\n         * @sample highcharts/navigation/buttonoptions-align/\n         *         Center aligned\n         *\n         * @type  {Highcharts.AlignValue}\n         * @since 2.0\n         */\n        align: 'right',\n        /**\n         * The pixel spacing between buttons, and between the context button and\n         * the title.\n         *\n         * @sample highcharts/title/widthadjust\n         *         Adjust the spacing when using text button\n         * @since 2.0\n         */\n        buttonSpacing: 5,\n        /**\n         * Pixel height of the buttons.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        height: 28,\n        /**\n         * A text string to add to the individual button.\n         *\n         * @sample highcharts/exporting/buttons-text/\n         *         Full text button\n         * @sample highcharts/exporting/buttons-text-usehtml/\n         *         Icon using CSS font in text\n         * @sample highcharts/exporting/buttons-text-symbol/\n         *         Combined symbol and text\n         *\n         * @type      {string}\n         * @default   null\n         * @since     3.0\n         * @apioption navigation.buttonOptions.text\n         */\n        /**\n         * Whether to use HTML for rendering the button. HTML allows for things\n         * like inline CSS or image-based icons.\n         *\n         * @sample highcharts/exporting/buttons-text-usehtml/\n         *         Icon using CSS font in text\n         *\n         * @type      boolean\n         * @default   false\n         * @since 10.3.0\n         * @apioption navigation.buttonOptions.useHTML\n         */\n        /**\n         * The vertical offset of the button's position relative to its\n         * `verticalAlign`.\n         *\n         * @sample highcharts/navigation/buttonoptions-verticalalign/\n         *         Buttons at lower right\n         *\n         * @type      {number}\n         * @default   0\n         * @since     2.0\n         * @apioption navigation.buttonOptions.y\n         */\n        /**\n         * The vertical alignment of the buttons. Can be one of `\"top\"`,\n         * `\"middle\"` or `\"bottom\"`.\n         *\n         * @sample highcharts/navigation/buttonoptions-verticalalign/\n         *         Buttons at lower right\n         *\n         * @type  {Highcharts.VerticalAlignValue}\n         * @since 2.0\n         */\n        verticalAlign: 'top',\n        /**\n         * The pixel width of the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        width: 28,\n        /**\n         * Fill color for the symbol within the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-symbolfill/\n         *         Blue symbol stroke for one of the buttons\n         *\n         * @type  {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @since 2.0\n         */\n        symbolFill: \"#666666\" /* Palette.neutralColor60 */,\n        /**\n         * The color of the symbol's stroke or line.\n         *\n         * @sample highcharts/navigation/buttonoptions-symbolstroke/\n         *         Blue symbol stroke\n         *\n         * @type  {Highcharts.ColorString}\n         * @since 2.0\n         */\n        symbolStroke: \"#666666\" /* Palette.neutralColor60 */,\n        /**\n         * The pixel stroke width of the symbol on the button.\n         *\n         * @sample highcharts/navigation/buttonoptions-height/\n         *         Bigger buttons\n         *\n         * @since 2.0\n         */\n        symbolStrokeWidth: 3,\n        /**\n         * A configuration object for the button theme. The object accepts\n         * SVG properties like `stroke-width`, `stroke` and `fill`.\n         * Tri-state button styles are supported by the `states.hover` and\n         * `states.select` objects.\n         *\n         * @sample highcharts/navigation/buttonoptions-theme/\n         *         Theming the buttons\n         *\n         * @requires modules/exporting\n         *\n         * @since 3.0\n         */\n        theme: {\n            /**\n             * The default fill exists only to capture hover events.\n             *\n             * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             */\n            fill: \"#ffffff\" /* Palette.backgroundColor */,\n            /**\n             * Padding for the button.\n             */\n            padding: 5,\n            /**\n             * Default stroke for the buttons.\n             *\n             * @type      {Highcharts.ColorString}\n             */\n            stroke: 'none',\n            /**\n             * Default stroke linecap for the buttons.\n             */\n            'stroke-linecap': 'round'\n        }\n    },\n    /**\n     * CSS styles for the popup menu appearing by default when the export\n     * icon is clicked. This menu is rendered in HTML.\n     *\n     * @see In styled mode, the menu is styled with the `.highcharts-menu`\n     *      class.\n     *\n     * @sample highcharts/navigation/menustyle/\n     *         Light gray menu background\n     *\n     * @type    {Highcharts.CSSObject}\n     * @default {\"background\": \"#ffffff\", \"borderRadius\": \"3px\", \"padding\": \"0.5em\"}\n     * @since   2.0\n     */\n    menuStyle: {\n        /** @ignore-option */\n        border: 'none',\n        /** @ignore-option */\n        borderRadius: '3px',\n        /** @ignore-option */\n        background: \"#ffffff\" /* Palette.backgroundColor */,\n        /** @ignore-option */\n        padding: '0.5em'\n    },\n    /**\n     * CSS styles for the individual items within the popup menu appearing\n     * by default when the export icon is clicked. The menu items are\n     * rendered in HTML. Font size defaults to `11px` on desktop and `14px`\n     * on touch devices.\n     *\n     * @see In styled mode, the menu items are styled with the\n     *      `.highcharts-menu-item` class.\n     *\n     * @sample {highcharts} highcharts/navigation/menuitemstyle/\n     *         Add a grey stripe to the left\n     *\n     * @type    {Highcharts.CSSObject}\n     * @default {\"padding\": \"0.5em\", \"color\": \"#333333\", \"background\": \"none\", \"borderRadius\": \"3px\", \"fontSize\": \"0.8em\", \"transition\": \"background 250ms, color 250ms\"}\n     * @since   2.0\n     */\n    menuItemStyle: {\n        /** @ignore-option */\n        background: 'none',\n        /** @ignore-option */\n        borderRadius: '3px',\n        /** @ignore-option */\n        color: \"#333333\" /* Palette.neutralColor80 */,\n        /** @ignore-option */\n        padding: '0.5em',\n        /** @ignore-option */\n        fontSize: isTouchDevice ? '0.9em' : '0.8em',\n        /** @ignore-option */\n        transition: 'background 250ms, color 250ms'\n    },\n    /**\n     * CSS styles for the hover state of the individual items within the\n     * popup menu appearing by default when the export icon is clicked. The\n     * menu items are rendered in HTML.\n     *\n     * @see In styled mode, the menu items are styled with the\n     *      `.highcharts-menu-item` class.\n     *\n     * @sample highcharts/navigation/menuitemhoverstyle/\n     *         Bold text on hover\n     *\n     * @type    {Highcharts.CSSObject}\n     * @default {\"background\": \"#f2f2f2\" }\n     * @since   2.0\n     */\n    menuItemHoverStyle: {\n        /** @ignore-option */\n        background: \"#f2f2f2\" /* Palette.neutralColor5 */\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\nconst ExportingDefaults = {\n    exporting,\n    lang,\n    navigation\n};\n/* harmony default export */ const Exporting_ExportingDefaults = (ExportingDefaults);\n\n;// ./code/es-modules/Extensions/Exporting/ExportingSymbols.js\n/* *\n *\n *  Exporting module\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Composition\n *\n * */\nvar ExportingSymbols;\n(function (ExportingSymbols) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    const modifiedClasses = [];\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    function compose(SVGRendererClass) {\n        if (modifiedClasses.indexOf(SVGRendererClass) === -1) {\n            modifiedClasses.push(SVGRendererClass);\n            const symbols = SVGRendererClass.prototype.symbols;\n            symbols.menu = menu;\n            symbols.menuball = menuball.bind(symbols);\n        }\n    }\n    ExportingSymbols.compose = compose;\n    /**\n     * @private\n     */\n    function menu(x, y, width, height) {\n        const arr = [\n            ['M', x, y + 2.5],\n            ['L', x + width, y + 2.5],\n            ['M', x, y + height / 2 + 0.5],\n            ['L', x + width, y + height / 2 + 0.5],\n            ['M', x, y + height - 1.5],\n            ['L', x + width, y + height - 1.5]\n        ];\n        return arr;\n    }\n    /**\n     * @private\n     */\n    function menuball(x, y, width, height) {\n        const h = (height / 3) - 2;\n        let path = [];\n        path = path.concat(this.circle(width - h, y, h, h), this.circle(width - h, y + h + 4, h, h), this.circle(width - h, y + 2 * (h + 4), h, h));\n        return path;\n    }\n})(ExportingSymbols || (ExportingSymbols = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Exporting_ExportingSymbols = (ExportingSymbols);\n\n;// ./code/es-modules/Extensions/Exporting/Fullscreen.js\n/* *\n *\n *  (c) 2009-2024 Rafal Sebestjanski\n *\n *  Full screen for Highcharts\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n/**\n * The module allows user to enable display chart in full screen mode.\n * Used in StockTools too.\n * Based on default solutions in browsers.\n */\n\n\n\nconst { composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent, fireEvent, pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction onChartBeforeRender() {\n    /**\n     * @name Highcharts.Chart#fullscreen\n     * @type {Highcharts.Fullscreen}\n     * @requires modules/full-screen\n     */\n    this.fullscreen = new Fullscreen(this);\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * Handles displaying chart's container in the fullscreen mode.\n *\n * **Note**: Fullscreen is not supported on iPhone due to iOS limitations.\n *\n * @class\n * @name Highcharts.Fullscreen\n *\n * @requires modules/exporting\n */\nclass Fullscreen {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * Prepares the chart class to support fullscreen.\n     *\n     * @param {typeof_Highcharts.Chart} ChartClass\n     * The chart class to decorate with fullscreen support.\n     */\n    static compose(ChartClass) {\n        if (pushUnique(composed, 'Fullscreen')) {\n            // Initialize fullscreen\n            addEvent(ChartClass, 'beforeRender', onChartBeforeRender);\n        }\n    }\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(chart) {\n        /**\n         * Chart managed by the fullscreen controller.\n         * @name Highcharts.Fullscreen#chart\n         * @type {Highcharts.Chart}\n         */\n        this.chart = chart;\n        /**\n         * The flag is set to `true` when the chart is displayed in\n         * the fullscreen mode.\n         *\n         * @name Highcharts.Fullscreen#isOpen\n         * @type {boolean|undefined}\n         * @since 8.0.1\n         */\n        this.isOpen = false;\n        const container = chart.renderTo;\n        // Hold event and methods available only for a current browser.\n        if (!this.browserProps) {\n            if (typeof container.requestFullscreen === 'function') {\n                this.browserProps = {\n                    fullscreenChange: 'fullscreenchange',\n                    requestFullscreen: 'requestFullscreen',\n                    exitFullscreen: 'exitFullscreen'\n                };\n            }\n            else if (container.mozRequestFullScreen) {\n                this.browserProps = {\n                    fullscreenChange: 'mozfullscreenchange',\n                    requestFullscreen: 'mozRequestFullScreen',\n                    exitFullscreen: 'mozCancelFullScreen'\n                };\n            }\n            else if (container.webkitRequestFullScreen) {\n                this.browserProps = {\n                    fullscreenChange: 'webkitfullscreenchange',\n                    requestFullscreen: 'webkitRequestFullScreen',\n                    exitFullscreen: 'webkitExitFullscreen'\n                };\n            }\n            else if (container.msRequestFullscreen) {\n                this.browserProps = {\n                    fullscreenChange: 'MSFullscreenChange',\n                    requestFullscreen: 'msRequestFullscreen',\n                    exitFullscreen: 'msExitFullscreen'\n                };\n            }\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Stops displaying the chart in fullscreen mode.\n     * Exporting module required.\n     *\n     * @since       8.0.1\n     *\n     * @function    Highcharts.Fullscreen#close\n     * @return      {void}\n     * @requires    modules/full-screen\n     */\n    close() {\n        const fullscreen = this, chart = fullscreen.chart, optionsChart = chart.options.chart;\n        fireEvent(chart, 'fullscreenClose', null, function () {\n            // Don't fire exitFullscreen() when user exited\n            // using 'Escape' button.\n            if (fullscreen.isOpen &&\n                fullscreen.browserProps &&\n                chart.container.ownerDocument instanceof Document) {\n                chart.container.ownerDocument[fullscreen.browserProps.exitFullscreen]();\n            }\n            // Unbind event as it's necessary only before exiting\n            // from fullscreen.\n            if (fullscreen.unbindFullscreenEvent) {\n                fullscreen.unbindFullscreenEvent = fullscreen\n                    .unbindFullscreenEvent();\n            }\n            chart.setSize(fullscreen.origWidth, fullscreen.origHeight, false);\n            fullscreen.origWidth = void 0;\n            fullscreen.origHeight = void 0;\n            optionsChart.width = fullscreen.origWidthOption;\n            optionsChart.height = fullscreen.origHeightOption;\n            fullscreen.origWidthOption = void 0;\n            fullscreen.origHeightOption = void 0;\n            fullscreen.isOpen = false;\n            fullscreen.setButtonText();\n        });\n    }\n    /**\n     * Displays the chart in fullscreen mode.\n     * When fired customly by user before exporting context button is created,\n     * button's text will not be replaced - it's on the user side.\n     * Exporting module required.\n     *\n     * @since       8.0.1\n     *\n     * @function Highcharts.Fullscreen#open\n     * @return      {void}\n     * @requires    modules/full-screen\n     */\n    open() {\n        const fullscreen = this, chart = fullscreen.chart, optionsChart = chart.options.chart;\n        fireEvent(chart, 'fullscreenOpen', null, function () {\n            if (optionsChart) {\n                fullscreen.origWidthOption = optionsChart.width;\n                fullscreen.origHeightOption = optionsChart.height;\n            }\n            fullscreen.origWidth = chart.chartWidth;\n            fullscreen.origHeight = chart.chartHeight;\n            // Handle exitFullscreen() method when user clicks 'Escape' button.\n            if (fullscreen.browserProps) {\n                const unbindChange = addEvent(chart.container.ownerDocument, // Chart's document\n                fullscreen.browserProps.fullscreenChange, function () {\n                    // Handle lack of async of browser's\n                    // fullScreenChange event.\n                    if (fullscreen.isOpen) {\n                        fullscreen.isOpen = false;\n                        fullscreen.close();\n                    }\n                    else {\n                        chart.setSize(null, null, false);\n                        fullscreen.isOpen = true;\n                        fullscreen.setButtonText();\n                    }\n                });\n                const unbindDestroy = addEvent(chart, 'destroy', unbindChange);\n                fullscreen.unbindFullscreenEvent = () => {\n                    unbindChange();\n                    unbindDestroy();\n                };\n                const promise = chart.renderTo[fullscreen.browserProps.requestFullscreen]();\n                if (promise) {\n                    promise['catch'](function () {\n                        alert(// eslint-disable-line no-alert\n                        'Full screen is not supported inside a frame.');\n                    });\n                }\n            }\n        });\n    }\n    /**\n     * Replaces the exporting context button's text when toogling the\n     * fullscreen mode.\n     *\n     * @private\n     *\n     * @since 8.0.1\n     *\n     * @requires modules/full-screen\n     */\n    setButtonText() {\n        const chart = this.chart, exportDivElements = chart.exportDivElements, exportingOptions = chart.options.exporting, menuItems = (exportingOptions &&\n            exportingOptions.buttons &&\n            exportingOptions.buttons.contextButton.menuItems), lang = chart.options.lang;\n        if (exportingOptions &&\n            exportingOptions.menuItemDefinitions &&\n            lang &&\n            lang.exitFullscreen &&\n            lang.viewFullscreen &&\n            menuItems &&\n            exportDivElements) {\n            const exportDivElement = exportDivElements[menuItems.indexOf('viewFullscreen')];\n            if (exportDivElement) {\n                highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().setElementHTML(exportDivElement, !this.isOpen ?\n                    (exportingOptions.menuItemDefinitions.viewFullscreen\n                        .text ||\n                        lang.viewFullscreen) : lang.exitFullscreen);\n            }\n        }\n    }\n    /**\n     * Toggles displaying the chart in fullscreen mode.\n     * By default, when the exporting module is enabled, a context button with\n     * a drop down menu in the upper right corner accesses this function.\n     * Exporting module required.\n     *\n     * @since 8.0.1\n     *\n     * @sample      highcharts/members/chart-togglefullscreen/\n     *              Toggle fullscreen mode from a HTML button\n     *\n     * @function Highcharts.Fullscreen#toggle\n     * @requires    modules/full-screen\n     */\n    toggle() {\n        const fullscreen = this;\n        if (!fullscreen.isOpen) {\n            fullscreen.open();\n        }\n        else {\n            fullscreen.close();\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Exporting_Fullscreen = (Fullscreen);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Gets fired when closing the fullscreen\n *\n * @callback Highcharts.FullScreenfullscreenCloseCallbackFunction\n *\n * @param {Highcharts.Chart} chart\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Gets fired when opening the fullscreen\n *\n * @callback Highcharts.FullScreenfullscreenOpenCallbackFunction\n *\n * @param {Highcharts.Chart} chart\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n(''); // Keeps doclets above separated from following code\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Fires when a fullscreen is closed through the context menu item,\n * or a fullscreen is closed on the `Escape` button click,\n * or the `Chart.fullscreen.close` method.\n *\n * @sample highcharts/chart/events-fullscreen\n *         Title size change on fullscreen open\n *\n * @type      {Highcharts.FullScreenfullscreenCloseCallbackFunction}\n * @since     10.1.0\n * @context   Highcharts.Chart\n * @requires  modules/full-screen\n * @apioption chart.events.fullscreenClose\n */\n/**\n * Fires when a fullscreen is opened through the context menu item,\n * or the `Chart.fullscreen.open` method.\n *\n * @sample highcharts/chart/events-fullscreen\n *         Title size change on fullscreen open\n *\n * @type      {Highcharts.FullScreenfullscreenOpenCallbackFunction}\n * @since     10.1.0\n * @context   Highcharts.Chart\n * @requires  modules/full-screen\n * @apioption chart.events.fullscreenOpen\n */\n(''); // Keeps doclets above in transpiled file\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"HttpUtilities\"],\"commonjs\":[\"highcharts\",\"HttpUtilities\"],\"commonjs2\":[\"highcharts\",\"HttpUtilities\"],\"root\":[\"Highcharts\",\"HttpUtilities\"]}\nvar highcharts_HttpUtilities_commonjs_highcharts_HttpUtilities_commonjs2_highcharts_HttpUtilities_root_Highcharts_HttpUtilities_ = __webpack_require__(156);\nvar highcharts_HttpUtilities_commonjs_highcharts_HttpUtilities_commonjs2_highcharts_HttpUtilities_root_Highcharts_HttpUtilities_default = /*#__PURE__*/__webpack_require__.n(highcharts_HttpUtilities_commonjs_highcharts_HttpUtilities_commonjs2_highcharts_HttpUtilities_root_Highcharts_HttpUtilities_);\n;// ./code/es-modules/Extensions/Exporting/Exporting.js\n/* *\n *\n *  Exporting module\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\nconst { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n\nconst { doc: Exporting_doc, SVG_NS, win: Exporting_win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { addEvent: Exporting_addEvent, css, createElement, discardElement, extend, find, fireEvent: Exporting_fireEvent, isObject, merge, objectEach, pick, removeEvent, splat, uniqueKey } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar Exporting;\n(function (Exporting) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    // These CSS properties are not inlined. Remember camelCase.\n    const inlineDenylist = [\n        /-/, // In Firefox, both hyphened and camelCased names are listed\n        /^(clipPath|cssText|d|height|width)$/, // Full words\n        /^font$/, // More specific props are set\n        /[lL]ogical(Width|Height)$/,\n        /^parentRule$/,\n        /^(cssRules|ownerRules)$/, // #19516 read-only properties\n        /perspective/,\n        /TapHighlightColor/,\n        /^transition/,\n        /^length$/, // #7700\n        /^\\d+$/ // #17538\n    ];\n    // These ones are translated to attributes rather than styles\n    const inlineToAttributes = [\n        'fill',\n        'stroke',\n        'strokeLinecap',\n        'strokeLinejoin',\n        'strokeWidth',\n        'textAnchor',\n        'x',\n        'y'\n    ];\n    Exporting.inlineAllowlist = [];\n    const unstyledElements = [\n        'clipPath',\n        'defs',\n        'desc'\n    ];\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let printingChart;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Add the export button to the chart, with options.\n     *\n     * @private\n     * @function Highcharts.Chart#addButton\n     * @param {Highcharts.NavigationButtonOptions} options\n     * @requires modules/exporting\n     */\n    function addButton(options) {\n        const chart = this, renderer = chart.renderer, btnOptions = merge(chart.options.navigation.buttonOptions, options), onclick = btnOptions.onclick, menuItems = btnOptions.menuItems, symbolSize = btnOptions.symbolSize || 12;\n        let symbol;\n        if (!chart.btnCount) {\n            chart.btnCount = 0;\n        }\n        // Keeps references to the button elements\n        if (!chart.exportDivElements) {\n            chart.exportDivElements = [];\n            chart.exportSVGElements = [];\n        }\n        if (btnOptions.enabled === false || !btnOptions.theme) {\n            return;\n        }\n        const theme = chart.styledMode ? {} : btnOptions.theme;\n        let callback;\n        if (onclick) {\n            callback = function (e) {\n                if (e) {\n                    e.stopPropagation();\n                }\n                onclick.call(chart, e);\n            };\n        }\n        else if (menuItems) {\n            callback = function (e) {\n                // Consistent with onclick call (#3495)\n                if (e) {\n                    e.stopPropagation();\n                }\n                chart.contextMenu(button.menuClassName, menuItems, button.translateX || 0, button.translateY || 0, button.width || 0, button.height || 0, button);\n                button.setState(2);\n            };\n        }\n        if (btnOptions.text && btnOptions.symbol) {\n            theme.paddingLeft = pick(theme.paddingLeft, 30);\n        }\n        else if (!btnOptions.text) {\n            extend(theme, {\n                width: btnOptions.width,\n                height: btnOptions.height,\n                padding: 0\n            });\n        }\n        const button = renderer\n            .button(btnOptions.text, 0, 0, callback, theme, void 0, void 0, void 0, void 0, btnOptions.useHTML)\n            .addClass(options.className)\n            .attr({\n            title: pick(chart.options.lang[btnOptions._titleKey || btnOptions.titleKey], '')\n        });\n        button.menuClassName = (options.menuClassName ||\n            'highcharts-menu-' + chart.btnCount++);\n        if (btnOptions.symbol) {\n            symbol = renderer\n                .symbol(btnOptions.symbol, Math.round((btnOptions.symbolX || 0) - (symbolSize / 2)), Math.round((btnOptions.symbolY || 0) - (symbolSize / 2)), symbolSize, symbolSize\n            // If symbol is an image, scale it (#7957)\n            , {\n                width: symbolSize,\n                height: symbolSize\n            })\n                .addClass('highcharts-button-symbol')\n                .attr({\n                zIndex: 1\n            })\n                .add(button);\n            if (!chart.styledMode) {\n                symbol.attr({\n                    stroke: btnOptions.symbolStroke,\n                    fill: btnOptions.symbolFill,\n                    'stroke-width': btnOptions.symbolStrokeWidth || 1\n                });\n            }\n        }\n        button\n            .add(chart.exportingGroup)\n            .align(extend(btnOptions, {\n            width: button.width,\n            x: pick(btnOptions.x, chart.buttonOffset) // #1654\n        }), true, 'spacingBox');\n        chart.buttonOffset += (((button.width || 0) + btnOptions.buttonSpacing) *\n            (btnOptions.align === 'right' ? -1 : 1));\n        chart.exportSVGElements.push(button, symbol);\n    }\n    /**\n     * Clean up after printing a chart.\n     *\n     * @function Highcharts#afterPrint\n     *\n     * @private\n     *\n     * @param {Highcharts.Chart} chart\n     *        Chart that was (or suppose to be) printed\n     *\n     * @emits Highcharts.Chart#event:afterPrint\n     */\n    function afterPrint() {\n        const chart = this;\n        if (!chart.printReverseInfo) {\n            return void 0;\n        }\n        const { childNodes, origDisplay, resetParams } = chart.printReverseInfo;\n        // Put the chart back in\n        chart.moveContainers(chart.renderTo);\n        // Restore all body content\n        [].forEach.call(childNodes, function (node, i) {\n            if (node.nodeType === 1) {\n                node.style.display = (origDisplay[i] || '');\n            }\n        });\n        chart.isPrinting = false;\n        // Reset printMaxWidth\n        if (resetParams) {\n            chart.setSize.apply(chart, resetParams);\n        }\n        delete chart.printReverseInfo;\n        printingChart = void 0;\n        Exporting_fireEvent(chart, 'afterPrint');\n    }\n    /**\n     * Prepare chart and document before printing a chart.\n     *\n     * @function Highcharts#beforePrint\n     *\n     * @private\n     *\n     *\n     * @emits Highcharts.Chart#event:beforePrint\n     */\n    function beforePrint() {\n        const chart = this, body = Exporting_doc.body, printMaxWidth = chart.options.exporting.printMaxWidth, printReverseInfo = {\n            childNodes: body.childNodes,\n            origDisplay: [],\n            resetParams: void 0\n        };\n        chart.isPrinting = true;\n        chart.pointer?.reset(void 0, 0);\n        Exporting_fireEvent(chart, 'beforePrint');\n        // Handle printMaxWidth\n        const handleMaxWidth = printMaxWidth &&\n            chart.chartWidth > printMaxWidth;\n        if (handleMaxWidth) {\n            printReverseInfo.resetParams = [\n                chart.options.chart.width,\n                void 0,\n                false\n            ];\n            chart.setSize(printMaxWidth, void 0, false);\n        }\n        // Hide all body content\n        [].forEach.call(printReverseInfo.childNodes, function (node, i) {\n            if (node.nodeType === 1) {\n                printReverseInfo.origDisplay[i] = node.style.display;\n                node.style.display = 'none';\n            }\n        });\n        // Pull out the chart\n        chart.moveContainers(body);\n        // Storage details for undo action after printing\n        chart.printReverseInfo = printReverseInfo;\n    }\n    /**\n     * @private\n     */\n    function chartCallback(chart) {\n        const composition = chart;\n        composition.renderExporting();\n        Exporting_addEvent(chart, 'redraw', composition.renderExporting);\n        // Destroy the export elements at chart destroy\n        Exporting_addEvent(chart, 'destroy', composition.destroyExport);\n        // Uncomment this to see a button directly below the chart, for quick\n        // testing of export\n        /*\n        let button, viewImage, viewSource;\n        if (!chart.renderer.forExport) {\n            viewImage = function () {\n                let div = doc.createElement('div');\n                div.innerHTML = chart.getSVGForExport();\n                chart.renderTo.parentNode.appendChild(div);\n            };\n\n            viewSource = function () {\n                let pre = doc.createElement('pre');\n                pre.innerHTML = chart.getSVGForExport()\n                    .replace(/</g, '\\n&lt;')\n                    .replace(/>/g, '&gt;');\n                chart.renderTo.parentNode.appendChild(pre);\n            };\n\n            viewImage();\n\n            // View SVG Image\n            button = doc.createElement('button');\n            button.innerHTML = 'View SVG Image';\n            chart.renderTo.parentNode.appendChild(button);\n            button.onclick = viewImage;\n\n            // View SVG Source\n            button = doc.createElement('button');\n            button.innerHTML = 'View SVG Source';\n            chart.renderTo.parentNode.appendChild(button);\n            button.onclick = viewSource;\n        }\n        //*/\n    }\n    /**\n     * @private\n     */\n    function compose(ChartClass, SVGRendererClass) {\n        Exporting_ExportingSymbols.compose(SVGRendererClass);\n        Exporting_Fullscreen.compose(ChartClass);\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.exportChart) {\n            chartProto.afterPrint = afterPrint;\n            chartProto.exportChart = exportChart;\n            chartProto.inlineStyles = inlineStyles;\n            chartProto.print = print;\n            chartProto.sanitizeSVG = sanitizeSVG;\n            chartProto.getChartHTML = getChartHTML;\n            chartProto.getSVG = getSVG;\n            chartProto.getSVGForExport = getSVGForExport;\n            chartProto.getFilename = getFilename;\n            chartProto.moveContainers = moveContainers;\n            chartProto.beforePrint = beforePrint;\n            chartProto.contextMenu = contextMenu;\n            chartProto.addButton = addButton;\n            chartProto.destroyExport = destroyExport;\n            chartProto.renderExporting = renderExporting;\n            chartProto.callbacks.push(chartCallback);\n            Exporting_addEvent(ChartClass, 'init', onChartInit);\n            Exporting_addEvent(ChartClass, 'layOutTitle', onChartLayOutTitle);\n            if ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isSafari) {\n                Exporting_win.matchMedia('print').addListener(function (mqlEvent) {\n                    if (!printingChart) {\n                        return void 0;\n                    }\n                    if (mqlEvent.matches) {\n                        printingChart.beforePrint();\n                    }\n                    else {\n                        printingChart.afterPrint();\n                    }\n                });\n            }\n            defaultOptions.exporting = merge(Exporting_ExportingDefaults.exporting, defaultOptions.exporting);\n            defaultOptions.lang = merge(Exporting_ExportingDefaults.lang, defaultOptions.lang);\n            // Buttons and menus are collected in a separate config option set\n            // called 'navigation'. This can be extended later to add control\n            // buttons like zoom and pan right click menus.\n            defaultOptions.navigation = merge(Exporting_ExportingDefaults.navigation, defaultOptions.navigation);\n        }\n    }\n    Exporting.compose = compose;\n    /**\n     * Display a popup menu for choosing the export type.\n     *\n     * @private\n     * @function Highcharts.Chart#contextMenu\n     * @param {string} className\n     *        An identifier for the menu.\n     * @param {Array<string|Highcharts.ExportingMenuObject>} items\n     *        A collection with text and onclicks for the items.\n     * @param {number} x\n     *        The x position of the opener button\n     * @param {number} y\n     *        The y position of the opener button\n     * @param {number} width\n     *        The width of the opener button\n     * @param {number} height\n     *        The height of the opener button\n     * @requires modules/exporting\n     */\n    function contextMenu(className, items, x, y, width, height, button) {\n        const chart = this, navOptions = chart.options.navigation, chartWidth = chart.chartWidth, chartHeight = chart.chartHeight, cacheName = 'cache-' + className, \n        // For mouse leave detection\n        menuPadding = Math.max(width, height);\n        let innerMenu, menu = chart[cacheName];\n        // Create the menu only the first time\n        if (!menu) {\n            // Create a HTML element above the SVG\n            chart.exportContextMenu = chart[cacheName] = menu =\n                createElement('div', {\n                    className: className\n                }, {\n                    position: 'absolute',\n                    zIndex: 1000,\n                    padding: menuPadding + 'px',\n                    pointerEvents: 'auto',\n                    ...chart.renderer.style\n                }, chart.scrollablePlotArea?.fixedDiv || chart.container);\n            innerMenu = createElement('ul', { className: 'highcharts-menu' }, chart.styledMode ? {} : {\n                listStyle: 'none',\n                margin: 0,\n                padding: 0\n            }, menu);\n            // Presentational CSS\n            if (!chart.styledMode) {\n                css(innerMenu, extend({\n                    MozBoxShadow: '3px 3px 10px #888',\n                    WebkitBoxShadow: '3px 3px 10px #888',\n                    boxShadow: '3px 3px 10px #888'\n                }, navOptions.menuStyle));\n            }\n            // Hide on mouse out\n            menu.hideMenu = function () {\n                css(menu, { display: 'none' });\n                if (button) {\n                    button.setState(0);\n                }\n                chart.openMenu = false;\n                // #10361, #9998\n                css(chart.renderTo, { overflow: 'hidden' });\n                css(chart.container, { overflow: 'hidden' });\n                highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().clearTimeout(menu.hideTimer);\n                Exporting_fireEvent(chart, 'exportMenuHidden');\n            };\n            // Hide the menu some time after mouse leave (#1357)\n            chart.exportEvents.push(Exporting_addEvent(menu, 'mouseleave', function () {\n                menu.hideTimer = Exporting_win.setTimeout(menu.hideMenu, 500);\n            }), Exporting_addEvent(menu, 'mouseenter', function () {\n                highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().clearTimeout(menu.hideTimer);\n            }), \n            // Hide it on clicking or touching outside the menu (#2258,\n            // #2335, #2407)\n            Exporting_addEvent(Exporting_doc, 'mouseup', function (e) {\n                if (!chart.pointer?.inClass(e.target, className)) {\n                    menu.hideMenu();\n                }\n            }), Exporting_addEvent(menu, 'click', function () {\n                if (chart.openMenu) {\n                    menu.hideMenu();\n                }\n            }));\n            // Create the items\n            items.forEach(function (item) {\n                if (typeof item === 'string') {\n                    item = chart.options.exporting\n                        .menuItemDefinitions[item];\n                }\n                if (isObject(item, true)) {\n                    let element;\n                    if (item.separator) {\n                        element = createElement('hr', void 0, void 0, innerMenu);\n                    }\n                    else {\n                        // When chart initialized with the table, wrong button\n                        // text displayed, #14352.\n                        if (item.textKey === 'viewData' &&\n                            chart.isDataTableVisible) {\n                            item.textKey = 'hideData';\n                        }\n                        element = createElement('li', {\n                            className: 'highcharts-menu-item',\n                            onclick: function (e) {\n                                if (e) { // IE7\n                                    e.stopPropagation();\n                                }\n                                menu.hideMenu();\n                                if (typeof item !== 'string' && item.onclick) {\n                                    item.onclick.apply(chart, arguments);\n                                }\n                            }\n                        }, void 0, innerMenu);\n                        highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().setElementHTML(element, item.text ||\n                            chart.options.lang[item.textKey]);\n                        if (!chart.styledMode) {\n                            element.onmouseover = function () {\n                                css(this, navOptions.menuItemHoverStyle);\n                            };\n                            element.onmouseout = function () {\n                                css(this, navOptions.menuItemStyle);\n                            };\n                            css(element, extend({\n                                cursor: 'pointer'\n                            }, navOptions.menuItemStyle || {}));\n                        }\n                    }\n                    // Keep references to menu divs to be able to destroy them\n                    chart.exportDivElements.push(element);\n                }\n            });\n            // Keep references to menu and innerMenu div to be able to destroy\n            // them\n            chart.exportDivElements.push(innerMenu, menu);\n            chart.exportMenuWidth = menu.offsetWidth;\n            chart.exportMenuHeight = menu.offsetHeight;\n        }\n        const menuStyle = { display: 'block' };\n        // If outside right, right align it\n        if (x + (chart.exportMenuWidth || 0) > chartWidth) {\n            menuStyle.right = (chartWidth - x - width - menuPadding) + 'px';\n        }\n        else {\n            menuStyle.left = (x - menuPadding) + 'px';\n        }\n        // If outside bottom, bottom align it\n        if (y + height + (chart.exportMenuHeight || 0) > chartHeight &&\n            button.alignOptions?.verticalAlign !== 'top') {\n            menuStyle.bottom = (chartHeight - y - menuPadding) + 'px';\n        }\n        else {\n            menuStyle.top = (y + height - menuPadding) + 'px';\n        }\n        css(menu, menuStyle);\n        // #10361, #9998\n        css(chart.renderTo, { overflow: '' });\n        css(chart.container, { overflow: '' });\n        chart.openMenu = true;\n        Exporting_fireEvent(chart, 'exportMenuShown');\n    }\n    /**\n     * Destroy the export buttons.\n     * @private\n     * @function Highcharts.Chart#destroyExport\n     * @param {global.Event} [e]\n     * @requires modules/exporting\n     */\n    function destroyExport(e) {\n        const chart = e ? e.target : this, exportSVGElements = chart.exportSVGElements, exportDivElements = chart.exportDivElements, exportEvents = chart.exportEvents;\n        let cacheName;\n        // Destroy the extra buttons added\n        if (exportSVGElements) {\n            exportSVGElements.forEach((elem, i) => {\n                // Destroy and null the svg elements\n                if (elem) { // #1822\n                    elem.onclick = elem.ontouchstart = null;\n                    cacheName = 'cache-' + elem.menuClassName;\n                    if (chart[cacheName]) {\n                        delete chart[cacheName];\n                    }\n                    exportSVGElements[i] = elem.destroy();\n                }\n            });\n            exportSVGElements.length = 0;\n        }\n        // Destroy the exporting group\n        if (chart.exportingGroup) {\n            chart.exportingGroup.destroy();\n            delete chart.exportingGroup;\n        }\n        // Destroy the divs for the menu\n        if (exportDivElements) {\n            exportDivElements.forEach(function (elem, i) {\n                if (elem) {\n                    // Remove the event handler\n                    highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().clearTimeout(elem.hideTimer); // #5427\n                    removeEvent(elem, 'mouseleave');\n                    // Remove inline events\n                    // (chart.exportDivElements as any)[i] =\n                    exportDivElements[i] =\n                        elem.onmouseout =\n                            elem.onmouseover =\n                                elem.ontouchstart =\n                                    elem.onclick = null;\n                    // Destroy the div by moving to garbage bin\n                    discardElement(elem);\n                }\n            });\n            exportDivElements.length = 0;\n        }\n        if (exportEvents) {\n            exportEvents.forEach(function (unbind) {\n                unbind();\n            });\n            exportEvents.length = 0;\n        }\n    }\n    /**\n     * Exporting module required. Submit an SVG version of the chart to a server\n     * along with some parameters for conversion.\n     *\n     * @sample highcharts/members/chart-exportchart/\n     *         Export with no options\n     * @sample highcharts/members/chart-exportchart-filename/\n     *         PDF type and custom filename\n     * @sample highcharts/members/chart-exportchart-custom-background/\n     *         Different chart background in export\n     * @sample stock/members/chart-exportchart/\n     *         Export with Highcharts Stock\n     *\n     * @function Highcharts.Chart#exportChart\n     *\n     * @param {Highcharts.ExportingOptions} exportingOptions\n     *        Exporting options in addition to those defined in\n     *        [exporting](https://api.highcharts.com/highcharts/exporting).\n     *\n     * @param {Highcharts.Options} chartOptions\n     *        Additional chart options for the exported chart. For example a\n     *        different background color can be added here, or `dataLabels` for\n     *        export only.\n     *\n     * @requires modules/exporting\n     */\n    function exportChart(exportingOptions, chartOptions) {\n        const svg = this.getSVGForExport(exportingOptions, chartOptions);\n        // Merge the options\n        exportingOptions = merge(this.options.exporting, exportingOptions);\n        // Do the post\n        highcharts_HttpUtilities_commonjs_highcharts_HttpUtilities_commonjs2_highcharts_HttpUtilities_root_Highcharts_HttpUtilities_default().post(exportingOptions.url, {\n            filename: exportingOptions.filename ?\n                exportingOptions.filename.replace(/\\//g, '-') :\n                this.getFilename(),\n            type: exportingOptions.type,\n            width: exportingOptions.width,\n            scale: exportingOptions.scale,\n            svg: svg\n        }, exportingOptions.fetchOptions);\n    }\n    /**\n     * Return the unfiltered innerHTML of the chart container. Used as hook for\n     * plugins. In styled mode, it also takes care of inlining CSS style rules.\n     *\n     * @see Chart#getSVG\n     *\n     * @function Highcharts.Chart#getChartHTML\n     *\n     * @return {string}\n     * The unfiltered SVG of the chart.\n     *\n     * @requires modules/exporting\n     */\n    function getChartHTML(applyStyleSheets) {\n        if (applyStyleSheets) {\n            this.inlineStyles();\n        }\n        return this.container.innerHTML;\n    }\n    /**\n     * Get the default file name used for exported charts. By default it creates\n     * a file name based on the chart title.\n     *\n     * @function Highcharts.Chart#getFilename\n     *\n     * @return {string} A file name without extension.\n     *\n     * @requires modules/exporting\n     */\n    function getFilename() {\n        const s = this.userOptions.title && this.userOptions.title.text;\n        let filename = this.options.exporting.filename;\n        if (filename) {\n            return filename.replace(/\\//g, '-');\n        }\n        if (typeof s === 'string') {\n            filename = s\n                .toLowerCase()\n                .replace(/<\\/?[^>]+(>|$)/g, '') // Strip HTML tags\n                .replace(/[\\s_]+/g, '-')\n                .replace(/[^a-z\\d\\-]/g, '') // Preserve only latin\n                .replace(/^[\\-]+/g, '') // Dashes in the start\n                .replace(/[\\-]+/g, '-') // Dashes in a row\n                .substr(0, 24)\n                .replace(/[\\-]+$/g, ''); // Dashes in the end;\n        }\n        if (!filename || filename.length < 5) {\n            filename = 'chart';\n        }\n        return filename;\n    }\n    /**\n     * Return an SVG representation of the chart.\n     *\n     * @sample highcharts/members/chart-getsvg/\n     *         View the SVG from a button\n     *\n     * @function Highcharts.Chart#getSVG\n     *\n     * @param {Highcharts.Options} [chartOptions]\n     *        Additional chart options for the generated SVG representation. For\n     *        collections like `xAxis`, `yAxis` or `series`, the additional\n     *        options is either merged in to the original item of the same\n     *        `id`, or to the first item if a common id is not found.\n     *\n     * @return {string}\n     *         The SVG representation of the rendered chart.\n     *\n     * @emits Highcharts.Chart#event:getSVG\n     *\n     * @requires modules/exporting\n     */\n    function getSVG(chartOptions) {\n        const chart = this;\n        let svg, seriesOptions, \n        // Copy the options and add extra options\n        options = merge(chart.options, chartOptions);\n        // Use userOptions to make the options chain in series right (#3881)\n        options.plotOptions = merge(chart.userOptions.plotOptions, chartOptions && chartOptions.plotOptions);\n        // ... and likewise with time, avoid that undefined time properties are\n        // merged over legacy global time options\n        options.time = merge(chart.userOptions.time, chartOptions && chartOptions.time);\n        // Create a sandbox where a new chart will be generated\n        const sandbox = createElement('div', null, {\n            position: 'absolute',\n            top: '-9999em',\n            width: chart.chartWidth + 'px',\n            height: chart.chartHeight + 'px'\n        }, Exporting_doc.body);\n        // Get the source size\n        const cssWidth = chart.renderTo.style.width, cssHeight = chart.renderTo.style.height, sourceWidth = options.exporting.sourceWidth ||\n            options.chart.width ||\n            (/px$/.test(cssWidth) && parseInt(cssWidth, 10)) ||\n            (options.isGantt ? 800 : 600), sourceHeight = options.exporting.sourceHeight ||\n            options.chart.height ||\n            (/px$/.test(cssHeight) && parseInt(cssHeight, 10)) ||\n            400;\n        // Override some options\n        extend(options.chart, {\n            animation: false,\n            renderTo: sandbox,\n            forExport: true,\n            renderer: 'SVGRenderer',\n            width: sourceWidth,\n            height: sourceHeight\n        });\n        options.exporting.enabled = false; // Hide buttons in print\n        delete options.data; // #3004\n        // prepare for replicating the chart\n        options.series = [];\n        chart.series.forEach(function (serie) {\n            seriesOptions = merge(serie.userOptions, {\n                animation: false, // Turn off animation\n                enableMouseTracking: false,\n                showCheckbox: false,\n                visible: serie.visible\n            });\n            // Used for the navigator series that has its own option set\n            if (!seriesOptions.isInternal) {\n                options.series.push(seriesOptions);\n            }\n        });\n        const colls = {};\n        chart.axes.forEach(function (axis) {\n            // Assign an internal key to ensure a one-to-one mapping (#5924)\n            if (!axis.userOptions.internalKey) { // #6444\n                axis.userOptions.internalKey = uniqueKey();\n            }\n            if (!axis.options.isInternal) {\n                if (!colls[axis.coll]) {\n                    colls[axis.coll] = true;\n                    options[axis.coll] = [];\n                }\n                options[axis.coll].push(merge(axis.userOptions, {\n                    visible: axis.visible,\n                    // Force some options that could have be set directly on\n                    // the axis while missing in the userOptions or options.\n                    type: axis.type,\n                    uniqueNames: axis.uniqueNames\n                }));\n            }\n        });\n        // Make sure the `colorAxis` object of the `defaultOptions` isn't used\n        // in the chart copy's user options, because a color axis should only be\n        // added when the user actually applies it.\n        options.colorAxis = chart.userOptions.colorAxis;\n        // Generate the chart copy\n        const chartCopy = new chart.constructor(options, chart.callback);\n        // Axis options and series options  (#2022, #3900, #5982)\n        if (chartOptions) {\n            ['xAxis', 'yAxis', 'series'].forEach(function (coll) {\n                const collOptions = {};\n                if (chartOptions[coll]) {\n                    collOptions[coll] = chartOptions[coll];\n                    chartCopy.update(collOptions);\n                }\n            });\n        }\n        // Reflect axis extremes in the export (#5924)\n        chart.axes.forEach(function (axis) {\n            const axisCopy = find(chartCopy.axes, (copy) => copy.options.internalKey === axis.userOptions.internalKey);\n            if (axisCopy) {\n                const extremes = axis.getExtremes(), \n                // Make sure min and max overrides in the\n                // `exporting.chartOptions.xAxis` settings are reflected.\n                // These should override user-set extremes via zooming,\n                // scrollbar etc (#7873).\n                exportOverride = splat(chartOptions?.[axis.coll] || {})[0], userMin = 'min' in exportOverride ?\n                    exportOverride.min :\n                    extremes.userMin, userMax = 'max' in exportOverride ?\n                    exportOverride.max :\n                    extremes.userMax;\n                if (((typeof userMin !== 'undefined' &&\n                    userMin !== axisCopy.min) || (typeof userMax !== 'undefined' &&\n                    userMax !== axisCopy.max))) {\n                    axisCopy.setExtremes(userMin ?? void 0, userMax ?? void 0, true, false);\n                }\n            }\n        });\n        // Get the SVG from the container's innerHTML\n        svg = chartCopy.getChartHTML(chart.styledMode ||\n            options.exporting?.applyStyleSheets);\n        Exporting_fireEvent(this, 'getSVG', { chartCopy: chartCopy });\n        svg = chart.sanitizeSVG(svg, options);\n        // Free up memory\n        options = null;\n        chartCopy.destroy();\n        discardElement(sandbox);\n        return svg;\n    }\n    /**\n     * @private\n     * @function Highcharts.Chart#getSVGForExport\n     */\n    function getSVGForExport(options, chartOptions) {\n        const chartExportingOptions = this.options.exporting;\n        return this.getSVG(merge({ chart: { borderRadius: 0 } }, chartExportingOptions.chartOptions, chartOptions, {\n            exporting: {\n                sourceWidth: ((options && options.sourceWidth) ||\n                    chartExportingOptions.sourceWidth),\n                sourceHeight: ((options && options.sourceHeight) ||\n                    chartExportingOptions.sourceHeight)\n            }\n        }));\n    }\n    /**\n     * Make hyphenated property names out of camelCase\n     * @private\n     * @param {string} prop\n     * Property name in camelCase\n     * @return {string}\n     * Hyphenated property name\n     */\n    function hyphenate(prop) {\n        return prop.replace(/[A-Z]/g, function (match) {\n            return '-' + match.toLowerCase();\n        });\n    }\n    /**\n     * Analyze inherited styles from stylesheets and add them inline\n     *\n     * @private\n     * @function Highcharts.Chart#inlineStyles\n     *\n     * @todo What are the border styles for text about? In general, text has a\n     *       lot of properties.\n     *\n     * @todo Make it work with IE9 and IE10.\n     *\n     * @requires modules/exporting\n     */\n    function inlineStyles() {\n        const denylist = inlineDenylist, allowlist = Exporting.inlineAllowlist, // For IE\n        defaultStyles = {};\n        let dummySVG;\n        // Create an iframe where we read default styles without pollution from\n        // this body\n        const iframe = Exporting_doc.createElement('iframe');\n        css(iframe, {\n            width: '1px',\n            height: '1px',\n            visibility: 'hidden'\n        });\n        Exporting_doc.body.appendChild(iframe);\n        const iframeDoc = (iframe.contentWindow && iframe.contentWindow.document);\n        if (iframeDoc) {\n            iframeDoc.body.appendChild(iframeDoc.createElementNS(SVG_NS, 'svg'));\n        }\n        /**\n         * Call this on all elements and recurse to children\n         * @private\n         * @param {Highcharts.HTMLDOMElement} node\n         *        Element child\n             */\n        function recurse(node) {\n            const filteredStyles = {};\n            let styles, parentStyles, dummy, denylisted, allowlisted, i;\n            /**\n             * Check computed styles and whether they are in the allow/denylist\n             * for styles or attributes.\n             * @private\n             * @param {string} val\n             *        Style value\n             * @param {string} prop\n             *        Style property name\n                     */\n            function filterStyles(val, prop) {\n                // Check against allowlist & denylist\n                denylisted = allowlisted = false;\n                if (allowlist.length) {\n                    // Styled mode in IE has a allowlist instead. Exclude all\n                    // props not in this list.\n                    i = allowlist.length;\n                    while (i-- && !allowlisted) {\n                        allowlisted = allowlist[i].test(prop);\n                    }\n                    denylisted = !allowlisted;\n                }\n                // Explicitly remove empty transforms\n                if (prop === 'transform' && val === 'none') {\n                    denylisted = true;\n                }\n                i = denylist.length;\n                while (i-- && !denylisted) {\n                    if (prop.length > 1000 /* RegexLimits.shortLimit */) {\n                        throw new Error('Input too long');\n                    }\n                    denylisted = (denylist[i].test(prop) ||\n                        typeof val === 'function');\n                }\n                if (!denylisted) {\n                    // If parent node has the same style, it gets inherited, no\n                    // need to inline it. Top-level props should be diffed\n                    // against parent (#7687).\n                    if ((parentStyles[prop] !== val ||\n                        node.nodeName === 'svg') &&\n                        defaultStyles[node.nodeName][prop] !== val) {\n                        // Attributes\n                        if (!inlineToAttributes ||\n                            inlineToAttributes.indexOf(prop) !== -1) {\n                            if (val) {\n                                node.setAttribute(hyphenate(prop), val);\n                            }\n                            // Styles\n                        }\n                        else {\n                            filteredStyles[prop] = val;\n                        }\n                    }\n                }\n            }\n            if (iframeDoc &&\n                node.nodeType === 1 &&\n                unstyledElements.indexOf(node.nodeName) === -1) {\n                styles = Exporting_win.getComputedStyle(node, null);\n                parentStyles = node.nodeName === 'svg' ?\n                    {} :\n                    Exporting_win.getComputedStyle(node.parentNode, null);\n                // Get default styles from the browser so that we don't have to\n                // add these\n                if (!defaultStyles[node.nodeName]) {\n                    /*\n                    If (!dummySVG) {\n                        dummySVG = doc.createElementNS(H.SVG_NS, 'svg');\n                        dummySVG.setAttribute('version', '1.1');\n                        doc.body.appendChild(dummySVG);\n                    }\n                    */\n                    dummySVG = iframeDoc.getElementsByTagName('svg')[0];\n                    dummy = iframeDoc.createElementNS(node.namespaceURI, node.nodeName);\n                    dummySVG.appendChild(dummy);\n                    // Get the defaults into a standard object (simple merge\n                    // won't do)\n                    const s = Exporting_win.getComputedStyle(dummy, null), defaults = {};\n                    for (const key in s) {\n                        if (key.length < 1000 /* RegexLimits.shortLimit */ &&\n                            typeof s[key] === 'string' &&\n                            !/^\\d+$/.test(key)) {\n                            defaults[key] = s[key];\n                        }\n                    }\n                    defaultStyles[node.nodeName] = defaults;\n                    // Remove default fill, otherwise text disappears when\n                    // exported\n                    if (node.nodeName === 'text') {\n                        delete defaultStyles.text.fill;\n                    }\n                    dummySVG.removeChild(dummy);\n                }\n                // Loop through all styles and add them inline if they are ok\n                for (const p in styles) {\n                    if (\n                    // Some browsers put lots of styles on the prototype...\n                    (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isFirefox ||\n                        (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isMS ||\n                        (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isSafari || // #16902\n                        // ... Chrome puts them on the instance\n                        Object.hasOwnProperty.call(styles, p)) {\n                        filterStyles(styles[p], p);\n                    }\n                }\n                // Apply styles\n                css(node, filteredStyles);\n                // Set default stroke width (needed at least for IE)\n                if (node.nodeName === 'svg') {\n                    node.setAttribute('stroke-width', '1px');\n                }\n                if (node.nodeName === 'text') {\n                    return;\n                }\n                // Recurse\n                [].forEach.call(node.children || node.childNodes, recurse);\n            }\n        }\n        /**\n         * Remove the dummy objects used to get defaults\n         * @private\n         */\n        function tearDown() {\n            dummySVG.parentNode.removeChild(dummySVG);\n            // Remove trash from DOM that stayed after each exporting\n            iframe.parentNode.removeChild(iframe);\n        }\n        recurse(this.container.querySelector('svg'));\n        tearDown();\n    }\n    /**\n     * Move the chart container(s) to another div.\n     *\n     * @function Highcharts#moveContainers\n     *\n     * @private\n     *\n     * @param {Highcharts.HTMLDOMElement} moveTo\n     *        Move target\n     */\n    function moveContainers(moveTo) {\n        const { scrollablePlotArea } = this;\n        (\n        // When scrollablePlotArea is active (#9533)\n        scrollablePlotArea ?\n            [\n                scrollablePlotArea.fixedDiv,\n                scrollablePlotArea.scrollingContainer\n            ] :\n            [this.container]).forEach(function (div) {\n            moveTo.appendChild(div);\n        });\n    }\n    /**\n     * Add update methods to handle chart.update and chart.exporting.update and\n     * chart.navigation.update. These must be added to the chart instance rather\n     * than the Chart prototype in order to use the chart instance inside the\n     * update function.\n     * @private\n     */\n    function onChartInit() {\n        const chart = this, \n        /**\n         * @private\n         * @param {\"exporting\"|\"navigation\"} prop\n         *        Property name in option root\n         * @param {Highcharts.ExportingOptions|Highcharts.NavigationOptions} options\n         *        Options to update\n         * @param {boolean} [redraw=true]\n         *        Whether to redraw\n                 */\n        update = (prop, options, redraw) => {\n            chart.isDirtyExporting = true;\n            merge(true, chart.options[prop], options);\n            if (pick(redraw, true)) {\n                chart.redraw();\n            }\n        };\n        chart.exporting = {\n            update: function (options, redraw) {\n                update('exporting', options, redraw);\n            }\n        };\n        // Register update() method for navigation. Cannot be set the same way\n        // as for exporting, because navigation options are shared with bindings\n        // which has separate update() logic.\n        Chart_ChartNavigationComposition\n            .compose(chart).navigation\n            .addUpdate((options, redraw) => {\n            update('navigation', options, redraw);\n        });\n    }\n    /**\n     * On layout of titles (title, subtitle and caption), adjust the `alignTo``\n     * box to avoid the context menu button.\n     * @private\n     */\n    function onChartLayOutTitle({ alignTo, key, textPxLength }) {\n        const exportingOptions = this.options.exporting, { align, buttonSpacing = 0, verticalAlign, width = 0 } = merge(this.options.navigation?.buttonOptions, exportingOptions?.buttons?.contextButton), space = alignTo.width - textPxLength, widthAdjust = width + buttonSpacing;\n        if ((exportingOptions?.enabled ?? true) &&\n            key === 'title' &&\n            align === 'right' &&\n            verticalAlign === 'top') {\n            if (space < 2 * widthAdjust) {\n                if (space < widthAdjust) {\n                    alignTo.width -= widthAdjust;\n                }\n                else if (this.title?.alignValue !== 'left') {\n                    alignTo.x -= widthAdjust - space / 2;\n                }\n            }\n        }\n    }\n    /**\n     * Exporting module required. Clears away other elements in the page and\n     * prints the chart as it is displayed. By default, when the exporting\n     * module is enabled, a context button with a drop down menu in the upper\n     * right corner accesses this function.\n     *\n     * @sample highcharts/members/chart-print/\n     *         Print from a HTML button\n     *\n     * @function Highcharts.Chart#print\n     *\n     *\n     * @emits Highcharts.Chart#event:beforePrint\n     * @emits Highcharts.Chart#event:afterPrint\n     *\n     * @requires modules/exporting\n     */\n    function print() {\n        const chart = this;\n        if (chart.isPrinting) { // Block the button while in printing mode\n            return;\n        }\n        printingChart = chart;\n        if (!(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isSafari) {\n            chart.beforePrint();\n        }\n        // Give the browser time to draw WebGL content, an issue that randomly\n        // appears (at least) in Chrome ~67 on the Mac (#8708).\n        setTimeout(() => {\n            Exporting_win.focus(); // #1510\n            Exporting_win.print();\n            // Allow the browser to prepare before reverting\n            if (!(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isSafari) {\n                setTimeout(() => {\n                    chart.afterPrint();\n                }, 1000);\n            }\n        }, 1);\n    }\n    /**\n     * Add the buttons on chart load\n     * @private\n     * @function Highcharts.Chart#renderExporting\n     * @requires modules/exporting\n     */\n    function renderExporting() {\n        const chart = this, exportingOptions = chart.options.exporting, buttons = exportingOptions.buttons, isDirty = chart.isDirtyExporting || !chart.exportSVGElements;\n        chart.buttonOffset = 0;\n        if (chart.isDirtyExporting) {\n            chart.destroyExport();\n        }\n        if (isDirty && exportingOptions.enabled !== false) {\n            chart.exportEvents = [];\n            chart.exportingGroup = chart.exportingGroup ||\n                chart.renderer.g('exporting-group').attr({\n                    zIndex: 3 // #4955, // #8392\n                }).add();\n            objectEach(buttons, function (button) {\n                chart.addButton(button);\n            });\n            chart.isDirtyExporting = false;\n        }\n    }\n    /**\n     * Exporting module only. A collection of fixes on the produced SVG to\n     * account for expand properties, browser bugs.\n     * Returns a cleaned SVG.\n     *\n     * @private\n     * @function Highcharts.Chart#sanitizeSVG\n     * @param {string} svg\n     *        SVG code to sanitize\n     * @param {Highcharts.Options} options\n     *        Chart options to apply\n     * @return {string}\n     *         Sanitized SVG code\n     * @requires modules/exporting\n     */\n    function sanitizeSVG(svg, options) {\n        const split = svg.indexOf('</svg>') + 6;\n        let html = svg.substr(split);\n        // Remove any HTML added to the container after the SVG (#894, #9087)\n        svg = svg.substr(0, split);\n        // Move HTML into a foreignObject\n        if (options && options.exporting && options.exporting.allowHTML) {\n            if (html) {\n                html = '<foreignObject x=\"0\" y=\"0\" ' +\n                    'width=\"' + options.chart.width + '\" ' +\n                    'height=\"' + options.chart.height + '\">' +\n                    '<body xmlns=\"http://www.w3.org/1999/xhtml\">' +\n                    // Some tags needs to be closed in xhtml (#13726)\n                    html.replace(/(<(?:img|br).*?(?=\\>))>/g, '$1 />') +\n                    '</body>' +\n                    '</foreignObject>';\n                svg = svg.replace('</svg>', html + '</svg>');\n            }\n        }\n        svg = svg\n            .replace(/zIndex=\"[^\"]+\"/g, '')\n            .replace(/symbolName=\"[^\"]+\"/g, '')\n            .replace(/jQuery\\d+=\"[^\"]+\"/g, '')\n            .replace(/url\\((\"|&quot;)(.*?)(\"|&quot;)\\;?\\)/g, 'url($2)')\n            .replace(/url\\([^#]+#/g, 'url(#')\n            .replace(/<svg /, '<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" ')\n            .replace(/ (NS\\d+\\:)?href=/g, ' xlink:href=') // #3567\n            .replace(/\\n+/g, ' ')\n            // Batik doesn't support rgba fills and strokes (#3095)\n            .replace(/(fill|stroke)=\"rgba\\(([ \\d]+,[ \\d]+,[ \\d]+),([ \\d\\.]+)\\)\"/g, // eslint-disable-line max-len\n        '$1=\"rgb($2)\" $1-opacity=\"$3\"')\n            // Replace HTML entities, issue #347\n            .replace(/&nbsp;/g, '\\u00A0') // No-break space\n            .replace(/&shy;/g, '\\u00AD'); // Soft hyphen\n        return svg;\n    }\n})(Exporting || (Exporting = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Exporting_Exporting = (Exporting);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Gets fired after a chart is printed through the context menu item or the\n * Chart.print method.\n *\n * @callback Highcharts.ExportingAfterPrintCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Gets fired before a chart is printed through the context menu item or the\n * Chart.print method.\n *\n * @callback Highcharts.ExportingBeforePrintCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart on which the event occurred.\n *\n * @param {global.Event} event\n *        The event that occurred.\n */\n/**\n * Function to call if the offline-exporting module fails to export a chart on\n * the client side.\n *\n * @callback Highcharts.ExportingErrorCallbackFunction\n *\n * @param {Highcharts.ExportingOptions} options\n *        The exporting options.\n *\n * @param {global.Error} err\n *        The error from the module.\n */\n/**\n * Definition for a menu item in the context menu.\n *\n * @interface Highcharts.ExportingMenuObject\n */ /**\n* The text for the menu item.\n*\n* @name Highcharts.ExportingMenuObject#text\n* @type {string|undefined}\n*/ /**\n* If internationalization is required, the key to a language string.\n*\n* @name Highcharts.ExportingMenuObject#textKey\n* @type {string|undefined}\n*/ /**\n* The click handler for the menu item.\n*\n* @name Highcharts.ExportingMenuObject#onclick\n* @type {Highcharts.EventCallbackFunction<Highcharts.Chart>|undefined}\n*/ /**\n* Indicates a separator line instead of an item.\n*\n* @name Highcharts.ExportingMenuObject#separator\n* @type {boolean|undefined}\n*/\n/**\n * Possible MIME types for exporting.\n *\n * @typedef {\"image/png\"|\"image/jpeg\"|\"application/pdf\"|\"image/svg+xml\"} Highcharts.ExportingMimeTypeValue\n */\n(''); // Keeps doclets above in transpiled file\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Fires after a chart is printed through the context menu item or the\n * `Chart.print` method.\n *\n * @sample highcharts/chart/events-beforeprint-afterprint/\n *         Rescale the chart to print\n *\n * @type      {Highcharts.ExportingAfterPrintCallbackFunction}\n * @since     4.1.0\n * @context   Highcharts.Chart\n * @requires  modules/exporting\n * @apioption chart.events.afterPrint\n */\n/**\n * Fires before a chart is printed through the context menu item or\n * the `Chart.print` method.\n *\n * @sample highcharts/chart/events-beforeprint-afterprint/\n *         Rescale the chart to print\n *\n * @type      {Highcharts.ExportingBeforePrintCallbackFunction}\n * @since     4.1.0\n * @context   Highcharts.Chart\n * @requires  modules/exporting\n * @apioption chart.events.beforePrint\n */\n(''); // Keeps doclets above in transpiled file\n\n;// ./code/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n * Declarations\n *\n * */\nconst OfflineExportingDefaults = {\n    libURL: 'https://code.highcharts.com/12.1.2/lib/',\n    // When offline-exporting is loaded, redefine the menu item definitions\n    // related to download.\n    menuItemDefinitions: {\n        downloadPNG: {\n            textKey: 'downloadPNG',\n            onclick: function () {\n                this.exportChartLocal();\n            }\n        },\n        downloadJPEG: {\n            textKey: 'downloadJPEG',\n            onclick: function () {\n                this.exportChartLocal({\n                    type: 'image/jpeg'\n                });\n            }\n        },\n        downloadSVG: {\n            textKey: 'downloadSVG',\n            onclick: function () {\n                this.exportChartLocal({\n                    type: 'image/svg+xml'\n                });\n            }\n        },\n        downloadPDF: {\n            textKey: 'downloadPDF',\n            onclick: function () {\n                this.exportChartLocal({\n                    type: 'application/pdf'\n                });\n            }\n        }\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const OfflineExporting_OfflineExportingDefaults = (OfflineExportingDefaults);\n\n;// ./code/es-modules/Extensions/OfflineExporting/OfflineExporting.js\n/* *\n *\n *  Client side exporting module\n *\n *  (c) 2015 Torstein Honsi / Oystein Moseng\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { defaultOptions: OfflineExporting_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { downloadURL: OfflineExporting_downloadURL } = Extensions_DownloadURL;\n\n\nconst { doc: OfflineExporting_doc, win: OfflineExporting_win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { ajax } = (highcharts_HttpUtilities_commonjs_highcharts_HttpUtilities_commonjs2_highcharts_HttpUtilities_root_Highcharts_HttpUtilities_default());\n\n\nconst { addEvent: OfflineExporting_addEvent, error, extend: OfflineExporting_extend, fireEvent: OfflineExporting_fireEvent, merge: OfflineExporting_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nhighcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().allowedAttributes.push('data-z-index', 'fill-opacity', 'filter', 'rx', 'ry', 'stroke-dasharray', 'stroke-linejoin', 'stroke-opacity', 'text-anchor', 'transform', 'version', 'viewBox', 'visibility', 'xmlns', 'xmlns:xlink');\nhighcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().allowedTags.push('desc', 'clippath', 'g');\n/* *\n *\n *  Composition\n *\n * */\nvar OfflineExporting;\n(function (OfflineExporting) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    // Dummy object so we can reuse our canvas-tools.js without errors\n    OfflineExporting.CanVGRenderer = {}, OfflineExporting.domurl = OfflineExporting_win.URL || OfflineExporting_win.webkitURL || OfflineExporting_win, \n    // Milliseconds to defer image load event handlers to offset IE bug\n    OfflineExporting.loadEventDeferDelay = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isMS ? 150 : 0;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Extends OfflineExporting with Chart.\n     * @private\n     */\n    function compose(ChartClass) {\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.exportChartLocal) {\n            chartProto.getSVGForLocalExport = getSVGForLocalExport;\n            chartProto.exportChartLocal = exportChartLocal;\n            // Extend the default options to use the local exporter logic\n            OfflineExporting_merge(true, OfflineExporting_defaultOptions.exporting, OfflineExporting_OfflineExportingDefaults);\n        }\n        return ChartClass;\n    }\n    OfflineExporting.compose = compose;\n    /**\n     * Get data URL to an image of an SVG and call download on it options\n     * object:\n     * - **filename:** Name of resulting downloaded file without extension.\n     * Default is `chart`.\n     *\n     * - **type:** File type of resulting download. Default is `image/png`.\n     *\n     * - **scale:** Scaling factor of downloaded image compared to source.\n     * Default is `1`.\n     * - **libURL:** URL pointing to location of dependency scripts to download\n     * on demand. Default is the exporting.libURL option of the global\n     * Highcharts options pointing to our server.\n     *\n     * @function Highcharts.downloadSVGLocal\n     *\n     * @param {string} svg\n     * The generated SVG\n     *\n     * @param {Highcharts.ExportingOptions} options\n     * The exporting options\n     *\n     * @param {Function} failCallback\n     * The callback function in case of errors\n     *\n     * @param {Function} [successCallback]\n     * The callback function in case of success\n     *\n     */\n    function downloadSVGLocal(svg, options, failCallback, successCallback) {\n        const dummySVGContainer = OfflineExporting_doc.createElement('div'), imageType = options.type || 'image/png', filename = ((options.filename || 'chart') +\n            '.' +\n            (imageType === 'image/svg+xml' ?\n                'svg' : imageType.split('/')[1])), scale = options.scale || 1;\n        let svgurl, blob, finallyHandler, libURL = (options.libURL || OfflineExporting_defaultOptions.exporting.libURL), objectURLRevoke = true, pdfFont = options.pdfFont;\n        // Allow libURL to end with or without fordward slash\n        libURL = libURL.slice(-1) !== '/' ? libURL + '/' : libURL;\n        /*\n         * Detect if we need to load TTF fonts for the PDF, then load them and\n         * proceed.\n         *\n         * @private\n         */\n        const loadPdfFonts = (svgElement, callback) => {\n            const hasNonASCII = (s) => (\n            // eslint-disable-next-line no-control-regex\n            /[^\\u0000-\\u007F\\u200B]+/.test(s));\n            // Register an event in order to add the font once jsPDF is\n            // initialized\n            const addFont = (variant, base64) => {\n                OfflineExporting_win.jspdf.jsPDF.API.events.push([\n                    'initialized',\n                    function () {\n                        this.addFileToVFS(variant, base64);\n                        this.addFont(variant, 'HighchartsFont', variant);\n                        if (!this.getFontList().HighchartsFont) {\n                            this.setFont('HighchartsFont');\n                        }\n                    }\n                ]);\n            };\n            // If there are no non-ASCII characters in the SVG, do not use\n            // bother downloading the font files\n            if (pdfFont && !hasNonASCII(svgElement.textContent || '')) {\n                pdfFont = void 0;\n            }\n            // Add new font if the URL is declared, #6417.\n            const variants = ['normal', 'italic', 'bold', 'bolditalic'];\n            // Shift the first element off the variants and add as a font.\n            // Then asynchronously trigger the next variant until calling the\n            // callback when the variants are empty.\n            let normalBase64;\n            const shiftAndLoadVariant = () => {\n                const variant = variants.shift();\n                // All variants shifted and possibly loaded, proceed\n                if (!variant) {\n                    return callback();\n                }\n                const url = pdfFont && pdfFont[variant];\n                if (url) {\n                    ajax({\n                        url,\n                        responseType: 'blob',\n                        success: (data, xhr) => {\n                            const reader = new FileReader();\n                            reader.onloadend = function () {\n                                if (typeof this.result === 'string') {\n                                    const base64 = this.result.split(',')[1];\n                                    addFont(variant, base64);\n                                    if (variant === 'normal') {\n                                        normalBase64 = base64;\n                                    }\n                                }\n                                shiftAndLoadVariant();\n                            };\n                            reader.readAsDataURL(xhr.response);\n                        },\n                        error: shiftAndLoadVariant\n                    });\n                }\n                else {\n                    // For other variants, fall back to normal text weight/style\n                    if (normalBase64) {\n                        addFont(variant, normalBase64);\n                    }\n                    shiftAndLoadVariant();\n                }\n            };\n            shiftAndLoadVariant();\n        };\n        /*\n         * @private\n         */\n        const downloadPDF = () => {\n            highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().setElementHTML(dummySVGContainer, svg);\n            const textElements = dummySVGContainer.getElementsByTagName('text'), \n            // Copy style property to element from parents if it's not\n            // there. Searches up hierarchy until it finds prop, or hits the\n            // chart container.\n            setStylePropertyFromParents = function (el, propName) {\n                let curParent = el;\n                while (curParent && curParent !== dummySVGContainer) {\n                    if (curParent.style[propName]) {\n                        let value = curParent.style[propName];\n                        if (propName === 'fontSize' && /em$/.test(value)) {\n                            value = Math.round(parseFloat(value) * 16) + 'px';\n                        }\n                        el.style[propName] = value;\n                        break;\n                    }\n                    curParent = curParent.parentNode;\n                }\n            };\n            let titleElements, outlineElements;\n            // Workaround for the text styling. Making sure it does pick up\n            // settings for parent elements.\n            [].forEach.call(textElements, function (el) {\n                // Workaround for the text styling. making sure it does pick up\n                // the root element\n                ['fontFamily', 'fontSize']\n                    .forEach((property) => {\n                    setStylePropertyFromParents(el, property);\n                });\n                el.style.fontFamily = pdfFont && pdfFont.normal ?\n                    // Custom PDF font\n                    'HighchartsFont' :\n                    // Generic font (serif, sans-serif etc)\n                    String(el.style.fontFamily &&\n                        el.style.fontFamily.split(' ').splice(-1));\n                // Workaround for plotband with width, removing title from text\n                // nodes\n                titleElements = el.getElementsByTagName('title');\n                [].forEach.call(titleElements, function (titleElement) {\n                    el.removeChild(titleElement);\n                });\n                // Remove all .highcharts-text-outline elements, #17170\n                outlineElements =\n                    el.getElementsByClassName('highcharts-text-outline');\n                while (outlineElements.length > 0) {\n                    const outline = outlineElements[0];\n                    if (outline.parentNode) {\n                        outline.parentNode.removeChild(outline);\n                    }\n                }\n            });\n            const svgNode = dummySVGContainer.querySelector('svg');\n            if (svgNode) {\n                loadPdfFonts(svgNode, () => {\n                    svgToPdf(svgNode, 0, scale, (pdfData) => {\n                        try {\n                            OfflineExporting_downloadURL(pdfData, filename);\n                            if (successCallback) {\n                                successCallback();\n                            }\n                        }\n                        catch (e) {\n                            failCallback(e);\n                        }\n                    });\n                });\n            }\n        };\n        // Initiate download depending on file type\n        if (imageType === 'image/svg+xml') {\n            // SVG download. In this case, we want to use Microsoft specific\n            // Blob if available\n            try {\n                if (typeof OfflineExporting_win.MSBlobBuilder !== 'undefined') {\n                    blob = new OfflineExporting_win.MSBlobBuilder();\n                    blob.append(svg);\n                    svgurl = blob.getBlob('image/svg+xml');\n                }\n                else {\n                    svgurl = svgToDataUrl(svg);\n                }\n                OfflineExporting_downloadURL(svgurl, filename);\n                if (successCallback) {\n                    successCallback();\n                }\n            }\n            catch (e) {\n                failCallback(e);\n            }\n        }\n        else if (imageType === 'application/pdf') {\n            if (OfflineExporting_win.jspdf && OfflineExporting_win.jspdf.jsPDF) {\n                downloadPDF();\n            }\n            else {\n                // Must load pdf libraries first. // Don't destroy the object\n                // URL yet since we are doing things asynchronously. A cleaner\n                // solution would be nice, but this will do for now.\n                objectURLRevoke = true;\n                getScript(libURL + 'jspdf.js', function () {\n                    getScript(libURL + 'svg2pdf.js', downloadPDF);\n                });\n            }\n        }\n        else {\n            // PNG/JPEG download - create bitmap from SVG\n            svgurl = svgToDataUrl(svg);\n            finallyHandler = function () {\n                try {\n                    OfflineExporting.domurl.revokeObjectURL(svgurl);\n                }\n                catch (e) {\n                    // Ignore\n                }\n            };\n            // First, try to get PNG by rendering on canvas\n            imageToDataUrl(svgurl, imageType, {}, scale, function (imageURL) {\n                // Success\n                try {\n                    OfflineExporting_downloadURL(imageURL, filename);\n                    if (successCallback) {\n                        successCallback();\n                    }\n                }\n                catch (e) {\n                    failCallback(e);\n                }\n            }, function () {\n                if (svg.length > 100000000 /* RegexLimits.svgLimit */) {\n                    throw new Error('Input too long');\n                }\n                // Failed due to tainted canvas\n                // Create new and untainted canvas\n                const canvas = OfflineExporting_doc.createElement('canvas'), ctx = canvas.getContext('2d'), matchedImageWidth = svg.match(\n                // eslint-disable-next-line max-len\n                /^<svg[^>]*\\s{,1000}width\\s{,1000}=\\s{,1000}\\\"?(\\d+)\\\"?[^>]*>/), matchedImageHeight = svg.match(\n                // eslint-disable-next-line max-len\n                /^<svg[^>]*\\s{0,1000}height\\s{,1000}=\\s{,1000}\\\"?(\\d+)\\\"?[^>]*>/);\n                if (ctx && matchedImageWidth && matchedImageHeight) {\n                    const imageWidth = +matchedImageWidth[1] * scale, imageHeight = +matchedImageHeight[1] * scale, downloadWithCanVG = () => {\n                        const v = OfflineExporting_win.canvg.Canvg.fromString(ctx, svg);\n                        v.start();\n                        try {\n                            OfflineExporting_downloadURL(OfflineExporting_win.navigator.msSaveOrOpenBlob ?\n                                canvas.msToBlob() :\n                                canvas.toDataURL(imageType), filename);\n                            if (successCallback) {\n                                successCallback();\n                            }\n                        }\n                        catch (e) {\n                            failCallback(e);\n                        }\n                        finally {\n                            finallyHandler();\n                        }\n                    };\n                    canvas.width = imageWidth;\n                    canvas.height = imageHeight;\n                    if (OfflineExporting_win.canvg) {\n                        // Use preloaded canvg\n                        downloadWithCanVG();\n                    }\n                    else {\n                        // Must load canVG first.\n                        // Don't destroy the object URL yet since we are\n                        // doing things asynchronously. A cleaner solution\n                        // would be nice, but this will do for now.\n                        objectURLRevoke = true;\n                        getScript(libURL + 'canvg.js', downloadWithCanVG);\n                    }\n                }\n            }, \n            // No canvas support\n            failCallback, \n            // Failed to load image\n            failCallback, \n            // Finally\n            function () {\n                if (objectURLRevoke) {\n                    finallyHandler();\n                }\n            });\n        }\n    }\n    OfflineExporting.downloadSVGLocal = downloadSVGLocal;\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Exporting and offline-exporting modules required. Export a chart to\n     * an image locally in the user's browser.\n     *\n     * @function Highcharts.Chart#exportChartLocal\n     *\n     * @param  {Highcharts.ExportingOptions} [exportingOptions]\n     *         Exporting options, the same as in\n     *         {@link Highcharts.Chart#exportChart}.\n     *\n     * @param  {Highcharts.Options} [chartOptions]\n     *         Additional chart options for the exported chart. For example\n     *         a different background color can be added here, or\n     *         `dataLabels` for export only.\n     *\n     *\n     * @requires modules/exporting\n     * @requires modules/offline-exporting\n     */\n    function exportChartLocal(exportingOptions, chartOptions) {\n        const chart = this, options = OfflineExporting_merge(chart.options.exporting, exportingOptions), fallbackToExportServer = function (err) {\n            if (options.fallbackToExportServer === false) {\n                if (options.error) {\n                    options.error(options, err);\n                }\n                else {\n                    error(28, true); // Fallback disabled\n                }\n            }\n            else {\n                chart.exportChart(options);\n            }\n        }, svgSuccess = function (svg) {\n            // If SVG contains foreignObjects PDF fails in all browsers\n            // and all exports except SVG will fail in IE, as both CanVG\n            // and svg2pdf choke on this. Gracefully fall back.\n            if (svg.indexOf('<foreignObject') > -1 &&\n                options.type !== 'image/svg+xml' &&\n                ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isMS || options.type === 'application/pdf')) {\n                fallbackToExportServer(new Error('Image type not supported for charts with embedded HTML'));\n            }\n            else {\n                OfflineExporting.downloadSVGLocal(svg, OfflineExporting_extend({ filename: chart.getFilename() }, options), fallbackToExportServer, () => OfflineExporting_fireEvent(chart, 'exportChartLocalSuccess'));\n            }\n        }, \n        // Return true if the SVG contains images with external data. With\n        // the boost module there are `image` elements with encoded PNGs,\n        // these are supported by svg2pdf and should pass (#10243).\n        hasExternalImages = function () {\n            return [].some.call(chart.container.getElementsByTagName('image'), function (image) {\n                const href = image.getAttribute('href');\n                return (href !== '' &&\n                    typeof href === 'string' &&\n                    href.indexOf('data:') !== 0);\n            });\n        };\n        // If we are on IE and in styled mode, add an allowlist to the renderer\n        // for inline styles that we want to pass through. There are so many\n        // styles by default in IE that we don't want to denylist them all.\n        if ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isMS && chart.styledMode && !Exporting_Exporting.inlineAllowlist.length) {\n            Exporting_Exporting.inlineAllowlist.push(/^blockSize/, /^border/, /^caretColor/, /^color/, /^columnRule/, /^columnRuleColor/, /^cssFloat/, /^cursor/, /^fill$/, /^fillOpacity/, /^font/, /^inlineSize/, /^length/, /^lineHeight/, /^opacity/, /^outline/, /^parentRule/, /^rx$/, /^ry$/, /^stroke/, /^textAlign/, /^textAnchor/, /^textDecoration/, /^transform/, /^vectorEffect/, /^visibility/, /^x$/, /^y$/);\n        }\n        // Always fall back on:\n        // - MS browsers: Embedded images JPEG/PNG, or any PDF\n        // - Embedded images and PDF\n        if (((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isMS &&\n            (options.type === 'application/pdf' ||\n                chart.container.getElementsByTagName('image').length &&\n                    options.type !== 'image/svg+xml')) || (options.type === 'application/pdf' &&\n            hasExternalImages())) {\n            fallbackToExportServer(new Error('Image type not supported for this chart/browser.'));\n            return;\n        }\n        chart.getSVGForLocalExport(options, chartOptions || {}, fallbackToExportServer, svgSuccess);\n    }\n    /**\n     * Downloads a script and executes a callback when done.\n     *\n     * @private\n     * @function getScript\n     * @param {string} scriptLocation\n     * @param {Function} callback\n     */\n    function getScript(scriptLocation, callback) {\n        const head = OfflineExporting_doc.getElementsByTagName('head')[0], script = OfflineExporting_doc.createElement('script');\n        script.type = 'text/javascript';\n        script.src = scriptLocation;\n        script.onload = callback;\n        script.onerror = function () {\n            error('Error loading script ' + scriptLocation);\n        };\n        head.appendChild(script);\n    }\n    OfflineExporting.getScript = getScript;\n    /**\n     * Get SVG of chart prepared for client side export. This converts\n     * embedded images in the SVG to data URIs. It requires the regular\n     * exporting module. The options and chartOptions arguments are passed\n     * to the getSVGForExport function.\n     *\n     * @private\n     * @function Highcharts.Chart#getSVGForLocalExport\n     * @param {Highcharts.ExportingOptions} options\n     * @param {Highcharts.Options} chartOptions\n     * @param {Function} failCallback\n     * @param {Function} successCallback\n     */\n    function getSVGForLocalExport(options, chartOptions, failCallback, successCallback) {\n        const chart = this, \n        // After grabbing the SVG of the chart's copy container we need\n        // to do sanitation on the SVG\n        sanitize = (svg) => chart.sanitizeSVG(svg, chartCopyOptions), \n        // When done with last image we have our SVG\n        checkDone = () => {\n            if (images && imagesEmbedded === imagesLength) {\n                successCallback(sanitize(chartCopyContainer.innerHTML));\n            }\n        }, \n        // Success handler, we converted image to base64!\n        embeddedSuccess = (imageURL, imageType, callbackArgs) => {\n            ++imagesEmbedded;\n            // Change image href in chart copy\n            callbackArgs.imageElement.setAttributeNS('http://www.w3.org/1999/xlink', 'href', imageURL);\n            checkDone();\n        };\n        let el, chartCopyContainer, chartCopyOptions, href = null, images, imagesLength = 0, imagesEmbedded = 0;\n        // Hook into getSVG to get a copy of the chart copy's\n        // container (#8273)\n        chart.unbindGetSVG = OfflineExporting_addEvent(chart, 'getSVG', (e) => {\n            chartCopyOptions = e.chartCopy.options;\n            chartCopyContainer = e.chartCopy.container.cloneNode(true);\n            images = chartCopyContainer && chartCopyContainer\n                .getElementsByTagName('image') || [];\n            imagesLength = images.length;\n        });\n        // Trigger hook to get chart copy\n        chart.getSVGForExport(options, chartOptions);\n        try {\n            // If there are no images to embed, the SVG is okay now.\n            if (!images || !images.length) {\n                // Use SVG of chart copy\n                successCallback(sanitize(chartCopyContainer.innerHTML));\n                return;\n            }\n            // Go through the images we want to embed\n            for (let i = 0; i < images.length; i++) {\n                el = images[i];\n                href = el.getAttributeNS('http://www.w3.org/1999/xlink', 'href');\n                if (href) {\n                    OfflineExporting.imageToDataUrl(href, 'image/png', { imageElement: el }, options.scale, embeddedSuccess, \n                    // Tainted canvas\n                    failCallback, \n                    // No canvas support\n                    failCallback, \n                    // Failed to load source\n                    failCallback);\n                    // Hidden, boosted series have blank href (#10243)\n                }\n                else {\n                    imagesEmbedded++;\n                    el.parentNode.removeChild(el);\n                    i--;\n                    checkDone();\n                }\n            }\n        }\n        catch (e) {\n            failCallback(e);\n        }\n        // Clean up\n        chart.unbindGetSVG();\n    }\n    /**\n     * Get data:URL from image URL. Pass in callbacks to handle results.\n     *\n     * @private\n     * @function Highcharts.imageToDataUrl\n     *\n     * @param {string} imageURL\n     *\n     * @param {string} imageType\n     *\n     * @param {*} callbackArgs\n     *        callbackArgs is used only by callbacks.\n     *\n     * @param {number} scale\n     *\n     * @param {Function} successCallback\n     *        Receives four arguments: imageURL, imageType, callbackArgs,\n     *        and scale.\n     *\n     * @param {Function} taintedCallback\n     *        Receives four arguments: imageURL, imageType, callbackArgs,\n     *        and scale.\n     *\n     * @param {Function} noCanvasSupportCallback\n     *        Receives four arguments: imageURL, imageType, callbackArgs,\n     *        and scale.\n     *\n     * @param {Function} failedLoadCallback\n     *        Receives four arguments: imageURL, imageType, callbackArgs,\n     *        and scale.\n     *\n     * @param {Function} [finallyCallback]\n     *        finallyCallback is always called at the end of the process. All\n     *        callbacks receive four arguments: imageURL, imageType,\n     *        callbackArgs, and scale.\n     */\n    function imageToDataUrl(imageURL, imageType, callbackArgs, scale, successCallback, taintedCallback, noCanvasSupportCallback, failedLoadCallback, finallyCallback) {\n        let img = new OfflineExporting_win.Image(), taintedHandler;\n        const loadHandler = () => {\n            setTimeout(function () {\n                const canvas = OfflineExporting_doc.createElement('canvas'), ctx = canvas.getContext && canvas.getContext('2d');\n                let dataURL;\n                try {\n                    if (!ctx) {\n                        noCanvasSupportCallback(imageURL, imageType, callbackArgs, scale);\n                    }\n                    else {\n                        canvas.height = img.height * scale;\n                        canvas.width = img.width * scale;\n                        ctx.drawImage(img, 0, 0, canvas.width, canvas.height);\n                        // Now we try to get the contents of the canvas.\n                        try {\n                            dataURL = canvas.toDataURL(imageType);\n                            successCallback(dataURL, imageType, callbackArgs, scale);\n                        }\n                        catch (e) {\n                            taintedHandler(imageURL, imageType, callbackArgs, scale);\n                        }\n                    }\n                }\n                finally {\n                    if (finallyCallback) {\n                        finallyCallback(imageURL, imageType, callbackArgs, scale);\n                    }\n                }\n                // IE bug where image is not always ready despite calling load\n                // event.\n            }, OfflineExporting.loadEventDeferDelay);\n        }, \n        // Image load failed (e.g. invalid URL)\n        errorHandler = () => {\n            failedLoadCallback(imageURL, imageType, callbackArgs, scale);\n            if (finallyCallback) {\n                finallyCallback(imageURL, imageType, callbackArgs, scale);\n            }\n        };\n        // This is called on load if the image drawing to canvas failed with a\n        // security error. We retry the drawing with crossOrigin set to\n        // Anonymous.\n        taintedHandler = () => {\n            img = new OfflineExporting_win.Image();\n            taintedHandler = taintedCallback;\n            // Must be set prior to loading image source\n            img.crossOrigin = 'Anonymous';\n            img.onload = loadHandler;\n            img.onerror = errorHandler;\n            img.src = imageURL;\n        };\n        img.onload = loadHandler;\n        img.onerror = errorHandler;\n        img.src = imageURL;\n    }\n    OfflineExporting.imageToDataUrl = imageToDataUrl;\n    /**\n     * Get blob URL from SVG code. Falls back to normal data URI.\n     *\n     * @private\n     * @function Highcharts.svgToDataURL\n     */\n    function svgToDataUrl(svg) {\n        // Webkit and not chrome\n        const userAgent = OfflineExporting_win.navigator.userAgent;\n        const webKit = (userAgent.indexOf('WebKit') > -1 &&\n            userAgent.indexOf('Chrome') < 0);\n        try {\n            // Safari requires data URI since it doesn't allow navigation to\n            // blob URLs. ForeignObjects also don't work well in Blobs in Chrome\n            // (#14780).\n            if (!webKit && svg.indexOf('<foreignObject') === -1) {\n                return OfflineExporting.domurl.createObjectURL(new OfflineExporting_win.Blob([svg], {\n                    type: 'image/svg+xml;charset-utf-16'\n                }));\n            }\n        }\n        catch (e) {\n            // Ignore\n        }\n        return 'data:image/svg+xml;charset=UTF-8,' + encodeURIComponent(svg);\n    }\n    OfflineExporting.svgToDataUrl = svgToDataUrl;\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    function svgToPdf(svgElement, margin, scale, callback) {\n        const width = (Number(svgElement.getAttribute('width')) + 2 * margin) *\n            scale, height = (Number(svgElement.getAttribute('height')) + 2 * margin) *\n            scale, pdfDoc = new OfflineExporting_win.jspdf.jsPDF(// eslint-disable-line new-cap\n        // setting orientation to portrait if height exceeds width\n        height > width ? 'p' : 'l', 'pt', [width, height]);\n        // Workaround for #7090, hidden elements were drawn anyway. It comes\n        // down to https://github.com/yWorks/svg2pdf.js/issues/28. Check this\n        // later.\n        [].forEach.call(svgElement.querySelectorAll('*[visibility=\"hidden\"]'), function (node) {\n            node.parentNode.removeChild(node);\n        });\n        // Workaround for #13948, multiple stops in linear gradient set to 0\n        // causing error in Acrobat\n        const gradients = svgElement.querySelectorAll('linearGradient');\n        for (let index = 0; index < gradients.length; index++) {\n            const gradient = gradients[index];\n            const stops = gradient.querySelectorAll('stop');\n            let i = 0;\n            while (i < stops.length &&\n                stops[i].getAttribute('offset') === '0' &&\n                stops[i + 1].getAttribute('offset') === '0') {\n                stops[i].remove();\n                i++;\n            }\n        }\n        // Workaround for #15135, zero width spaces, which Highcharts uses\n        // to break lines, are not correctly rendered in PDF. Replace it\n        // with a regular space and offset by some pixels to compensate.\n        [].forEach.call(svgElement.querySelectorAll('tspan'), (tspan) => {\n            if (tspan.textContent === '\\u200B') {\n                tspan.textContent = ' ';\n                tspan.setAttribute('dx', -5);\n            }\n        });\n        pdfDoc.svg(svgElement, {\n            x: 0,\n            y: 0,\n            width,\n            height,\n            removeInvalid: true\n        }).then(() => callback(pdfDoc.output('datauristring')));\n    }\n    OfflineExporting.svgToPdf = svgToPdf;\n})(OfflineExporting || (OfflineExporting = {}));\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ const OfflineExporting_OfflineExporting = (OfflineExporting);\n\n;// ./code/es-modules/masters/modules/offline-exporting.src.js\n\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n// Compatibility\nG.dataURLtoBlob = G.dataURLtoBlob || Extensions_DownloadURL.dataURLtoBlob;\nG.downloadSVGLocal = OfflineExporting_OfflineExporting.downloadSVGLocal;\nG.downloadURL = G.downloadURL || Extensions_DownloadURL.downloadURL;\n// Compose\nOfflineExporting_OfflineExporting.compose(G.Chart);\n/* harmony default export */ const offline_exporting_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/color-axis\n * @requires highcharts\n *\n * ColorAxis module\n *\n * (c) 2012-2024 Pawel Potaczek\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Axis\"], root[\"_Highcharts\"][\"Color\"], root[\"_Highcharts\"][\"LegendSymbol\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"SVGElement\"], root[\"_Highcharts\"][\"SVGRenderer\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/heatmap\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"Axis\"],amd1[\"Color\"],amd1[\"LegendSymbol\"],amd1[\"SeriesRegistry\"],amd1[\"SVGElement\"],amd1[\"SVGRenderer\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/heatmap\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Axis\"], root[\"_Highcharts\"][\"Color\"], root[\"_Highcharts\"][\"LegendSymbol\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"SVGElement\"], root[\"_Highcharts\"][\"SVGRenderer\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"Axis\"], root[\"Highcharts\"][\"Color\"], root[\"Highcharts\"][\"LegendSymbol\"], root[\"Highcharts\"][\"SeriesRegistry\"], root[\"Highcharts\"][\"SVGElement\"], root[\"Highcharts\"][\"SVGRenderer\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__532__, __WEBPACK_EXTERNAL_MODULE__620__, __WEBPACK_EXTERNAL_MODULE__500__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__28__, __WEBPACK_EXTERNAL_MODULE__540__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 532:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__532__;\n\n/***/ }),\n\n/***/ 620:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__620__;\n\n/***/ }),\n\n/***/ 500:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__500__;\n\n/***/ }),\n\n/***/ 28:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__28__;\n\n/***/ }),\n\n/***/ 540:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__540__;\n\n/***/ }),\n\n/***/ 512:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ heatmap_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Axis\"],\"commonjs\":[\"highcharts\",\"Axis\"],\"commonjs2\":[\"highcharts\",\"Axis\"],\"root\":[\"Highcharts\",\"Axis\"]}\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_ = __webpack_require__(532);\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default = /*#__PURE__*/__webpack_require__.n(highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Color\"],\"commonjs\":[\"highcharts\",\"Color\"],\"commonjs2\":[\"highcharts\",\"Color\"],\"root\":[\"Highcharts\",\"Color\"]}\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_ = __webpack_require__(620);\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default = /*#__PURE__*/__webpack_require__.n(highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_);\n;// ./code/es-modules/Core/Axis/Color/ColorAxisComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\nconst { addEvent, extend, merge, pick, splat } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar ColorAxisComposition;\n(function (ColorAxisComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let ColorAxisConstructor;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ColorAxisClass, ChartClass, FxClass, LegendClass, SeriesClass) {\n        const chartProto = ChartClass.prototype, fxProto = FxClass.prototype, seriesProto = SeriesClass.prototype;\n        if (!chartProto.collectionsWithUpdate.includes('colorAxis')) {\n            ColorAxisConstructor = ColorAxisClass;\n            chartProto.collectionsWithUpdate.push('colorAxis');\n            chartProto.collectionsWithInit.colorAxis = [\n                chartProto.addColorAxis\n            ];\n            addEvent(ChartClass, 'afterCreateAxes', onChartAfterCreateAxes);\n            wrapChartCreateAxis(ChartClass);\n            fxProto.fillSetter = wrapFxFillSetter;\n            fxProto.strokeSetter = wrapFxStrokeSetter;\n            addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);\n            addEvent(LegendClass, 'afterColorizeItem', onLegendAfterColorizeItem);\n            addEvent(LegendClass, 'afterUpdate', onLegendAfterUpdate);\n            extend(seriesProto, {\n                optionalAxis: 'colorAxis',\n                translateColors: seriesTranslateColors\n            });\n            extend(seriesProto.pointClass.prototype, {\n                setVisible: pointSetVisible\n            });\n            addEvent(SeriesClass, 'afterTranslate', onSeriesAfterTranslate, { order: 1 });\n            addEvent(SeriesClass, 'bindAxes', onSeriesBindAxes);\n        }\n    }\n    ColorAxisComposition.compose = compose;\n    /**\n     * Extend the chart createAxes method to also make the color axis.\n     * @private\n     */\n    function onChartAfterCreateAxes() {\n        const { userOptions } = this;\n        this.colorAxis = [];\n        // If a `colorAxis` config is present in the user options (not in a\n        // theme), instanciate it.\n        if (userOptions.colorAxis) {\n            userOptions.colorAxis = splat(userOptions.colorAxis);\n            userOptions.colorAxis.map((axisOptions) => (new ColorAxisConstructor(this, axisOptions)));\n        }\n    }\n    /**\n     * Add the color axis. This also removes the axis' own series to prevent\n     * them from showing up individually.\n     * @private\n     */\n    function onLegendAfterGetAllItems(e) {\n        const colorAxes = this.chart.colorAxis || [], destroyItem = (item) => {\n            const i = e.allItems.indexOf(item);\n            if (i !== -1) {\n                // #15436\n                this.destroyItem(e.allItems[i]);\n                e.allItems.splice(i, 1);\n            }\n        };\n        let colorAxisItems = [], options, i;\n        colorAxes.forEach(function (colorAxis) {\n            options = colorAxis.options;\n            if (options && options.showInLegend) {\n                // Data classes\n                if (options.dataClasses && options.visible) {\n                    colorAxisItems = colorAxisItems.concat(colorAxis.getDataClassLegendSymbols());\n                    // Gradient legend\n                }\n                else if (options.visible) {\n                    // Add this axis on top\n                    colorAxisItems.push(colorAxis);\n                }\n                // If dataClasses are defined or showInLegend option is not set\n                // to true, do not add color axis' series to legend.\n                colorAxis.series.forEach(function (series) {\n                    if (!series.options.showInLegend || options.dataClasses) {\n                        if (series.options.legendType === 'point') {\n                            series.points.forEach(function (point) {\n                                destroyItem(point);\n                            });\n                        }\n                        else {\n                            destroyItem(series);\n                        }\n                    }\n                });\n            }\n        });\n        i = colorAxisItems.length;\n        while (i--) {\n            e.allItems.unshift(colorAxisItems[i]);\n        }\n    }\n    /**\n     * @private\n     */\n    function onLegendAfterColorizeItem(e) {\n        if (e.visible && e.item.legendColor) {\n            e.item.legendItem.symbol.attr({\n                fill: e.item.legendColor\n            });\n        }\n    }\n    /**\n     * Updates in the legend need to be reflected in the color axis. (#6888)\n     * @private\n     */\n    function onLegendAfterUpdate(e) {\n        this.chart.colorAxis?.forEach((colorAxis) => {\n            colorAxis.update({}, e.redraw);\n        });\n    }\n    /**\n     * Calculate and set colors for points.\n     * @private\n     */\n    function onSeriesAfterTranslate() {\n        if (this.chart.colorAxis &&\n            this.chart.colorAxis.length ||\n            this.colorAttribs) {\n            this.translateColors();\n        }\n    }\n    /**\n     * Add colorAxis to series axisTypes.\n     * @private\n     */\n    function onSeriesBindAxes() {\n        const axisTypes = this.axisTypes;\n        if (!axisTypes) {\n            this.axisTypes = ['colorAxis'];\n        }\n        else if (axisTypes.indexOf('colorAxis') === -1) {\n            axisTypes.push('colorAxis');\n        }\n    }\n    /**\n     * Set the visibility of a single point\n     * @private\n     * @function Highcharts.colorPointMixin.setVisible\n     * @param {boolean} visible\n     */\n    function pointSetVisible(vis) {\n        const point = this, method = vis ? 'show' : 'hide';\n        point.visible = point.options.visible = Boolean(vis);\n        // Show and hide associated elements\n        ['graphic', 'dataLabel'].forEach(function (key) {\n            if (point[key]) {\n                point[key][method]();\n            }\n        });\n        this.series.buildKDTree(); // Rebuild kdtree #13195\n    }\n    ColorAxisComposition.pointSetVisible = pointSetVisible;\n    /**\n     * In choropleth maps, the color is a result of the value, so this needs\n     * translation too\n     * @private\n     * @function Highcharts.colorSeriesMixin.translateColors\n     */\n    function seriesTranslateColors() {\n        const series = this, points = this.getPointsCollection(), // #17945\n        nullColor = this.options.nullColor, colorAxis = this.colorAxis, colorKey = this.colorKey;\n        points.forEach((point) => {\n            const value = point.getNestedProperty(colorKey), color = point.options.color || (point.isNull || point.value === null ?\n                nullColor :\n                (colorAxis && typeof value !== 'undefined') ?\n                    colorAxis.toColor(value, point) :\n                    point.color || series.color);\n            if (color && point.color !== color) {\n                point.color = color;\n                if (series.options.legendType === 'point' &&\n                    point.legendItem &&\n                    point.legendItem.label) {\n                    series.chart.legend.colorizeItem(point, point.visible);\n                }\n            }\n        });\n    }\n    /**\n     * @private\n     */\n    function wrapChartCreateAxis(ChartClass) {\n        const superCreateAxis = ChartClass.prototype.createAxis;\n        ChartClass.prototype.createAxis = function (type, options) {\n            const chart = this;\n            if (type !== 'colorAxis') {\n                return superCreateAxis.apply(chart, arguments);\n            }\n            const axis = new ColorAxisConstructor(chart, merge(options.axis, {\n                index: chart[type].length,\n                isX: false\n            }));\n            chart.isDirtyLegend = true;\n            // Clear before 'bindAxes' (#11924)\n            chart.axes.forEach((axis) => {\n                axis.series = [];\n            });\n            chart.series.forEach((series) => {\n                series.bindAxes();\n                series.isDirtyData = true;\n            });\n            if (pick(options.redraw, true)) {\n                chart.redraw(options.animation);\n            }\n            return axis;\n        };\n    }\n    /**\n     * Handle animation of the color attributes directly.\n     * @private\n     */\n    function wrapFxFillSetter() {\n        this.elem.attr('fill', color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n    }\n    /**\n     * Handle animation of the color attributes directly.\n     * @private\n     */\n    function wrapFxStrokeSetter() {\n        this.elem.attr('stroke', color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n    }\n})(ColorAxisComposition || (ColorAxisComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Color_ColorAxisComposition = (ColorAxisComposition);\n\n;// ./code/es-modules/Core/Axis/Color/ColorAxisDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A color axis for series. Visually, the color\n * axis will appear as a gradient or as separate items inside the\n * legend, depending on whether the axis is scalar or based on data\n * classes.\n *\n * For supported color formats, see the\n * [docs article about colors](https://www.highcharts.com/docs/chart-design-and-style/colors).\n *\n * A scalar color axis is represented by a gradient. The colors either\n * range between the [minColor](#colorAxis.minColor) and the\n * [maxColor](#colorAxis.maxColor), or for more fine grained control the\n * colors can be defined in [stops](#colorAxis.stops). Often times, the\n * color axis needs to be adjusted to get the right color spread for the\n * data. In addition to stops, consider using a logarithmic\n * [axis type](#colorAxis.type), or setting [min](#colorAxis.min) and\n * [max](#colorAxis.max) to avoid the colors being determined by\n * outliers.\n *\n * When [dataClasses](#colorAxis.dataClasses) are used, the ranges are\n * subdivided into separate classes like categories based on their\n * values. This can be used for ranges between two values, but also for\n * a true category. However, when your data is categorized, it may be as\n * convenient to add each category to a separate series.\n *\n * Color axis does not work with: `sankey`, `sunburst`, `dependencywheel`,\n * `networkgraph`, `wordcloud`, `venn`, `gauge` and `solidgauge` series\n * types.\n *\n * Since v7.2.0 `colorAxis` can also be an array of options objects.\n *\n * See [the Axis object](/class-reference/Highcharts.Axis) for\n * programmatic access to the axis.\n *\n * @sample       {highcharts} highcharts/coloraxis/custom-color-key\n *               Column chart with color axis\n * @sample       {highcharts} highcharts/coloraxis/horizontal-layout\n *               Horizontal layout\n * @sample       {highmaps} maps/coloraxis/dataclasscolor\n *               With data classes\n * @sample       {highmaps} maps/coloraxis/mincolor-maxcolor\n *               Min color and max color\n *\n * @extends      xAxis\n * @excluding    alignTicks, allowDecimals, alternateGridColor, breaks,\n *               categories, crosshair, dateTimeLabelFormats, left,\n *               lineWidth, linkedTo, maxZoom, minRange, minTickInterval,\n *               offset, opposite, pane, plotBands, plotLines,\n *               reversedStacks, scrollbar, showEmpty, title, top,\n *               zoomEnabled\n * @product      highcharts highstock highmaps\n * @type         {*|Array<*>}\n * @optionparent colorAxis\n */\nconst colorAxisDefaults = {\n    /**\n     * Whether to allow decimals on the color axis.\n     * @type      {boolean}\n     * @default   true\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.allowDecimals\n     */\n    /**\n     * Determines how to set each data class' color if no individual\n     * color is set. The default value, `tween`, computes intermediate\n     * colors between `minColor` and `maxColor`. The other possible\n     * value, `category`, pulls colors from the global or chart specific\n     * [colors](#colors) array.\n     *\n     * @sample {highmaps} maps/coloraxis/dataclasscolor/\n     *         Category colors\n     *\n     * @type       {string}\n     * @default    tween\n     * @product    highcharts highstock highmaps\n     * @validvalue [\"tween\", \"category\"]\n     * @apioption  colorAxis.dataClassColor\n     */\n    /**\n     * An array of data classes or ranges for the choropleth map. If\n     * none given, the color axis is scalar and values are distributed\n     * as a gradient between the minimum and maximum colors.\n     *\n     * @sample {highmaps} maps/demo/data-class-ranges/\n     *         Multiple ranges\n     *\n     * @sample {highmaps} maps/demo/data-class-two-ranges/\n     *         Two ranges\n     *\n     * @type      {Array<*>}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses\n     */\n    /**\n     * The layout of the color axis. Can be `'horizontal'` or `'vertical'`.\n     * If none given, the color axis has the same layout as the legend.\n     *\n     * @sample highcharts/coloraxis/horizontal-layout/\n     *         Horizontal color axis layout with vertical legend\n     *\n     * @type      {string|undefined}\n     * @since     7.2.0\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.layout\n     */\n    /**\n     * The color of each data class. If not set, the color is pulled\n     * from the global or chart-specific [colors](#colors) array. In\n     * styled mode, this option is ignored. Instead, use colors defined\n     * in CSS.\n     *\n     * @sample {highmaps} maps/demo/data-class-two-ranges/\n     *         Explicit colors\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses.color\n     */\n    /**\n     * The start of the value range that the data class represents,\n     * relating to the point value.\n     *\n     * The range of each `dataClass` is closed in both ends, but can be\n     * overridden by the next `dataClass`.\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses.from\n     */\n    /**\n     * The name of the data class as it appears in the legend.\n     * If no name is given, it is automatically created based on the\n     * `from` and `to` values. For full programmatic control,\n     * [legend.labelFormatter](#legend.labelFormatter) can be used.\n     * In the formatter, `this.from` and `this.to` can be accessed.\n     *\n     * @sample {highmaps} maps/coloraxis/dataclasses-name/\n     *         Named data classes\n     *\n     * @sample {highmaps} maps/coloraxis/dataclasses-labelformatter/\n     *         Formatted data classes\n     *\n     * @type      {string}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses.name\n     */\n    /**\n     * The end of the value range that the data class represents,\n     * relating to the point value.\n     *\n     * The range of each `dataClass` is closed in both ends, but can be\n     * overridden by the next `dataClass`.\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses.to\n     */\n    /** @ignore-option */\n    lineWidth: 0,\n    /**\n     * Padding of the min value relative to the length of the axis. A\n     * padding of 0.05 will make a 100px axis 5px longer.\n     *\n     * @product highcharts highstock highmaps\n     */\n    minPadding: 0,\n    /**\n     * The maximum value of the axis in terms of map point values. If\n     * `null`, the max value is automatically calculated. If the\n     * `endOnTick` option is true, the max value might be rounded up.\n     *\n     * @sample {highmaps} maps/coloraxis/gridlines/\n     *         Explicit min and max to reduce the effect of outliers\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.max\n     */\n    /**\n     * The minimum value of the axis in terms of map point values. If\n     * `null`, the min value is automatically calculated. If the\n     * `startOnTick` option is true, the min value might be rounded\n     * down.\n     *\n     * @sample {highmaps} maps/coloraxis/gridlines/\n     *         Explicit min and max to reduce the effect of outliers\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.min\n     */\n    /**\n     * Padding of the max value relative to the length of the axis. A\n     * padding of 0.05 will make a 100px axis 5px longer.\n     *\n     * @product highcharts highstock highmaps\n     */\n    maxPadding: 0,\n    /**\n     * Color of the grid lines extending from the axis across the\n     * gradient.\n     *\n     * @sample {highmaps} maps/coloraxis/gridlines/\n     *         Grid lines demonstrated\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product   highcharts highstock highmaps\n     */\n    gridLineColor: \"#ffffff\" /* Palette.backgroundColor */,\n    /**\n     * The width of the grid lines extending from the axis across the\n     * gradient of a scalar color axis.\n     *\n     * @sample {highmaps} maps/coloraxis/gridlines/\n     *         Grid lines demonstrated\n     *\n     * @product highcharts highstock highmaps\n     */\n    gridLineWidth: 1,\n    /**\n     * The interval of the tick marks in axis units. When `null`, the\n     * tick interval is computed to approximately follow the\n     * `tickPixelInterval`.\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.tickInterval\n     */\n    /**\n     * If [tickInterval](#colorAxis.tickInterval) is `null` this option\n     * sets the approximate pixel interval of the tick marks.\n     *\n     * @product highcharts highstock highmaps\n     */\n    tickPixelInterval: 72,\n    /**\n     * Whether to force the axis to start on a tick. Use this option\n     * with the `maxPadding` option to control the axis start.\n     *\n     * @product highcharts highstock highmaps\n     */\n    startOnTick: true,\n    /**\n     * Whether to force the axis to end on a tick. Use this option with\n     * the [maxPadding](#colorAxis.maxPadding) option to control the\n     * axis end.\n     *\n     * @product highcharts highstock highmaps\n     */\n    endOnTick: true,\n    /** @ignore */\n    offset: 0,\n    /**\n     * The triangular marker on a scalar color axis that points to the\n     * value of the hovered area. To disable the marker, set\n     * `marker: null`.\n     *\n     * @sample {highmaps} maps/coloraxis/marker/\n     *         Black marker\n     *\n     * @declare Highcharts.PointMarkerOptionsObject\n     * @product highcharts highstock highmaps\n     */\n    marker: {\n        /**\n         * Animation for the marker as it moves between values. Set to\n         * `false` to disable animation. Defaults to `{ duration: 50 }`.\n         *\n         * @type    {boolean|Partial<Highcharts.AnimationOptionsObject>}\n         * @product highcharts highstock highmaps\n         */\n        animation: {\n            /** @internal */\n            duration: 50\n        },\n        /** @internal */\n        width: 0.01,\n        /**\n         * The color of the marker.\n         *\n         * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @product highcharts highstock highmaps\n         */\n        color: \"#999999\" /* Palette.neutralColor40 */\n    },\n    /**\n     * The axis labels show the number for each tick.\n     *\n     * For more live examples on label options, see [xAxis.labels in the\n     * Highcharts API.](/highcharts#xAxis.labels)\n     *\n     * @extends xAxis.labels\n     * @product highcharts highstock highmaps\n     */\n    labels: {\n        distance: 8,\n        /**\n         * How to handle overflowing labels on horizontal color axis. If set\n         * to `\"allow\"`, it will not be aligned at all. By default it\n         * `\"justify\"` labels inside the chart area. If there is room to\n         * move it, it will be aligned to the edge, else it will be removed.\n         *\n         * @validvalue [\"allow\", \"justify\"]\n         * @product    highcharts highstock highmaps\n         */\n        overflow: 'justify',\n        rotation: 0\n    },\n    /**\n     * The color to represent the minimum of the color axis. Unless\n     * [dataClasses](#colorAxis.dataClasses) or\n     * [stops](#colorAxis.stops) are set, the gradient starts at this\n     * value.\n     *\n     * If dataClasses are set, the color is based on minColor and\n     * maxColor unless a color is set for each data class, or the\n     * [dataClassColor](#colorAxis.dataClassColor) is set.\n     *\n     * @sample {highmaps} maps/coloraxis/mincolor-maxcolor/\n     *         Min and max colors on scalar (gradient) axis\n     * @sample {highmaps} maps/coloraxis/mincolor-maxcolor-dataclasses/\n     *         On data classes\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product highcharts highstock highmaps\n     */\n    minColor: \"#e6e9ff\" /* Palette.highlightColor10 */,\n    /**\n     * The color to represent the maximum of the color axis. Unless\n     * [dataClasses](#colorAxis.dataClasses) or\n     * [stops](#colorAxis.stops) are set, the gradient ends at this\n     * value.\n     *\n     * If dataClasses are set, the color is based on minColor and\n     * maxColor unless a color is set for each data class, or the\n     * [dataClassColor](#colorAxis.dataClassColor) is set.\n     *\n     * @sample {highmaps} maps/coloraxis/mincolor-maxcolor/\n     *         Min and max colors on scalar (gradient) axis\n     * @sample {highmaps} maps/coloraxis/mincolor-maxcolor-dataclasses/\n     *         On data classes\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product highcharts highstock highmaps\n     */\n    maxColor: \"#0022ff\" /* Palette.highlightColor100 */,\n    /**\n     * Color stops for the gradient of a scalar color axis. Use this in\n     * cases where a linear gradient between a `minColor` and `maxColor`\n     * is not sufficient. The stops is an array of tuples, where the\n     * first item is a float between 0 and 1 assigning the relative\n     * position in the gradient, and the second item is the color.\n     *\n     * @sample highcharts/coloraxis/coloraxis-stops/\n     *         Color axis stops\n     * @sample highcharts/coloraxis/color-key-with-stops/\n     *         Color axis stops with custom colorKey\n     * @sample {highmaps} maps/demo/heatmap/\n     *         Heatmap with three color stops\n     *\n     * @type      {Array<Array<number,Highcharts.ColorString>>}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.stops\n     */\n    /**\n     * The pixel length of the main tick marks on the color axis.\n     */\n    tickLength: 5,\n    /**\n     * The type of interpolation to use for the color axis. Can be\n     * `linear` or `logarithmic`.\n     *\n     * @sample highcharts/coloraxis/logarithmic-with-emulate-negative-values/\n     *         Logarithmic color axis with extension to emulate negative\n     *         values\n     *\n     * @type      {Highcharts.ColorAxisTypeValue}\n     * @default   linear\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.type\n     */\n    /**\n     * Whether to reverse the axis so that the highest number is closest\n     * to the origin. Defaults to `false` in a horizontal legend and\n     * `true` in a vertical legend, where the smallest value starts on\n     * top.\n     *\n     * @type      {boolean}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.reversed\n     */\n    /**\n     * @product   highcharts highstock highmaps\n     * @excluding afterBreaks, pointBreak, pointInBreak\n     * @apioption colorAxis.events\n     */\n    /**\n     * Fires when the legend item belonging to the colorAxis is clicked.\n     * One parameter, `event`, is passed to the function.\n     *\n     * **Note:** This option is deprecated in favor of\n     * [legend.events.itemClick](#legend.events.itemClick).\n     *\n     * @deprecated 11.4.4\n     * @type       {Function}\n     * @product    highcharts highstock highmaps\n     * @apioption  colorAxis.events.legendItemClick\n     */\n    /**\n     * The width of the color axis. If it's a number, it is interpreted as\n     * pixels.\n     *\n     * If it's a percentage string, it is interpreted as percentages of the\n     * total plot width.\n     *\n     * @sample    highcharts/coloraxis/width-and-height\n     *            Percentage width and pixel height for color axis\n     *\n     * @type      {number|string}\n     * @since     11.3.0\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.width\n     */\n    /**\n     * The height of the color axis. If it's a number, it is interpreted as\n     * pixels.\n     *\n     * If it's a percentage string, it is interpreted as percentages of the\n     * total plot height.\n     *\n     * @sample    highcharts/coloraxis/width-and-height\n     *            Percentage width and pixel height for color axis\n     *\n     * @type      {number|string}\n     * @since     11.3.0\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.height\n     */\n    /**\n     * Whether to display the colorAxis in the legend.\n     *\n     * @sample highcharts/coloraxis/hidden-coloraxis-with-3d-chart/\n     *         Hidden color axis with 3d chart\n     *\n     * @see [heatmap.showInLegend](#series.heatmap.showInLegend)\n     *\n     * @since   4.2.7\n     * @product highcharts highstock highmaps\n     */\n    showInLegend: true\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ColorAxisDefaults = (colorAxisDefaults);\n\n;// ./code/es-modules/Core/Axis/Color/ColorAxisLike.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: ColorAxisLike_color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\nconst { merge: ColorAxisLike_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Namespace\n *\n * */\nvar ColorAxisLike;\n(function (ColorAxisLike) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initialize defined data classes.\n     * @private\n     */\n    function initDataClasses(userOptions) {\n        const axis = this, chart = axis.chart, legendItem = axis.legendItem = axis.legendItem || {}, options = axis.options, userDataClasses = userOptions.dataClasses || [];\n        let dataClass, dataClasses, colorCount = chart.options.chart.colorCount, colorCounter = 0, colors;\n        axis.dataClasses = dataClasses = [];\n        legendItem.labels = [];\n        for (let i = 0, iEnd = userDataClasses.length; i < iEnd; ++i) {\n            dataClass = userDataClasses[i];\n            dataClass = ColorAxisLike_merge(dataClass);\n            dataClasses.push(dataClass);\n            if (!chart.styledMode && dataClass.color) {\n                continue;\n            }\n            if (options.dataClassColor === 'category') {\n                if (!chart.styledMode) {\n                    colors = chart.options.colors || [];\n                    colorCount = colors.length;\n                    dataClass.color = colors[colorCounter];\n                }\n                dataClass.colorIndex = colorCounter;\n                // Loop back to zero\n                colorCounter++;\n                if (colorCounter === colorCount) {\n                    colorCounter = 0;\n                }\n            }\n            else {\n                dataClass.color = ColorAxisLike_color(options.minColor).tweenTo(ColorAxisLike_color(options.maxColor), iEnd < 2 ? 0.5 : i / (iEnd - 1) // #3219\n                );\n            }\n        }\n    }\n    ColorAxisLike.initDataClasses = initDataClasses;\n    /**\n     * Create initial color stops.\n     * @private\n     */\n    function initStops() {\n        const axis = this, options = axis.options, stops = axis.stops = options.stops || [\n            [0, options.minColor || ''],\n            [1, options.maxColor || '']\n        ];\n        for (let i = 0, iEnd = stops.length; i < iEnd; ++i) {\n            stops[i].color = ColorAxisLike_color(stops[i][1]);\n        }\n    }\n    ColorAxisLike.initStops = initStops;\n    /**\n     * Normalize logarithmic values.\n     * @private\n     */\n    function normalizedValue(value) {\n        const axis = this, max = axis.max || 0, min = axis.min || 0;\n        if (axis.logarithmic) {\n            value = axis.logarithmic.log2lin(value);\n        }\n        return 1 - ((max - value) /\n            ((max - min) || 1));\n    }\n    ColorAxisLike.normalizedValue = normalizedValue;\n    /**\n     * Translate from a value to a color.\n     * @private\n     */\n    function toColor(value, point) {\n        const axis = this;\n        const dataClasses = axis.dataClasses;\n        const stops = axis.stops;\n        let pos, from, to, color, dataClass, i;\n        if (dataClasses) {\n            i = dataClasses.length;\n            while (i--) {\n                dataClass = dataClasses[i];\n                from = dataClass.from;\n                to = dataClass.to;\n                if ((typeof from === 'undefined' || value >= from) &&\n                    (typeof to === 'undefined' || value <= to)) {\n                    color = dataClass.color;\n                    if (point) {\n                        point.dataClass = i;\n                        point.colorIndex = dataClass.colorIndex;\n                    }\n                    break;\n                }\n            }\n        }\n        else {\n            pos = axis.normalizedValue(value);\n            i = stops.length;\n            while (i--) {\n                if (pos > stops[i][0]) {\n                    break;\n                }\n            }\n            from = stops[i] || stops[i + 1];\n            to = stops[i + 1] || from;\n            // The position within the gradient\n            pos = 1 - (to[0] - pos) / ((to[0] - from[0]) || 1);\n            color = from.color.tweenTo(to.color, pos);\n        }\n        return color;\n    }\n    ColorAxisLike.toColor = toColor;\n})(ColorAxisLike || (ColorAxisLike = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Color_ColorAxisLike = (ColorAxisLike);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"LegendSymbol\"],\"commonjs\":[\"highcharts\",\"LegendSymbol\"],\"commonjs2\":[\"highcharts\",\"LegendSymbol\"],\"root\":[\"Highcharts\",\"LegendSymbol\"]}\nvar highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_ = __webpack_require__(500);\nvar highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_default = /*#__PURE__*/__webpack_require__.n(highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n;// ./code/es-modules/Core/Axis/Color/ColorAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\n\nconst { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { series: Series } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { defined, extend: ColorAxis_extend, fireEvent, isArray, isNumber, merge: ColorAxis_merge, pick: ColorAxis_pick, relativeLength } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\ndefaultOptions.colorAxis = ColorAxis_merge(defaultOptions.xAxis, ColorAxisDefaults);\n/* *\n *\n *  Class\n *\n * */\n/**\n * The ColorAxis object for inclusion in gradient legends.\n *\n * @class\n * @name Highcharts.ColorAxis\n * @augments Highcharts.Axis\n *\n * @param {Highcharts.Chart} chart\n * The related chart of the color axis.\n *\n * @param {Highcharts.ColorAxisOptions} userOptions\n * The color axis options for initialization.\n */\nclass ColorAxis extends (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default()) {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(ChartClass, FxClass, LegendClass, SeriesClass) {\n        Color_ColorAxisComposition.compose(ColorAxis, ChartClass, FxClass, LegendClass, SeriesClass);\n    }\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    /**\n     * @private\n     */\n    constructor(chart, userOptions) {\n        super(chart, userOptions);\n        this.coll = 'colorAxis';\n        this.visible = true;\n        this.init(chart, userOptions);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initializes the color axis.\n     *\n     * @function Highcharts.ColorAxis#init\n     *\n     * @param {Highcharts.Chart} chart\n     * The related chart of the color axis.\n     *\n     * @param {Highcharts.ColorAxisOptions} userOptions\n     * The color axis options for initialization.\n     */\n    init(chart, userOptions) {\n        const axis = this;\n        const legend = chart.options.legend || {}, horiz = userOptions.layout ?\n            userOptions.layout !== 'vertical' :\n            legend.layout !== 'vertical';\n        axis.side = userOptions.side || horiz ? 2 : 1;\n        axis.reversed = userOptions.reversed || !horiz;\n        axis.opposite = !horiz;\n        super.init(chart, userOptions, 'colorAxis');\n        // `super.init` saves the extended user options, now replace it with the\n        // originals\n        this.userOptions = userOptions;\n        if (isArray(chart.userOptions.colorAxis)) {\n            chart.userOptions.colorAxis[this.index] = userOptions;\n        }\n        // Prepare data classes\n        if (userOptions.dataClasses) {\n            axis.initDataClasses(userOptions);\n        }\n        axis.initStops();\n        // Override original axis properties\n        axis.horiz = horiz;\n        axis.zoomEnabled = false;\n    }\n    /**\n     * Returns true if the series has points at all.\n     *\n     * @function Highcharts.ColorAxis#hasData\n     *\n     * @return {boolean}\n     * True, if the series has points, otherwise false.\n     */\n    hasData() {\n        return !!(this.tickPositions || []).length;\n    }\n    /**\n     * Override so that ticks are not added in data class axes (#6914)\n     * @private\n     */\n    setTickPositions() {\n        if (!this.dataClasses) {\n            return super.setTickPositions();\n        }\n    }\n    /**\n     * Extend the setOptions method to process extreme colors and color stops.\n     * @private\n     */\n    setOptions(userOptions) {\n        const options = ColorAxis_merge(defaultOptions.colorAxis, userOptions, \n        // Forced options\n        {\n            showEmpty: false,\n            title: null,\n            visible: this.chart.options.legend.enabled &&\n                userOptions.visible !== false\n        });\n        super.setOptions(options);\n        this.options.crosshair = this.options.marker;\n    }\n    /**\n     * @private\n     */\n    setAxisSize() {\n        const axis = this, chart = axis.chart, symbol = axis.legendItem?.symbol;\n        let { width, height } = axis.getSize();\n        if (symbol) {\n            this.left = +symbol.attr('x');\n            this.top = +symbol.attr('y');\n            this.width = width = +symbol.attr('width');\n            this.height = height = +symbol.attr('height');\n            this.right = chart.chartWidth - this.left - width;\n            this.bottom = chart.chartHeight - this.top - height;\n            this.pos = this.horiz ? this.left : this.top;\n        }\n        // Fake length for disabled legend to avoid tick issues\n        // and such (#5205)\n        this.len = (this.horiz ? width : height) ||\n            ColorAxis.defaultLegendLength;\n    }\n    /**\n     * Override the getOffset method to add the whole axis groups inside the\n     * legend.\n     * @private\n     */\n    getOffset() {\n        const axis = this;\n        const group = axis.legendItem?.group;\n        const sideOffset = axis.chart.axisOffset[axis.side];\n        if (group) {\n            // Hook for the getOffset method to add groups to this parent\n            // group\n            axis.axisParent = group;\n            // Call the base\n            super.getOffset();\n            const legend = this.chart.legend;\n            // Adds `maxLabelLength` needed for label padding corrections done\n            // by `render()` and `getMargins()` (#15551).\n            legend.allItems.forEach(function (item) {\n                if (item instanceof ColorAxis) {\n                    item.drawLegendSymbol(legend, item);\n                }\n            });\n            legend.render();\n            this.chart.getMargins(true);\n            // If not drilling down/up\n            if (!this.chart.series.some((series) => series.isDrilling)) {\n                axis.isDirty = true; // Flag to fire drawChartBox\n            }\n            // First time only\n            if (!axis.added) {\n                axis.added = true;\n                axis.labelLeft = 0;\n                axis.labelRight = axis.width;\n            }\n            // Reset it to avoid color axis reserving space\n            axis.chart.axisOffset[axis.side] = sideOffset;\n        }\n    }\n    /**\n     * Create the color gradient.\n     * @private\n     */\n    setLegendColor() {\n        const axis = this;\n        const horiz = axis.horiz;\n        const reversed = axis.reversed;\n        const one = reversed ? 1 : 0;\n        const zero = reversed ? 0 : 1;\n        const grad = horiz ? [one, 0, zero, 0] : [0, zero, 0, one]; // #3190\n        axis.legendColor = {\n            linearGradient: {\n                x1: grad[0],\n                y1: grad[1],\n                x2: grad[2],\n                y2: grad[3]\n            },\n            stops: axis.stops\n        };\n    }\n    /**\n     * The color axis appears inside the legend and has its own legend symbol.\n     * @private\n     */\n    drawLegendSymbol(legend, item) {\n        const axis = this, legendItem = item.legendItem || {}, padding = legend.padding, legendOptions = legend.options, labelOptions = axis.options.labels, itemDistance = ColorAxis_pick(legendOptions.itemDistance, 10), horiz = axis.horiz, { width, height } = axis.getSize(), labelPadding = ColorAxis_pick(\n        // @todo: This option is not documented, nor implemented when\n        // vertical\n        legendOptions.labelPadding, horiz ? 16 : 30);\n        this.setLegendColor();\n        // Create the gradient\n        if (!legendItem.symbol) {\n            legendItem.symbol = this.chart.renderer.symbol('roundedRect')\n                .attr({\n                r: legendOptions.symbolRadius ?? 3,\n                zIndex: 1\n            }).add(legendItem.group);\n        }\n        legendItem.symbol.attr({\n            x: 0,\n            y: (legend.baseline || 0) - 11,\n            width: width,\n            height: height\n        });\n        // Set how much space this legend item takes up\n        legendItem.labelWidth = (width +\n            padding +\n            (horiz ?\n                itemDistance :\n                ColorAxis_pick(labelOptions.x, labelOptions.distance) +\n                    (this.maxLabelLength || 0)));\n        legendItem.labelHeight = height + padding + (horiz ? labelPadding : 0);\n    }\n    /**\n     * Fool the legend.\n     * @private\n     */\n    setState(state) {\n        this.series.forEach(function (series) {\n            series.setState(state);\n        });\n    }\n    /**\n     * @private\n     */\n    setVisible() {\n    }\n    /**\n     * @private\n     */\n    getSeriesExtremes() {\n        const axis = this;\n        const series = axis.series;\n        let colorValArray, colorKey, calculatedExtremes, cSeries, i = series.length;\n        this.dataMin = Infinity;\n        this.dataMax = -Infinity;\n        while (i--) { // X, y, value, other\n            cSeries = series[i];\n            colorKey = cSeries.colorKey = ColorAxis_pick(cSeries.options.colorKey, cSeries.colorKey, cSeries.pointValKey, cSeries.zoneAxis, 'y');\n            calculatedExtremes = cSeries[colorKey + 'Min'] &&\n                cSeries[colorKey + 'Max'];\n            // Find the first column that has values\n            for (const key of [colorKey, 'value', 'y']) {\n                colorValArray = cSeries.getColumn(key);\n                if (colorValArray.length) {\n                    break;\n                }\n            }\n            // If color key extremes are already calculated, use them.\n            if (calculatedExtremes) {\n                cSeries.minColorValue = cSeries[colorKey + 'Min'];\n                cSeries.maxColorValue = cSeries[colorKey + 'Max'];\n            }\n            else {\n                const cExtremes = Series.prototype.getExtremes.call(cSeries, colorValArray);\n                cSeries.minColorValue = cExtremes.dataMin;\n                cSeries.maxColorValue = cExtremes.dataMax;\n            }\n            if (defined(cSeries.minColorValue) &&\n                defined(cSeries.maxColorValue)) {\n                this.dataMin =\n                    Math.min(this.dataMin, cSeries.minColorValue);\n                this.dataMax =\n                    Math.max(this.dataMax, cSeries.maxColorValue);\n            }\n            if (!calculatedExtremes) {\n                Series.prototype.applyExtremes.call(cSeries);\n            }\n        }\n    }\n    /**\n     * Internal function to draw a crosshair.\n     *\n     * @function Highcharts.ColorAxis#drawCrosshair\n     *\n     * @param {Highcharts.PointerEventObject} [e]\n     *        The event arguments from the modified pointer event, extended with\n     *        `chartX` and `chartY`\n     *\n     * @param {Highcharts.Point} [point]\n     *        The Point object if the crosshair snaps to points.\n     *\n     * @emits Highcharts.ColorAxis#event:afterDrawCrosshair\n     * @emits Highcharts.ColorAxis#event:drawCrosshair\n     */\n    drawCrosshair(e, point) {\n        const axis = this, legendItem = axis.legendItem || {}, plotX = point && point.plotX, plotY = point && point.plotY, axisPos = axis.pos, axisLen = axis.len;\n        let crossPos;\n        if (point) {\n            crossPos = axis.toPixels(point.getNestedProperty(point.series.colorKey));\n            if (crossPos < axisPos) {\n                crossPos = axisPos - 2;\n            }\n            else if (crossPos > axisPos + axisLen) {\n                crossPos = axisPos + axisLen + 2;\n            }\n            point.plotX = crossPos;\n            point.plotY = axis.len - crossPos;\n            super.drawCrosshair(e, point);\n            point.plotX = plotX;\n            point.plotY = plotY;\n            if (axis.cross &&\n                !axis.cross.addedToColorAxis &&\n                legendItem.group) {\n                axis.cross\n                    .addClass('highcharts-coloraxis-marker')\n                    .add(legendItem.group);\n                axis.cross.addedToColorAxis = true;\n                if (!axis.chart.styledMode &&\n                    typeof axis.crosshair === 'object') {\n                    axis.cross.attr({\n                        fill: axis.crosshair.color\n                    });\n                }\n            }\n        }\n    }\n    /**\n     * @private\n     */\n    getPlotLinePath(options) {\n        const axis = this, left = axis.left, pos = options.translatedValue, top = axis.top;\n        // Crosshairs only\n        return isNumber(pos) ? // `pos` can be 0 (#3969)\n            (axis.horiz ? [\n                ['M', pos - 4, top - 6],\n                ['L', pos + 4, top - 6],\n                ['L', pos, top],\n                ['Z']\n            ] : [\n                ['M', left, pos],\n                ['L', left - 6, pos + 6],\n                ['L', left - 6, pos - 6],\n                ['Z']\n            ]) :\n            super.getPlotLinePath(options);\n    }\n    /**\n     * Updates a color axis instance with a new set of options. The options are\n     * merged with the existing options, so only new or altered options need to\n     * be specified.\n     *\n     * @function Highcharts.ColorAxis#update\n     *\n     * @param {Highcharts.ColorAxisOptions} newOptions\n     * The new options that will be merged in with existing options on the color\n     * axis.\n     *\n     * @param {boolean} [redraw]\n     * Whether to redraw the chart after the color axis is altered. If doing\n     * more operations on the chart, it is a good idea to set redraw to `false`\n     * and call {@link Highcharts.Chart#redraw} after.\n     */\n    update(newOptions, redraw) {\n        const axis = this, chart = axis.chart, legend = chart.legend;\n        this.series.forEach((series) => {\n            // Needed for Axis.update when choropleth colors change\n            series.isDirtyData = true;\n        });\n        // When updating data classes, destroy old items and make sure new\n        // ones are created (#3207)\n        if (newOptions.dataClasses && legend.allItems || axis.dataClasses) {\n            axis.destroyItems();\n        }\n        super.update(newOptions, redraw);\n        if (axis.legendItem && axis.legendItem.label) {\n            axis.setLegendColor();\n            legend.colorizeItem(this, true);\n        }\n    }\n    /**\n     * Destroy color axis legend items.\n     * @private\n     */\n    destroyItems() {\n        const axis = this, chart = axis.chart, legendItem = axis.legendItem || {};\n        if (legendItem.label) {\n            chart.legend.destroyItem(axis);\n        }\n        else if (legendItem.labels) {\n            for (const item of legendItem.labels) {\n                chart.legend.destroyItem(item);\n            }\n        }\n        chart.isDirtyLegend = true;\n    }\n    //   Removing the whole axis (#14283)\n    destroy() {\n        this.chart.isDirtyLegend = true;\n        this.destroyItems();\n        super.destroy(...[].slice.call(arguments));\n    }\n    /**\n     * Removes the color axis and the related legend item.\n     *\n     * @function Highcharts.ColorAxis#remove\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart following the remove.\n     */\n    remove(redraw) {\n        this.destroyItems();\n        super.remove(redraw);\n    }\n    /**\n     * Get the legend item symbols for data classes.\n     * @private\n     */\n    getDataClassLegendSymbols() {\n        const axis = this, chart = axis.chart, legendItems = (axis.legendItem &&\n            axis.legendItem.labels ||\n            []), legendOptions = chart.options.legend, valueDecimals = ColorAxis_pick(legendOptions.valueDecimals, -1), valueSuffix = ColorAxis_pick(legendOptions.valueSuffix, '');\n        const getPointsInDataClass = (i) => axis.series.reduce((points, s) => {\n            points.push(...s.points.filter((point) => point.dataClass === i));\n            return points;\n        }, []);\n        let name;\n        if (!legendItems.length) {\n            axis.dataClasses.forEach((dataClass, i) => {\n                const from = dataClass.from, to = dataClass.to, { numberFormatter } = chart;\n                let vis = true;\n                // Assemble the default name. This can be overridden\n                // by legend.options.labelFormatter\n                name = '';\n                if (typeof from === 'undefined') {\n                    name = '< ';\n                }\n                else if (typeof to === 'undefined') {\n                    name = '> ';\n                }\n                if (typeof from !== 'undefined') {\n                    name += numberFormatter(from, valueDecimals) + valueSuffix;\n                }\n                if (typeof from !== 'undefined' && typeof to !== 'undefined') {\n                    name += ' - ';\n                }\n                if (typeof to !== 'undefined') {\n                    name += numberFormatter(to, valueDecimals) + valueSuffix;\n                }\n                // Add a mock object to the legend items\n                legendItems.push(ColorAxis_extend({\n                    chart,\n                    name,\n                    options: {},\n                    drawLegendSymbol: (highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_default()).rectangle,\n                    visible: true,\n                    isDataClass: true,\n                    // Override setState to set either normal or inactive\n                    // state to all points in this data class\n                    setState: (state) => {\n                        for (const point of getPointsInDataClass(i)) {\n                            point.setState(state);\n                        }\n                    },\n                    // Override setState to show or hide all points in this\n                    // data class\n                    setVisible: function () {\n                        this.visible = vis = axis.visible = !vis;\n                        const affectedSeries = [];\n                        for (const point of getPointsInDataClass(i)) {\n                            point.setVisible(vis);\n                            point.hiddenInDataClass = !vis; // #20441\n                            if (affectedSeries.indexOf(point.series) === -1) {\n                                affectedSeries.push(point.series);\n                            }\n                        }\n                        chart.legend.colorizeItem(this, vis);\n                        affectedSeries.forEach((series) => {\n                            fireEvent(series, 'afterDataClassLegendClick');\n                        });\n                    }\n                }, dataClass));\n            });\n        }\n        return legendItems;\n    }\n    /**\n     * Get size of color axis symbol.\n     * @private\n     */\n    getSize() {\n        const axis = this, { chart, horiz } = axis, { height: colorAxisHeight, width: colorAxisWidth } = axis.options, { legend: legendOptions } = chart.options, width = ColorAxis_pick(defined(colorAxisWidth) ?\n            relativeLength(colorAxisWidth, chart.chartWidth) : void 0, legendOptions?.symbolWidth, horiz ? ColorAxis.defaultLegendLength : 12), height = ColorAxis_pick(defined(colorAxisHeight) ?\n            relativeLength(colorAxisHeight, chart.chartHeight) : void 0, legendOptions?.symbolHeight, horiz ? 12 : ColorAxis.defaultLegendLength);\n        return {\n            width,\n            height\n        };\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nColorAxis.defaultLegendLength = 200;\n/**\n * @private\n */\nColorAxis.keepProps = [\n    'legendItem'\n];\nColorAxis_extend(ColorAxis.prototype, Color_ColorAxisLike);\n/* *\n *\n *  Registry\n *\n * */\n// Properties to preserve after destroy, for Axis.update (#5881, #6025).\nArray.prototype.push.apply((highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default()).keepProps, ColorAxis.keepProps);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Color_ColorAxis = (ColorAxis);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Color axis types\n *\n * @typedef {\"linear\"|\"logarithmic\"} Highcharts.ColorAxisTypeValue\n */\n''; // Detach doclet above\n\n;// ./code/es-modules/masters/modules/coloraxis.src.js\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nG.ColorAxis = G.ColorAxis || Color_ColorAxis;\nG.ColorAxis.compose(G.Chart, G.Fx, G.Legend, G.Series);\n/* harmony default export */ const coloraxis_src = ((/* unused pure expression or super */ null && (Highcharts)));\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SVGElement\"],\"commonjs\":[\"highcharts\",\"SVGElement\"],\"commonjs2\":[\"highcharts\",\"SVGElement\"],\"root\":[\"Highcharts\",\"SVGElement\"]}\nvar highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_ = __webpack_require__(28);\nvar highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_default = /*#__PURE__*/__webpack_require__.n(highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_);\n;// ./code/es-modules/Series/ColorMapComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { column: { prototype: columnProto } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\n\nconst { addEvent: ColorMapComposition_addEvent, defined: ColorMapComposition_defined } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar ColorMapComposition;\n(function (ColorMapComposition) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    ColorMapComposition.pointMembers = {\n        dataLabelOnNull: true,\n        moveToTopOnHover: true,\n        isValid: pointIsValid\n    };\n    ColorMapComposition.seriesMembers = {\n        colorKey: 'value',\n        axisTypes: ['xAxis', 'yAxis', 'colorAxis'],\n        parallelArrays: ['x', 'y', 'value'],\n        pointArrayMap: ['value'],\n        trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],\n        colorAttribs: seriesColorAttribs,\n        pointAttribs: columnProto.pointAttribs\n    };\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(SeriesClass) {\n        const PointClass = SeriesClass.prototype.pointClass;\n        ColorMapComposition_addEvent(PointClass, 'afterSetState', onPointAfterSetState);\n        return SeriesClass;\n    }\n    ColorMapComposition.compose = compose;\n    /**\n     * Move points to the top of the z-index order when hovered.\n     * @private\n     */\n    function onPointAfterSetState(e) {\n        const point = this, series = point.series, renderer = series.chart.renderer;\n        if (point.moveToTopOnHover && point.graphic) {\n            if (!series.stateMarkerGraphic) {\n                // Create a `use` element and add it to the end of the group,\n                // which would make it appear on top of the other elements. This\n                // deals with z-index without reordering DOM elements (#13049).\n                series.stateMarkerGraphic = new (highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_default())(renderer, 'use')\n                    .css({\n                    pointerEvents: 'none'\n                })\n                    .add(point.graphic.parentGroup);\n            }\n            if (e?.state === 'hover') {\n                // Give the graphic DOM element the same id as the Point\n                // instance\n                point.graphic.attr({\n                    id: this.id\n                });\n                series.stateMarkerGraphic.attr({\n                    href: `${renderer.url}#${this.id}`,\n                    visibility: 'visible'\n                });\n            }\n            else {\n                series.stateMarkerGraphic.attr({\n                    href: ''\n                });\n            }\n        }\n    }\n    /**\n     * Color points have a value option that determines whether or not it is\n     * a null point\n     * @private\n     */\n    function pointIsValid() {\n        return (this.value !== null &&\n            this.value !== Infinity &&\n            this.value !== -Infinity &&\n            // Undefined is allowed, but NaN is not (#17279)\n            (this.value === void 0 || !isNaN(this.value)));\n    }\n    /**\n     * Get the color attributes to apply on the graphic\n     * @private\n     * @function Highcharts.colorMapSeriesMixin.colorAttribs\n     * @param {Highcharts.Point} point\n     * @return {Highcharts.SVGAttributes}\n     *         The SVG attributes\n     */\n    function seriesColorAttribs(point) {\n        const ret = {};\n        if (ColorMapComposition_defined(point.color) &&\n            (!point.state || point.state === 'normal') // #15746\n        ) {\n            ret[this.colorProp || 'fill'] = point.color;\n        }\n        return ret;\n    }\n})(ColorMapComposition || (ColorMapComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_ColorMapComposition = (ColorMapComposition);\n\n;// ./code/es-modules/Series/Heatmap/HeatmapPoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { scatter: { prototype: { pointClass: ScatterPoint } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { clamp, defined: HeatmapPoint_defined, extend: HeatmapPoint_extend, pick: HeatmapPoint_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass HeatmapPoint extends ScatterPoint {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /** @private */\n    applyOptions(options, x) {\n        // #17970, if point is null remove its color, because it may be updated\n        if (this.isNull || this.value === null) {\n            delete this.color;\n        }\n        super.applyOptions(options, x);\n        this.formatPrefix = this.isNull || this.value === null ?\n            'null' : 'point';\n        return this;\n    }\n    /** @private */\n    getCellAttributes() {\n        const point = this, series = point.series, seriesOptions = series.options, xPad = (seriesOptions.colsize || 1) / 2, yPad = (seriesOptions.rowsize || 1) / 2, xAxis = series.xAxis, yAxis = series.yAxis, markerOptions = point.options.marker || series.options.marker, pointPlacement = series.pointPlacementToXValue(), // #7860\n        pointPadding = HeatmapPoint_pick(point.pointPadding, seriesOptions.pointPadding, 0), cellAttr = {\n            x1: clamp(Math.round(xAxis.len -\n                xAxis.translate(point.x - xPad, false, true, false, true, -pointPlacement)), -xAxis.len, 2 * xAxis.len),\n            x2: clamp(Math.round(xAxis.len -\n                xAxis.translate(point.x + xPad, false, true, false, true, -pointPlacement)), -xAxis.len, 2 * xAxis.len),\n            y1: clamp(Math.round(yAxis.translate(point.y - yPad, false, true, false, true)), -yAxis.len, 2 * yAxis.len),\n            y2: clamp(Math.round(yAxis.translate(point.y + yPad, false, true, false, true)), -yAxis.len, 2 * yAxis.len)\n        };\n        const dimensions = [['width', 'x'], ['height', 'y']];\n        // Handle marker's fixed width, and height values including border\n        // and pointPadding while calculating cell attributes.\n        for (const dimension of dimensions) {\n            const prop = dimension[0], direction = dimension[1];\n            let start = direction + '1', end = direction + '2';\n            const side = Math.abs(cellAttr[start] - cellAttr[end]), borderWidth = markerOptions &&\n                markerOptions.lineWidth || 0, plotPos = Math.abs(cellAttr[start] + cellAttr[end]) / 2, widthOrHeight = markerOptions && markerOptions[prop];\n            if (HeatmapPoint_defined(widthOrHeight) && widthOrHeight < side) {\n                const halfCellSize = widthOrHeight / 2 + borderWidth / 2;\n                cellAttr[start] = plotPos - halfCellSize;\n                cellAttr[end] = plotPos + halfCellSize;\n            }\n            // Handle pointPadding\n            if (pointPadding) {\n                if ((direction === 'x' && xAxis.reversed) ||\n                    (direction === 'y' && !yAxis.reversed)) {\n                    start = end;\n                    end = direction + '1';\n                }\n                cellAttr[start] += pointPadding;\n                cellAttr[end] -= pointPadding;\n            }\n        }\n        return cellAttr;\n    }\n    /**\n     * @private\n     */\n    haloPath(size) {\n        if (!size) {\n            return [];\n        }\n        const { x = 0, y = 0, width = 0, height = 0 } = this.shapeArgs || {};\n        return [\n            ['M', x - size, y - size],\n            ['L', x - size, y + height + size],\n            ['L', x + width + size, y + height + size],\n            ['L', x + width + size, y - size],\n            ['Z']\n        ];\n    }\n    /**\n     * Color points have a value option that determines whether or not it is\n     * a null point\n     * @private\n     */\n    isValid() {\n        // Undefined is allowed\n        return (this.value !== Infinity &&\n            this.value !== -Infinity);\n    }\n}\nHeatmapPoint_extend(HeatmapPoint.prototype, {\n    dataLabelOnNull: true,\n    moveToTopOnHover: true,\n    ttBelow: false\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Heatmap_HeatmapPoint = (HeatmapPoint);\n\n;// ./code/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { isNumber: HeatmapSeriesDefaults_isNumber } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A heatmap is a graphical representation of data where the individual\n * values contained in a matrix are represented as colors.\n *\n * @productdesc {highcharts}\n * Requires `modules/heatmap`.\n *\n * @sample highcharts/demo/heatmap/\n *         Simple heatmap\n * @sample highcharts/demo/heatmap-canvas/\n *         Heavy heatmap\n *\n * @extends      plotOptions.scatter\n * @excluding    animationLimit, cluster, connectEnds, connectNulls,\n *               cropThreshold, dashStyle, dragDrop, findNearestPointBy,\n *               getExtremesFromAll, jitter, legendSymbolColor, linecap,\n *               lineWidth, pointInterval, pointIntervalUnit, pointRange,\n *               pointStart, shadow, softThreshold, stacking, step, threshold\n * @product      highcharts highmaps\n * @optionparent plotOptions.heatmap\n */\nconst HeatmapSeriesDefaults = {\n    /**\n     * Animation is disabled by default on the heatmap series.\n     */\n    animation: false,\n    /**\n     * The border radius for each heatmap item. The border's color and\n     * width can be set in marker options.\n     *\n     * @see [lineColor](#plotOptions.heatmap.marker.lineColor)\n     * @see [lineWidth](#plotOptions.heatmap.marker.lineWidth)\n     */\n    borderRadius: 0,\n    /**\n     * The border width for each heatmap item.\n     */\n    borderWidth: 0,\n    /**\n     * Padding between the points in the heatmap.\n     *\n     * @type      {number}\n     * @default   0\n     * @since     6.0\n     * @apioption plotOptions.heatmap.pointPadding\n     */\n    /**\n     * @default   value\n     * @apioption plotOptions.heatmap.colorKey\n     */\n    /**\n     * The main color of the series. In heat maps this color is rarely used,\n     * as we mostly use the color to denote the value of each point. Unless\n     * options are set in the [colorAxis](#colorAxis), the default value\n     * is pulled from the [options.colors](#colors) array.\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     4.0\n     * @product   highcharts\n     * @apioption plotOptions.heatmap.color\n     */\n    /**\n     * The column size - how many X axis units each column in the heatmap\n     * should span.\n     *\n     * @sample {highcharts} maps/demo/heatmap/\n     *         One day\n     * @sample {highmaps} maps/demo/heatmap/\n     *         One day\n     *\n     * @type      {number}\n     * @default   1\n     * @since     4.0\n     * @product   highcharts highmaps\n     * @apioption plotOptions.heatmap.colsize\n     */\n    /**\n     * The row size - how many Y axis units each heatmap row should span.\n     *\n     * @sample {highcharts} maps/demo/heatmap/\n     *         1 by default\n     * @sample {highmaps} maps/demo/heatmap/\n     *         1 by default\n     *\n     * @type      {number}\n     * @default   1\n     * @since     4.0\n     * @product   highcharts highmaps\n     * @apioption plotOptions.heatmap.rowsize\n     */\n    /**\n     * Make the heatmap render its data points as an interpolated image.\n     *\n     * @sample highcharts/demo/heatmap-interpolation\n     *   Interpolated heatmap image displaying user activity on a website\n     * @sample highcharts/series-heatmap/interpolation\n     *   Interpolated heatmap toggle\n     *\n     */\n    interpolation: false,\n    /**\n     * The color applied to null points. In styled mode, a general CSS class\n     * is applied instead.\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    nullColor: \"#f7f7f7\" /* Palette.neutralColor3 */,\n    dataLabels: {\n        formatter: function () {\n            const { numberFormatter } = this.series.chart;\n            const { value } = this.point;\n            return HeatmapSeriesDefaults_isNumber(value) ? numberFormatter(value, -1) : '';\n        },\n        inside: true,\n        verticalAlign: 'middle',\n        crop: false,\n        /**\n         * @ignore-option\n         */\n        overflow: 'allow',\n        padding: 0 // #3837\n    },\n    /**\n     * @excluding radius, enabledThreshold\n     * @since     8.1\n     */\n    marker: {\n        /**\n         * A predefined shape or symbol for the marker. When undefined, the\n         * symbol is pulled from options.symbols. Other possible values are\n         * `'circle'`, `'square'`,`'diamond'`, `'triangle'`,\n         * `'triangle-down'`, `'rect'`, and `'ellipse'`.\n         *\n         * Additionally, the URL to a graphic can be given on this form:\n         * `'url(graphic.png)'`. Note that for the image to be applied to\n         * exported charts, its URL needs to be accessible by the export\n         * server.\n         *\n         * Custom callbacks for symbol path generation can also be added to\n         * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then\n         * used by its method name, as shown in the demo.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-symbol/\n         *         Predefined, graphic and custom markers\n         * @sample {highstock} highcharts/plotoptions/series-marker-symbol/\n         *         Predefined, graphic and custom markers\n         */\n        symbol: 'rect',\n        /** @ignore-option */\n        radius: 0,\n        lineColor: void 0,\n        states: {\n            /**\n             * @excluding radius, radiusPlus\n             */\n            hover: {\n                /**\n                 * Set the marker's fixed width on hover state.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n                 *         70px fixed marker's width and height on hover\n                 *\n                 * @type      {number|undefined}\n                 * @default   undefined\n                 * @product   highcharts highmaps\n                 * @apioption plotOptions.heatmap.marker.states.hover.width\n                 */\n                /**\n                 * Set the marker's fixed height on hover state.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n                 *         70px fixed marker's width and height on hover\n                 *\n                 * @type      {number|undefined}\n                 * @default   undefined\n                 * @product   highcharts highmaps\n                 * @apioption plotOptions.heatmap.marker.states.hover.height\n                 */\n                /**\n                 * The number of pixels to increase the width of the\n                 * selected point.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n                 *         20px greater width and height on hover\n                 *\n                 * @type      {number|undefined}\n                 * @default   undefined\n                 * @product   highcharts highmaps\n                 * @apioption plotOptions.heatmap.marker.states.hover.widthPlus\n                 */\n                /**\n                 * The number of pixels to increase the height of the\n                 * selected point.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n                *          20px greater width and height on hover\n                    *\n                    * @type      {number|undefined}\n                    * @default   undefined\n                    * @product   highcharts highmaps\n                    * @apioption plotOptions.heatmap.marker.states.hover.heightPlus\n                    */\n                /**\n                 * The additional line width for a hovered point.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-linewidthplus\n                 *         5 pixels wider lineWidth on hover\n                 * @sample {highmaps} maps/plotoptions/heatmap-marker-states-hover-linewidthplus\n                 *         5 pixels wider lineWidth on hover\n                 */\n                lineWidthPlus: 0\n            },\n            /**\n             * @excluding radius\n             */\n            select: {\n            /**\n             * Set the marker's fixed width on select state.\n             *\n             * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n             *         70px fixed marker's width and height on hover\n             *\n             * @type      {number|undefined}\n             * @default   undefined\n             * @product   highcharts highmaps\n             * @apioption plotOptions.heatmap.marker.states.select.width\n             */\n            /**\n             * Set the marker's fixed height on select state.\n             *\n             * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n             *         70px fixed marker's width and height on hover\n             *\n             * @type      {number|undefined}\n             * @default   undefined\n             * @product   highcharts highmaps\n             * @apioption plotOptions.heatmap.marker.states.select.height\n             */\n            /**\n             * The number of pixels to increase the width of the\n             * selected point.\n             *\n             * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n             *         20px greater width and height on hover\n             *\n             * @type      {number|undefined}\n             * @default   undefined\n             * @product   highcharts highmaps\n             * @apioption plotOptions.heatmap.marker.states.select.widthPlus\n             */\n            /**\n             * The number of pixels to increase the height of the\n             * selected point.\n             *\n             * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n             *         20px greater width and height on hover\n             *\n             * @type      {number|undefined}\n             * @default   undefined\n             * @product   highcharts highmaps\n             * @apioption plotOptions.heatmap.marker.states.select.heightPlus\n             */\n            }\n        }\n    },\n    clip: true,\n    /** @ignore-option */\n    pointRange: null, // Dynamically set to colsize by default\n    tooltip: {\n        pointFormat: '{point.x}, {point.y}: {point.value}<br/>'\n    },\n    states: {\n        hover: {\n            /** @ignore-option */\n            halo: false, // #3406, halo is disabled on heatmaps by default\n            /**\n             * How much to brighten the point on interaction. Requires the\n             * main color to be defined in hex or rgb(a) format.\n             *\n             * In styled mode, the hover brightening is by default replaced\n             * with a fill-opacity set in the `.highcharts-point:hover`\n             * rule.\n             */\n            brightness: 0.2\n        }\n    },\n    legendSymbol: 'rectangle'\n};\n/**\n * A `heatmap` series. If the [type](#series.heatmap.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @productdesc {highcharts}\n * Requires `modules/heatmap`.\n *\n * @extends   series,plotOptions.heatmap\n * @excluding cropThreshold, dataParser, dataURL, dragDrop ,pointRange, stack,\n * @product   highcharts highmaps\n * @apioption series.heatmap\n */\n/**\n * An array of data points for the series. For the `heatmap` series\n * type, points can be given in the following ways:\n *\n * 1.  An array of arrays with 3 or 2 values. In this case, the values\n * correspond to `x,y,value`. If the first value is a string, it is\n * applied as the name of the point, and the `x` value is inferred.\n * The `x` value can also be omitted, in which case the inner arrays\n * should be of length 2\\. Then the `x` value is automatically calculated,\n * either starting at 0 and incremented by 1, or from `pointStart`\n * and `pointInterval` given in the series options.\n *\n *  ```js\n *     data: [\n *         [0, 9, 7],\n *         [1, 10, 4],\n *         [2, 6, 3]\n *     ]\n *  ```\n *\n * 2.  An array of objects with named values. The following snippet shows only a\n * few settings, see the complete options set below. If the total number of data\n * points exceeds the series' [turboThreshold](#series.heatmap.turboThreshold),\n * this option is not available.\n *\n *  ```js\n *     data: [{\n *         x: 1,\n *         y: 3,\n *         value: 10,\n *         name: \"Point2\",\n *         color: \"#00FF00\"\n *     }, {\n *         x: 1,\n *         y: 7,\n *         value: 10,\n *         name: \"Point1\",\n *         color: \"#FF00FF\"\n *     }]\n *  ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<number>|*>}\n * @extends   series.line.data\n * @product   highcharts highmaps\n * @apioption series.heatmap.data\n */\n/**\n * The color of the point. In heat maps the point color is rarely set\n * explicitly, as we use the color to denote the `value`. Options for\n * this are set in the [colorAxis](#colorAxis) configuration.\n *\n * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.color\n */\n/**\n * The value of the point, resulting in a color controlled by options\n * as set in the [colorAxis](#colorAxis) configuration.\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.value\n */\n/**\n * The x value of the point. For datetime axes,\n * the X value is the timestamp in milliseconds since 1970.\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.x\n */\n/**\n * The y value of the point.\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.y\n */\n/**\n * Point padding for a single point.\n *\n * @sample maps/plotoptions/tilemap-pointpadding\n *         Point padding on tiles\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.pointPadding\n */\n/**\n * @excluding radius, enabledThreshold\n * @product   highcharts highmaps\n * @since     8.1\n * @apioption series.heatmap.data.marker\n */\n/**\n * @excluding radius, enabledThreshold\n * @product   highcharts highmaps\n * @since     8.1\n * @apioption series.heatmap.marker\n */\n/**\n * @excluding radius, radiusPlus\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.hover\n */\n/**\n * @excluding radius\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.select\n */\n/**\n * @excluding radius, radiusPlus\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.hover\n */\n/**\n * @excluding radius\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.select\n */\n/**\n* Set the marker's fixed width on hover state.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-linewidthplus\n*         5 pixels wider lineWidth on hover\n*\n* @type      {number|undefined}\n* @default   0\n* @product   highcharts highmaps\n* @apioption series.heatmap.marker.states.hover.lineWidthPlus\n*/\n/**\n* Set the marker's fixed width on hover state.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n*         70px fixed marker's width and height on hover\n*\n* @type      {number|undefined}\n* @default   undefined\n* @product   highcharts highmaps\n* @apioption series.heatmap.marker.states.hover.width\n*/\n/**\n * Set the marker's fixed height on hover state.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n *         70px fixed marker's width and height on hover\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.hover.height\n */\n/**\n* The number of pixels to increase the width of the\n* hovered point.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n*         One day\n*\n* @type      {number|undefined}\n* @default   undefined\n* @product   highcharts highmaps\n* @apioption series.heatmap.marker.states.hover.widthPlus\n*/\n/**\n * The number of pixels to increase the height of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.hover.heightPlus\n */\n/**\n * The number of pixels to increase the width of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.select.widthPlus\n */\n/**\n * The number of pixels to increase the height of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.select.heightPlus\n */\n/**\n* Set the marker's fixed width on hover state.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-linewidthplus\n*         5 pixels wider lineWidth on hover\n*\n* @type      {number|undefined}\n* @default   0\n* @product   highcharts highmaps\n* @apioption series.heatmap.data.marker.states.hover.lineWidthPlus\n*/\n/**\n * Set the marker's fixed width on hover state.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n *         70px fixed marker's width and height on hover\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.hover.width\n */\n/**\n * Set the marker's fixed height on hover state.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n *         70px fixed marker's width and height on hover\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.hover.height\n */\n/**\n * The number of pixels to increase the width of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highstock\n * @apioption series.heatmap.data.marker.states.hover.widthPlus\n */\n/**\n * The number of pixels to increase the height of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highstock\n * @apioption series.heatmap.data.marker.states.hover.heightPlus\n */\n/**\n* Set the marker's fixed width on select state.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n*         70px fixed marker's width and height on hover\n*\n* @type      {number|undefined}\n* @default   undefined\n* @product   highcharts highmaps\n* @apioption series.heatmap.data.marker.states.select.width\n*/\n/**\n * Set the marker's fixed height on select state.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n *         70px fixed marker's width and height on hover\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.select.height\n */\n/**\n * The number of pixels to increase the width of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highstock\n * @apioption series.heatmap.data.marker.states.select.widthPlus\n */\n/**\n * The number of pixels to increase the height of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highstock\n * @apioption series.heatmap.data.marker.states.select.heightPlus\n */\n''; // Keeps doclets above separate\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Heatmap_HeatmapSeriesDefaults = (HeatmapSeriesDefaults);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SVGRenderer\"],\"commonjs\":[\"highcharts\",\"SVGRenderer\"],\"commonjs2\":[\"highcharts\",\"SVGRenderer\"],\"root\":[\"Highcharts\",\"SVGRenderer\"]}\nvar highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_ = __webpack_require__(540);\nvar highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default = /*#__PURE__*/__webpack_require__.n(highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_);\n;// ./code/es-modules/Series/InterpolationUtilities.js\n/* *\n *\n *  (c) 2010-2024 Hubert Kozik\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { defined: InterpolationUtilities_defined, pick: InterpolationUtilities_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Find color of point based on color axis.\n *\n * @function Highcharts.colorFromPoint\n *\n * @param {number | null} value\n *        Value to find corresponding color on the color axis.\n *\n * @param {Highcharts.Point} point\n *        Point to find it's color from color axis.\n *\n * @return {number[]}\n *        Color in RGBa array.\n */\nfunction colorFromPoint(value, point) {\n    const colorAxis = point.series.colorAxis;\n    if (colorAxis) {\n        const rgba = (colorAxis.toColor(value || 0, point)\n            .split(')')[0]\n            .split('(')[1]\n            .split(',')\n            .map((s) => InterpolationUtilities_pick(parseFloat(s), parseInt(s, 10))));\n        rgba[3] = InterpolationUtilities_pick(rgba[3], 1.0) * 255;\n        if (!InterpolationUtilities_defined(value) || !point.visible) {\n            rgba[3] = 0;\n        }\n        return rgba;\n    }\n    return [0, 0, 0, 0];\n}\n/**\n * Method responsible for creating a canvas for interpolation image.\n * @private\n */\nfunction getContext(series) {\n    const { canvas, context } = series;\n    if (canvas && context) {\n        context.clearRect(0, 0, canvas.width, canvas.height);\n    }\n    else {\n        series.canvas = doc.createElement('canvas');\n        series.context = series.canvas.getContext('2d', {\n            willReadFrequently: true\n        }) || void 0;\n        return series.context;\n    }\n    return context;\n}\nconst InterpolationUtilities = {\n    colorFromPoint,\n    getContext\n};\n/* harmony default export */ const Series_InterpolationUtilities = (InterpolationUtilities);\n\n;// ./code/es-modules/Series/Heatmap/HeatmapSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\n\nconst { series: HeatmapSeries_Series, seriesTypes: { column: ColumnSeries, scatter: ScatterSeries } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { prototype: { symbols } } = (highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default());\n\nconst { addEvent: HeatmapSeries_addEvent, extend: HeatmapSeries_extend, fireEvent: HeatmapSeries_fireEvent, isNumber: HeatmapSeries_isNumber, merge: HeatmapSeries_merge, pick: HeatmapSeries_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { colorFromPoint: HeatmapSeries_colorFromPoint, getContext: HeatmapSeries_getContext } = Series_InterpolationUtilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.heatmap\n *\n * @augments Highcharts.Series\n */\nclass HeatmapSeries extends ScatterSeries {\n    constructor() {\n        /* *\n         *\n         *  Static Properties\n         *\n         * */\n        super(...arguments);\n        this.valueMax = NaN;\n        this.valueMin = NaN;\n        this.isDirtyCanvas = true;\n        /* eslint-enable valid-jsdoc */\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    drawPoints() {\n        const series = this, seriesOptions = series.options, interpolation = seriesOptions.interpolation, seriesMarkerOptions = seriesOptions.marker || {};\n        if (interpolation) {\n            const { image, chart, xAxis, yAxis } = series, { reversed: xRev = false, len: width } = xAxis, { reversed: yRev = false, len: height } = yAxis, dimensions = { width, height };\n            if (!image || series.isDirtyData || series.isDirtyCanvas) {\n                const ctx = HeatmapSeries_getContext(series), { canvas, options: { colsize = 1, rowsize = 1 }, points, points: { length } } = series, pointsLen = length - 1, colorAxis = (chart.colorAxis && chart.colorAxis[0]);\n                if (canvas && ctx && colorAxis) {\n                    const { min: xMin, max: xMax } = xAxis.getExtremes(), { min: yMin, max: yMax } = yAxis.getExtremes(), xDelta = xMax - xMin, yDelta = yMax - yMin, imgMultiple = 8.0, lastX = Math.round(imgMultiple * ((xDelta / colsize) / imgMultiple)), lastY = Math.round(imgMultiple * ((yDelta / rowsize) / imgMultiple)), [transformX, transformY] = [\n                        [lastX, lastX / xDelta, xRev, 'ceil'],\n                        [lastY, lastY / yDelta, !yRev, 'floor']\n                    ].map(([last, scale, rev, rounding]) => (rev ?\n                        (v) => (Math[rounding](last -\n                            (scale * (v)))) :\n                        (v) => (Math[rounding](scale * v)))), canvasWidth = canvas.width = lastX + 1, canvasHeight = canvas.height = lastY + 1, canvasArea = canvasWidth * canvasHeight, pixelToPointScale = pointsLen / canvasArea, pixelData = new Uint8ClampedArray(canvasArea * 4), pointInPixels = (x, y) => (Math.ceil((canvasWidth * transformY(y - yMin)) +\n                        transformX(x - xMin)) * 4);\n                    series.buildKDTree();\n                    for (let i = 0; i < canvasArea; i++) {\n                        const point = points[Math.ceil(pixelToPointScale * i)], { x, y } = point;\n                        pixelData.set(HeatmapSeries_colorFromPoint(point.value, point), pointInPixels(x, y));\n                    }\n                    ctx.putImageData(new ImageData(pixelData, canvasWidth), 0, 0);\n                    if (image) {\n                        image.attr({\n                            ...dimensions,\n                            href: canvas.toDataURL('image/png', 1)\n                        });\n                    }\n                    else {\n                        series.directTouch = false;\n                        series.image = chart.renderer.image(canvas.toDataURL('image/png', 1))\n                            .attr(dimensions)\n                            .add(series.group);\n                    }\n                }\n                series.isDirtyCanvas = false;\n            }\n            else if (image.width !== width || image.height !== height) {\n                image.attr(dimensions);\n            }\n        }\n        else if (seriesMarkerOptions.enabled || series._hasPointMarkers) {\n            HeatmapSeries_Series.prototype.drawPoints.call(series);\n            series.points.forEach((point) => {\n                if (point.graphic) {\n                    // In styled mode, use CSS, otherwise the fill used in\n                    // the style sheet will take precedence over\n                    // the fill attribute.\n                    point.graphic[series.chart.styledMode ? 'css' : 'animate'](series.colorAttribs(point));\n                    if (point.value === null) { // #15708\n                        point.graphic.addClass('highcharts-null-point');\n                    }\n                }\n            });\n        }\n    }\n    /**\n     * @private\n     */\n    getExtremes() {\n        // Get the extremes from the value data\n        const { dataMin, dataMax } = HeatmapSeries_Series.prototype.getExtremes\n            .call(this, this.getColumn('value'));\n        if (HeatmapSeries_isNumber(dataMin)) {\n            this.valueMin = dataMin;\n        }\n        if (HeatmapSeries_isNumber(dataMax)) {\n            this.valueMax = dataMax;\n        }\n        // Get the extremes from the y data\n        return HeatmapSeries_Series.prototype.getExtremes.call(this);\n    }\n    /**\n     * Override to also allow null points, used when building the k-d-tree for\n     * tooltips in boost mode.\n     * @private\n     */\n    getValidPoints(points, insideOnly) {\n        return HeatmapSeries_Series.prototype.getValidPoints.call(this, points, insideOnly, true);\n    }\n    /**\n     * Define hasData function for non-cartesian series. Returns true if the\n     * series has points at all.\n     * @private\n     */\n    hasData() {\n        return !!this.dataTable.rowCount;\n    }\n    /**\n     * Override the init method to add point ranges on both axes.\n     * @private\n     */\n    init() {\n        super.init.apply(this, arguments);\n        const options = this.options;\n        // #3758, prevent resetting in setData\n        options.pointRange = HeatmapSeries_pick(options.pointRange, options.colsize || 1);\n        // General point range\n        this.yAxis.axisPointRange = options.rowsize || 1;\n        // Bind new symbol names\n        symbols.ellipse = symbols.circle;\n        // @todo\n        //\n        // Setting the border radius here is a workaround. It should be set in\n        // the shapeArgs or returned from `markerAttribs`. However,\n        // Series.drawPoints does not pick up markerAttribs to be passed over to\n        // `renderer.symbol`. Also, image symbols are not positioned by their\n        // top left corner like other symbols are. This should be refactored,\n        // then we could save ourselves some tests for .hasImage etc. And the\n        // evaluation of borderRadius would be moved to `markerAttribs`.\n        if (options.marker && HeatmapSeries_isNumber(options.borderRadius)) {\n            options.marker.r = options.borderRadius;\n        }\n    }\n    /**\n     * @private\n     */\n    markerAttribs(point, state) {\n        const shapeArgs = point.shapeArgs || {};\n        if (point.hasImage) {\n            return {\n                x: point.plotX,\n                y: point.plotY\n            };\n        }\n        // Setting width and height attributes on image does not affect on its\n        // dimensions.\n        if (state && state !== 'normal') {\n            const pointMarkerOptions = point.options.marker || {}, seriesMarkerOptions = this.options.marker || {}, seriesStateOptions = (seriesMarkerOptions.states &&\n                seriesMarkerOptions.states[state]) || {}, pointStateOptions = (pointMarkerOptions.states &&\n                pointMarkerOptions.states[state]) || {};\n            // Set new width and height basing on state options.\n            const width = (pointStateOptions.width ||\n                seriesStateOptions.width ||\n                shapeArgs.width ||\n                0) + (pointStateOptions.widthPlus ||\n                seriesStateOptions.widthPlus ||\n                0);\n            const height = (pointStateOptions.height ||\n                seriesStateOptions.height ||\n                shapeArgs.height ||\n                0) + (pointStateOptions.heightPlus ||\n                seriesStateOptions.heightPlus ||\n                0);\n            // Align marker by the new size.\n            const x = (shapeArgs.x || 0) + ((shapeArgs.width || 0) - width) / 2, y = (shapeArgs.y || 0) + ((shapeArgs.height || 0) - height) / 2;\n            return { x, y, width, height };\n        }\n        return shapeArgs;\n    }\n    /**\n     * @private\n     */\n    pointAttribs(point, state) {\n        const series = this, attr = HeatmapSeries_Series.prototype.pointAttribs.call(series, point, state), seriesOptions = series.options || {}, plotOptions = series.chart.options.plotOptions || {}, seriesPlotOptions = plotOptions.series || {}, heatmapPlotOptions = plotOptions.heatmap || {}, \n        // Get old properties in order to keep backward compatibility\n        borderColor = (point && point.options.borderColor) ||\n            seriesOptions.borderColor ||\n            heatmapPlotOptions.borderColor ||\n            seriesPlotOptions.borderColor, borderWidth = (point && point.options.borderWidth) ||\n            seriesOptions.borderWidth ||\n            heatmapPlotOptions.borderWidth ||\n            seriesPlotOptions.borderWidth ||\n            attr['stroke-width'];\n        // Apply lineColor, or set it to default series color.\n        attr.stroke = ((point && point.marker && point.marker.lineColor) ||\n            (seriesOptions.marker && seriesOptions.marker.lineColor) ||\n            borderColor ||\n            this.color);\n        // Apply old borderWidth property if exists.\n        attr['stroke-width'] = borderWidth;\n        if (state && state !== 'normal') {\n            const stateOptions = HeatmapSeries_merge((seriesOptions.states &&\n                seriesOptions.states[state]), (seriesOptions.marker &&\n                seriesOptions.marker.states &&\n                seriesOptions.marker.states[state]), (point &&\n                point.options.states &&\n                point.options.states[state] || {}));\n            attr.fill =\n                stateOptions.color ||\n                    highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default().parse(attr.fill).brighten(stateOptions.brightness || 0).get();\n            attr.stroke = (stateOptions.lineColor || attr.stroke); // #17896\n        }\n        return attr;\n    }\n    /**\n     * @private\n     */\n    translate() {\n        const series = this, options = series.options, { borderRadius, marker } = options, symbol = marker && marker.symbol || 'rect', shape = symbols[symbol] ? symbol : 'rect', hasRegularShape = ['circle', 'square'].indexOf(shape) !== -1;\n        series.generatePoints();\n        for (const point of series.points) {\n            const cellAttr = point.getCellAttributes();\n            let x = Math.min(cellAttr.x1, cellAttr.x2), y = Math.min(cellAttr.y1, cellAttr.y2), width = Math.max(Math.abs(cellAttr.x2 - cellAttr.x1), 0), height = Math.max(Math.abs(cellAttr.y2 - cellAttr.y1), 0);\n            point.hasImage = (point.marker && point.marker.symbol || symbol || '').indexOf('url') === 0;\n            // If marker shape is regular (square), find the shorter cell's\n            // side.\n            if (hasRegularShape) {\n                const sizeDiff = Math.abs(width - height);\n                x = Math.min(cellAttr.x1, cellAttr.x2) +\n                    (width < height ? 0 : sizeDiff / 2);\n                y = Math.min(cellAttr.y1, cellAttr.y2) +\n                    (width < height ? sizeDiff / 2 : 0);\n                width = height = Math.min(width, height);\n            }\n            if (point.hasImage) {\n                point.marker = { width, height };\n            }\n            point.plotX = point.clientX = (cellAttr.x1 + cellAttr.x2) / 2;\n            point.plotY = (cellAttr.y1 + cellAttr.y2) / 2;\n            point.shapeType = 'path';\n            point.shapeArgs = HeatmapSeries_merge(true, { x, y, width, height }, {\n                d: symbols[shape](x, y, width, height, { r: HeatmapSeries_isNumber(borderRadius) ? borderRadius : 0 })\n            });\n        }\n        HeatmapSeries_fireEvent(series, 'afterTranslate');\n    }\n}\nHeatmapSeries.defaultOptions = HeatmapSeries_merge(ScatterSeries.defaultOptions, Heatmap_HeatmapSeriesDefaults);\nHeatmapSeries_addEvent(HeatmapSeries, 'afterDataClassLegendClick', function () {\n    this.isDirtyCanvas = true;\n    this.drawPoints();\n});\nHeatmapSeries_extend(HeatmapSeries.prototype, {\n    axisTypes: Series_ColorMapComposition.seriesMembers.axisTypes,\n    colorKey: Series_ColorMapComposition.seriesMembers.colorKey,\n    directTouch: true,\n    getExtremesFromAll: true,\n    keysAffectYAxis: ['y'],\n    parallelArrays: Series_ColorMapComposition.seriesMembers.parallelArrays,\n    pointArrayMap: ['y', 'value'],\n    pointClass: Heatmap_HeatmapPoint,\n    specialGroup: 'group',\n    trackerGroups: Series_ColorMapComposition.seriesMembers.trackerGroups,\n    /**\n     * @private\n     */\n    alignDataLabel: ColumnSeries.prototype.alignDataLabel,\n    colorAttribs: Series_ColorMapComposition.seriesMembers.colorAttribs,\n    getSymbol: HeatmapSeries_Series.prototype.getSymbol\n});\nSeries_ColorMapComposition.compose(HeatmapSeries);\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('heatmap', HeatmapSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Heatmap_HeatmapSeries = ((/* unused pure expression or super */ null && (HeatmapSeries)));\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Heatmap series only. Padding between the points in the heatmap.\n * @name Highcharts.Point#pointPadding\n * @type {number|undefined}\n */\n/**\n * Heatmap series only. The value of the point, resulting in a color\n * controlled by options as set in the colorAxis configuration.\n * @name Highcharts.Point#value\n * @type {number|null|undefined}\n */\n/* *\n * @interface Highcharts.PointOptionsObject in parts/Point.ts\n */ /**\n* Heatmap series only. Point padding for a single point.\n* @name Highcharts.PointOptionsObject#pointPadding\n* @type {number|undefined}\n*/ /**\n* Heatmap series only. The value of the point, resulting in a color controlled\n* by options as set in the colorAxis configuration.\n* @name Highcharts.PointOptionsObject#value\n* @type {number|null|undefined}\n*/\n''; // Detach doclets above\n\n;// ./code/es-modules/masters/modules/heatmap.src.js\n/**\n * @license Highmaps JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/heatmap\n * @requires highcharts\n *\n * (c) 2009-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n\n\n\n\n/* harmony default export */ const heatmap_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/color-axis\n * @requires highcharts\n *\n * ColorAxis module\n *\n * (c) 2012-2024 Pawel Potaczek\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Axis\"], root[\"_Highcharts\"][\"Color\"], root[\"_Highcharts\"][\"LegendSymbol\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"SVGElement\"], root[\"_Highcharts\"][\"Series\"], root[\"_Highcharts\"][\"Chart\"], root[\"_Highcharts\"][\"SVGRenderer\"], root[\"_Highcharts\"][\"Templating\"], root[\"_Highcharts\"][\"Series\"][\"types\"][\"scatter\"], root[\"_Highcharts\"][\"Point\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/map\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"Axis\"],amd1[\"Color\"],amd1[\"LegendSymbol\"],amd1[\"SeriesRegistry\"],amd1[\"SVGElement\"],amd1[\"Series\"],amd1[\"Chart\"],amd1[\"SVGRenderer\"],amd1[\"Templating\"],amd1[\"Series\"],[\"types\"],[\"scatter\"],amd1[\"Point\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/map\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Axis\"], root[\"_Highcharts\"][\"Color\"], root[\"_Highcharts\"][\"LegendSymbol\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"SVGElement\"], root[\"_Highcharts\"][\"Series\"], root[\"_Highcharts\"][\"Chart\"], root[\"_Highcharts\"][\"SVGRenderer\"], root[\"_Highcharts\"][\"Templating\"], root[\"_Highcharts\"][\"Series\"][\"types\"][\"scatter\"], root[\"_Highcharts\"][\"Point\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"Axis\"], root[\"Highcharts\"][\"Color\"], root[\"Highcharts\"][\"LegendSymbol\"], root[\"Highcharts\"][\"SeriesRegistry\"], root[\"Highcharts\"][\"SVGElement\"], root[\"Highcharts\"][\"Series\"], root[\"Highcharts\"][\"Chart\"], root[\"Highcharts\"][\"SVGRenderer\"], root[\"Highcharts\"][\"Templating\"], root[\"Highcharts\"][\"Series\"][\"types\"][\"scatter\"], root[\"Highcharts\"][\"Point\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__532__, __WEBPACK_EXTERNAL_MODULE__620__, __WEBPACK_EXTERNAL_MODULE__500__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__28__, __WEBPACK_EXTERNAL_MODULE__820__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__540__, __WEBPACK_EXTERNAL_MODULE__984__, __WEBPACK_EXTERNAL_MODULE__632__, __WEBPACK_EXTERNAL_MODULE__260__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 532:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__532__;\n\n/***/ }),\n\n/***/ 960:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__960__;\n\n/***/ }),\n\n/***/ 620:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__620__;\n\n/***/ }),\n\n/***/ 500:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__500__;\n\n/***/ }),\n\n/***/ 260:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__260__;\n\n/***/ }),\n\n/***/ 28:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__28__;\n\n/***/ }),\n\n/***/ 540:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__540__;\n\n/***/ }),\n\n/***/ 632:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__632__;\n\n/***/ }),\n\n/***/ 820:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__820__;\n\n/***/ }),\n\n/***/ 512:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 984:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__984__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ map_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Axis\"],\"commonjs\":[\"highcharts\",\"Axis\"],\"commonjs2\":[\"highcharts\",\"Axis\"],\"root\":[\"Highcharts\",\"Axis\"]}\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_ = __webpack_require__(532);\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default = /*#__PURE__*/__webpack_require__.n(highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Color\"],\"commonjs\":[\"highcharts\",\"Color\"],\"commonjs2\":[\"highcharts\",\"Color\"],\"root\":[\"Highcharts\",\"Color\"]}\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_ = __webpack_require__(620);\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default = /*#__PURE__*/__webpack_require__.n(highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_);\n;// ./code/es-modules/Core/Axis/Color/ColorAxisComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\nconst { addEvent, extend, merge, pick, splat } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar ColorAxisComposition;\n(function (ColorAxisComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let ColorAxisConstructor;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ColorAxisClass, ChartClass, FxClass, LegendClass, SeriesClass) {\n        const chartProto = ChartClass.prototype, fxProto = FxClass.prototype, seriesProto = SeriesClass.prototype;\n        if (!chartProto.collectionsWithUpdate.includes('colorAxis')) {\n            ColorAxisConstructor = ColorAxisClass;\n            chartProto.collectionsWithUpdate.push('colorAxis');\n            chartProto.collectionsWithInit.colorAxis = [\n                chartProto.addColorAxis\n            ];\n            addEvent(ChartClass, 'afterCreateAxes', onChartAfterCreateAxes);\n            wrapChartCreateAxis(ChartClass);\n            fxProto.fillSetter = wrapFxFillSetter;\n            fxProto.strokeSetter = wrapFxStrokeSetter;\n            addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);\n            addEvent(LegendClass, 'afterColorizeItem', onLegendAfterColorizeItem);\n            addEvent(LegendClass, 'afterUpdate', onLegendAfterUpdate);\n            extend(seriesProto, {\n                optionalAxis: 'colorAxis',\n                translateColors: seriesTranslateColors\n            });\n            extend(seriesProto.pointClass.prototype, {\n                setVisible: pointSetVisible\n            });\n            addEvent(SeriesClass, 'afterTranslate', onSeriesAfterTranslate, { order: 1 });\n            addEvent(SeriesClass, 'bindAxes', onSeriesBindAxes);\n        }\n    }\n    ColorAxisComposition.compose = compose;\n    /**\n     * Extend the chart createAxes method to also make the color axis.\n     * @private\n     */\n    function onChartAfterCreateAxes() {\n        const { userOptions } = this;\n        this.colorAxis = [];\n        // If a `colorAxis` config is present in the user options (not in a\n        // theme), instanciate it.\n        if (userOptions.colorAxis) {\n            userOptions.colorAxis = splat(userOptions.colorAxis);\n            userOptions.colorAxis.map((axisOptions) => (new ColorAxisConstructor(this, axisOptions)));\n        }\n    }\n    /**\n     * Add the color axis. This also removes the axis' own series to prevent\n     * them from showing up individually.\n     * @private\n     */\n    function onLegendAfterGetAllItems(e) {\n        const colorAxes = this.chart.colorAxis || [], destroyItem = (item) => {\n            const i = e.allItems.indexOf(item);\n            if (i !== -1) {\n                // #15436\n                this.destroyItem(e.allItems[i]);\n                e.allItems.splice(i, 1);\n            }\n        };\n        let colorAxisItems = [], options, i;\n        colorAxes.forEach(function (colorAxis) {\n            options = colorAxis.options;\n            if (options && options.showInLegend) {\n                // Data classes\n                if (options.dataClasses && options.visible) {\n                    colorAxisItems = colorAxisItems.concat(colorAxis.getDataClassLegendSymbols());\n                    // Gradient legend\n                }\n                else if (options.visible) {\n                    // Add this axis on top\n                    colorAxisItems.push(colorAxis);\n                }\n                // If dataClasses are defined or showInLegend option is not set\n                // to true, do not add color axis' series to legend.\n                colorAxis.series.forEach(function (series) {\n                    if (!series.options.showInLegend || options.dataClasses) {\n                        if (series.options.legendType === 'point') {\n                            series.points.forEach(function (point) {\n                                destroyItem(point);\n                            });\n                        }\n                        else {\n                            destroyItem(series);\n                        }\n                    }\n                });\n            }\n        });\n        i = colorAxisItems.length;\n        while (i--) {\n            e.allItems.unshift(colorAxisItems[i]);\n        }\n    }\n    /**\n     * @private\n     */\n    function onLegendAfterColorizeItem(e) {\n        if (e.visible && e.item.legendColor) {\n            e.item.legendItem.symbol.attr({\n                fill: e.item.legendColor\n            });\n        }\n    }\n    /**\n     * Updates in the legend need to be reflected in the color axis. (#6888)\n     * @private\n     */\n    function onLegendAfterUpdate(e) {\n        this.chart.colorAxis?.forEach((colorAxis) => {\n            colorAxis.update({}, e.redraw);\n        });\n    }\n    /**\n     * Calculate and set colors for points.\n     * @private\n     */\n    function onSeriesAfterTranslate() {\n        if (this.chart.colorAxis &&\n            this.chart.colorAxis.length ||\n            this.colorAttribs) {\n            this.translateColors();\n        }\n    }\n    /**\n     * Add colorAxis to series axisTypes.\n     * @private\n     */\n    function onSeriesBindAxes() {\n        const axisTypes = this.axisTypes;\n        if (!axisTypes) {\n            this.axisTypes = ['colorAxis'];\n        }\n        else if (axisTypes.indexOf('colorAxis') === -1) {\n            axisTypes.push('colorAxis');\n        }\n    }\n    /**\n     * Set the visibility of a single point\n     * @private\n     * @function Highcharts.colorPointMixin.setVisible\n     * @param {boolean} visible\n     */\n    function pointSetVisible(vis) {\n        const point = this, method = vis ? 'show' : 'hide';\n        point.visible = point.options.visible = Boolean(vis);\n        // Show and hide associated elements\n        ['graphic', 'dataLabel'].forEach(function (key) {\n            if (point[key]) {\n                point[key][method]();\n            }\n        });\n        this.series.buildKDTree(); // Rebuild kdtree #13195\n    }\n    ColorAxisComposition.pointSetVisible = pointSetVisible;\n    /**\n     * In choropleth maps, the color is a result of the value, so this needs\n     * translation too\n     * @private\n     * @function Highcharts.colorSeriesMixin.translateColors\n     */\n    function seriesTranslateColors() {\n        const series = this, points = this.getPointsCollection(), // #17945\n        nullColor = this.options.nullColor, colorAxis = this.colorAxis, colorKey = this.colorKey;\n        points.forEach((point) => {\n            const value = point.getNestedProperty(colorKey), color = point.options.color || (point.isNull || point.value === null ?\n                nullColor :\n                (colorAxis && typeof value !== 'undefined') ?\n                    colorAxis.toColor(value, point) :\n                    point.color || series.color);\n            if (color && point.color !== color) {\n                point.color = color;\n                if (series.options.legendType === 'point' &&\n                    point.legendItem &&\n                    point.legendItem.label) {\n                    series.chart.legend.colorizeItem(point, point.visible);\n                }\n            }\n        });\n    }\n    /**\n     * @private\n     */\n    function wrapChartCreateAxis(ChartClass) {\n        const superCreateAxis = ChartClass.prototype.createAxis;\n        ChartClass.prototype.createAxis = function (type, options) {\n            const chart = this;\n            if (type !== 'colorAxis') {\n                return superCreateAxis.apply(chart, arguments);\n            }\n            const axis = new ColorAxisConstructor(chart, merge(options.axis, {\n                index: chart[type].length,\n                isX: false\n            }));\n            chart.isDirtyLegend = true;\n            // Clear before 'bindAxes' (#11924)\n            chart.axes.forEach((axis) => {\n                axis.series = [];\n            });\n            chart.series.forEach((series) => {\n                series.bindAxes();\n                series.isDirtyData = true;\n            });\n            if (pick(options.redraw, true)) {\n                chart.redraw(options.animation);\n            }\n            return axis;\n        };\n    }\n    /**\n     * Handle animation of the color attributes directly.\n     * @private\n     */\n    function wrapFxFillSetter() {\n        this.elem.attr('fill', color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n    }\n    /**\n     * Handle animation of the color attributes directly.\n     * @private\n     */\n    function wrapFxStrokeSetter() {\n        this.elem.attr('stroke', color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n    }\n})(ColorAxisComposition || (ColorAxisComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Color_ColorAxisComposition = (ColorAxisComposition);\n\n;// ./code/es-modules/Core/Axis/Color/ColorAxisDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A color axis for series. Visually, the color\n * axis will appear as a gradient or as separate items inside the\n * legend, depending on whether the axis is scalar or based on data\n * classes.\n *\n * For supported color formats, see the\n * [docs article about colors](https://www.highcharts.com/docs/chart-design-and-style/colors).\n *\n * A scalar color axis is represented by a gradient. The colors either\n * range between the [minColor](#colorAxis.minColor) and the\n * [maxColor](#colorAxis.maxColor), or for more fine grained control the\n * colors can be defined in [stops](#colorAxis.stops). Often times, the\n * color axis needs to be adjusted to get the right color spread for the\n * data. In addition to stops, consider using a logarithmic\n * [axis type](#colorAxis.type), or setting [min](#colorAxis.min) and\n * [max](#colorAxis.max) to avoid the colors being determined by\n * outliers.\n *\n * When [dataClasses](#colorAxis.dataClasses) are used, the ranges are\n * subdivided into separate classes like categories based on their\n * values. This can be used for ranges between two values, but also for\n * a true category. However, when your data is categorized, it may be as\n * convenient to add each category to a separate series.\n *\n * Color axis does not work with: `sankey`, `sunburst`, `dependencywheel`,\n * `networkgraph`, `wordcloud`, `venn`, `gauge` and `solidgauge` series\n * types.\n *\n * Since v7.2.0 `colorAxis` can also be an array of options objects.\n *\n * See [the Axis object](/class-reference/Highcharts.Axis) for\n * programmatic access to the axis.\n *\n * @sample       {highcharts} highcharts/coloraxis/custom-color-key\n *               Column chart with color axis\n * @sample       {highcharts} highcharts/coloraxis/horizontal-layout\n *               Horizontal layout\n * @sample       {highmaps} maps/coloraxis/dataclasscolor\n *               With data classes\n * @sample       {highmaps} maps/coloraxis/mincolor-maxcolor\n *               Min color and max color\n *\n * @extends      xAxis\n * @excluding    alignTicks, allowDecimals, alternateGridColor, breaks,\n *               categories, crosshair, dateTimeLabelFormats, left,\n *               lineWidth, linkedTo, maxZoom, minRange, minTickInterval,\n *               offset, opposite, pane, plotBands, plotLines,\n *               reversedStacks, scrollbar, showEmpty, title, top,\n *               zoomEnabled\n * @product      highcharts highstock highmaps\n * @type         {*|Array<*>}\n * @optionparent colorAxis\n */\nconst colorAxisDefaults = {\n    /**\n     * Whether to allow decimals on the color axis.\n     * @type      {boolean}\n     * @default   true\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.allowDecimals\n     */\n    /**\n     * Determines how to set each data class' color if no individual\n     * color is set. The default value, `tween`, computes intermediate\n     * colors between `minColor` and `maxColor`. The other possible\n     * value, `category`, pulls colors from the global or chart specific\n     * [colors](#colors) array.\n     *\n     * @sample {highmaps} maps/coloraxis/dataclasscolor/\n     *         Category colors\n     *\n     * @type       {string}\n     * @default    tween\n     * @product    highcharts highstock highmaps\n     * @validvalue [\"tween\", \"category\"]\n     * @apioption  colorAxis.dataClassColor\n     */\n    /**\n     * An array of data classes or ranges for the choropleth map. If\n     * none given, the color axis is scalar and values are distributed\n     * as a gradient between the minimum and maximum colors.\n     *\n     * @sample {highmaps} maps/demo/data-class-ranges/\n     *         Multiple ranges\n     *\n     * @sample {highmaps} maps/demo/data-class-two-ranges/\n     *         Two ranges\n     *\n     * @type      {Array<*>}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses\n     */\n    /**\n     * The layout of the color axis. Can be `'horizontal'` or `'vertical'`.\n     * If none given, the color axis has the same layout as the legend.\n     *\n     * @sample highcharts/coloraxis/horizontal-layout/\n     *         Horizontal color axis layout with vertical legend\n     *\n     * @type      {string|undefined}\n     * @since     7.2.0\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.layout\n     */\n    /**\n     * The color of each data class. If not set, the color is pulled\n     * from the global or chart-specific [colors](#colors) array. In\n     * styled mode, this option is ignored. Instead, use colors defined\n     * in CSS.\n     *\n     * @sample {highmaps} maps/demo/data-class-two-ranges/\n     *         Explicit colors\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses.color\n     */\n    /**\n     * The start of the value range that the data class represents,\n     * relating to the point value.\n     *\n     * The range of each `dataClass` is closed in both ends, but can be\n     * overridden by the next `dataClass`.\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses.from\n     */\n    /**\n     * The name of the data class as it appears in the legend.\n     * If no name is given, it is automatically created based on the\n     * `from` and `to` values. For full programmatic control,\n     * [legend.labelFormatter](#legend.labelFormatter) can be used.\n     * In the formatter, `this.from` and `this.to` can be accessed.\n     *\n     * @sample {highmaps} maps/coloraxis/dataclasses-name/\n     *         Named data classes\n     *\n     * @sample {highmaps} maps/coloraxis/dataclasses-labelformatter/\n     *         Formatted data classes\n     *\n     * @type      {string}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses.name\n     */\n    /**\n     * The end of the value range that the data class represents,\n     * relating to the point value.\n     *\n     * The range of each `dataClass` is closed in both ends, but can be\n     * overridden by the next `dataClass`.\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.dataClasses.to\n     */\n    /** @ignore-option */\n    lineWidth: 0,\n    /**\n     * Padding of the min value relative to the length of the axis. A\n     * padding of 0.05 will make a 100px axis 5px longer.\n     *\n     * @product highcharts highstock highmaps\n     */\n    minPadding: 0,\n    /**\n     * The maximum value of the axis in terms of map point values. If\n     * `null`, the max value is automatically calculated. If the\n     * `endOnTick` option is true, the max value might be rounded up.\n     *\n     * @sample {highmaps} maps/coloraxis/gridlines/\n     *         Explicit min and max to reduce the effect of outliers\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.max\n     */\n    /**\n     * The minimum value of the axis in terms of map point values. If\n     * `null`, the min value is automatically calculated. If the\n     * `startOnTick` option is true, the min value might be rounded\n     * down.\n     *\n     * @sample {highmaps} maps/coloraxis/gridlines/\n     *         Explicit min and max to reduce the effect of outliers\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.min\n     */\n    /**\n     * Padding of the max value relative to the length of the axis. A\n     * padding of 0.05 will make a 100px axis 5px longer.\n     *\n     * @product highcharts highstock highmaps\n     */\n    maxPadding: 0,\n    /**\n     * Color of the grid lines extending from the axis across the\n     * gradient.\n     *\n     * @sample {highmaps} maps/coloraxis/gridlines/\n     *         Grid lines demonstrated\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product   highcharts highstock highmaps\n     */\n    gridLineColor: \"#ffffff\" /* Palette.backgroundColor */,\n    /**\n     * The width of the grid lines extending from the axis across the\n     * gradient of a scalar color axis.\n     *\n     * @sample {highmaps} maps/coloraxis/gridlines/\n     *         Grid lines demonstrated\n     *\n     * @product highcharts highstock highmaps\n     */\n    gridLineWidth: 1,\n    /**\n     * The interval of the tick marks in axis units. When `null`, the\n     * tick interval is computed to approximately follow the\n     * `tickPixelInterval`.\n     *\n     * @type      {number}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.tickInterval\n     */\n    /**\n     * If [tickInterval](#colorAxis.tickInterval) is `null` this option\n     * sets the approximate pixel interval of the tick marks.\n     *\n     * @product highcharts highstock highmaps\n     */\n    tickPixelInterval: 72,\n    /**\n     * Whether to force the axis to start on a tick. Use this option\n     * with the `maxPadding` option to control the axis start.\n     *\n     * @product highcharts highstock highmaps\n     */\n    startOnTick: true,\n    /**\n     * Whether to force the axis to end on a tick. Use this option with\n     * the [maxPadding](#colorAxis.maxPadding) option to control the\n     * axis end.\n     *\n     * @product highcharts highstock highmaps\n     */\n    endOnTick: true,\n    /** @ignore */\n    offset: 0,\n    /**\n     * The triangular marker on a scalar color axis that points to the\n     * value of the hovered area. To disable the marker, set\n     * `marker: null`.\n     *\n     * @sample {highmaps} maps/coloraxis/marker/\n     *         Black marker\n     *\n     * @declare Highcharts.PointMarkerOptionsObject\n     * @product highcharts highstock highmaps\n     */\n    marker: {\n        /**\n         * Animation for the marker as it moves between values. Set to\n         * `false` to disable animation. Defaults to `{ duration: 50 }`.\n         *\n         * @type    {boolean|Partial<Highcharts.AnimationOptionsObject>}\n         * @product highcharts highstock highmaps\n         */\n        animation: {\n            /** @internal */\n            duration: 50\n        },\n        /** @internal */\n        width: 0.01,\n        /**\n         * The color of the marker.\n         *\n         * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @product highcharts highstock highmaps\n         */\n        color: \"#999999\" /* Palette.neutralColor40 */\n    },\n    /**\n     * The axis labels show the number for each tick.\n     *\n     * For more live examples on label options, see [xAxis.labels in the\n     * Highcharts API.](/highcharts#xAxis.labels)\n     *\n     * @extends xAxis.labels\n     * @product highcharts highstock highmaps\n     */\n    labels: {\n        distance: 8,\n        /**\n         * How to handle overflowing labels on horizontal color axis. If set\n         * to `\"allow\"`, it will not be aligned at all. By default it\n         * `\"justify\"` labels inside the chart area. If there is room to\n         * move it, it will be aligned to the edge, else it will be removed.\n         *\n         * @validvalue [\"allow\", \"justify\"]\n         * @product    highcharts highstock highmaps\n         */\n        overflow: 'justify',\n        rotation: 0\n    },\n    /**\n     * The color to represent the minimum of the color axis. Unless\n     * [dataClasses](#colorAxis.dataClasses) or\n     * [stops](#colorAxis.stops) are set, the gradient starts at this\n     * value.\n     *\n     * If dataClasses are set, the color is based on minColor and\n     * maxColor unless a color is set for each data class, or the\n     * [dataClassColor](#colorAxis.dataClassColor) is set.\n     *\n     * @sample {highmaps} maps/coloraxis/mincolor-maxcolor/\n     *         Min and max colors on scalar (gradient) axis\n     * @sample {highmaps} maps/coloraxis/mincolor-maxcolor-dataclasses/\n     *         On data classes\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product highcharts highstock highmaps\n     */\n    minColor: \"#e6e9ff\" /* Palette.highlightColor10 */,\n    /**\n     * The color to represent the maximum of the color axis. Unless\n     * [dataClasses](#colorAxis.dataClasses) or\n     * [stops](#colorAxis.stops) are set, the gradient ends at this\n     * value.\n     *\n     * If dataClasses are set, the color is based on minColor and\n     * maxColor unless a color is set for each data class, or the\n     * [dataClassColor](#colorAxis.dataClassColor) is set.\n     *\n     * @sample {highmaps} maps/coloraxis/mincolor-maxcolor/\n     *         Min and max colors on scalar (gradient) axis\n     * @sample {highmaps} maps/coloraxis/mincolor-maxcolor-dataclasses/\n     *         On data classes\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @product highcharts highstock highmaps\n     */\n    maxColor: \"#0022ff\" /* Palette.highlightColor100 */,\n    /**\n     * Color stops for the gradient of a scalar color axis. Use this in\n     * cases where a linear gradient between a `minColor` and `maxColor`\n     * is not sufficient. The stops is an array of tuples, where the\n     * first item is a float between 0 and 1 assigning the relative\n     * position in the gradient, and the second item is the color.\n     *\n     * @sample highcharts/coloraxis/coloraxis-stops/\n     *         Color axis stops\n     * @sample highcharts/coloraxis/color-key-with-stops/\n     *         Color axis stops with custom colorKey\n     * @sample {highmaps} maps/demo/heatmap/\n     *         Heatmap with three color stops\n     *\n     * @type      {Array<Array<number,Highcharts.ColorString>>}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.stops\n     */\n    /**\n     * The pixel length of the main tick marks on the color axis.\n     */\n    tickLength: 5,\n    /**\n     * The type of interpolation to use for the color axis. Can be\n     * `linear` or `logarithmic`.\n     *\n     * @sample highcharts/coloraxis/logarithmic-with-emulate-negative-values/\n     *         Logarithmic color axis with extension to emulate negative\n     *         values\n     *\n     * @type      {Highcharts.ColorAxisTypeValue}\n     * @default   linear\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.type\n     */\n    /**\n     * Whether to reverse the axis so that the highest number is closest\n     * to the origin. Defaults to `false` in a horizontal legend and\n     * `true` in a vertical legend, where the smallest value starts on\n     * top.\n     *\n     * @type      {boolean}\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.reversed\n     */\n    /**\n     * @product   highcharts highstock highmaps\n     * @excluding afterBreaks, pointBreak, pointInBreak\n     * @apioption colorAxis.events\n     */\n    /**\n     * Fires when the legend item belonging to the colorAxis is clicked.\n     * One parameter, `event`, is passed to the function.\n     *\n     * **Note:** This option is deprecated in favor of\n     * [legend.events.itemClick](#legend.events.itemClick).\n     *\n     * @deprecated 11.4.4\n     * @type       {Function}\n     * @product    highcharts highstock highmaps\n     * @apioption  colorAxis.events.legendItemClick\n     */\n    /**\n     * The width of the color axis. If it's a number, it is interpreted as\n     * pixels.\n     *\n     * If it's a percentage string, it is interpreted as percentages of the\n     * total plot width.\n     *\n     * @sample    highcharts/coloraxis/width-and-height\n     *            Percentage width and pixel height for color axis\n     *\n     * @type      {number|string}\n     * @since     11.3.0\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.width\n     */\n    /**\n     * The height of the color axis. If it's a number, it is interpreted as\n     * pixels.\n     *\n     * If it's a percentage string, it is interpreted as percentages of the\n     * total plot height.\n     *\n     * @sample    highcharts/coloraxis/width-and-height\n     *            Percentage width and pixel height for color axis\n     *\n     * @type      {number|string}\n     * @since     11.3.0\n     * @product   highcharts highstock highmaps\n     * @apioption colorAxis.height\n     */\n    /**\n     * Whether to display the colorAxis in the legend.\n     *\n     * @sample highcharts/coloraxis/hidden-coloraxis-with-3d-chart/\n     *         Hidden color axis with 3d chart\n     *\n     * @see [heatmap.showInLegend](#series.heatmap.showInLegend)\n     *\n     * @since   4.2.7\n     * @product highcharts highstock highmaps\n     */\n    showInLegend: true\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ColorAxisDefaults = (colorAxisDefaults);\n\n;// ./code/es-modules/Core/Axis/Color/ColorAxisLike.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: ColorAxisLike_color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\nconst { merge: ColorAxisLike_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Namespace\n *\n * */\nvar ColorAxisLike;\n(function (ColorAxisLike) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initialize defined data classes.\n     * @private\n     */\n    function initDataClasses(userOptions) {\n        const axis = this, chart = axis.chart, legendItem = axis.legendItem = axis.legendItem || {}, options = axis.options, userDataClasses = userOptions.dataClasses || [];\n        let dataClass, dataClasses, colorCount = chart.options.chart.colorCount, colorCounter = 0, colors;\n        axis.dataClasses = dataClasses = [];\n        legendItem.labels = [];\n        for (let i = 0, iEnd = userDataClasses.length; i < iEnd; ++i) {\n            dataClass = userDataClasses[i];\n            dataClass = ColorAxisLike_merge(dataClass);\n            dataClasses.push(dataClass);\n            if (!chart.styledMode && dataClass.color) {\n                continue;\n            }\n            if (options.dataClassColor === 'category') {\n                if (!chart.styledMode) {\n                    colors = chart.options.colors || [];\n                    colorCount = colors.length;\n                    dataClass.color = colors[colorCounter];\n                }\n                dataClass.colorIndex = colorCounter;\n                // Loop back to zero\n                colorCounter++;\n                if (colorCounter === colorCount) {\n                    colorCounter = 0;\n                }\n            }\n            else {\n                dataClass.color = ColorAxisLike_color(options.minColor).tweenTo(ColorAxisLike_color(options.maxColor), iEnd < 2 ? 0.5 : i / (iEnd - 1) // #3219\n                );\n            }\n        }\n    }\n    ColorAxisLike.initDataClasses = initDataClasses;\n    /**\n     * Create initial color stops.\n     * @private\n     */\n    function initStops() {\n        const axis = this, options = axis.options, stops = axis.stops = options.stops || [\n            [0, options.minColor || ''],\n            [1, options.maxColor || '']\n        ];\n        for (let i = 0, iEnd = stops.length; i < iEnd; ++i) {\n            stops[i].color = ColorAxisLike_color(stops[i][1]);\n        }\n    }\n    ColorAxisLike.initStops = initStops;\n    /**\n     * Normalize logarithmic values.\n     * @private\n     */\n    function normalizedValue(value) {\n        const axis = this, max = axis.max || 0, min = axis.min || 0;\n        if (axis.logarithmic) {\n            value = axis.logarithmic.log2lin(value);\n        }\n        return 1 - ((max - value) /\n            ((max - min) || 1));\n    }\n    ColorAxisLike.normalizedValue = normalizedValue;\n    /**\n     * Translate from a value to a color.\n     * @private\n     */\n    function toColor(value, point) {\n        const axis = this;\n        const dataClasses = axis.dataClasses;\n        const stops = axis.stops;\n        let pos, from, to, color, dataClass, i;\n        if (dataClasses) {\n            i = dataClasses.length;\n            while (i--) {\n                dataClass = dataClasses[i];\n                from = dataClass.from;\n                to = dataClass.to;\n                if ((typeof from === 'undefined' || value >= from) &&\n                    (typeof to === 'undefined' || value <= to)) {\n                    color = dataClass.color;\n                    if (point) {\n                        point.dataClass = i;\n                        point.colorIndex = dataClass.colorIndex;\n                    }\n                    break;\n                }\n            }\n        }\n        else {\n            pos = axis.normalizedValue(value);\n            i = stops.length;\n            while (i--) {\n                if (pos > stops[i][0]) {\n                    break;\n                }\n            }\n            from = stops[i] || stops[i + 1];\n            to = stops[i + 1] || from;\n            // The position within the gradient\n            pos = 1 - (to[0] - pos) / ((to[0] - from[0]) || 1);\n            color = from.color.tweenTo(to.color, pos);\n        }\n        return color;\n    }\n    ColorAxisLike.toColor = toColor;\n})(ColorAxisLike || (ColorAxisLike = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Color_ColorAxisLike = (ColorAxisLike);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"LegendSymbol\"],\"commonjs\":[\"highcharts\",\"LegendSymbol\"],\"commonjs2\":[\"highcharts\",\"LegendSymbol\"],\"root\":[\"Highcharts\",\"LegendSymbol\"]}\nvar highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_ = __webpack_require__(500);\nvar highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_default = /*#__PURE__*/__webpack_require__.n(highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n;// ./code/es-modules/Core/Axis/Color/ColorAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\n\nconst { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { series: Series } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { defined, extend: ColorAxis_extend, fireEvent, isArray, isNumber, merge: ColorAxis_merge, pick: ColorAxis_pick, relativeLength } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\ndefaultOptions.colorAxis = ColorAxis_merge(defaultOptions.xAxis, ColorAxisDefaults);\n/* *\n *\n *  Class\n *\n * */\n/**\n * The ColorAxis object for inclusion in gradient legends.\n *\n * @class\n * @name Highcharts.ColorAxis\n * @augments Highcharts.Axis\n *\n * @param {Highcharts.Chart} chart\n * The related chart of the color axis.\n *\n * @param {Highcharts.ColorAxisOptions} userOptions\n * The color axis options for initialization.\n */\nclass ColorAxis extends (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default()) {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(ChartClass, FxClass, LegendClass, SeriesClass) {\n        Color_ColorAxisComposition.compose(ColorAxis, ChartClass, FxClass, LegendClass, SeriesClass);\n    }\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    /**\n     * @private\n     */\n    constructor(chart, userOptions) {\n        super(chart, userOptions);\n        this.coll = 'colorAxis';\n        this.visible = true;\n        this.init(chart, userOptions);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initializes the color axis.\n     *\n     * @function Highcharts.ColorAxis#init\n     *\n     * @param {Highcharts.Chart} chart\n     * The related chart of the color axis.\n     *\n     * @param {Highcharts.ColorAxisOptions} userOptions\n     * The color axis options for initialization.\n     */\n    init(chart, userOptions) {\n        const axis = this;\n        const legend = chart.options.legend || {}, horiz = userOptions.layout ?\n            userOptions.layout !== 'vertical' :\n            legend.layout !== 'vertical';\n        axis.side = userOptions.side || horiz ? 2 : 1;\n        axis.reversed = userOptions.reversed || !horiz;\n        axis.opposite = !horiz;\n        super.init(chart, userOptions, 'colorAxis');\n        // `super.init` saves the extended user options, now replace it with the\n        // originals\n        this.userOptions = userOptions;\n        if (isArray(chart.userOptions.colorAxis)) {\n            chart.userOptions.colorAxis[this.index] = userOptions;\n        }\n        // Prepare data classes\n        if (userOptions.dataClasses) {\n            axis.initDataClasses(userOptions);\n        }\n        axis.initStops();\n        // Override original axis properties\n        axis.horiz = horiz;\n        axis.zoomEnabled = false;\n    }\n    /**\n     * Returns true if the series has points at all.\n     *\n     * @function Highcharts.ColorAxis#hasData\n     *\n     * @return {boolean}\n     * True, if the series has points, otherwise false.\n     */\n    hasData() {\n        return !!(this.tickPositions || []).length;\n    }\n    /**\n     * Override so that ticks are not added in data class axes (#6914)\n     * @private\n     */\n    setTickPositions() {\n        if (!this.dataClasses) {\n            return super.setTickPositions();\n        }\n    }\n    /**\n     * Extend the setOptions method to process extreme colors and color stops.\n     * @private\n     */\n    setOptions(userOptions) {\n        const options = ColorAxis_merge(defaultOptions.colorAxis, userOptions, \n        // Forced options\n        {\n            showEmpty: false,\n            title: null,\n            visible: this.chart.options.legend.enabled &&\n                userOptions.visible !== false\n        });\n        super.setOptions(options);\n        this.options.crosshair = this.options.marker;\n    }\n    /**\n     * @private\n     */\n    setAxisSize() {\n        const axis = this, chart = axis.chart, symbol = axis.legendItem?.symbol;\n        let { width, height } = axis.getSize();\n        if (symbol) {\n            this.left = +symbol.attr('x');\n            this.top = +symbol.attr('y');\n            this.width = width = +symbol.attr('width');\n            this.height = height = +symbol.attr('height');\n            this.right = chart.chartWidth - this.left - width;\n            this.bottom = chart.chartHeight - this.top - height;\n            this.pos = this.horiz ? this.left : this.top;\n        }\n        // Fake length for disabled legend to avoid tick issues\n        // and such (#5205)\n        this.len = (this.horiz ? width : height) ||\n            ColorAxis.defaultLegendLength;\n    }\n    /**\n     * Override the getOffset method to add the whole axis groups inside the\n     * legend.\n     * @private\n     */\n    getOffset() {\n        const axis = this;\n        const group = axis.legendItem?.group;\n        const sideOffset = axis.chart.axisOffset[axis.side];\n        if (group) {\n            // Hook for the getOffset method to add groups to this parent\n            // group\n            axis.axisParent = group;\n            // Call the base\n            super.getOffset();\n            const legend = this.chart.legend;\n            // Adds `maxLabelLength` needed for label padding corrections done\n            // by `render()` and `getMargins()` (#15551).\n            legend.allItems.forEach(function (item) {\n                if (item instanceof ColorAxis) {\n                    item.drawLegendSymbol(legend, item);\n                }\n            });\n            legend.render();\n            this.chart.getMargins(true);\n            // If not drilling down/up\n            if (!this.chart.series.some((series) => series.isDrilling)) {\n                axis.isDirty = true; // Flag to fire drawChartBox\n            }\n            // First time only\n            if (!axis.added) {\n                axis.added = true;\n                axis.labelLeft = 0;\n                axis.labelRight = axis.width;\n            }\n            // Reset it to avoid color axis reserving space\n            axis.chart.axisOffset[axis.side] = sideOffset;\n        }\n    }\n    /**\n     * Create the color gradient.\n     * @private\n     */\n    setLegendColor() {\n        const axis = this;\n        const horiz = axis.horiz;\n        const reversed = axis.reversed;\n        const one = reversed ? 1 : 0;\n        const zero = reversed ? 0 : 1;\n        const grad = horiz ? [one, 0, zero, 0] : [0, zero, 0, one]; // #3190\n        axis.legendColor = {\n            linearGradient: {\n                x1: grad[0],\n                y1: grad[1],\n                x2: grad[2],\n                y2: grad[3]\n            },\n            stops: axis.stops\n        };\n    }\n    /**\n     * The color axis appears inside the legend and has its own legend symbol.\n     * @private\n     */\n    drawLegendSymbol(legend, item) {\n        const axis = this, legendItem = item.legendItem || {}, padding = legend.padding, legendOptions = legend.options, labelOptions = axis.options.labels, itemDistance = ColorAxis_pick(legendOptions.itemDistance, 10), horiz = axis.horiz, { width, height } = axis.getSize(), labelPadding = ColorAxis_pick(\n        // @todo: This option is not documented, nor implemented when\n        // vertical\n        legendOptions.labelPadding, horiz ? 16 : 30);\n        this.setLegendColor();\n        // Create the gradient\n        if (!legendItem.symbol) {\n            legendItem.symbol = this.chart.renderer.symbol('roundedRect')\n                .attr({\n                r: legendOptions.symbolRadius ?? 3,\n                zIndex: 1\n            }).add(legendItem.group);\n        }\n        legendItem.symbol.attr({\n            x: 0,\n            y: (legend.baseline || 0) - 11,\n            width: width,\n            height: height\n        });\n        // Set how much space this legend item takes up\n        legendItem.labelWidth = (width +\n            padding +\n            (horiz ?\n                itemDistance :\n                ColorAxis_pick(labelOptions.x, labelOptions.distance) +\n                    (this.maxLabelLength || 0)));\n        legendItem.labelHeight = height + padding + (horiz ? labelPadding : 0);\n    }\n    /**\n     * Fool the legend.\n     * @private\n     */\n    setState(state) {\n        this.series.forEach(function (series) {\n            series.setState(state);\n        });\n    }\n    /**\n     * @private\n     */\n    setVisible() {\n    }\n    /**\n     * @private\n     */\n    getSeriesExtremes() {\n        const axis = this;\n        const series = axis.series;\n        let colorValArray, colorKey, calculatedExtremes, cSeries, i = series.length;\n        this.dataMin = Infinity;\n        this.dataMax = -Infinity;\n        while (i--) { // X, y, value, other\n            cSeries = series[i];\n            colorKey = cSeries.colorKey = ColorAxis_pick(cSeries.options.colorKey, cSeries.colorKey, cSeries.pointValKey, cSeries.zoneAxis, 'y');\n            calculatedExtremes = cSeries[colorKey + 'Min'] &&\n                cSeries[colorKey + 'Max'];\n            // Find the first column that has values\n            for (const key of [colorKey, 'value', 'y']) {\n                colorValArray = cSeries.getColumn(key);\n                if (colorValArray.length) {\n                    break;\n                }\n            }\n            // If color key extremes are already calculated, use them.\n            if (calculatedExtremes) {\n                cSeries.minColorValue = cSeries[colorKey + 'Min'];\n                cSeries.maxColorValue = cSeries[colorKey + 'Max'];\n            }\n            else {\n                const cExtremes = Series.prototype.getExtremes.call(cSeries, colorValArray);\n                cSeries.minColorValue = cExtremes.dataMin;\n                cSeries.maxColorValue = cExtremes.dataMax;\n            }\n            if (defined(cSeries.minColorValue) &&\n                defined(cSeries.maxColorValue)) {\n                this.dataMin =\n                    Math.min(this.dataMin, cSeries.minColorValue);\n                this.dataMax =\n                    Math.max(this.dataMax, cSeries.maxColorValue);\n            }\n            if (!calculatedExtremes) {\n                Series.prototype.applyExtremes.call(cSeries);\n            }\n        }\n    }\n    /**\n     * Internal function to draw a crosshair.\n     *\n     * @function Highcharts.ColorAxis#drawCrosshair\n     *\n     * @param {Highcharts.PointerEventObject} [e]\n     *        The event arguments from the modified pointer event, extended with\n     *        `chartX` and `chartY`\n     *\n     * @param {Highcharts.Point} [point]\n     *        The Point object if the crosshair snaps to points.\n     *\n     * @emits Highcharts.ColorAxis#event:afterDrawCrosshair\n     * @emits Highcharts.ColorAxis#event:drawCrosshair\n     */\n    drawCrosshair(e, point) {\n        const axis = this, legendItem = axis.legendItem || {}, plotX = point && point.plotX, plotY = point && point.plotY, axisPos = axis.pos, axisLen = axis.len;\n        let crossPos;\n        if (point) {\n            crossPos = axis.toPixels(point.getNestedProperty(point.series.colorKey));\n            if (crossPos < axisPos) {\n                crossPos = axisPos - 2;\n            }\n            else if (crossPos > axisPos + axisLen) {\n                crossPos = axisPos + axisLen + 2;\n            }\n            point.plotX = crossPos;\n            point.plotY = axis.len - crossPos;\n            super.drawCrosshair(e, point);\n            point.plotX = plotX;\n            point.plotY = plotY;\n            if (axis.cross &&\n                !axis.cross.addedToColorAxis &&\n                legendItem.group) {\n                axis.cross\n                    .addClass('highcharts-coloraxis-marker')\n                    .add(legendItem.group);\n                axis.cross.addedToColorAxis = true;\n                if (!axis.chart.styledMode &&\n                    typeof axis.crosshair === 'object') {\n                    axis.cross.attr({\n                        fill: axis.crosshair.color\n                    });\n                }\n            }\n        }\n    }\n    /**\n     * @private\n     */\n    getPlotLinePath(options) {\n        const axis = this, left = axis.left, pos = options.translatedValue, top = axis.top;\n        // Crosshairs only\n        return isNumber(pos) ? // `pos` can be 0 (#3969)\n            (axis.horiz ? [\n                ['M', pos - 4, top - 6],\n                ['L', pos + 4, top - 6],\n                ['L', pos, top],\n                ['Z']\n            ] : [\n                ['M', left, pos],\n                ['L', left - 6, pos + 6],\n                ['L', left - 6, pos - 6],\n                ['Z']\n            ]) :\n            super.getPlotLinePath(options);\n    }\n    /**\n     * Updates a color axis instance with a new set of options. The options are\n     * merged with the existing options, so only new or altered options need to\n     * be specified.\n     *\n     * @function Highcharts.ColorAxis#update\n     *\n     * @param {Highcharts.ColorAxisOptions} newOptions\n     * The new options that will be merged in with existing options on the color\n     * axis.\n     *\n     * @param {boolean} [redraw]\n     * Whether to redraw the chart after the color axis is altered. If doing\n     * more operations on the chart, it is a good idea to set redraw to `false`\n     * and call {@link Highcharts.Chart#redraw} after.\n     */\n    update(newOptions, redraw) {\n        const axis = this, chart = axis.chart, legend = chart.legend;\n        this.series.forEach((series) => {\n            // Needed for Axis.update when choropleth colors change\n            series.isDirtyData = true;\n        });\n        // When updating data classes, destroy old items and make sure new\n        // ones are created (#3207)\n        if (newOptions.dataClasses && legend.allItems || axis.dataClasses) {\n            axis.destroyItems();\n        }\n        super.update(newOptions, redraw);\n        if (axis.legendItem && axis.legendItem.label) {\n            axis.setLegendColor();\n            legend.colorizeItem(this, true);\n        }\n    }\n    /**\n     * Destroy color axis legend items.\n     * @private\n     */\n    destroyItems() {\n        const axis = this, chart = axis.chart, legendItem = axis.legendItem || {};\n        if (legendItem.label) {\n            chart.legend.destroyItem(axis);\n        }\n        else if (legendItem.labels) {\n            for (const item of legendItem.labels) {\n                chart.legend.destroyItem(item);\n            }\n        }\n        chart.isDirtyLegend = true;\n    }\n    //   Removing the whole axis (#14283)\n    destroy() {\n        this.chart.isDirtyLegend = true;\n        this.destroyItems();\n        super.destroy(...[].slice.call(arguments));\n    }\n    /**\n     * Removes the color axis and the related legend item.\n     *\n     * @function Highcharts.ColorAxis#remove\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart following the remove.\n     */\n    remove(redraw) {\n        this.destroyItems();\n        super.remove(redraw);\n    }\n    /**\n     * Get the legend item symbols for data classes.\n     * @private\n     */\n    getDataClassLegendSymbols() {\n        const axis = this, chart = axis.chart, legendItems = (axis.legendItem &&\n            axis.legendItem.labels ||\n            []), legendOptions = chart.options.legend, valueDecimals = ColorAxis_pick(legendOptions.valueDecimals, -1), valueSuffix = ColorAxis_pick(legendOptions.valueSuffix, '');\n        const getPointsInDataClass = (i) => axis.series.reduce((points, s) => {\n            points.push(...s.points.filter((point) => point.dataClass === i));\n            return points;\n        }, []);\n        let name;\n        if (!legendItems.length) {\n            axis.dataClasses.forEach((dataClass, i) => {\n                const from = dataClass.from, to = dataClass.to, { numberFormatter } = chart;\n                let vis = true;\n                // Assemble the default name. This can be overridden\n                // by legend.options.labelFormatter\n                name = '';\n                if (typeof from === 'undefined') {\n                    name = '< ';\n                }\n                else if (typeof to === 'undefined') {\n                    name = '> ';\n                }\n                if (typeof from !== 'undefined') {\n                    name += numberFormatter(from, valueDecimals) + valueSuffix;\n                }\n                if (typeof from !== 'undefined' && typeof to !== 'undefined') {\n                    name += ' - ';\n                }\n                if (typeof to !== 'undefined') {\n                    name += numberFormatter(to, valueDecimals) + valueSuffix;\n                }\n                // Add a mock object to the legend items\n                legendItems.push(ColorAxis_extend({\n                    chart,\n                    name,\n                    options: {},\n                    drawLegendSymbol: (highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_default()).rectangle,\n                    visible: true,\n                    isDataClass: true,\n                    // Override setState to set either normal or inactive\n                    // state to all points in this data class\n                    setState: (state) => {\n                        for (const point of getPointsInDataClass(i)) {\n                            point.setState(state);\n                        }\n                    },\n                    // Override setState to show or hide all points in this\n                    // data class\n                    setVisible: function () {\n                        this.visible = vis = axis.visible = !vis;\n                        const affectedSeries = [];\n                        for (const point of getPointsInDataClass(i)) {\n                            point.setVisible(vis);\n                            point.hiddenInDataClass = !vis; // #20441\n                            if (affectedSeries.indexOf(point.series) === -1) {\n                                affectedSeries.push(point.series);\n                            }\n                        }\n                        chart.legend.colorizeItem(this, vis);\n                        affectedSeries.forEach((series) => {\n                            fireEvent(series, 'afterDataClassLegendClick');\n                        });\n                    }\n                }, dataClass));\n            });\n        }\n        return legendItems;\n    }\n    /**\n     * Get size of color axis symbol.\n     * @private\n     */\n    getSize() {\n        const axis = this, { chart, horiz } = axis, { height: colorAxisHeight, width: colorAxisWidth } = axis.options, { legend: legendOptions } = chart.options, width = ColorAxis_pick(defined(colorAxisWidth) ?\n            relativeLength(colorAxisWidth, chart.chartWidth) : void 0, legendOptions?.symbolWidth, horiz ? ColorAxis.defaultLegendLength : 12), height = ColorAxis_pick(defined(colorAxisHeight) ?\n            relativeLength(colorAxisHeight, chart.chartHeight) : void 0, legendOptions?.symbolHeight, horiz ? 12 : ColorAxis.defaultLegendLength);\n        return {\n            width,\n            height\n        };\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nColorAxis.defaultLegendLength = 200;\n/**\n * @private\n */\nColorAxis.keepProps = [\n    'legendItem'\n];\nColorAxis_extend(ColorAxis.prototype, Color_ColorAxisLike);\n/* *\n *\n *  Registry\n *\n * */\n// Properties to preserve after destroy, for Axis.update (#5881, #6025).\nArray.prototype.push.apply((highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default()).keepProps, ColorAxis.keepProps);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Color_ColorAxis = (ColorAxis);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Color axis types\n *\n * @typedef {\"linear\"|\"logarithmic\"} Highcharts.ColorAxisTypeValue\n */\n''; // Detach doclet above\n\n;// ./code/es-modules/masters/modules/coloraxis.src.js\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nG.ColorAxis = G.ColorAxis || Color_ColorAxis;\nG.ColorAxis.compose(G.Chart, G.Fx, G.Legend, G.Series);\n/* harmony default export */ const coloraxis_src = ((/* unused pure expression or super */ null && (Highcharts)));\n\n;// ./code/es-modules/Maps/MapNavigationDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Constants\n *\n * */\nconst lang = {\n    zoomIn: 'Zoom in',\n    zoomOut: 'Zoom out'\n};\n/**\n * The `mapNavigation` option handles buttons for navigation in addition to\n * `mousewheel` and `doubleclick` handlers for map zooming.\n *\n * @product      highmaps\n * @optionparent mapNavigation\n */\nconst mapNavigation = {\n    /**\n     * General options for the map navigation buttons. Individual options\n     * can be given from the [mapNavigation.buttons](#mapNavigation.buttons)\n     * option set.\n     *\n     * @sample {highmaps} maps/mapnavigation/button-theme/\n     *         Theming the navigation buttons\n     */\n    buttonOptions: {\n        /**\n         * What box to align the buttons to. Possible values are `plotBox`\n         * and `spacingBox`.\n         *\n         * @type {Highcharts.ButtonRelativeToValue}\n         */\n        alignTo: 'plotBox',\n        /**\n         * The alignment of the navigation buttons.\n         *\n         * @type {Highcharts.AlignValue}\n         */\n        align: 'left',\n        /**\n         * The vertical alignment of the buttons. Individual alignment can\n         * be adjusted by each button's `y` offset.\n         *\n         * @type {Highcharts.VerticalAlignValue}\n         */\n        verticalAlign: 'top',\n        /**\n         * The X offset of the buttons relative to its `align` setting.\n         */\n        x: 0,\n        /**\n         * The width of the map navigation buttons.\n         */\n        width: 18,\n        /**\n         * The pixel height of the map navigation buttons.\n         */\n        height: 18,\n        /**\n         * Padding for the navigation buttons.\n         *\n         * @since 5.0.0\n         */\n        padding: 5,\n        /**\n         * Text styles for the map navigation buttons.\n         *\n         * @type    {Highcharts.CSSObject}\n         * @default {\"fontSize\": \"1em\", \"fontWeight\": \"bold\"}\n         */\n        style: {\n            /** @ignore */\n            color: \"#666666\" /* Palette.neutralColor60 */,\n            /** @ignore */\n            fontSize: '1em',\n            /** @ignore */\n            fontWeight: 'bold'\n        },\n        /**\n         * A configuration object for the button theme. The object accepts\n         * SVG properties like `stroke-width`, `stroke` and `fill`. Tri-state\n         * button styles are supported by the `states.hover` and `states.select`\n         * objects.\n         *\n         * @sample {highmaps} maps/mapnavigation/button-theme/\n         *         Themed navigation buttons\n         *\n         * @type    {Highcharts.SVGAttributes}\n         * @default {\"stroke-width\": 1, \"text-align\": \"center\"}\n         */\n        theme: {\n            /** @ignore */\n            fill: \"#ffffff\" /* Palette.backgroundColor */,\n            /** @ignore */\n            stroke: \"#e6e6e6\" /* Palette.neutralColor10 */,\n            /** @ignore */\n            'stroke-width': 1,\n            /** @ignore */\n            'text-align': 'center'\n        }\n    },\n    /**\n     * The individual buttons for the map navigation. This usually includes\n     * the zoom in and zoom out buttons. Properties for each button is\n     * inherited from\n     * [mapNavigation.buttonOptions](#mapNavigation.buttonOptions), while\n     * individual options can be overridden. But default, the `onclick`, `text`\n     * and `y` options are individual.\n     */\n    buttons: {\n        /**\n         * Options for the zoom in button. Properties for the zoom in and zoom\n         * out buttons are inherited from\n         * [mapNavigation.buttonOptions](#mapNavigation.buttonOptions), while\n         * individual options can be overridden. By default, the `onclick`,\n         * `text` and `y` options are individual.\n         *\n         * @extends mapNavigation.buttonOptions\n         */\n        zoomIn: {\n            // eslint-disable-next-line valid-jsdoc\n            /**\n             * Click handler for the button.\n             *\n             * @type    {Function}\n             * @default function () { this.mapZoom(0.5); }\n             */\n            onclick: function () {\n                this.mapZoom(0.5);\n            },\n            /**\n             * The text for the button. The tooltip (title) is a language option\n             * given by [lang.zoomIn](#lang.zoomIn).\n             */\n            text: '+',\n            /**\n             * The position of the zoomIn button relative to the vertical\n             * alignment.\n             */\n            y: 0\n        },\n        /**\n         * Options for the zoom out button. Properties for the zoom in and\n         * zoom out buttons are inherited from\n         * [mapNavigation.buttonOptions](#mapNavigation.buttonOptions), while\n         * individual options can be overridden. By default, the `onclick`,\n         * `text` and `y` options are individual.\n         *\n         * @extends mapNavigation.buttonOptions\n         */\n        zoomOut: {\n            // eslint-disable-next-line valid-jsdoc\n            /**\n             * Click handler for the button.\n             *\n             * @type    {Function}\n             * @default function () { this.mapZoom(2); }\n             */\n            onclick: function () {\n                this.mapZoom(2);\n            },\n            /**\n             * The text for the button. The tooltip (title) is a language option\n             * given by [lang.zoomOut](#lang.zoomIn).\n             */\n            text: '-',\n            /**\n             * The position of the zoomOut button relative to the vertical\n             * alignment.\n             */\n            y: 28\n        }\n    },\n    /**\n     * Whether to enable navigation buttons. By default it inherits the\n     * [enabled](#mapNavigation.enabled) setting.\n     *\n     * @type      {boolean}\n     * @apioption mapNavigation.enableButtons\n     */\n    /**\n     * Whether to enable map navigation. The default is not to enable\n     * navigation, as many choropleth maps are simple and don't need it.\n     * Additionally, when touch zoom and mouse wheel zoom is enabled, it breaks\n     * the default behaviour of these interactions in the website, and the\n     * implementer should be aware of this.\n     *\n     * Individual interactions can be enabled separately, namely buttons,\n     * multitouch zoom, double click zoom, double click zoom to element and\n     * mouse wheel zoom.\n     *\n     * @type      {boolean}\n     * @default   false\n     * @apioption mapNavigation.enabled\n     */\n    /**\n     * Enables zooming in on an area on double clicking in the map. By default\n     * it inherits the [enabled](#mapNavigation.enabled) setting.\n     *\n     * @type      {boolean}\n     * @apioption mapNavigation.enableDoubleClickZoom\n     */\n    /**\n     * Whether to zoom in on an area when that area is double clicked.\n     *\n     * @sample {highmaps} maps/mapnavigation/doubleclickzoomto/\n     *         Enable double click zoom to\n     *\n     * @type      {boolean}\n     * @default   false\n     * @apioption mapNavigation.enableDoubleClickZoomTo\n     */\n    /**\n     * Enables zooming by mouse wheel. By default it inherits the [enabled](\n     * #mapNavigation.enabled) setting.\n     *\n     * @type      {boolean}\n     * @apioption mapNavigation.enableMouseWheelZoom\n     */\n    /**\n     * Whether to enable multitouch zooming. Note that if the chart covers the\n     * viewport, this prevents the user from using multitouch and touchdrag on\n     * the web page, so you should make sure the user is not trapped inside the\n     * chart. By default it inherits the [enabled](#mapNavigation.enabled)\n     * setting.\n     *\n     * @type      {boolean}\n     * @apioption mapNavigation.enableTouchZoom\n     */\n    /**\n     * Sensitivity of mouse wheel or trackpad scrolling. 1 is no sensitivity,\n     * while with 2, one mouse wheel delta will zoom in 50%.\n     *\n     * @since 4.2.4\n     */\n    mouseWheelSensitivity: 1.1\n    // Enabled: false,\n    // enableButtons: null, // inherit from enabled\n    // enableTouchZoom: null, // inherit from enabled\n    // enableDoubleClickZoom: null, // inherit from enabled\n    // enableDoubleClickZoomTo: false\n    // enableMouseWheelZoom: null, // inherit from enabled\n};\n/* *\n *\n *  Default Export\n *\n * */\nconst mapNavigationDefaults = {\n    lang,\n    mapNavigation\n};\n/* harmony default export */ const MapNavigationDefaults = (mapNavigationDefaults);\n\n;// ./code/es-modules/Maps/MapPointer.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defined: MapPointer_defined, extend: MapPointer_extend, pick: MapPointer_pick, wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar MapPointer;\n(function (MapPointer) {\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let totalWheelDelta = 0;\n    let totalWheelDeltaTimer;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Extend the Pointer.\n     * @private\n     */\n    function compose(PointerClass) {\n        const pointerProto = PointerClass.prototype;\n        if (!pointerProto.onContainerDblClick) {\n            MapPointer_extend(pointerProto, {\n                onContainerDblClick,\n                onContainerMouseWheel\n            });\n            wrap(pointerProto, 'normalize', wrapNormalize);\n            wrap(pointerProto, 'zoomOption', wrapZoomOption);\n        }\n    }\n    MapPointer.compose = compose;\n    /**\n     * The event handler for the doubleclick event.\n     * @private\n     */\n    function onContainerDblClick(e) {\n        const chart = this.chart;\n        e = this.normalize(e);\n        if (chart.options.mapNavigation.enableDoubleClickZoomTo) {\n            if (chart.pointer.inClass(e.target, 'highcharts-tracker') &&\n                chart.hoverPoint) {\n                chart.hoverPoint.zoomTo();\n            }\n        }\n        else if (chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop)) {\n            chart.mapZoom(0.5, void 0, void 0, e.chartX, e.chartY);\n        }\n    }\n    /**\n     * The event handler for the mouse scroll event.\n     * @private\n     */\n    function onContainerMouseWheel(e) {\n        const chart = this.chart;\n        e = this.normalize(e);\n        // Firefox uses e.deltaY or e.detail, WebKit and IE uses wheelDelta\n        // try wheelDelta first #15656\n        const delta = (MapPointer_defined(e.wheelDelta) && -e.wheelDelta / 120) ||\n            e.deltaY || e.detail;\n        // Wheel zooming on trackpads have different behaviours in Firefox vs\n        // WebKit. In Firefox the delta increments in steps by 1, so it is not\n        // distinguishable from true mouse wheel. Therefore we use this timer\n        // to avoid trackpad zooming going too fast and out of control. In\n        // WebKit however, the delta is < 1, so we simply disable animation in\n        // the `chart.mapZoom` call below.\n        if (Math.abs(delta) >= 1) {\n            totalWheelDelta += Math.abs(delta);\n            if (totalWheelDeltaTimer) {\n                clearTimeout(totalWheelDeltaTimer);\n            }\n            totalWheelDeltaTimer = setTimeout(() => {\n                totalWheelDelta = 0;\n            }, 50);\n        }\n        if (totalWheelDelta < 10 && chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop) && chart.mapView) {\n            chart.mapView.zoomBy((chart.options.mapNavigation.mouseWheelSensitivity -\n                1) * -delta, void 0, [e.chartX, e.chartY], \n            // Delta less than 1 indicates stepless/trackpad zooming, avoid\n            // animation delaying the zoom\n            Math.abs(delta) < 1 ? false : void 0);\n        }\n    }\n    /**\n     * Add lon and lat information to pointer events\n     * @private\n     */\n    function wrapNormalize(proceed, e, chartPosition) {\n        const chart = this.chart;\n        e = proceed.call(this, e, chartPosition);\n        if (chart && chart.mapView) {\n            const lonLat = chart.mapView.pixelsToLonLat({\n                x: e.chartX - chart.plotLeft,\n                y: e.chartY - chart.plotTop\n            });\n            if (lonLat) {\n                MapPointer_extend(e, lonLat);\n            }\n        }\n        return e;\n    }\n    /**\n     * The pinchType is inferred from mapNavigation options.\n     * @private\n     */\n    function wrapZoomOption(proceed) {\n        const mapNavigation = this.chart.options.mapNavigation;\n        // Pinch status\n        if (mapNavigation &&\n            MapPointer_pick(mapNavigation.enableTouchZoom, mapNavigation.enabled)) {\n            this.chart.zooming.pinchType = 'xy';\n        }\n        proceed.apply(this, [].slice.call(arguments, 1));\n    }\n})(MapPointer || (MapPointer = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Maps_MapPointer = (MapPointer);\n\n;// ./code/es-modules/Maps/MapSymbols.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Variables\n *\n * */\nlet symbols;\n/* *\n *\n *  Functions\n *\n * */\n/**\n *\n */\nfunction bottomButton(x, y, w, h, options) {\n    if (options) {\n        const r = options?.r || 0;\n        options.brBoxY = y - r;\n        options.brBoxHeight = h + r;\n    }\n    return symbols.roundedRect(x, y, w, h, options);\n}\n/**\n *\n */\nfunction compose(SVGRendererClass) {\n    symbols = SVGRendererClass.prototype.symbols;\n    symbols.bottombutton = bottomButton;\n    symbols.topbutton = topButton;\n}\n/**\n *\n */\nfunction topButton(x, y, w, h, options) {\n    if (options) {\n        const r = options?.r || 0;\n        options.brBoxHeight = h + r;\n    }\n    return symbols.roundedRect(x, y, w, h, options);\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst MapSymbols = {\n    compose\n};\n/* harmony default export */ const Maps_MapSymbols = (MapSymbols);\n\n;// ./code/es-modules/Maps/MapNavigation.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { setOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n\nconst { addEvent: MapNavigation_addEvent, extend: MapNavigation_extend, merge: MapNavigation_merge, objectEach, pick: MapNavigation_pick, pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction stopEvent(e) {\n    if (e) {\n        e.preventDefault?.();\n        e.stopPropagation?.();\n        e.cancelBubble = true;\n    }\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The MapNavigation handles buttons for navigation in addition to mousewheel\n * and doubleclick handlers for chart zooming.\n *\n * @private\n * @class\n * @name MapNavigation\n *\n * @param {Highcharts.Chart} chart\n *        The Chart instance.\n */\nclass MapNavigation {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(MapChartClass, PointerClass, SVGRendererClass) {\n        Maps_MapPointer.compose(PointerClass);\n        Maps_MapSymbols.compose(SVGRendererClass);\n        if (pushUnique(composed, 'Map.Navigation')) {\n            // Extend the Chart.render method to add zooming and panning\n            MapNavigation_addEvent(MapChartClass, 'beforeRender', function () {\n                // Render the plus and minus buttons. Doing this before the\n                // shapes makes getBBox much quicker, at least in Chrome.\n                this.mapNavigation = new MapNavigation(this);\n                this.mapNavigation.update();\n            });\n            setOptions(MapNavigationDefaults);\n        }\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart) {\n        this.chart = chart;\n        this.navButtons = [];\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Update the map navigation with new options. Calling this is the same as\n     * calling `chart.update({ mapNavigation: {} })`.\n     *\n     * @function MapNavigation#update\n     *\n     * @param {Partial<Highcharts.MapNavigationOptions>} [options]\n     *        New options for the map navigation.\n     */\n    update(options) {\n        const mapNav = this, chart = mapNav.chart, navButtons = mapNav.navButtons, outerHandler = function (e) {\n            this.handler.call(chart, e);\n            stopEvent(e); // Stop default click event (#4444)\n        };\n        let navOptions = chart.options.mapNavigation;\n        // Merge in new options in case of update, and register back to chart\n        // options.\n        if (options) {\n            navOptions = chart.options.mapNavigation =\n                MapNavigation_merge(chart.options.mapNavigation, options);\n        }\n        // Destroy buttons in case of dynamic update\n        while (navButtons.length) {\n            navButtons.pop()?.destroy();\n        }\n        if (!chart.renderer.forExport &&\n            MapNavigation_pick(navOptions.enableButtons, navOptions.enabled)) {\n            if (!mapNav.navButtonsGroup) {\n                mapNav.navButtonsGroup = chart.renderer.g()\n                    .attr({\n                    zIndex: 7 // #4955, #8392, #20476\n                })\n                    .add();\n            }\n            objectEach(navOptions.buttons, (buttonOptions, n) => {\n                buttonOptions = MapNavigation_merge(navOptions.buttonOptions, buttonOptions);\n                const attr = {\n                    padding: buttonOptions.padding\n                };\n                // Presentational\n                if (!chart.styledMode && buttonOptions.theme) {\n                    MapNavigation_extend(attr, buttonOptions.theme);\n                    attr.style = MapNavigation_merge(buttonOptions.theme.style, buttonOptions.style // #3203\n                    );\n                }\n                const { text, width = 0, height = 0, padding = 0 } = buttonOptions;\n                const button = chart.renderer\n                    .button(\n                // Display the text from options only if it is not plus\n                // or minus\n                (text !== '+' && text !== '-' && text) || '', 0, 0, outerHandler, attr, void 0, void 0, void 0, n === 'zoomIn' ? 'topbutton' : 'bottombutton')\n                    .addClass('highcharts-map-navigation highcharts-' + {\n                    zoomIn: 'zoom-in',\n                    zoomOut: 'zoom-out'\n                }[n])\n                    .attr({\n                    width,\n                    height,\n                    title: chart.options.lang[n],\n                    zIndex: 5\n                })\n                    .add(mapNav.navButtonsGroup);\n                // Add SVG paths for the default symbols, because the text\n                // representation of + and - is not sharp and position is not\n                // easy to control.\n                if (text === '+' || text === '-') {\n                    // Mysterious +1 to achieve centering\n                    const w = width + 1, d = [\n                        ['M', padding + 3, padding + height / 2],\n                        ['L', padding + w - 3, padding + height / 2]\n                    ];\n                    if (text === '+') {\n                        d.push(['M', padding + w / 2, padding + 3], ['L', padding + w / 2, padding + height - 3]);\n                    }\n                    chart.renderer\n                        .path(d)\n                        .addClass('highcharts-button-symbol')\n                        .attr(chart.styledMode ? {} : {\n                        stroke: buttonOptions.style?.color,\n                        'stroke-width': 3,\n                        'stroke-linecap': 'round'\n                    })\n                        .add(button);\n                }\n                button.handler = buttonOptions.onclick;\n                // Stop double click event (#4444)\n                MapNavigation_addEvent(button.element, 'dblclick', stopEvent);\n                navButtons.push(button);\n                MapNavigation_extend(buttonOptions, {\n                    width: button.width,\n                    height: 2 * (button.height || 0)\n                });\n                if (!chart.hasLoaded) {\n                    // Align it after the plotBox is known (#12776)\n                    const unbind = MapNavigation_addEvent(chart, 'load', () => {\n                        // #15406: Make sure button hasnt been destroyed\n                        if (button.element) {\n                            button.align(buttonOptions, false, buttonOptions.alignTo);\n                        }\n                        unbind();\n                    });\n                }\n                else {\n                    button.align(buttonOptions, false, buttonOptions.alignTo);\n                }\n            });\n            // Borrowed from overlapping-datalabels. Consider a shared module.\n            const isIntersectRect = (box1, box2) => !(box2.x >= box1.x + box1.width ||\n                box2.x + box2.width <= box1.x ||\n                box2.y >= box1.y + box1.height ||\n                box2.y + box2.height <= box1.y);\n            // Check the mapNavigation buttons collision with exporting button\n            // and translate the mapNavigation button if they overlap.\n            const adjustMapNavBtn = function () {\n                const expBtnBBox = chart.exportingGroup?.getBBox();\n                if (expBtnBBox) {\n                    const navBtnsBBox = mapNav.navButtonsGroup.getBBox();\n                    // If buttons overlap\n                    if (isIntersectRect(expBtnBBox, navBtnsBBox)) {\n                        // Adjust the mapNav buttons' position by translating\n                        // them above or below the exporting button\n                        const aboveExpBtn = -navBtnsBBox.y -\n                            navBtnsBBox.height + expBtnBBox.y - 5, belowExpBtn = expBtnBBox.y + expBtnBBox.height -\n                            navBtnsBBox.y + 5, mapNavVerticalAlign = (navOptions.buttonOptions &&\n                            navOptions.buttonOptions.verticalAlign);\n                        // If bottom aligned and adjusting the mapNav button\n                        // would translate it out of the plotBox, translate it\n                        // up instead of down\n                        mapNav.navButtonsGroup.attr({\n                            translateY: mapNavVerticalAlign === 'bottom' ?\n                                aboveExpBtn :\n                                belowExpBtn\n                        });\n                    }\n                }\n            };\n            if (!chart.hasLoaded) {\n                // Align it after the plotBox is known (#12776) and after the\n                // hamburger button's position is known so they don't overlap\n                // (#15782)\n                MapNavigation_addEvent(chart, 'render', adjustMapNavBtn);\n            }\n        }\n        this.updateEvents(navOptions);\n    }\n    /**\n     * Update events, called internally from the update function. Add new event\n     * handlers, or unbinds events if disabled.\n     *\n     * @function MapNavigation#updateEvents\n     *\n     * @param {Partial<Highcharts.MapNavigationOptions>} options\n     *        Options for map navigation.\n     */\n    updateEvents(options) {\n        const chart = this.chart;\n        // Add the double click event\n        if (MapNavigation_pick(options.enableDoubleClickZoom, options.enabled) ||\n            options.enableDoubleClickZoomTo) {\n            this.unbindDblClick = this.unbindDblClick || MapNavigation_addEvent(chart.container, 'dblclick', function (e) {\n                chart.pointer.onContainerDblClick(e);\n            });\n        }\n        else if (this.unbindDblClick) {\n            // Unbind and set unbinder to undefined\n            this.unbindDblClick = this.unbindDblClick();\n        }\n        // Add the mousewheel event\n        if (MapNavigation_pick(options.enableMouseWheelZoom, options.enabled)) {\n            this.unbindMouseWheel = this.unbindMouseWheel || MapNavigation_addEvent(chart.container, 'wheel', function (e) {\n                // Prevent scrolling when the pointer is over the element\n                // with that class, for example anotation popup #12100.\n                if (!chart.pointer.inClass(e.target, 'highcharts-no-mousewheel')) {\n                    const initialZoom = chart.mapView?.zoom;\n                    chart.pointer.onContainerMouseWheel(e);\n                    // If the zoom level changed, prevent the default action\n                    // which is to scroll the page\n                    if (initialZoom !== chart.mapView?.zoom) {\n                        stopEvent(e);\n                    }\n                }\n                return false;\n            });\n        }\n        else if (this.unbindMouseWheel) {\n            // Unbind and set unbinder to undefined\n            this.unbindMouseWheel = this.unbindMouseWheel();\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Maps_MapNavigation = (MapNavigation);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SVGElement\"],\"commonjs\":[\"highcharts\",\"SVGElement\"],\"commonjs2\":[\"highcharts\",\"SVGElement\"],\"root\":[\"Highcharts\",\"SVGElement\"]}\nvar highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_ = __webpack_require__(28);\nvar highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_default = /*#__PURE__*/__webpack_require__.n(highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_);\n;// ./code/es-modules/Series/ColorMapComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { column: { prototype: columnProto } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\n\nconst { addEvent: ColorMapComposition_addEvent, defined: ColorMapComposition_defined } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar ColorMapComposition;\n(function (ColorMapComposition) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    ColorMapComposition.pointMembers = {\n        dataLabelOnNull: true,\n        moveToTopOnHover: true,\n        isValid: pointIsValid\n    };\n    ColorMapComposition.seriesMembers = {\n        colorKey: 'value',\n        axisTypes: ['xAxis', 'yAxis', 'colorAxis'],\n        parallelArrays: ['x', 'y', 'value'],\n        pointArrayMap: ['value'],\n        trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],\n        colorAttribs: seriesColorAttribs,\n        pointAttribs: columnProto.pointAttribs\n    };\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(SeriesClass) {\n        const PointClass = SeriesClass.prototype.pointClass;\n        ColorMapComposition_addEvent(PointClass, 'afterSetState', onPointAfterSetState);\n        return SeriesClass;\n    }\n    ColorMapComposition.compose = compose;\n    /**\n     * Move points to the top of the z-index order when hovered.\n     * @private\n     */\n    function onPointAfterSetState(e) {\n        const point = this, series = point.series, renderer = series.chart.renderer;\n        if (point.moveToTopOnHover && point.graphic) {\n            if (!series.stateMarkerGraphic) {\n                // Create a `use` element and add it to the end of the group,\n                // which would make it appear on top of the other elements. This\n                // deals with z-index without reordering DOM elements (#13049).\n                series.stateMarkerGraphic = new (highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_default())(renderer, 'use')\n                    .css({\n                    pointerEvents: 'none'\n                })\n                    .add(point.graphic.parentGroup);\n            }\n            if (e?.state === 'hover') {\n                // Give the graphic DOM element the same id as the Point\n                // instance\n                point.graphic.attr({\n                    id: this.id\n                });\n                series.stateMarkerGraphic.attr({\n                    href: `${renderer.url}#${this.id}`,\n                    visibility: 'visible'\n                });\n            }\n            else {\n                series.stateMarkerGraphic.attr({\n                    href: ''\n                });\n            }\n        }\n    }\n    /**\n     * Color points have a value option that determines whether or not it is\n     * a null point\n     * @private\n     */\n    function pointIsValid() {\n        return (this.value !== null &&\n            this.value !== Infinity &&\n            this.value !== -Infinity &&\n            // Undefined is allowed, but NaN is not (#17279)\n            (this.value === void 0 || !isNaN(this.value)));\n    }\n    /**\n     * Get the color attributes to apply on the graphic\n     * @private\n     * @function Highcharts.colorMapSeriesMixin.colorAttribs\n     * @param {Highcharts.Point} point\n     * @return {Highcharts.SVGAttributes}\n     *         The SVG attributes\n     */\n    function seriesColorAttribs(point) {\n        const ret = {};\n        if (ColorMapComposition_defined(point.color) &&\n            (!point.state || point.state === 'normal') // #15746\n        ) {\n            ret[this.colorProp || 'fill'] = point.color;\n        }\n        return ret;\n    }\n})(ColorMapComposition || (ColorMapComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_ColorMapComposition = (ColorMapComposition);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Series\"],\"commonjs\":[\"highcharts\",\"Series\"],\"commonjs2\":[\"highcharts\",\"Series\"],\"root\":[\"Highcharts\",\"Series\"]}\nvar highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_ = __webpack_require__(820);\nvar highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default = /*#__PURE__*/__webpack_require__.n(highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_);\n;// ./code/es-modules/Series/CenteredUtilities.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { deg2rad } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { fireEvent: CenteredUtilities_fireEvent, isNumber: CenteredUtilities_isNumber, pick: CenteredUtilities_pick, relativeLength: CenteredUtilities_relativeLength } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/**\n * @private\n */\nvar CenteredUtilities;\n(function (CenteredUtilities) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Get the center of the pie based on the size and center options relative\n     * to the plot area. Borrowed by the polar and gauge series types.\n     *\n     * @private\n     * @function Highcharts.CenteredSeriesMixin.getCenter\n     */\n    function getCenter() {\n        const options = this.options, chart = this.chart, slicingRoom = 2 * (options.slicedOffset || 0), plotWidth = chart.plotWidth - 2 * slicingRoom, plotHeight = chart.plotHeight - 2 * slicingRoom, centerOption = options.center, smallestSize = Math.min(plotWidth, plotHeight), thickness = options.thickness;\n        let handleSlicingRoom, size = options.size, innerSize = options.innerSize || 0, i, value;\n        if (typeof size === 'string') {\n            size = parseFloat(size);\n        }\n        if (typeof innerSize === 'string') {\n            innerSize = parseFloat(innerSize);\n        }\n        const positions = [\n            CenteredUtilities_pick(centerOption?.[0], '50%'),\n            CenteredUtilities_pick(centerOption?.[1], '50%'),\n            // Prevent from negative values\n            CenteredUtilities_pick(size && size < 0 ? void 0 : options.size, '100%'),\n            CenteredUtilities_pick(innerSize && innerSize < 0 ? void 0 : options.innerSize || 0, '0%')\n        ];\n        // No need for inner size in angular (gauges) series but still required\n        // for pie series\n        if (chart.angular && !(this instanceof (highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default()))) {\n            positions[3] = 0;\n        }\n        for (i = 0; i < 4; ++i) {\n            value = positions[i];\n            handleSlicingRoom = i < 2 || (i === 2 && /%$/.test(value));\n            // I == 0: centerX, relative to width\n            // i == 1: centerY, relative to height\n            // i == 2: size, relative to smallestSize\n            // i == 3: innerSize, relative to size\n            positions[i] = CenteredUtilities_relativeLength(value, [plotWidth, plotHeight, smallestSize, positions[2]][i]) + (handleSlicingRoom ? slicingRoom : 0);\n        }\n        // Inner size cannot be larger than size (#3632)\n        if (positions[3] > positions[2]) {\n            positions[3] = positions[2];\n        }\n        // Thickness overrides innerSize, need to be less than pie size (#6647)\n        if (CenteredUtilities_isNumber(thickness) &&\n            thickness * 2 < positions[2] && thickness > 0) {\n            positions[3] = positions[2] - thickness * 2;\n        }\n        CenteredUtilities_fireEvent(this, 'afterGetCenter', { positions });\n        return positions;\n    }\n    CenteredUtilities.getCenter = getCenter;\n    /**\n     * GetStartAndEndRadians - Calculates start and end angles in radians.\n     * Used in series types such as pie and sunburst.\n     *\n     * @private\n     * @function Highcharts.CenteredSeriesMixin.getStartAndEndRadians\n     *\n     * @param {number} [start]\n     *        Start angle in degrees.\n     *\n     * @param {number} [end]\n     *        Start angle in degrees.\n     *\n     * @return {Highcharts.RadianAngles}\n     *         Returns an object containing start and end angles as radians.\n     */\n    function getStartAndEndRadians(start, end) {\n        const startAngle = CenteredUtilities_isNumber(start) ? start : 0, // Must be a number\n        endAngle = ((CenteredUtilities_isNumber(end) && // Must be a number\n            end > startAngle && // Must be larger than the start angle\n            // difference must be less than 360 degrees\n            (end - startAngle) < 360) ?\n            end :\n            startAngle + 360), correction = -90;\n        return {\n            start: deg2rad * (startAngle + correction),\n            end: deg2rad * (endAngle + correction)\n        };\n    }\n    CenteredUtilities.getStartAndEndRadians = getStartAndEndRadians;\n})(CenteredUtilities || (CenteredUtilities = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_CenteredUtilities = (CenteredUtilities);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @private\n * @interface Highcharts.RadianAngles\n */ /**\n* @name Highcharts.RadianAngles#end\n* @type {number}\n*/ /**\n* @name Highcharts.RadianAngles#start\n* @type {number}\n*/\n''; // Keeps doclets above in JS file\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Chart\"],\"commonjs\":[\"highcharts\",\"Chart\"],\"commonjs2\":[\"highcharts\",\"Chart\"],\"root\":[\"Highcharts\",\"Chart\"]}\nvar highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_ = __webpack_require__(960);\nvar highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default = /*#__PURE__*/__webpack_require__.n(highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SVGRenderer\"],\"commonjs\":[\"highcharts\",\"SVGRenderer\"],\"commonjs2\":[\"highcharts\",\"SVGRenderer\"],\"root\":[\"Highcharts\",\"SVGRenderer\"]}\nvar highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_ = __webpack_require__(540);\nvar highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default = /*#__PURE__*/__webpack_require__.n(highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_);\n;// ./code/es-modules/Core/Chart/MapChart.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { getOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { isNumber: MapChart_isNumber, merge: MapChart_merge, pick: MapChart_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n/* *\n *\n *  Class\n *\n * */\n/**\n * Map-optimized chart. Use {@link Highcharts.Chart|Chart} for common charts.\n *\n * @requires modules/map\n *\n * @class\n * @name Highcharts.MapChart\n * @extends Highcharts.Chart\n */\nclass MapChart extends (highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default()) {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initializes the chart. The constructor's arguments are passed on\n     * directly.\n     *\n     * @function Highcharts.MapChart#init\n     *\n     * @param {Highcharts.Options} userOptions\n     *        Custom options.\n     *\n     * @param {Function} [callback]\n     *        Function to run when the chart has loaded and all external\n     *        images are loaded.\n     *\n     *\n     * @emits Highcharts.MapChart#event:init\n     * @emits Highcharts.MapChart#event:afterInit\n     */\n    init(userOptions, callback) {\n        const defaultCreditsOptions = getOptions().credits;\n        const options = MapChart_merge({\n            chart: {\n                panning: {\n                    enabled: true,\n                    type: 'xy'\n                },\n                type: 'map'\n            },\n            credits: {\n                mapText: MapChart_pick(defaultCreditsOptions.mapText, ' \\u00a9 <a href=\"{geojson.copyrightUrl}\">' +\n                    '{geojson.copyrightShort}</a>'),\n                mapTextFull: MapChart_pick(defaultCreditsOptions.mapTextFull, '{geojson.copyright}')\n            },\n            mapView: {}, // Required to enable Chart.mapView\n            tooltip: {\n                followTouchMove: false\n            }\n        }, userOptions // User's options\n        );\n        super.init(options, callback);\n    }\n    /**\n     * Highcharts Maps only. Zoom in or out of the map. See also\n     * {@link Point#zoomTo}. See {@link Chart#fromLatLonToPoint} for how to get\n     * the `centerX` and `centerY` parameters for a geographic location.\n     *\n     * Deprecated as of v9.3 in favor of [MapView.zoomBy](https://api.highcharts.com/class-reference/Highcharts.MapView#zoomBy).\n     *\n     * @deprecated\n     * @function Highcharts.Chart#mapZoom\n     *\n     * @param {number} [howMuch]\n     *        How much to zoom the map. Values less than 1 zooms in. 0.5 zooms\n     *        in to half the current view. 2 zooms to twice the current view. If\n     *        omitted, the zoom is reset.\n     *\n     * @param {number} [xProjected]\n     *        The projected x position to keep stationary when zooming, if\n     *        available space.\n     *\n     * @param {number} [yProjected]\n     *        The projected y position to keep stationary when zooming, if\n     *        available space.\n     *\n     * @param {number} [chartX]\n     *        Keep this chart position stationary if possible. This is used for\n     *        example in `mousewheel` events, where the area under the mouse\n     *        should be fixed as we zoom in.\n     *\n     * @param {number} [chartY]\n     *        Keep this chart position stationary if possible.\n     */\n    mapZoom(howMuch, xProjected, yProjected, chartX, chartY) {\n        if (this.mapView) {\n            if (MapChart_isNumber(howMuch)) {\n                // Compliance, mapView.zoomBy uses different values\n                howMuch = Math.log(howMuch) / Math.log(0.5);\n            }\n            this.mapView.zoomBy(howMuch, MapChart_isNumber(xProjected) && MapChart_isNumber(yProjected) ?\n                this.mapView.projection.inverse([xProjected, yProjected]) :\n                void 0, MapChart_isNumber(chartX) && MapChart_isNumber(chartY) ?\n                [chartX, chartY] :\n                void 0);\n        }\n    }\n    update(options) {\n        // Calculate and set the recommended map view if map option is set\n        if (options.chart && 'map' in options.chart) {\n            this.mapView?.recommendMapView(this, [\n                options.chart.map,\n                ...(this.options.series || []).map((s) => s.mapData)\n            ], true);\n        }\n        super.update.apply(this, arguments);\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (MapChart) {\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    /**\n     * Contains all loaded map data for Highmaps.\n     *\n     * @requires modules/map\n     *\n     * @name Highcharts.maps\n     * @type {Record<string,*>}\n     */\n    MapChart.maps = {};\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * The factory function for creating new map charts. Creates a new {@link\n     * Highcharts.MapChart|MapChart} object with different default options than\n     * the basic Chart.\n     *\n     * @requires modules/map\n     *\n     * @function Highcharts.mapChart\n     *\n     * @param {string|Highcharts.HTMLDOMElement} [renderTo]\n     *        The DOM element to render to, or its id.\n     *\n     * @param {Highcharts.Options} options\n     *        The chart options structure as described in the\n     *        [options reference](https://api.highcharts.com/highstock).\n     *\n     * @param {Highcharts.ChartCallbackFunction} [callback]\n     *        A function to execute when the chart object is finished\n     *        rendering and all external image files (`chart.backgroundImage`,\n     *        `chart.plotBackgroundImage` etc) are loaded.  Defining a\n     *        [chart.events.load](https://api.highcharts.com/highstock/chart.events.load)\n     *        handler is equivalent.\n     *\n     * @return {Highcharts.MapChart}\n     * The chart object.\n     */\n    function mapChart(a, b, c) {\n        return new MapChart(a, b, c);\n    }\n    MapChart.mapChart = mapChart;\n    /**\n     * Utility for reading SVG paths directly.\n     *\n     * @requires modules/map\n     *\n     * @function Highcharts.splitPath\n     *\n     * @param {string|Array<(string|number)>} path\n     *        Path to split.\n     *\n     * @return {Highcharts.SVGPathArray}\n     * Splitted SVG path\n     */\n    function splitPath(path) {\n        let arr;\n        if (typeof path === 'string') {\n            path = path\n                // Move letters apart\n                .replace(/([A-Z])/gi, ' $1 ')\n                // Trim\n                .replace(/^\\s*/, '').replace(/\\s*$/, '');\n            // Split on spaces and commas. The semicolon is bogus, designed to\n            // circumvent string replacement in the pre-v7 assembler that built\n            // specific styled mode files.\n            const split = path.split(/[ ,;]+/);\n            arr = split.map((item) => {\n                if (!/[A-Z]/i.test(item)) {\n                    return parseFloat(item);\n                }\n                return item;\n            });\n        }\n        else {\n            arr = path;\n        }\n        return highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default().prototype.pathToSegments(arr);\n    }\n    MapChart.splitPath = splitPath;\n})(MapChart || (MapChart = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Chart_MapChart = (MapChart);\n\n;// ./code/es-modules/Maps/MapUtilities.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n// Compute bounds from a path element\nconst boundsFromPath = function (path) {\n    let x2 = -Number.MAX_VALUE, x1 = Number.MAX_VALUE, y2 = -Number.MAX_VALUE, y1 = Number.MAX_VALUE, validBounds;\n    path.forEach((seg) => {\n        const x = seg[seg.length - 2], y = seg[seg.length - 1];\n        if (typeof x === 'number' &&\n            typeof y === 'number') {\n            x1 = Math.min(x1, x);\n            x2 = Math.max(x2, x);\n            y1 = Math.min(y1, y);\n            y2 = Math.max(y2, y);\n            validBounds = true;\n        }\n    });\n    if (validBounds) {\n        return { x1, y1, x2, y2 };\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\nconst MapUtilities = {\n    boundsFromPath\n};\n/* harmony default export */ const Maps_MapUtilities = (MapUtilities);\n\n;// ./code/es-modules/Series/Map/MapPoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { boundsFromPath: MapPoint_boundsFromPath } = Maps_MapUtilities;\n\nconst ScatterPoint = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.scatter.prototype.pointClass;\n\nconst { extend: MapPoint_extend, isNumber: MapPoint_isNumber, pick: MapPoint_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass MapPoint extends ScatterPoint {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * Get the projected path based on the geometry. May also be called on\n     * mapData options (not point instances), hence static.\n     * @private\n     */\n    static getProjectedPath(point, projection) {\n        if (!point.projectedPath) {\n            if (projection && point.geometry) {\n                // Always true when given GeoJSON coordinates\n                projection.hasCoordinates = true;\n                point.projectedPath = projection.path(point.geometry);\n                // SVG path given directly in point options\n            }\n            else {\n                point.projectedPath = point.path;\n            }\n        }\n        return point.projectedPath || [];\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Extend the Point object to split paths.\n     * @private\n     */\n    applyOptions(options, x) {\n        const series = this.series, point = super.applyOptions(options, x), joinBy = series.joinBy;\n        if (series.mapData && series.mapMap) {\n            const joinKey = joinBy[1], mapKey = super.getNestedProperty(joinKey), mapPoint = typeof mapKey !== 'undefined' &&\n                series.mapMap[mapKey];\n            if (mapPoint) {\n                // Copy over properties; #20231 prioritize point.name\n                MapPoint_extend(point, {\n                    ...mapPoint,\n                    name: point.name ?? mapPoint.name\n                });\n            }\n            else if (series.pointArrayMap.indexOf('value') !== -1) {\n                point.value = point.value || null;\n            }\n        }\n        return point;\n    }\n    /**\n     * Get the bounds in terms of projected units\n     * @private\n     */\n    getProjectedBounds(projection) {\n        const path = MapPoint.getProjectedPath(this, projection), bounds = MapPoint_boundsFromPath(path), properties = this.properties, mapView = this.series.chart.mapView;\n        if (bounds) {\n            // Cache point bounding box for use to position data labels, bubbles\n            // etc\n            const propMiddleLon = properties && properties['hc-middle-lon'], propMiddleLat = properties && properties['hc-middle-lat'];\n            if (mapView && MapPoint_isNumber(propMiddleLon) && MapPoint_isNumber(propMiddleLat)) {\n                const projectedPoint = projection.forward([propMiddleLon, propMiddleLat]);\n                bounds.midX = projectedPoint[0];\n                bounds.midY = projectedPoint[1];\n            }\n            else {\n                const propMiddleX = properties && properties['hc-middle-x'], propMiddleY = properties && properties['hc-middle-y'];\n                bounds.midX = (bounds.x1 + (bounds.x2 - bounds.x1) * MapPoint_pick(this.middleX, MapPoint_isNumber(propMiddleX) ? propMiddleX : 0.5));\n                let middleYFraction = MapPoint_pick(this.middleY, MapPoint_isNumber(propMiddleY) ? propMiddleY : 0.5);\n                // No geographic geometry, only path given => flip\n                if (!this.geometry) {\n                    middleYFraction = 1 - middleYFraction;\n                }\n                bounds.midY =\n                    bounds.y2 - (bounds.y2 - bounds.y1) * middleYFraction;\n            }\n            return bounds;\n        }\n    }\n    /**\n     * Stop the fade-out\n     * @private\n     */\n    onMouseOver(e) {\n        highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().clearTimeout(this.colorInterval);\n        if (\n        // Valid...\n        (!this.isNull && this.visible) ||\n            // ... or interact anyway\n            this.series.options.nullInteraction) {\n            super.onMouseOver.call(this, e);\n        }\n        else {\n            // #3401 Tooltip doesn't hide when hovering over null points\n            this.series.onMouseOut();\n        }\n    }\n    setVisible(vis) {\n        const method = vis ? 'show' : 'hide';\n        this.visible = this.options.visible = !!vis;\n        // Show and hide associated elements\n        if (this.dataLabel) {\n            this.dataLabel[method]();\n        }\n        // For invisible map points, render them as null points rather than\n        // fully removing them. Makes more sense for color axes with data\n        // classes.\n        if (this.graphic) {\n            this.graphic.attr(this.series.pointAttribs(this));\n        }\n    }\n    /**\n     * Highmaps only. Zoom in on the point using the global animation.\n     *\n     * @sample maps/members/point-zoomto/\n     *         Zoom to points from buttons\n     *\n     * @requires modules/map\n     *\n     * @function Highcharts.Point#zoomTo\n     */\n    zoomTo(animOptions) {\n        const point = this, chart = point.series.chart, mapView = chart.mapView;\n        let bounds = point.bounds;\n        if (mapView && bounds) {\n            const inset = MapPoint_isNumber(point.insetIndex) &&\n                mapView.insets[point.insetIndex];\n            if (inset) {\n                // If in an inset, translate the bounds to pixels ...\n                const px1 = inset.projectedUnitsToPixels({\n                    x: bounds.x1,\n                    y: bounds.y1\n                }), px2 = inset.projectedUnitsToPixels({\n                    x: bounds.x2,\n                    y: bounds.y2\n                }), \n                // ... then back to projected units in the main mapView\n                proj1 = mapView.pixelsToProjectedUnits({\n                    x: px1.x,\n                    y: px1.y\n                }), proj2 = mapView.pixelsToProjectedUnits({\n                    x: px2.x,\n                    y: px2.y\n                });\n                bounds = {\n                    x1: proj1.x,\n                    y1: proj1.y,\n                    x2: proj2.x,\n                    y2: proj2.y\n                };\n            }\n            mapView.fitToBounds(bounds, void 0, false);\n            point.series.isDirty = true;\n            chart.redraw(animOptions);\n        }\n    }\n}\nMapPoint_extend(MapPoint.prototype, {\n    dataLabelOnNull: Series_ColorMapComposition.pointMembers.dataLabelOnNull,\n    moveToTopOnHover: Series_ColorMapComposition.pointMembers.moveToTopOnHover,\n    isValid: Series_ColorMapComposition.pointMembers.isValid\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Map_MapPoint = (MapPoint);\n\n;// ./code/es-modules/Series/Map/MapSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { isNumber: MapSeriesDefaults_isNumber } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  API Options\n *\n * */\n/**\n * The map series is used for basic choropleth maps, where each map area has\n * a color based on its value.\n *\n * @sample maps/demo/all-maps/\n *         Choropleth map\n *\n * @extends      plotOptions.scatter\n * @excluding    boostBlending, boostThreshold, dragDrop, cluster, marker\n * @product      highmaps\n * @optionparent plotOptions.map\n *\n * @private\n */\nconst MapSeriesDefaults = {\n    /**\n     * Whether the MapView takes this series into account when computing the\n     * default zoom and center of the map.\n     *\n     * @sample maps/series/affectsmapview/\n     *         US map with world map backdrop\n     *\n     * @since 10.0.0\n     *\n     * @private\n     */\n    affectsMapView: true,\n    animation: false, // Makes the complex shapes slow\n    dataLabels: {\n        crop: false,\n        formatter: function () {\n            const { numberFormatter } = this.series.chart;\n            const { value } = this.point;\n            return MapSeriesDefaults_isNumber(value) ?\n                numberFormatter(value, -1) :\n                (this.point.name || ''); // #20231\n        },\n        inside: true, // For the color\n        overflow: false,\n        padding: 0,\n        verticalAlign: 'middle'\n    },\n    /**\n     * The SVG value used for the `stroke-linecap` and `stroke-linejoin` of\n     * the map borders. Round means that borders are rounded in the ends and\n     * bends.\n     *\n     * @sample maps/demo/mappoint-mapmarker/\n     *         Backdrop coastline with round linecap\n     *\n     * @type   {Highcharts.SeriesLinecapValue}\n     * @since  10.3.3\n     */\n    linecap: 'round',\n    /**\n     * @ignore-option\n     *\n     * @private\n     */\n    marker: null,\n    /**\n     * The color to apply to null points.\n     *\n     * In styled mode, the null point fill is set in the\n     * `.highcharts-null-point` class.\n     *\n     * @sample maps/demo/all-areas-as-null/\n     *         Null color\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     *\n     * @private\n     */\n    nullColor: \"#f7f7f7\" /* Palette.neutralColor3 */,\n    /**\n     * Whether to allow pointer interaction like tooltips and mouse events\n     * on null points.\n     *\n     * @type      {boolean}\n     * @since     4.2.7\n     * @apioption plotOptions.map.nullInteraction\n     *\n     * @private\n     */\n    stickyTracking: false,\n    tooltip: {\n        followPointer: true,\n        pointFormat: '{point.name}: {point.value}<br/>'\n    },\n    /**\n     * @ignore-option\n     *\n     * @private\n     */\n    turboThreshold: 0,\n    /**\n     * Whether all areas of the map defined in `mapData` should be rendered.\n     * If `true`, areas which don't correspond to a data point, are rendered\n     * as `null` points. If `false`, those areas are skipped.\n     *\n     * @sample maps/plotoptions/series-allareas-false/\n     *         All areas set to false\n     *\n     * @type      {boolean}\n     * @default   true\n     * @product   highmaps\n     * @apioption plotOptions.series.allAreas\n     *\n     * @private\n     */\n    allAreas: true,\n    /**\n     * The border color of the map areas.\n     *\n     * In styled mode, the border stroke is given in the `.highcharts-point`\n     * class.\n     *\n     * @sample {highmaps} maps/plotoptions/series-border/\n     *         Borders demo\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default   #cccccc\n     * @product   highmaps\n     * @apioption plotOptions.series.borderColor\n     *\n     * @private\n     */\n    borderColor: \"#e6e6e6\" /* Palette.neutralColor10 */,\n    /**\n     * The border width of each map area.\n     *\n     * In styled mode, the border stroke width is given in the\n     * `.highcharts-point` class.\n     *\n     * @sample maps/plotoptions/series-border/\n     *         Borders demo\n     *\n     * @type      {number}\n     * @default   1\n     * @product   highmaps\n     * @apioption plotOptions.series.borderWidth\n     *\n     * @private\n     */\n    borderWidth: 1,\n    /**\n     * @type      {string}\n     * @default   value\n     * @apioption plotOptions.map.colorKey\n     */\n    /**\n     * What property to join the `mapData` to the value data. For example,\n     * if joinBy is \"code\", the mapData items with a specific code is merged\n     * into the data with the same code. For maps loaded from GeoJSON, the\n     * keys may be held in each point's `properties` object.\n     *\n     * The joinBy option can also be an array of two values, where the first\n     * points to a key in the `mapData`, and the second points to another\n     * key in the `data`.\n     *\n     * When joinBy is `null`, the map items are joined by their position in\n     * the array, which performs much better in maps with many data points.\n     * This is the recommended option if you are printing more than a\n     * thousand data points and have a backend that can preprocess the data\n     * into a parallel array of the mapData.\n     *\n     * @sample maps/plotoptions/series-border/\n     *         Joined by \"code\"\n     * @sample maps/demo/geojson/\n     *         GeoJSON joined by an array\n     * @sample maps/series/joinby-null/\n     *         Simple data joined by null\n     *\n     * @type      {string|Array<string>}\n     * @default   hc-key\n     * @product   highmaps\n     * @apioption plotOptions.series.joinBy\n     *\n     * @private\n     */\n    joinBy: 'hc-key',\n    /**\n     * Define the z index of the series.\n     *\n     * @type      {number}\n     * @product   highmaps\n     * @apioption plotOptions.series.zIndex\n     */\n    /**\n     * @apioption plotOptions.series.states\n     *\n     * @private\n     */\n    states: {\n        /**\n         * @apioption plotOptions.series.states.hover\n         */\n        hover: {\n            /** @ignore-option */\n            halo: void 0,\n            /**\n             * The color of the shape in this state.\n             *\n             * @sample maps/plotoptions/series-states-hover/\n             *         Hover options\n             *\n             * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @product   highmaps\n             * @apioption plotOptions.series.states.hover.color\n             */\n            /**\n             * The border color of the point in this state.\n             *\n             * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @product   highmaps\n             * @apioption plotOptions.series.states.hover.borderColor\n             */\n            borderColor: \"#666666\" /* Palette.neutralColor60 */,\n            /**\n             * The border width of the point in this state\n             *\n             * @type      {number}\n             * @product   highmaps\n             * @apioption plotOptions.series.states.hover.borderWidth\n             */\n            borderWidth: 2\n            /**\n             * The relative brightness of the point when hovered, relative\n             * to the normal point color.\n             *\n             * @type      {number}\n             * @product   highmaps\n             * @default   0\n             * @apioption plotOptions.series.states.hover.brightness\n             */\n        },\n        /**\n         * @apioption plotOptions.series.states.normal\n         */\n        normal: {\n            /**\n             * @productdesc {highmaps}\n             * The animation adds some latency in order to reduce the effect\n             * of flickering when hovering in and out of for example an\n             * uneven coastline.\n             *\n             * @sample {highmaps} maps/plotoptions/series-states-animation-false/\n             *         No animation of fill color\n             *\n             * @apioption plotOptions.series.states.normal.animation\n             */\n            animation: true\n        },\n        /**\n         * @apioption plotOptions.series.states.select\n         */\n        select: {\n            /**\n             * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n             * @default   ${palette.neutralColor20}\n             * @product   highmaps\n             * @apioption plotOptions.series.states.select.color\n             */\n            color: \"#cccccc\" /* Palette.neutralColor20 */\n        }\n    },\n    legendSymbol: 'rectangle'\n};\n/**\n * An array of objects containing a `geometry` or `path` definition and\n * optionally additional properties to join in the `data` as per the `joinBy`\n * option. GeoJSON and TopoJSON structures can also be passed directly into\n * `mapData`.\n *\n * @sample maps/demo/category-map/\n *         Map data and joinBy\n * @sample maps/series/mapdata-multiple/\n *         Multiple map sources\n *\n * @type      {Array<Highcharts.SeriesMapDataOptions>|Highcharts.GeoJSON|Highcharts.TopoJSON}\n * @product   highmaps\n * @apioption series.mapData\n */\n/**\n * A `map` series. If the [type](#series.map.type) option is not specified, it\n * is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.map\n * @excluding dataParser, dataURL, dragDrop, marker\n * @product   highmaps\n * @apioption series.map\n */\n/**\n * An array of data points for the series. For the `map` series type, points can\n * be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `value` options. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond to\n *    `[hc-key, value]`. Example:\n *    ```js\n *        data: [\n *            ['us-ny', 0],\n *            ['us-mi', 5],\n *            ['us-tx', 3],\n *            ['us-ak', 5]\n *        ]\n *    ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.map.turboThreshold),\n *    this option is not available.\n *    ```js\n *        data: [{\n *            value: 6,\n *            name: \"Point2\",\n *            color: \"#00FF00\"\n *        }, {\n *            value: 6,\n *            name: \"Point1\",\n *            color: \"#FF00FF\"\n *        }]\n *    ```\n *\n * @type      {Array<number|Array<string,(number|null)>|null|*>}\n * @product   highmaps\n * @apioption series.map.data\n */\n/**\n * When using automatic point colors pulled from the global\n * [colors](colors) or series-specific\n * [plotOptions.map.colors](series.colors) collections, this option\n * determines whether the chart should receive one color per series or\n * one color per point.\n *\n * In styled mode, the `colors` or `series.colors` arrays are not\n * supported, and instead this option gives the points individual color\n * class names on the form `highcharts-color-{n}`.\n *\n * @see [series colors](#plotOptions.map.colors)\n *\n * @sample {highmaps} maps/plotoptions/mapline-colorbypoint-false/\n *         Mapline colorByPoint set to false by default\n * @sample {highmaps} maps/plotoptions/mapline-colorbypoint-true/\n *         Mapline colorByPoint set to true\n *\n * @type      {boolean}\n * @default   false\n * @since     2.0\n * @product   highmaps\n * @apioption plotOptions.map.colorByPoint\n */\n/**\n * A series specific or series type specific color set to apply instead\n * of the global [colors](#colors) when [colorByPoint](\n * #plotOptions.map.colorByPoint) is true.\n *\n * @type      {Array<Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject>}\n * @since     3.0\n * @product   highmaps\n * @apioption plotOptions.map.colors\n */\n/**\n * Individual color for the point. By default the color is either used\n * to denote the value, or pulled from the global `colors` array.\n *\n * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product   highmaps\n * @apioption series.map.data.color\n */\n/**\n * Individual data label for each point. The options are the same as\n * the ones for [plotOptions.series.dataLabels](\n * #plotOptions.series.dataLabels).\n *\n * @sample maps/series/data-datalabels/\n *         Disable data labels for individual areas\n *\n * @type      {Highcharts.DataLabelsOptions}\n * @product   highmaps\n * @apioption series.map.data.dataLabels\n */\n/**\n * The `id` of a series in the [drilldown.series](#drilldown.series)\n * array to use for a drilldown for this point.\n *\n * @sample maps/demo/map-drilldown/\n *         Basic drilldown\n *\n * @type      {string}\n * @product   highmaps\n * @apioption series.map.data.drilldown\n */\n/**\n * For map and mapline series types, the geometry of a point.\n *\n * To achieve a better separation between the structure and the data,\n * it is recommended to use `mapData` to define the geometry instead\n * of defining it on the data points themselves.\n *\n * The geometry object is compatible to that of a `feature` in GeoJSON, so\n * features of GeoJSON can be passed directly into the `data`, optionally\n * after first filtering and processing it.\n *\n * For pre-projected maps (like GeoJSON maps from our\n * [map collection](https://code.highcharts.com/mapdata/)), user has to specify\n * coordinates in `projectedUnits` for geometry type other than `Point`,\n * instead of `[longitude, latitude]`.\n *\n * @sample maps/series/mappoint-line-geometry/\n *         Map point and line geometry\n * @sample maps/series/geometry-types/\n *         Geometry types\n *\n * @type      {Object}\n * @since 9.3.0\n * @product   highmaps\n * @apioption series.map.data.geometry\n */\n/**\n * The geometry type. Can be one of `LineString`, `Polygon`, `MultiLineString`\n * or `MultiPolygon`.\n *\n * @sample maps/series/geometry-types/\n *         Geometry types\n *\n * @declare   Highcharts.MapGeometryTypeValue\n * @type      {string}\n * @since     9.3.0\n * @product   highmaps\n * @validvalue [\"LineString\", \"Polygon\", \"MultiLineString\", \"MultiPolygon\"]\n * @apioption series.map.data.geometry.type\n */\n/**\n * The geometry coordinates in terms of arrays of `[longitude, latitude]`, or\n * a two dimensional array of the same. The dimensionality must comply with the\n * `type`.\n *\n * @type      {Array<LonLatArray>|Array<Array<LonLatArray>>}\n * @since 9.3.0\n * @product   highmaps\n * @apioption series.map.data.geometry.coordinates\n */\n/**\n * An id for the point. This can be used after render time to get a\n * pointer to the point object through `chart.get()`.\n *\n * @sample maps/series/data-id/\n *         Highlight a point by id\n *\n * @type      {string}\n * @product   highmaps\n * @apioption series.map.data.id\n */\n/**\n * When data labels are laid out on a map, Highmaps runs a simplified\n * algorithm to detect collision. When two labels collide, the one with\n * the lowest rank is hidden. By default the rank is computed from the\n * area.\n *\n * @type      {number}\n * @product   highmaps\n * @apioption series.map.data.labelrank\n */\n/**\n * The relative mid point of an area, used to place the data label.\n * Ranges from 0 to 1\\. When `mapData` is used, middleX can be defined\n * there.\n *\n * @type      {number}\n * @default   0.5\n * @product   highmaps\n * @apioption series.map.data.middleX\n */\n/**\n * The relative mid point of an area, used to place the data label.\n * Ranges from 0 to 1\\. When `mapData` is used, middleY can be defined\n * there.\n *\n * @type      {number}\n * @default   0.5\n * @product   highmaps\n * @apioption series.map.data.middleY\n */\n/**\n * The name of the point as shown in the legend, tooltip, dataLabel\n * etc.\n *\n * @sample maps/series/data-datalabels/\n *         Point names\n *\n * @type      {string}\n * @product   highmaps\n * @apioption series.map.data.name\n */\n/**\n * For map and mapline series types, the SVG path for the shape. For\n * compatibility with old IE, not all SVG path definitions are supported,\n * but M, L and C operators are safe.\n *\n * To achieve a better separation between the structure and the data,\n * it is recommended to use `mapData` to define that paths instead\n * of defining them on the data points themselves.\n *\n * For providing true geographical shapes based on longitude and latitude, use\n * the `geometry` option instead.\n *\n * @sample maps/series/data-path/\n *         Paths defined in data\n *\n * @type      {string}\n * @product   highmaps\n * @apioption series.map.data.path\n */\n/**\n * The numeric value of the data point.\n *\n * @type      {number|null}\n * @product   highmaps\n * @apioption series.map.data.value\n */\n/**\n * Individual point events\n *\n * @extends   plotOptions.series.point.events\n * @product   highmaps\n * @apioption series.map.data.events\n */\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Map_MapSeriesDefaults = (MapSeriesDefaults);\n\n;// ./code/es-modules/Maps/MapViewDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * The `mapView` options control the initial view of the chart, and how\n * projection is set up for raw geoJSON maps (beta as of v9.3).\n *\n * To set the view dynamically after chart generation, see\n * [mapView.setView](/class-reference/Highcharts.MapView#setView).\n *\n * @since        9.3.0\n * @product      highmaps\n * @optionparent mapView\n */\nconst MapViewDefaults = {\n    /**\n     * The center of the map in terms of longitude and latitude. For\n     * preprojected maps (like the GeoJSON files in Map Collection v1.x),\n     * the units are projected x and y units.\n     *\n     * @sample {highmaps} maps/mapview/center-zoom\n     *         Custom view of a world map\n     * @sample {highmaps} maps/mapview/get-view\n     *         Report the current view of a preprojected map\n     *\n     * @type    {Highcharts.LonLatArray}\n     * @default [0, 0]\n     */\n    center: [0, 0],\n    /**\n     * Fit the map to a geometry object consisting of individual points or\n     * polygons. This is practical for responsive maps where we want to\n     * focus on a specific area regardless of map size - unlike setting\n     * `center` and `zoom`, where the view doesn't scale with different map\n     * sizes.\n     *\n     * The geometry can be combined with the [padding](#mapView.padding)\n     * option to avoid touching the edges of the chart.\n     *\n     * @sample maps/mapview/fittogeometry\n     *         Fitting the view to geometries\n     *\n     * @type {object}\n     * @since 10.3.3\n     */\n    fitToGeometry: void 0,\n    /**\n     * Prevents the end user from zooming too far in on the map. See\n     * [zoom](#mapView.zoom).\n     *\n     * @sample {highmaps} maps/mapview/maxzoom\n     *         Prevent zooming in too far\n     *\n     * @type   {number|undefined}\n     */\n    maxZoom: void 0,\n    /**\n     * The padding inside the plot area when auto fitting to the map bounds.\n     * A number signifies pixels, and a percentage is relative to the plot\n     * area size.\n     *\n     * An array sets individual padding for the sides in the order [top,\n     * right, bottom, left].\n     *\n     * @sample {highmaps} maps/chart/plotbackgroundcolor-color\n     *         Visible plot area and percentage padding\n     * @sample {highmaps} maps/demo/mappoint-mapmarker\n     *         Padding for individual sides\n     *\n     * @type  {number|string|Array<number|string>}\n     */\n    padding: 0,\n    /**\n     * The projection options allow applying client side projection to a map\n     * given in geographic coordinates, typically from TopoJSON or GeoJSON.\n     *\n     * @sample maps/demo/projection-explorer\n     *         Projection explorer\n     * @sample maps/demo/topojson-projection\n     *         Orthographic projection\n     * @sample maps/mapview/projection-custom-proj4js\n     *         Custom UTM projection definition\n     * @sample maps/mapview/projection-custom-d3geo\n     *         Custom Robinson projection definition\n     *\n     * @type   {object}\n     */\n    projection: {\n        /**\n         * Projection name. Built-in projections are `EqualEarth`,\n         * `LambertConformalConic`, `Miller`, `Orthographic` and `WebMercator`.\n         *\n         * @sample maps/demo/projection-explorer\n         *         Projection explorer\n         * @sample maps/mapview/projection-custom-proj4js\n         *         Custom UTM projection definition\n         * @sample maps/mapview/projection-custom-d3geo\n         *         Custom Robinson projection definition\n         * @sample maps/demo/topojson-projection\n         *         Orthographic projection\n         *\n         * @type   {string}\n         */\n        name: void 0,\n        /**\n         * The two standard parallels that define the map layout in conic\n         * projections, like the LambertConformalConic projection. If only\n         * one number is given, the second parallel will be the same as the\n         * first.\n         *\n         * @sample maps/mapview/projection-parallels\n         *         LCC projection with parallels\n         * @sample maps/demo/projection-explorer\n         *         Projection explorer\n         *\n         * @type {Array<number>}\n         */\n        parallels: void 0,\n        /**\n         * Rotation of the projection in terms of degrees `[lambda, phi,\n         * gamma]`. When given, a three-axis spherical rotation is be applied\n         * to the globe prior to the projection.\n         *\n         * * `lambda` shifts the longitudes by the given value.\n         * * `phi` shifts the latitudes by the given value. Can be omitted.\n         * * `gamma` applies a _roll_. Can be omitted.\n         *\n         * @sample maps/demo/projection-explorer\n         *         Projection explorer\n         * @sample maps/mapview/projection-america-centric\n         *         America-centric world map\n         */\n        rotation: void 0\n    },\n    /**\n     * The zoom level of a map. Higher zoom levels means more zoomed in. An\n     * increase of 1 zooms in to a quarter of the viewed area (half the\n     * width and height). Defaults to fitting to the map bounds.\n     *\n     * In a `WebMercator` projection, a zoom level of 0 represents\n     * the world in a 256x256 pixel square. This is a common concept for WMS\n     * tiling software.\n     *\n     * @sample {highmaps} maps/mapview/center-zoom\n     *         Custom view of a world map\n     * @sample {highmaps} maps/mapview/get-view\n     *         Report the current view of a preprojected map\n     *\n     * @type   {number}\n     */\n    zoom: void 0,\n    /**\n     * Generic options for the placement and appearance of map insets like\n     * non-contiguous territories.\n     *\n     * @since        10.0.0\n     * @product      highmaps\n     * @optionparent mapView.insetOptions\n     */\n    insetOptions: {\n        /**\n         * The border color of the insets.\n         *\n         * @sample maps/mapview/insetoptions-border\n         *         Inset border options\n         *\n         * @type {Highcharts.ColorType}\n         */\n        borderColor: \"#cccccc\" /* Palette.neutralColor20 */,\n        /**\n         * The pixel border width of the insets.\n         *\n         * @sample maps/mapview/insetoptions-border\n         *         Inset border options\n         */\n        borderWidth: 1,\n        /**\n         * The padding of the insets. Can be either a number of pixels, a\n         * percentage string, or an array of either. If an array is given, it\n         * sets the top, right, bottom, left paddings respectively.\n         *\n         * @type {number|string|Array<number|string>}\n         */\n        padding: '10%',\n        /**\n         * What coordinate system the `field` and `borderPath` should relate to.\n         * If `plotBox`, they will be fixed to the plot box and responsively\n         * move in relation to the main map. If `mapBoundingBox`, they will be\n         * fixed to the map bounding box, which is constant and centered in\n         * different chart sizes and ratios.\n         *\n         * @validvalue [\"plotBox\", \"mapBoundingBox\"]\n         */\n        relativeTo: 'mapBoundingBox',\n        /**\n         * The individual MapView insets, typically used for non-contiguous\n         * areas of a country. Each item inherits from the generic\n         * `insetOptions`.\n         *\n         * Some of the TopoJSON files of the [Highcharts Map\n         * Collection](https://code.highcharts.com/mapdata/) include a property\n         * called `hc-recommended-mapview`, and some of these include insets. In\n         * order to override the recommended inset options, an inset option with\n         * a matching id can be applied, and it will be merged into the embedded\n         * settings.\n         *\n         * @sample      maps/mapview/insets-extended\n         *              Extending the embedded insets\n         * @sample      maps/mapview/insets-complete\n         *              Complete inset config from scratch\n         *\n         * @extends     mapView.insetOptions\n         * @type        Array<Object>\n         * @product     highmaps\n         * @apioption   mapView.insets\n         */\n        /**\n         * A geometry object of type `MultiLineString` defining the border path\n         * of the inset in terms of `units`. If undefined, a border is rendered\n         * around the `field` geometry. It is recommended that the `borderPath`\n         * partly follows the outline of the `field` in order to make pointer\n         * positioning consistent.\n         *\n         * @sample    maps/mapview/insets-complete\n         *            Complete inset config with `borderPath`\n         *\n         * @product   highmaps\n         * @type      {Object|undefined}\n         * @apioption mapView.insets.borderPath\n         */\n        /**\n         * A geometry object of type `Polygon` defining where in the chart the\n         * inset should be rendered, in terms of `units` and relative to the\n         * `relativeTo` setting. If a `borderPath` is omitted, a border is\n         * rendered around the field. If undefined, the inset is rendered in the\n         * full plot area.\n         *\n         * @sample    maps/mapview/insets-extended\n         *            Border path emitted, field is rendered\n         *\n         * @product   highmaps\n         * @type      {object|undefined}\n         * @apioption mapView.insets.field\n         */\n        /**\n         * A geometry object of type `Polygon` encircling the shapes that should\n         * be rendered in the inset, in terms of geographic coordinates.\n         * Geometries within this geometry are removed from the default map view\n         * and rendered in the inset.\n         *\n         * @sample    maps/mapview/insets-complete\n         *            Complete inset config with `geoBounds`\n         *\n         * @product   highmaps\n         * @type      {object}\n         * @apioption mapView.insets.geoBounds\n         */\n        /**\n         * The id of the inset, used for internal reference.\n         *\n         * @sample    maps/mapview/insets-extended\n         *            Extending recommended insets by id\n         *\n         * @product   highmaps\n         * @type      {string}\n         * @apioption mapView.insets.id\n         */\n        /**\n         * The projection options for the inset.\n         *\n         * @product   highmaps\n         * @type      {Object}\n         * @extends   mapView.projection\n         * @apioption mapView.insets.projection\n         */\n        /**\n         * What units to use for the `field` and `borderPath` geometries. If\n         * `percent` (default), they relate to the box given in `relativeTo`. If\n         * `pixels`, they are absolute values.\n         *\n         * @validvalue [\"percent\", \"pixels\"]\n         */\n        units: 'percent'\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Maps_MapViewDefaults = (MapViewDefaults);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Templating\"],\"commonjs\":[\"highcharts\",\"Templating\"],\"commonjs2\":[\"highcharts\",\"Templating\"],\"root\":[\"Highcharts\",\"Templating\"]}\nvar highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_ = __webpack_require__(984);\nvar highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default = /*#__PURE__*/__webpack_require__.n(highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_);\n;// ./code/es-modules/Maps/GeoJSONComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { format } = (highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default());\n\nconst { error, extend: GeoJSONComposition_extend, merge: GeoJSONComposition_merge, wrap: GeoJSONComposition_wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar GeoJSONComposition;\n(function (GeoJSONComposition) {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Deprecated. Use `MapView.lonLatToProjectedUnits` instead.\n     *\n     * @deprecated\n     *\n     * @requires modules/map\n     *\n     * @function Highcharts.Chart#fromLatLonToPoint\n     *\n     * @param {Highcharts.MapLonLatObject} lonLat\n     *        Coordinates.\n     *\n     * @return {Highcharts.ProjectedXY}\n     * X and Y coordinates in terms of projected values\n     */\n    function chartFromLatLonToPoint(lonLat) {\n        return this.mapView && this.mapView.lonLatToProjectedUnits(lonLat);\n    }\n    /**\n     * Deprecated. Use `MapView.projectedUnitsToLonLat` instead.\n     *\n     * @deprecated\n     *\n     * @requires modules/map\n     *\n     * @function Highcharts.Chart#fromPointToLatLon\n     *\n     * @param {Highcharts.Point|Highcharts.ProjectedXY} point\n     *        A `Point` instance or anything containing `x` and `y` properties\n     *        with numeric values.\n     *\n     * @return {Highcharts.MapLonLatObject|undefined}\n     * An object with `lat` and `lon` properties.\n     */\n    function chartFromPointToLatLon(point) {\n        return this.mapView && this.mapView.projectedUnitsToLonLat(point);\n    }\n    /**\n     * Highcharts Maps only. Get point from latitude and longitude using\n     * specified transform definition.\n     *\n     * @requires modules/map\n     *\n     * @sample maps/series/latlon-transform/\n     *         Use specific transformation for lat/lon\n     *\n     * @function Highcharts.Chart#transformFromLatLon\n     *\n     * @param {Highcharts.MapLonLatObject} latLon\n     *        A latitude/longitude object.\n     *\n     * @param {*} transform\n     *        The transform definition to use as explained in the\n     *        {@link https://www.highcharts.com/docs/maps/latlon|documentation}.\n     *\n     * @return {ProjectedXY}\n     * An object with `x` and `y` properties.\n     */\n    function chartTransformFromLatLon(latLon, transform) {\n        /**\n         * Allows to manually load the proj4 library from Highcharts options\n         * instead of the `window`.\n         * In case of loading the library from a `script` tag,\n         * this option is not needed, it will be loaded from there by default.\n         *\n         * @type      {Function}\n         * @product   highmaps\n         * @apioption chart.proj4\n         */\n        const proj4 = this.options.chart.proj4 || win.proj4;\n        if (!proj4) {\n            error(21, false, this);\n            return;\n        }\n        const { jsonmarginX = 0, jsonmarginY = 0, jsonres = 1, scale = 1, xoffset = 0, xpan = 0, yoffset = 0, ypan = 0 } = transform;\n        const projected = proj4(transform.crs, [latLon.lon, latLon.lat]), cosAngle = transform.cosAngle ||\n            (transform.rotation && Math.cos(transform.rotation)), sinAngle = transform.sinAngle ||\n            (transform.rotation && Math.sin(transform.rotation)), rotated = transform.rotation ? [\n            projected[0] * cosAngle + projected[1] * sinAngle,\n            -projected[0] * sinAngle + projected[1] * cosAngle\n        ] : projected;\n        return {\n            x: ((rotated[0] - xoffset) * scale + xpan) * jsonres + jsonmarginX,\n            y: -(((yoffset - rotated[1]) * scale + ypan) * jsonres - jsonmarginY)\n        };\n    }\n    /**\n     * Highcharts Maps only. Get latLon from point using specified transform\n     * definition. The method returns an object with the numeric properties\n     * `lat` and `lon`.\n     *\n     * @requires modules/map\n     *\n     * @sample maps/series/latlon-transform/\n     *         Use specific transformation for lat/lon\n     *\n     * @function Highcharts.Chart#transformToLatLon\n     *\n     * @param {Highcharts.Point|Highcharts.ProjectedXY} point\n     *        A `Point` instance, or any object containing the properties `x`\n     *        and `y` with numeric values.\n     *\n     * @param {*} transform\n     *        The transform definition to use as explained in the\n     *        {@link https://www.highcharts.com/docs/maps/latlon|documentation}.\n     *\n     * @return {Highcharts.MapLonLatObject|undefined}\n     * An object with `lat` and `lon` properties.\n     */\n    function chartTransformToLatLon(point, transform) {\n        const proj4 = this.options.chart.proj4 || win.proj4;\n        if (!proj4) {\n            error(21, false, this);\n            return;\n        }\n        if (point.y === null) {\n            return;\n        }\n        const { jsonmarginX = 0, jsonmarginY = 0, jsonres = 1, scale = 1, xoffset = 0, xpan = 0, yoffset = 0, ypan = 0 } = transform;\n        const normalized = {\n            x: ((point.x - jsonmarginX) / jsonres - xpan) / scale + xoffset,\n            y: ((point.y - jsonmarginY) / jsonres + ypan) / scale + yoffset\n        }, cosAngle = transform.cosAngle ||\n            (transform.rotation && Math.cos(transform.rotation)), sinAngle = transform.sinAngle ||\n            (transform.rotation && Math.sin(transform.rotation)), \n        // Note: Inverted sinAngle to reverse rotation direction\n        projected = proj4(transform.crs, 'WGS84', transform.rotation ? {\n            x: normalized.x * cosAngle + normalized.y * -sinAngle,\n            y: normalized.x * sinAngle + normalized.y * cosAngle\n        } : normalized);\n        return { lat: projected.y, lon: projected.x };\n    }\n    /** @private */\n    function compose(ChartClass) {\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.transformFromLatLon) {\n            chartProto.fromLatLonToPoint = chartFromLatLonToPoint;\n            chartProto.fromPointToLatLon = chartFromPointToLatLon;\n            chartProto.transformFromLatLon = chartTransformFromLatLon;\n            chartProto.transformToLatLon = chartTransformToLatLon;\n            GeoJSONComposition_wrap(chartProto, 'addCredits', wrapChartAddCredit);\n        }\n    }\n    GeoJSONComposition.compose = compose;\n    /**\n     * Highcharts Maps only. Restructure a GeoJSON or TopoJSON object in\n     * preparation to be read directly by the\n     * {@link https://api.highcharts.com/highmaps/plotOptions.series.mapData|series.mapData}\n     * option. The object will be broken down to fit a specific Highcharts type,\n     * either `map`, `mapline` or `mappoint`. Meta data in GeoJSON's properties\n     * object will be copied directly over to {@link Point.properties} in\n     * Highcharts Maps.\n     *\n     * @requires modules/map\n     *\n     * @sample maps/demo/geojson/ Simple areas\n     * @sample maps/demo/mapline-mappoint/ Multiple types\n     * @sample maps/series/mapdata-multiple/ Multiple map sources\n     *\n     * @function Highcharts.geojson\n     *\n     * @param {Highcharts.GeoJSON|Highcharts.TopoJSON} json\n     *        The GeoJSON or TopoJSON structure to parse, represented as a\n     *        JavaScript object.\n     *\n     * @param {string} [hType=map]\n     *        The Highcharts Maps series type to prepare for. Setting \"map\" will\n     *        return GeoJSON polygons and multipolygons. Setting \"mapline\" will\n     *        return GeoJSON linestrings and multilinestrings. Setting\n     *        \"mappoint\" will return GeoJSON points and multipoints.\n     *\n     *\n     * @return {Array<*>} An object ready for the `mapData` option.\n     */\n    function geojson(json, hType = 'map', series) {\n        const mapData = [];\n        const geojson = json.type === 'Topology' ? topo2geo(json) : json, features = geojson.features;\n        for (let i = 0, iEnd = features.length; i < iEnd; ++i) {\n            const feature = features[i], geometry = feature.geometry || {}, type = geometry.type, coordinates = geometry.coordinates, properties = feature.properties;\n            let pointOptions;\n            if ((hType === 'map' || hType === 'mapbubble') &&\n                (type === 'Polygon' || type === 'MultiPolygon')) {\n                if (coordinates.length) {\n                    pointOptions = { geometry: { coordinates, type } };\n                }\n            }\n            else if (hType === 'mapline' &&\n                (type === 'LineString' ||\n                    type === 'MultiLineString')) {\n                if (coordinates.length) {\n                    pointOptions = { geometry: { coordinates, type } };\n                }\n            }\n            else if (hType === 'mappoint' && type === 'Point') {\n                if (coordinates.length) {\n                    pointOptions = { geometry: { coordinates, type } };\n                }\n            }\n            if (pointOptions) {\n                const name = properties && (properties.name || properties.NAME), lon = properties && properties.lon, lat = properties && properties.lat;\n                mapData.push(GeoJSONComposition_extend(pointOptions, {\n                    lat: typeof lat === 'number' ? lat : void 0,\n                    lon: typeof lon === 'number' ? lon : void 0,\n                    name: typeof name === 'string' ? name : void 0,\n                    /**\n                     * In Highcharts Maps, when data is loaded from GeoJSON, the\n                     * GeoJSON item's properies are copied over here.\n                     *\n                     * @requires modules/map\n                     * @name Highcharts.Point#properties\n                     * @type {*}\n                     */\n                    properties\n                }));\n            }\n        }\n        // Create a credits text that includes map source, to be picked up in\n        // Chart.addCredits\n        if (series && geojson.copyrightShort) {\n            series.chart.mapCredits = format(series.chart.options.credits?.mapText, { geojson: geojson });\n            series.chart.mapCreditsFull = format(series.chart.options.credits?.mapTextFull, { geojson: geojson });\n        }\n        return mapData;\n    }\n    GeoJSONComposition.geojson = geojson;\n    /**\n     * Convert a TopoJSON topology to GeoJSON. By default the first object is\n     * handled.\n     * Based on https://github.com/topojson/topojson-specification\n     */\n    function topo2geo(topology, objectName) {\n        // Decode first object/feature as default\n        if (!objectName) {\n            objectName = Object.keys(topology.objects)[0];\n        }\n        const obj = topology.objects[objectName];\n        // Already decoded with the same title => return cache\n        if (obj['hc-decoded-geojson'] &&\n            obj['hc-decoded-geojson'].title === topology.title) {\n            return obj['hc-decoded-geojson'];\n        }\n        // Do the initial transform\n        let arcsArray = topology.arcs;\n        if (topology.transform) {\n            const arcs = topology.arcs, { scale, translate } = topology.transform;\n            let positionArray, x, y;\n            arcsArray = [];\n            for (let i = 0, iEnd = arcs.length; i < iEnd; ++i) {\n                const positions = arcs[i];\n                arcsArray.push(positionArray = []);\n                x = 0;\n                y = 0;\n                for (let j = 0, jEnd = positions.length; j < jEnd; ++j) {\n                    positionArray.push([\n                        (x += positions[j][0]) * scale[0] + translate[0],\n                        (y += positions[j][1]) * scale[1] + translate[1]\n                    ]);\n                }\n            }\n        }\n        // Recurse down any depth of multi-dimensional arrays of arcs and insert\n        // the coordinates\n        const arcsToCoordinates = (arcs) => {\n            if (typeof arcs[0] === 'number') {\n                return arcs.reduce((coordinates, arcNo, i) => {\n                    let arc = arcNo < 0 ? arcsArray[~arcNo] : arcsArray[arcNo];\n                    // The first point of an arc is always identical to the last\n                    // point of the previes arc, so slice it off to save further\n                    // processing.\n                    if (arcNo < 0) {\n                        arc = arc.slice(0, i === 0 ? arc.length : arc.length - 1);\n                        arc.reverse();\n                    }\n                    else if (i) {\n                        arc = arc.slice(1);\n                    }\n                    return coordinates.concat(arc);\n                }, []);\n            }\n            return arcs.map(arcsToCoordinates);\n        };\n        const geometries = obj.geometries, features = [];\n        for (let i = 0, iEnd = geometries.length; i < iEnd; ++i) {\n            features.push({\n                type: 'Feature',\n                properties: geometries[i].properties,\n                geometry: {\n                    type: geometries[i].type,\n                    coordinates: geometries[i].coordinates ||\n                        arcsToCoordinates(geometries[i].arcs)\n                }\n            });\n        }\n        const geojson = {\n            type: 'FeatureCollection',\n            copyright: topology.copyright,\n            copyrightShort: topology.copyrightShort,\n            copyrightUrl: topology.copyrightUrl,\n            features,\n            'hc-recommended-mapview': obj['hc-recommended-mapview'],\n            bbox: topology.bbox,\n            title: topology.title\n        };\n        obj['hc-decoded-geojson'] = geojson;\n        return geojson;\n    }\n    GeoJSONComposition.topo2geo = topo2geo;\n    /**\n     * Override addCredits to include map source by default.\n     * @private\n     */\n    function wrapChartAddCredit(proceed, credits) {\n        credits = GeoJSONComposition_merge(true, this.options.credits, credits);\n        proceed.call(this, credits);\n        // Add full map credits to hover\n        if (this.credits && this.mapCreditsFull) {\n            this.credits.attr({\n                title: this.mapCreditsFull\n            });\n        }\n    }\n})(GeoJSONComposition || (GeoJSONComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Maps_GeoJSONComposition = (GeoJSONComposition);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Represents the loose structure of a geographic JSON file.\n *\n * @interface Highcharts.GeoJSON\n */ /**\n* Full copyright note of the geographic data.\n* @name Highcharts.GeoJSON#copyright\n* @type {string|undefined}\n*/ /**\n* Short copyright note of the geographic data suitable for watermarks.\n* @name Highcharts.GeoJSON#copyrightShort\n* @type {string|undefined}\n*/ /**\n* Additional meta information based on the coordinate reference system.\n* @name Highcharts.GeoJSON#crs\n* @type {Highcharts.Dictionary<any>|undefined}\n*/ /**\n* Data sets of geographic features.\n* @name Highcharts.GeoJSON#features\n* @type {Array<Highcharts.GeoJSONFeature>}\n*/ /**\n* Map projections and transformations to be used when calculating between\n* lat/lon and chart values. Required for lat/lon support on maps. Allows\n* resizing, rotating, and moving portions of a map within its projected\n* coordinate system while still retaining lat/lon support. If using lat/lon\n* on a portion of the map that does not match a `hitZone`, the definition with\n* the key `default` is used.\n* @name Highcharts.GeoJSON#hc-transform\n* @type {Highcharts.Dictionary<Highcharts.GeoJSONTranslation>|undefined}\n*/ /**\n* Title of the geographic data.\n* @name Highcharts.GeoJSON#title\n* @type {string|undefined}\n*/ /**\n* Type of the geographic data. Type of an optimized map collection is\n* `FeatureCollection`.\n* @name Highcharts.GeoJSON#type\n* @type {string|undefined}\n*/ /**\n* Version of the geographic data.\n* @name Highcharts.GeoJSON#version\n* @type {string|undefined}\n*/\n/**\n * Data set of a geographic feature.\n * @interface Highcharts.GeoJSONFeature\n * @extends Highcharts.Dictionary<*>\n */ /**\n* Data type of the geographic feature.\n* @name Highcharts.GeoJSONFeature#type\n* @type {string}\n*/\n/**\n * Describes the map projection and transformations applied to a portion of\n * a map.\n * @interface Highcharts.GeoJSONTranslation\n */ /**\n* The coordinate reference system used to generate this portion of the map.\n* @name Highcharts.GeoJSONTranslation#crs\n* @type {string}\n*/ /**\n* Define the portion of the map that this definition applies to. Defined as a\n* GeoJSON polygon feature object, with `type` and `coordinates` properties.\n* @name Highcharts.GeoJSONTranslation#hitZone\n* @type {Highcharts.Dictionary<*>|undefined}\n*/ /**\n* Property for internal use for maps generated by Highsoft.\n* @name Highcharts.GeoJSONTranslation#jsonmarginX\n* @type {number|undefined}\n*/ /**\n* Property for internal use for maps generated by Highsoft.\n* @name Highcharts.GeoJSONTranslation#jsonmarginY\n* @type {number|undefined}\n*/ /**\n* Property for internal use for maps generated by Highsoft.\n* @name Highcharts.GeoJSONTranslation#jsonres\n* @type {number|undefined}\n*/ /**\n* Specifies clockwise rotation of the coordinates after the projection, but\n* before scaling and panning. Defined in radians, relative to the coordinate\n* system origin.\n* @name Highcharts.GeoJSONTranslation#rotation\n* @type {number|undefined}\n*/ /**\n* The scaling factor applied to the projected coordinates.\n* @name Highcharts.GeoJSONTranslation#scale\n* @type {number|undefined}\n*/ /**\n* Property for internal use for maps generated by Highsoft.\n* @name Highcharts.GeoJSONTranslation#xoffset\n* @type {number|undefined}\n*/ /**\n* X offset of projected coordinates after scaling.\n* @name Highcharts.GeoJSONTranslation#xpan\n* @type {number|undefined}\n*/ /**\n* Property for internal use for maps generated by Highsoft.\n* @name Highcharts.GeoJSONTranslation#yoffset\n* @type {number|undefined}\n*/ /**\n* Y offset of projected coordinates after scaling.\n* @name Highcharts.GeoJSONTranslation#ypan\n* @type {number|undefined}\n*/\n/**\n * Result object of a map transformation.\n *\n * @interface Highcharts.ProjectedXY\n */ /**\n* X coordinate in projected units.\n* @name Highcharts.ProjectedXY#x\n* @type {number}\n*/ /**\n* Y coordinate in projected units\n* @name Highcharts.ProjectedXY#y\n* @type {number}\n*/\n/**\n * A latitude/longitude object.\n *\n * @interface Highcharts.MapLonLatObject\n */ /**\n* The latitude.\n* @name Highcharts.MapLonLatObject#lat\n* @type {number}\n*/ /**\n* The longitude.\n* @name Highcharts.MapLonLatObject#lon\n* @type {number}\n*/\n/**\n * An array of longitude, latitude.\n *\n * @typedef {Array<number>} Highcharts.LonLatArray\n */\n/**\n * An array of GeoJSON or TopoJSON objects or strings used as map data for\n * series.\n *\n * @typedef {Array<*>|GeoJSON|TopoJSON|string} Highcharts.MapDataType\n */\n/**\n * A TopoJSON object, see description on the\n * [project's GitHub page](https://github.com/topojson/topojson).\n *\n * @typedef {Object} Highcharts.TopoJSON\n */\n''; // Detach doclets above\n\n;// ./code/es-modules/Core/Geometry/GeometryUtilities.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Namespace\n *\n * */\nvar GeometryUtilities;\n(function (GeometryUtilities) {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Calculates the center between a list of points.\n     *\n     * @private\n     *\n     * @param {Array<Highcharts.PositionObject>} points\n     * A list of points to calculate the center of.\n     *\n     * @return {Highcharts.PositionObject}\n     * Calculated center\n     */\n    function getCenterOfPoints(points) {\n        const sum = points.reduce((sum, point) => {\n            sum.x += point.x;\n            sum.y += point.y;\n            return sum;\n        }, { x: 0, y: 0 });\n        return {\n            x: sum.x / points.length,\n            y: sum.y / points.length\n        };\n    }\n    GeometryUtilities.getCenterOfPoints = getCenterOfPoints;\n    /**\n     * Calculates the distance between two points based on their x and y\n     * coordinates.\n     *\n     * @private\n     *\n     * @param {Highcharts.PositionObject} p1\n     * The x and y coordinates of the first point.\n     *\n     * @param {Highcharts.PositionObject} p2\n     * The x and y coordinates of the second point.\n     *\n     * @return {number}\n     * Returns the distance between the points.\n     */\n    function getDistanceBetweenPoints(p1, p2) {\n        return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));\n    }\n    GeometryUtilities.getDistanceBetweenPoints = getDistanceBetweenPoints;\n    /**\n     * Calculates the angle between two points.\n     * @todo add unit tests.\n     * @private\n     * @param {Highcharts.PositionObject} p1 The first point.\n     * @param {Highcharts.PositionObject} p2 The second point.\n     * @return {number} Returns the angle in radians.\n     */\n    function getAngleBetweenPoints(p1, p2) {\n        return Math.atan2(p2.x - p1.x, p2.y - p1.y);\n    }\n    GeometryUtilities.getAngleBetweenPoints = getAngleBetweenPoints;\n    /**\n     * Test for point in polygon. Polygon defined as array of [x,y] points.\n     * @private\n     * @param {PositionObject} point The point potentially within a polygon.\n     * @param {Array<Array<number>>} polygon The polygon potentially containing the point.\n     */\n    function pointInPolygon({ x, y }, polygon) {\n        const len = polygon.length;\n        let i, j, inside = false;\n        for (i = 0, j = len - 1; i < len; j = i++) {\n            const [x1, y1] = polygon[i], [x2, y2] = polygon[j];\n            if (y1 > y !== y2 > y &&\n                (x < (x2 - x1) *\n                    (y - y1) /\n                    (y2 - y1) +\n                    x1)) {\n                inside = !inside;\n            }\n        }\n        return inside;\n    }\n    GeometryUtilities.pointInPolygon = pointInPolygon;\n})(GeometryUtilities || (GeometryUtilities = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Geometry_GeometryUtilities = (GeometryUtilities);\n\n;// ./code/es-modules/Core/Geometry/PolygonClip.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Simple line string clipping. Clip to bounds and insert intersection points.\n * @private\n */\nfunction clipLineString(line, boundsPolygon) {\n    const ret = [], l = clipPolygon(line, boundsPolygon, false);\n    for (let i = 1; i < l.length; i++) {\n        // Insert gap where two intersections follow each other\n        if (l[i].isIntersection && l[i - 1].isIntersection) {\n            ret.push(l.splice(0, i));\n            i = 0;\n        }\n        // Push the rest\n        if (i === l.length - 1) {\n            ret.push(l);\n        }\n    }\n    return ret;\n}\n/**\n * Clip a polygon to another polygon using the Sutherland/Hodgman algorithm.\n * @private\n */\nfunction clipPolygon(subjectPolygon, boundsPolygon, closed = true) {\n    let clipEdge1 = boundsPolygon[boundsPolygon.length - 1], clipEdge2, prevPoint, currentPoint, outputList = subjectPolygon;\n    for (let j = 0; j < boundsPolygon.length; j++) {\n        const inputList = outputList;\n        clipEdge2 = boundsPolygon[j];\n        outputList = [];\n        prevPoint = closed ?\n            // Polygon, wrap around\n            inputList[inputList.length - 1] :\n            // Open line string, don't wrap\n            inputList[0];\n        for (let i = 0; i < inputList.length; i++) {\n            currentPoint = inputList[i];\n            if (isInside(clipEdge1, clipEdge2, currentPoint)) {\n                if (!isInside(clipEdge1, clipEdge2, prevPoint)) {\n                    outputList.push(intersection(clipEdge1, clipEdge2, prevPoint, currentPoint));\n                }\n                outputList.push(currentPoint);\n            }\n            else if (isInside(clipEdge1, clipEdge2, prevPoint)) {\n                outputList.push(intersection(clipEdge1, clipEdge2, prevPoint, currentPoint));\n            }\n            prevPoint = currentPoint;\n        }\n        clipEdge1 = clipEdge2;\n    }\n    return outputList;\n}\n/** @private */\nfunction isInside(clipEdge1, clipEdge2, p) {\n    return ((clipEdge2[0] - clipEdge1[0]) * (p[1] - clipEdge1[1]) >\n        (clipEdge2[1] - clipEdge1[1]) * (p[0] - clipEdge1[0]));\n}\n/** @private */\nfunction intersection(clipEdge1, clipEdge2, prevPoint, currentPoint) {\n    const dc = [\n        clipEdge1[0] - clipEdge2[0],\n        clipEdge1[1] - clipEdge2[1]\n    ], dp = [\n        prevPoint[0] - currentPoint[0],\n        prevPoint[1] - currentPoint[1]\n    ], n1 = clipEdge1[0] * clipEdge2[1] - clipEdge1[1] * clipEdge2[0], n2 = prevPoint[0] * currentPoint[1] - prevPoint[1] * currentPoint[0], n3 = 1 / (dc[0] * dp[1] - dc[1] * dp[0]), intersection = [\n        (n1 * dp[0] - n2 * dc[0]) * n3,\n        (n1 * dp[1] - n2 * dc[1]) * n3\n    ];\n    intersection.isIntersection = true;\n    return intersection;\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst PolygonClip = {\n    clipLineString,\n    clipPolygon\n};\n/* harmony default export */ const Geometry_PolygonClip = (PolygonClip);\n\n;// ./code/es-modules/Maps/Projections/LambertConformalConic.js\n/* *\n * Lambert Conformal Conic projection\n * */\n\n/* *\n *\n *  Constants\n *\n * */\nconst sign = Math.sign ||\n    ((n) => (n === 0 ? 0 : n > 0 ? 1 : -1)), scale = 63.78137, LambertConformalConic_deg2rad = Math.PI / 180, halfPI = Math.PI / 2, eps10 = 1e-6, tany = (y) => Math.tan((halfPI + y) / 2);\n/* *\n *\n *  Class\n *\n * */\nclass LambertConformalConic {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(options) {\n        const parallels = (options.parallels || [])\n            .map((n) => n * LambertConformalConic_deg2rad), lat1 = parallels[0] || 0, lat2 = parallels[1] ?? lat1, cosLat1 = Math.cos(lat1);\n        if (typeof options.projectedBounds === 'object') {\n            this.projectedBounds = options.projectedBounds;\n        }\n        // Apply the global variables\n        let n = lat1 === lat2 ?\n            Math.sin(lat1) :\n            Math.log(cosLat1 / Math.cos(lat2)) / Math.log(tany(lat2) / tany(lat1));\n        if (Math.abs(n) < 1e-10) {\n            n = (sign(n) || 1) * 1e-10;\n        }\n        this.n = n;\n        this.c = cosLat1 * Math.pow(tany(lat1), n) / n;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    forward(lonLat) {\n        const { c, n, projectedBounds } = this, lon = lonLat[0] * LambertConformalConic_deg2rad;\n        let lat = lonLat[1] * LambertConformalConic_deg2rad;\n        if (c > 0) {\n            if (lat < -halfPI + eps10) {\n                lat = -halfPI + eps10;\n            }\n        }\n        else {\n            if (lat > halfPI - eps10) {\n                lat = halfPI - eps10;\n            }\n        }\n        const r = c / Math.pow(tany(lat), n), x = r * Math.sin(n * lon) * scale, y = (c - r * Math.cos(n * lon)) * scale, xy = [x, y];\n        if (projectedBounds && (x < projectedBounds.x1 ||\n            x > projectedBounds.x2 ||\n            y < projectedBounds.y1 ||\n            y > projectedBounds.y2)) {\n            xy.outside = true;\n        }\n        return xy;\n    }\n    inverse(xy) {\n        const { c, n } = this, x = xy[0] / scale, y = xy[1] / scale, cy = c - y, rho = sign(n) * Math.sqrt(x * x + cy * cy);\n        let l = Math.atan2(x, Math.abs(cy)) * sign(cy);\n        if (cy * n < 0) {\n            l -= Math.PI * sign(x) * sign(cy);\n        }\n        return [\n            (l / n) / LambertConformalConic_deg2rad,\n            (2 * Math.atan(Math.pow(c / rho, 1 / n)) - halfPI) / LambertConformalConic_deg2rad\n        ];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Projections_LambertConformalConic = (LambertConformalConic);\n\n;// ./code/es-modules/Maps/Projections/EqualEarth.js\n/* *\n *\n * Equal Earth projection, an equal-area projection designed to minimize\n * distortion and remain pleasing to the eye.\n *\n * Invented by Bojan Šavrič, Bernhard Jenny, and Tom Patterson in 2018. It is\n * inspired by the widely used Robinson projection.\n *\n * */\n\n/* *\n *\n *  Constants\n *\n * */\nconst A1 = 1.340264, A2 = -0.081106, A3 = 0.000893, A4 = 0.003796, M = Math.sqrt(3) / 2.0, EqualEarth_scale = 74.03120656864502;\n/* *\n *\n *  Class\n *\n * */\nclass EqualEarth {\n    constructor() {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this.bounds = {\n            x1: -200.37508342789243,\n            x2: 200.37508342789243,\n            y1: -97.52595454902263,\n            y2: 97.52595454902263\n        };\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    forward(lonLat) {\n        const d = Math.PI / 180, paramLat = Math.asin(M * Math.sin(lonLat[1] * d)), paramLatSq = paramLat * paramLat, paramLatPow6 = paramLatSq * paramLatSq * paramLatSq;\n        const x = lonLat[0] * d * Math.cos(paramLat) * EqualEarth_scale /\n            (M * (A1 +\n                3 * A2 * paramLatSq +\n                paramLatPow6 * (7 * A3 + 9 * A4 * paramLatSq))), y = paramLat * EqualEarth_scale * (A1 + A2 * paramLatSq + paramLatPow6 * (A3 + A4 * paramLatSq));\n        return [x, y];\n    }\n    inverse(xy) {\n        const x = xy[0] / EqualEarth_scale, y = xy[1] / EqualEarth_scale, d = 180 / Math.PI, epsilon = 1e-9;\n        let paramLat = y, paramLatSq, paramLatPow6, fy, fpy, dlat;\n        for (let i = 0; i < 12; ++i) {\n            paramLatSq = paramLat * paramLat;\n            paramLatPow6 = paramLatSq * paramLatSq * paramLatSq;\n            fy = paramLat * (A1 + A2 * paramLatSq + paramLatPow6 * (A3 + A4 * paramLatSq)) - y;\n            fpy = A1 + 3 * A2 * paramLatSq + paramLatPow6 * (7 * A3 + 9 * A4 * paramLatSq);\n            paramLat -= dlat = fy / fpy;\n            if (Math.abs(dlat) < epsilon) {\n                break;\n            }\n        }\n        paramLatSq = paramLat * paramLat;\n        paramLatPow6 = paramLatSq * paramLatSq * paramLatSq;\n        const lon = d * M * x * (A1 + 3 * A2 * paramLatSq + paramLatPow6 *\n            (7 * A3 + 9 * A4 * paramLatSq)) / Math.cos(paramLat), lat = d * Math.asin(Math.sin(paramLat) / M);\n        // If lons are beyond the border of a map -> resolve via break\n        if (Math.abs(lon) > 180) {\n            return [NaN, NaN];\n        }\n        return [lon, lat];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Projections_EqualEarth = (EqualEarth);\n\n;// ./code/es-modules/Maps/Projections/Miller.js\n/* *\n * Miller projection\n * */\n\n/* *\n *\n *  Constants\n *\n * */\nconst quarterPI = Math.PI / 4, Miller_deg2rad = Math.PI / 180, Miller_scale = 63.78137;\n/* *\n *\n *  Class\n *\n * */\nclass Miller {\n    constructor() {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this.bounds = {\n            x1: -200.37508342789243,\n            x2: 200.37508342789243,\n            y1: -146.91480769173063,\n            y2: 146.91480769173063\n        };\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    forward(lonLat) {\n        return [\n            lonLat[0] * Miller_deg2rad * Miller_scale,\n            1.25 * Miller_scale * Math.log(Math.tan(quarterPI + 0.4 * lonLat[1] * Miller_deg2rad))\n        ];\n    }\n    inverse(xy) {\n        return [\n            (xy[0] / Miller_scale) / Miller_deg2rad,\n            2.5 * (Math.atan(Math.exp(0.8 * (xy[1] / Miller_scale))) - quarterPI) / Miller_deg2rad\n        ];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Projections_Miller = (Miller);\n\n;// ./code/es-modules/Maps/Projections/Orthographic.js\n/* *\n * Orthographic projection\n * */\n\n/* *\n *\n *  Constants\n *\n * */\nconst Orthographic_deg2rad = Math.PI / 180, Orthographic_scale = 63.78460826781007;\n/* *\n *\n *  Class\n *\n * */\nclass Orthographic {\n    constructor() {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this.antimeridianCutting = false;\n        this.bounds = {\n            x1: -Orthographic_scale,\n            x2: Orthographic_scale,\n            y1: -Orthographic_scale,\n            y2: Orthographic_scale\n        };\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    forward(lonLat) {\n        const lonDeg = lonLat[0], latDeg = lonLat[1], lat = latDeg * Orthographic_deg2rad, xy = [\n            Math.cos(lat) * Math.sin(lonDeg * Orthographic_deg2rad) * Orthographic_scale,\n            Math.sin(lat) * Orthographic_scale\n        ];\n        if (lonDeg < -90 || lonDeg > 90) {\n            xy.outside = true;\n        }\n        return xy;\n    }\n    inverse(xy) {\n        const x = xy[0] / Orthographic_scale, y = xy[1] / Orthographic_scale, z = Math.sqrt(x * x + y * y), c = Math.asin(z), cSin = Math.sin(c), cCos = Math.cos(c);\n        return [\n            Math.atan2(x * cSin, z * cCos) / Orthographic_deg2rad,\n            Math.asin(z && y * cSin / z) / Orthographic_deg2rad\n        ];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Projections_Orthographic = (Orthographic);\n\n;// ./code/es-modules/Maps/Projections/WebMercator.js\n/* *\n * Web Mercator projection, used for most online map tile services\n * */\n\n/* *\n *\n *  Constants\n *\n * */\nconst r = 63.78137, WebMercator_deg2rad = Math.PI / 180;\n/* *\n *\n *  Class\n *\n * */\nclass WebMercator {\n    constructor() {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this.bounds = {\n            x1: -200.37508342789243,\n            x2: 200.37508342789243,\n            y1: -200.3750834278071,\n            y2: 200.3750834278071\n        };\n        this.maxLatitude = 85.0511287798; // The latitude that defines a square\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    forward(lonLat) {\n        const sinLat = Math.sin(lonLat[1] * WebMercator_deg2rad), xy = [\n            r * lonLat[0] * WebMercator_deg2rad,\n            r * Math.log((1 + sinLat) / (1 - sinLat)) / 2\n        ];\n        if (Math.abs(lonLat[1]) > this.maxLatitude) {\n            xy.outside = true;\n        }\n        return xy;\n    }\n    inverse(xy) {\n        return [\n            xy[0] / (r * WebMercator_deg2rad),\n            (2 * Math.atan(Math.exp(xy[1] / r)) - (Math.PI / 2)) / WebMercator_deg2rad\n        ];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Projections_WebMercator = (WebMercator);\n\n;// ./code/es-modules/Maps/Projections/ProjectionRegistry.js\n/* *\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Imports\n *\n * */\n\n\n\n\n\n/* *\n *\n *  Constants\n *\n * */\nconst projectionRegistry = {\n    EqualEarth: Projections_EqualEarth,\n    LambertConformalConic: Projections_LambertConformalConic,\n    Miller: Projections_Miller,\n    Orthographic: Projections_Orthographic,\n    WebMercator: Projections_WebMercator\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ProjectionRegistry = (projectionRegistry);\n\n;// ./code/es-modules/Maps/Projection.js\n/* *\n *\n *  (c) 2021 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { clipLineString: Projection_clipLineString, clipPolygon: Projection_clipPolygon } = Geometry_PolygonClip;\n\n\nconst { clamp, erase } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\nconst Projection_deg2rad = Math.PI * 2 / 360, \n// Safe padding on either side of the antimeridian to avoid points being\n// projected to the wrong side of the plane\nfloatCorrection = 0.000001;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Keep longitude within -180 and 180. This is faster than using the modulo\n * operator, and preserves the distinction between -180 and 180.\n * @private\n */\nconst wrapLon = (lon) => {\n    // Replacing the if's with while would increase the range, but make it prone\n    // to crashes on bad data\n    if (lon < -180) {\n        lon += 360;\n    }\n    if (lon > 180) {\n        lon -= 360;\n    }\n    return lon;\n};\n/**\n * Calculate the haversine of an angle.\n * @private\n */\nconst hav = (radians) => (1 - Math.cos(radians)) / 2;\n/**\n* Calculate the haversine of an angle from two coordinates.\n* @private\n*/\nconst havFromCoords = (point1, point2) => {\n    const cos = Math.cos, lat1 = point1[1] * Projection_deg2rad, lon1 = point1[0] * Projection_deg2rad, lat2 = point2[1] * Projection_deg2rad, lon2 = point2[0] * Projection_deg2rad, deltaLat = lat2 - lat1, deltaLon = lon2 - lon1, havFromCoords = hav(deltaLat) + cos(lat1) * cos(lat2) * hav(deltaLon);\n    return havFromCoords;\n};\n/* *\n *\n *  Class\n *\n * */\nclass Projection {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * Add a projection definition to the registry, accessible by its `name`.\n     * @private\n     */\n    static add(name, definition) {\n        Projection.registry[name] = definition;\n    }\n    /**\n     * Calculate the distance in meters between two given coordinates.\n     * @private\n     */\n    static distance(point1, point2) {\n        const { atan2, sqrt } = Math, hav = havFromCoords(point1, point2), angularDistance = 2 * atan2(sqrt(hav), sqrt(1 - hav)), distance = angularDistance * 6371e3;\n        return distance;\n    }\n    /**\n     * Calculate the geodesic line string between two given coordinates.\n     * @private\n     */\n    static geodesic(point1, point2, inclusive, stepDistance = 500000) {\n        const { atan2, cos, sin, sqrt } = Math, distance = Projection.distance, lat1 = point1[1] * Projection_deg2rad, lon1 = point1[0] * Projection_deg2rad, lat2 = point2[1] * Projection_deg2rad, lon2 = point2[0] * Projection_deg2rad, cosLat1CosLon1 = cos(lat1) * cos(lon1), cosLat2CosLon2 = cos(lat2) * cos(lon2), cosLat1SinLon1 = cos(lat1) * sin(lon1), cosLat2SinLon2 = cos(lat2) * sin(lon2), sinLat1 = sin(lat1), sinLat2 = sin(lat2), pointDistance = distance(point1, point2), angDistance = pointDistance / 6371e3, sinAng = sin(angDistance), jumps = Math.round(pointDistance / stepDistance), lineString = [];\n        if (inclusive) {\n            lineString.push(point1);\n        }\n        if (jumps > 1) {\n            const step = 1 / jumps;\n            for (let fraction = step; fraction < 0.999; // Account for float errors\n             fraction += step) {\n                // Add intermediate point to lineString\n                const A = sin((1 - fraction) * angDistance) / sinAng, B = sin(fraction * angDistance) / sinAng, x = A * cosLat1CosLon1 + B * cosLat2CosLon2, y = A * cosLat1SinLon1 + B * cosLat2SinLon2, z = A * sinLat1 + B * sinLat2, lat3 = atan2(z, sqrt(x * x + y * y)), lon3 = atan2(y, x);\n                lineString.push([lon3 / Projection_deg2rad, lat3 / Projection_deg2rad]);\n            }\n        }\n        if (inclusive) {\n            lineString.push(point2);\n        }\n        return lineString;\n    }\n    static insertGeodesics(poly) {\n        let i = poly.length - 1;\n        while (i--) {\n            // Distance in degrees, either in lon or lat. Avoid heavy\n            // calculation of true distance.\n            const roughDistance = Math.max(Math.abs(poly[i][0] - poly[i + 1][0]), Math.abs(poly[i][1] - poly[i + 1][1]));\n            if (roughDistance > 10) {\n                const geodesic = Projection.geodesic(poly[i], poly[i + 1]);\n                if (geodesic.length) {\n                    poly.splice(i + 1, 0, ...geodesic);\n                }\n            }\n        }\n    }\n    static toString(options) {\n        const { name, rotation } = options || {};\n        return [name, rotation && rotation.join(',')].join(';');\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(options = {}) {\n        // Whether the chart has points, lines or polygons given as coordinates\n        // with positive up, as opposed to paths in the SVG plane with positive\n        // down.\n        this.hasCoordinates = false;\n        // Whether the chart has true projection as opposed to pre-projected geojson\n        // as in the legacy map collection.\n        this.hasGeoProjection = false;\n        this.maxLatitude = 90;\n        this.options = options;\n        const { name, projectedBounds, rotation } = options;\n        this.rotator = rotation ? this.getRotator(rotation) : void 0;\n        const ProjectionDefinition = name ? Projection.registry[name] : void 0;\n        if (ProjectionDefinition) {\n            this.def = new ProjectionDefinition(options);\n        }\n        const { def, rotator } = this;\n        if (def) {\n            this.maxLatitude = def.maxLatitude || 90;\n            this.hasGeoProjection = true;\n        }\n        if (rotator && def) {\n            this.forward = (lonLat) => def.forward(rotator.forward(lonLat));\n            this.inverse = (xy) => rotator.inverse(def.inverse(xy));\n        }\n        else if (def) {\n            this.forward = (lonLat) => def.forward(lonLat);\n            this.inverse = (xy) => def.inverse(xy);\n        }\n        else if (rotator) {\n            this.forward = rotator.forward;\n            this.inverse = rotator.inverse;\n        }\n        // Projected bounds/clipping\n        this.bounds = projectedBounds === 'world' ?\n            def && def.bounds :\n            projectedBounds;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    lineIntersectsBounds(line) {\n        const { x1, x2, y1, y2 } = this.bounds || {};\n        const getIntersect = (line, dim, val) => {\n            const [p1, p2] = line, otherDim = dim ? 0 : 1;\n            // Check if points are on either side of the line\n            if (typeof val === 'number' && p1[dim] >= val !== p2[dim] >= val) {\n                const fraction = ((val - p1[dim]) / (p2[dim] - p1[dim])), crossingVal = p1[otherDim] +\n                    fraction * (p2[otherDim] - p1[otherDim]);\n                return dim ? [crossingVal, val] : [val, crossingVal];\n            }\n        };\n        let intersection, ret = line[0];\n        if ((intersection = getIntersect(line, 0, x1))) {\n            ret = intersection;\n            // Assuming line[1] was originally outside, replace it with the\n            // intersection point so that the horizontal intersection will\n            // be correct.\n            line[1] = intersection;\n        }\n        else if ((intersection = getIntersect(line, 0, x2))) {\n            ret = intersection;\n            line[1] = intersection;\n        }\n        if ((intersection = getIntersect(line, 1, y1))) {\n            ret = intersection;\n        }\n        else if ((intersection = getIntersect(line, 1, y2))) {\n            ret = intersection;\n        }\n        return ret;\n    }\n    /**\n     * Take the rotation options and returns the appropriate projection\n     * functions.\n     * @private\n     */\n    getRotator(rotation) {\n        const deltaLambda = rotation[0] * Projection_deg2rad, deltaPhi = (rotation[1] || 0) * Projection_deg2rad, deltaGamma = (rotation[2] || 0) * Projection_deg2rad;\n        const cosDeltaPhi = Math.cos(deltaPhi), sinDeltaPhi = Math.sin(deltaPhi), cosDeltaGamma = Math.cos(deltaGamma), sinDeltaGamma = Math.sin(deltaGamma);\n        if (deltaLambda === 0 && deltaPhi === 0 && deltaGamma === 0) {\n            // Don't waste processing time\n            return;\n        }\n        return {\n            forward: (lonLat) => {\n                // Lambda (lon) rotation\n                const lon = lonLat[0] * Projection_deg2rad + deltaLambda;\n                // Phi (lat) and gamma rotation\n                const lat = lonLat[1] * Projection_deg2rad, cosLat = Math.cos(lat), x = Math.cos(lon) * cosLat, y = Math.sin(lon) * cosLat, sinLat = Math.sin(lat), k = sinLat * cosDeltaPhi + x * sinDeltaPhi;\n                return [\n                    Math.atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - sinLat * sinDeltaPhi) / Projection_deg2rad,\n                    Math.asin(k * cosDeltaGamma + y * sinDeltaGamma) / Projection_deg2rad\n                ];\n            },\n            inverse: (rLonLat) => {\n                // Lambda (lon) unrotation\n                const lon = rLonLat[0] * Projection_deg2rad;\n                // Phi (lat) and gamma unrotation\n                const lat = rLonLat[1] * Projection_deg2rad, cosLat = Math.cos(lat), x = Math.cos(lon) * cosLat, y = Math.sin(lon) * cosLat, sinLat = Math.sin(lat), k = sinLat * cosDeltaGamma - y * sinDeltaGamma;\n                return [\n                    (Math.atan2(y * cosDeltaGamma + sinLat * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi) - deltaLambda) / Projection_deg2rad,\n                    Math.asin(k * cosDeltaPhi - x * sinDeltaPhi) / Projection_deg2rad\n                ];\n            }\n        };\n    }\n    /**\n     * Project a lonlat coordinate position to xy. Dynamically overridden when\n     * projection is set.\n     * @private\n     */\n    forward(lonLat) {\n        return lonLat;\n    }\n    /**\n     * Unproject an xy chart coordinate position to lonlat. Dynamically\n     * overridden when projection is set.\n     * @private\n     */\n    inverse(xy) {\n        return xy;\n    }\n    cutOnAntimeridian(poly, isPolygon) {\n        const antimeridian = 180, intersections = [];\n        const polygons = [poly];\n        for (let i = 0, iEnd = poly.length; i < iEnd; ++i) {\n            const lonLat = poly[i];\n            let previousLonLat = poly[i - 1];\n            if (!i) {\n                if (!isPolygon) {\n                    continue;\n                }\n                // Else, wrap to beginning\n                previousLonLat = poly[poly.length - 1];\n            }\n            const lon1 = previousLonLat[0], lon2 = lonLat[0];\n            if (\n            // Both points, after rotating for antimeridian, are on the far\n            // side of the Earth\n            (lon1 < -90 || lon1 > 90) &&\n                (lon2 < -90 || lon2 > 90) &&\n                // ... and on either side of the plane\n                (lon1 > 0) !== (lon2 > 0)) {\n                // Interpolate to the intersection latitude\n                const fraction = clamp((antimeridian - (lon1 + 360) % 360) /\n                    ((lon2 + 360) % 360 - (lon1 + 360) % 360), 0, 1), lat = (previousLonLat[1] +\n                    fraction * (lonLat[1] - previousLonLat[1]));\n                intersections.push({\n                    i,\n                    lat,\n                    direction: lon1 < 0 ? 1 : -1,\n                    previousLonLat,\n                    lonLat\n                });\n            }\n        }\n        let polarIntersection;\n        if (intersections.length) {\n            if (isPolygon) {\n                // Simplified use of the even-odd rule, if there is an odd\n                // amount of intersections between the polygon and the\n                // antimeridian, the pole is inside the polygon. Applies\n                // primarily to Antarctica.\n                if (intersections.length % 2 === 1) {\n                    polarIntersection = intersections.slice().sort((a, b) => Math.abs(b.lat) - Math.abs(a.lat))[0];\n                    erase(intersections, polarIntersection);\n                }\n                // Pull out slices of the polygon that is on the opposite side\n                // of the antimeridian compared to the starting point\n                let i = intersections.length - 2;\n                while (i >= 0) {\n                    const index = intersections[i].i;\n                    const lonPlus = wrapLon(antimeridian +\n                        intersections[i].direction * floatCorrection);\n                    const lonMinus = wrapLon(antimeridian -\n                        intersections[i].direction * floatCorrection);\n                    const slice = poly.splice(index, intersections[i + 1].i - index, \n                    // Add interpolated points close to the cut\n                    ...Projection.geodesic([lonPlus, intersections[i].lat], [lonPlus, intersections[i + 1].lat], true));\n                    // Add interpolated points close to the cut\n                    slice.push(...Projection.geodesic([lonMinus, intersections[i + 1].lat], [lonMinus, intersections[i].lat], true));\n                    polygons.push(slice);\n                    i -= 2;\n                }\n                // Insert dummy points close to the pole\n                if (polarIntersection) {\n                    for (let i = 0; i < polygons.length; i++) {\n                        const { direction, lat } = polarIntersection, poly = polygons[i], indexOf = poly.indexOf(polarIntersection.lonLat);\n                        if (indexOf > -1) {\n                            const polarLatitude = (lat < 0 ? -1 : 1) *\n                                this.maxLatitude;\n                            const lon1 = wrapLon(antimeridian +\n                                direction * floatCorrection);\n                            const lon2 = wrapLon(antimeridian -\n                                direction * floatCorrection);\n                            const polarSegment = Projection.geodesic([lon1, lat], [lon1, polarLatitude], true);\n                            // Circle around the pole point in order to make\n                            // polygon clipping right. Without this, Antarctica\n                            // would wrap the wrong way in an LLC projection\n                            // with parallels [30, 40].\n                            for (let lon = lon1 + 120 * direction; lon > -180 && lon < 180; lon += 120 * direction) {\n                                polarSegment.push([lon, polarLatitude]);\n                            }\n                            polarSegment.push(...Projection.geodesic([lon2, polarLatitude], [lon2, polarIntersection.lat], true));\n                            poly.splice(indexOf, 0, ...polarSegment);\n                            break;\n                        }\n                    }\n                }\n                // Map lines, not closed\n            }\n            else {\n                let i = intersections.length;\n                while (i--) {\n                    const index = intersections[i].i;\n                    const slice = poly.splice(index, poly.length, \n                    // Add interpolated point close to the cut\n                    [\n                        wrapLon(antimeridian +\n                            intersections[i].direction * floatCorrection),\n                        intersections[i].lat\n                    ]);\n                    // Add interpolated point close to the cut\n                    slice.unshift([\n                        wrapLon(antimeridian -\n                            intersections[i].direction * floatCorrection),\n                        intersections[i].lat\n                    ]);\n                    polygons.push(slice);\n                }\n            }\n        }\n        return polygons;\n    }\n    /**\n     * Take a GeoJSON geometry and return a translated SVGPath.\n     * @private\n     */\n    path(geometry) {\n        const { bounds, def, rotator } = this;\n        const antimeridian = 180;\n        const path = [];\n        const isPolygon = geometry.type === 'Polygon' ||\n            geometry.type === 'MultiPolygon';\n        // @todo: It doesn't really have to do with whether north is\n        // positive. It depends on whether the coordinates are\n        // pre-projected.\n        const hasGeoProjection = this.hasGeoProjection;\n        // Detect whether we need to do antimeridian cutting and clipping to\n        // bounds. The alternative (currently for Orthographic) is to apply a\n        // clip angle.\n        const projectingToPlane = !def || def.antimeridianCutting !== false;\n        // We need to rotate in a separate step before applying antimeridian\n        // cutting\n        const preclip = projectingToPlane ? rotator : void 0;\n        const postclip = projectingToPlane ? (def || this) : this;\n        let boundsPolygon;\n        if (bounds) {\n            boundsPolygon = [\n                [bounds.x1, bounds.y1],\n                [bounds.x2, bounds.y1],\n                [bounds.x2, bounds.y2],\n                [bounds.x1, bounds.y2]\n            ];\n        }\n        const addToPath = (polygon) => {\n            // Create a copy of the original coordinates. The copy applies a\n            // correction of points close to the antimeridian in order to\n            // prevent the points to be projected to the wrong side of the\n            // plane. Float errors in topojson or in the projection may cause\n            // that.\n            const poly = polygon.map((lonLat) => {\n                if (projectingToPlane) {\n                    if (preclip) {\n                        lonLat = preclip.forward(lonLat);\n                    }\n                    let lon = lonLat[0];\n                    if (Math.abs(lon - antimeridian) < floatCorrection) {\n                        if (lon < antimeridian) {\n                            lon = antimeridian - floatCorrection;\n                        }\n                        else {\n                            lon = antimeridian + floatCorrection;\n                        }\n                    }\n                    lonLat = [lon, lonLat[1]];\n                }\n                return lonLat;\n            });\n            let polygons = [poly];\n            if (hasGeoProjection) {\n                // Insert great circles into long straight lines\n                Projection.insertGeodesics(poly);\n                if (projectingToPlane) {\n                    polygons = this.cutOnAntimeridian(poly, isPolygon);\n                }\n            }\n            polygons.forEach((poly) => {\n                if (poly.length < 2) {\n                    return;\n                }\n                let movedTo = false;\n                let firstValidLonLat;\n                let lastValidLonLat;\n                let gap = false;\n                const pushToPath = (point) => {\n                    if (!movedTo) {\n                        path.push(['M', point[0], point[1]]);\n                        movedTo = true;\n                    }\n                    else {\n                        path.push(['L', point[0], point[1]]);\n                    }\n                };\n                let someOutside = false, someInside = false;\n                let points = poly.map((lonLat) => {\n                    const xy = postclip.forward(lonLat);\n                    if (xy.outside) {\n                        someOutside = true;\n                    }\n                    else {\n                        someInside = true;\n                    }\n                    // Mercator projects pole points to Infinity, and\n                    // clipPolygon is not able to handle it.\n                    if (xy[1] === Infinity) {\n                        xy[1] = 10e9;\n                    }\n                    else if (xy[1] === -Infinity) {\n                        xy[1] = -10e9;\n                    }\n                    return xy;\n                });\n                if (projectingToPlane) {\n                    // Wrap around in order for pointInPolygon to work\n                    if (isPolygon) {\n                        points.push(points[0]);\n                    }\n                    if (someOutside) {\n                        // All points are outside\n                        if (!someInside) {\n                            return;\n                        }\n                        // Some inside, some outside. Clip to the bounds.\n                        if (boundsPolygon) {\n                            // Polygons\n                            if (isPolygon) {\n                                points = Projection_clipPolygon(points, boundsPolygon);\n                                // Linestrings\n                            }\n                            else if (bounds) {\n                                Projection_clipLineString(points, boundsPolygon)\n                                    .forEach((points) => {\n                                    movedTo = false;\n                                    points.forEach(pushToPath);\n                                });\n                                return;\n                            }\n                        }\n                    }\n                    points.forEach(pushToPath);\n                    // For orthographic projection, or when a clipAngle applies\n                }\n                else {\n                    for (let i = 0; i < points.length; i++) {\n                        const lonLat = poly[i], point = points[i];\n                        if (!point.outside) {\n                            // In order to be able to interpolate if the first\n                            // or last point is invalid (on the far side of the\n                            // globe in an orthographic projection), we need to\n                            // push the first valid point to the end of the\n                            // polygon.\n                            if (isPolygon && !firstValidLonLat) {\n                                firstValidLonLat = lonLat;\n                                poly.push(lonLat);\n                                points.push(point);\n                            }\n                            // When entering the first valid point after a gap\n                            // of invalid points, typically on the far side of\n                            // the globe in an orthographic projection.\n                            if (gap && lastValidLonLat) {\n                                // For areas, in an orthographic projection, the\n                                // great circle between two visible points will\n                                // be close to the horizon. A possible exception\n                                // may be when the two points are on opposite\n                                // sides of the globe. It that poses a problem,\n                                // we may have to rewrite this to use the small\n                                // circle related to the current lon0 and lat0.\n                                if (isPolygon && hasGeoProjection) {\n                                    const geodesic = Projection.geodesic(lastValidLonLat, lonLat);\n                                    geodesic.forEach((lonLat) => pushToPath(postclip.forward(lonLat)));\n                                    // For lines, just jump over the gap\n                                }\n                                else {\n                                    movedTo = false;\n                                }\n                            }\n                            pushToPath(point);\n                            lastValidLonLat = lonLat;\n                            gap = false;\n                        }\n                        else {\n                            gap = true;\n                        }\n                    }\n                }\n            });\n        };\n        if (geometry.type === 'LineString') {\n            addToPath(geometry.coordinates);\n        }\n        else if (geometry.type === 'MultiLineString') {\n            geometry.coordinates.forEach((c) => addToPath(c));\n        }\n        else if (geometry.type === 'Polygon') {\n            geometry.coordinates.forEach((c) => addToPath(c));\n            if (path.length) {\n                path.push(['Z']);\n            }\n        }\n        else if (geometry.type === 'MultiPolygon') {\n            geometry.coordinates.forEach((polygons) => {\n                polygons.forEach((c) => addToPath(c));\n            });\n            if (path.length) {\n                path.push(['Z']);\n            }\n        }\n        return path;\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nProjection.registry = ProjectionRegistry;\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Maps_Projection = (Projection);\n\n;// ./code/es-modules/Maps/MapView.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { composed: MapView_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { pointInPolygon } = Geometry_GeometryUtilities;\nconst { topo2geo } = Maps_GeoJSONComposition;\n\nconst { boundsFromPath: MapView_boundsFromPath } = Maps_MapUtilities;\n\n\nconst { addEvent: MapView_addEvent, clamp: MapView_clamp, crisp, fireEvent: MapView_fireEvent, isArray: MapView_isArray, isNumber: MapView_isNumber, isObject, isString, merge: MapView_merge, pick: MapView_pick, pushUnique: MapView_pushUnique, relativeLength: MapView_relativeLength } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\nconst tileSize = 256;\n/**\n * The world size in terms of 10k meters in the Web Mercator projection, to\n * match a 256 square tile to zoom level 0.\n * @private\n */\nconst worldSize = 400.979322;\n/* *\n *\n *  Variables\n *\n * */\nlet maps = {};\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Compute the zoom from given bounds and the size of the playing field. Used in\n * two places, hence the local function.\n * @private\n */\nfunction zoomFromBounds(b, playingField) {\n    const { width, height } = playingField, scaleToField = Math.max((b.x2 - b.x1) / (width / tileSize), (b.y2 - b.y1) / (height / tileSize));\n    return Math.log(worldSize / scaleToField) / Math.log(2);\n}\n/**\n * Calculate and set the recommended map view drilldown or drillup if mapData\n * is set for the series.\n * @private\n */\nfunction recommendedMapViewAfterDrill(e) {\n    if (e.seriesOptions.mapData) {\n        this.mapView?.recommendMapView(this, [\n            this.options.chart.map,\n            e.seriesOptions.mapData\n        ], this.options.drilldown?.mapZooming);\n    }\n}\n/*\nConst mergeCollections = <\n    T extends Array<AnyRecord|undefined>\n>(a: T, b: T): T => {\n    b.forEach((newer, i): void => {\n        // Only merge by id supported for now. We may consider later to support\n        // more complex rules like those of `Chart.update` with `oneToOne`, but\n        // it is probably not needed. Existing insets can be disabled by\n        // overwriting the `geoBounds` with empty data.\n        if (newer && isString(newer.id)) {\n            const older = U.find(\n                a,\n                (aItem): boolean => (aItem && aItem.id) === newer.id\n            );\n            if (older) {\n                const aIndex = a.indexOf(older);\n                a[aIndex] = merge(older, newer);\n            }\n        }\n    });\n    return a;\n};\n*/\n/* *\n *\n *  Classes\n *\n * */\n/**\n * The map view handles zooming and centering on the map, and various\n * client-side projection capabilities.\n *\n * On a chart instance of `MapChart`, the map view is available as `chart.mapView`.\n *\n * @class\n * @name Highcharts.MapView\n *\n * @param {Highcharts.MapChart} chart\n *        The MapChart instance\n * @param {Highcharts.MapViewOptions} options\n *        MapView options\n */\nclass MapView {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(MapChartClass) {\n        if (MapView_pushUnique(MapView_composed, 'MapView')) {\n            maps = MapChartClass.maps;\n            // Initialize MapView after initialization, but before firstRender\n            MapView_addEvent(MapChartClass, 'afterInit', function () {\n                /**\n                 * The map view handles zooming and centering on the map, and\n                 * various client-side projection capabilities.\n                 *\n                 * @name Highcharts.MapChart#mapView\n                 * @type {Highcharts.MapView|undefined}\n                 */\n                this.mapView = new MapView(this, this.options.mapView);\n            }, { order: 0 });\n            MapView_addEvent(MapChartClass, 'addSeriesAsDrilldown', recommendedMapViewAfterDrill);\n            MapView_addEvent(MapChartClass, 'afterDrillUp', recommendedMapViewAfterDrill);\n        }\n    }\n    /**\n     * Return the composite bounding box of a collection of bounding boxes\n     * @private\n     */\n    static compositeBounds(arrayOfBounds) {\n        if (arrayOfBounds.length) {\n            return arrayOfBounds\n                .slice(1)\n                .reduce((acc, cur) => {\n                acc.x1 = Math.min(acc.x1, cur.x1);\n                acc.y1 = Math.min(acc.y1, cur.y1);\n                acc.x2 = Math.max(acc.x2, cur.x2);\n                acc.y2 = Math.max(acc.y2, cur.y2);\n                return acc;\n            }, MapView_merge(arrayOfBounds[0]));\n        }\n        return;\n    }\n    /**\n     * Merge two collections of insets by the id.\n     * @private\n     */\n    static mergeInsets(a, b) {\n        const toObject = (insets) => {\n            const ob = {};\n            insets.forEach((inset, i) => {\n                ob[inset && inset.id || `i${i}`] = inset;\n            });\n            return ob;\n        };\n        const insetsObj = MapView_merge(toObject(a), toObject(b)), insets = Object\n            .keys(insetsObj)\n            .map((key) => insetsObj[key]);\n        return insets;\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart, options) {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this.allowTransformAnimation = true;\n        this.eventsToUnbind = [];\n        this.insets = [];\n        this.padding = [0, 0, 0, 0];\n        this.recommendedMapView = {};\n        if (!(this instanceof MapViewInset)) {\n            this.recommendMapView(chart, [\n                chart.options.chart.map,\n                ...(chart.options.series || []).map((s) => s.mapData)\n            ]);\n        }\n        this.userOptions = options || {};\n        const o = MapView_merge(Maps_MapViewDefaults, this.recommendedMapView, options);\n        // Merge the inset collections by id, or index if id missing\n        const recInsets = this.recommendedMapView?.insets, optInsets = options && options.insets;\n        if (recInsets && optInsets) {\n            o.insets = MapView.mergeInsets(recInsets, optInsets);\n        }\n        this.chart = chart;\n        /**\n         * The current center of the view in terms of `[longitude, latitude]`.\n         * @name Highcharts.MapView#center\n         * @readonly\n         * @type {LonLatArray}\n         */\n        this.center = o.center;\n        this.options = o;\n        this.projection = new Maps_Projection(o.projection);\n        // Initialize with full plot box so we don't have to check for undefined\n        // every time we use it\n        this.playingField = chart.plotBox;\n        /**\n         * The current zoom level of the view.\n         * @name Highcharts.MapView#zoom\n         * @readonly\n         * @type {number}\n         */\n        this.zoom = o.zoom || 0;\n        this.minZoom = o.minZoom;\n        // Create the insets\n        this.createInsets();\n        // Initialize and respond to chart size changes\n        this.eventsToUnbind.push(MapView_addEvent(chart, 'afterSetChartSize', () => {\n            this.playingField = this.getField();\n            if (this.minZoom === void 0 || // When initializing the chart\n                this.minZoom === this.zoom // When resizing the chart\n            ) {\n                this.fitToBounds(void 0, void 0, false);\n                if (\n                // Set zoom only when initializing the chart\n                // (do not overwrite when zooming in/out, #17082)\n                !this.chart.hasRendered &&\n                    MapView_isNumber(this.userOptions.zoom)) {\n                    this.zoom = this.userOptions.zoom;\n                }\n                if (this.userOptions.center) {\n                    MapView_merge(true, this.center, this.userOptions.center);\n                }\n            }\n        }));\n        this.setUpEvents();\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Create MapViewInset instances from insets options\n     * @private\n     */\n    createInsets() {\n        const options = this.options, insets = options.insets;\n        if (insets) {\n            insets.forEach((item) => {\n                const inset = new MapViewInset(this, MapView_merge(options.insetOptions, item));\n                this.insets.push(inset);\n            });\n        }\n    }\n    /**\n     * Fit the view to given bounds\n     *\n     * @function Highcharts.MapView#fitToBounds\n     * @param {Object} bounds\n     *        Bounds in terms of projected units given as  `{ x1, y1, x2, y2 }`.\n     *        If not set, fit to the bounds of the current data set\n     * @param {number|string} [padding=0]\n     *        Padding inside the bounds. A number signifies pixels, while a\n     *        percentage string (like `5%`) can be used as a fraction of the\n     *        plot area size.\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart immediately\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        What animation to use for redraw\n     */\n    fitToBounds(bounds, padding, redraw = true, animation) {\n        const b = bounds || this.getProjectedBounds();\n        if (b) {\n            const pad = MapView_pick(padding, bounds ? 0 : this.options.padding), fullField = this.getField(false), padArr = MapView_isArray(pad) ? pad : [pad, pad, pad, pad];\n            this.padding = [\n                MapView_relativeLength(padArr[0], fullField.height),\n                MapView_relativeLength(padArr[1], fullField.width),\n                MapView_relativeLength(padArr[2], fullField.height),\n                MapView_relativeLength(padArr[3], fullField.width)\n            ];\n            // Apply the playing field, corrected with padding\n            this.playingField = this.getField();\n            const zoom = zoomFromBounds(b, this.playingField);\n            // Reset minZoom when fitting to natural bounds\n            if (!bounds) {\n                this.minZoom = zoom;\n            }\n            const center = this.projection.inverse([\n                (b.x2 + b.x1) / 2,\n                (b.y2 + b.y1) / 2\n            ]);\n            this.setView(center, zoom, redraw, animation);\n        }\n    }\n    getField(padded = true) {\n        const padding = padded ? this.padding : [0, 0, 0, 0];\n        return {\n            x: padding[3],\n            y: padding[0],\n            width: this.chart.plotWidth - padding[1] - padding[3],\n            height: this.chart.plotHeight - padding[0] - padding[2]\n        };\n    }\n    getGeoMap(map) {\n        if (isString(map)) {\n            if (maps[map] && maps[map].type === 'Topology') {\n                return topo2geo(maps[map]);\n            }\n            return maps[map];\n        }\n        if (isObject(map, true)) {\n            if (map.type === 'FeatureCollection') {\n                return map;\n            }\n            if (map.type === 'Topology') {\n                return topo2geo(map);\n            }\n        }\n    }\n    getMapBBox() {\n        const bounds = this.getProjectedBounds(), scale = this.getScale();\n        if (bounds) {\n            const padding = this.padding, p1 = this.projectedUnitsToPixels({\n                x: bounds.x1,\n                y: bounds.y2\n            }), width = ((bounds.x2 - bounds.x1) * scale +\n                padding[1] + padding[3]), height = ((bounds.y2 - bounds.y1) * scale +\n                padding[0] + padding[2]);\n            return {\n                width,\n                height,\n                x: p1.x - padding[3],\n                y: p1.y - padding[0]\n            };\n        }\n    }\n    getProjectedBounds() {\n        const projection = this.projection;\n        const allBounds = this.chart.series.reduce((acc, s) => {\n            const bounds = s.getProjectedBounds && s.getProjectedBounds();\n            if (bounds &&\n                s.options.affectsMapView !== false) {\n                acc.push(bounds);\n            }\n            return acc;\n        }, []);\n        // The bounds option\n        const fitToGeometry = this.options.fitToGeometry;\n        if (fitToGeometry) {\n            if (!this.fitToGeometryCache) {\n                if (fitToGeometry.type === 'MultiPoint') {\n                    const positions = fitToGeometry.coordinates\n                        .map((lonLat) => projection.forward(lonLat)), xs = positions.map((pos) => pos[0]), ys = positions.map((pos) => pos[1]);\n                    this.fitToGeometryCache = {\n                        x1: Math.min.apply(0, xs),\n                        x2: Math.max.apply(0, xs),\n                        y1: Math.min.apply(0, ys),\n                        y2: Math.max.apply(0, ys)\n                    };\n                }\n                else {\n                    this.fitToGeometryCache = MapView_boundsFromPath(projection.path(fitToGeometry));\n                }\n            }\n            return this.fitToGeometryCache;\n        }\n        return this.projection.bounds || MapView.compositeBounds(allBounds);\n    }\n    getScale() {\n        // A zoom of 0 means the world (360x360 degrees) fits in a 256x256 px\n        // tile\n        return (tileSize / worldSize) * Math.pow(2, this.zoom);\n    }\n    // Calculate the SVG transform to be applied to series groups\n    getSVGTransform() {\n        const { x, y, width, height } = this.playingField, projectedCenter = this.projection.forward(this.center), flipFactor = this.projection.hasCoordinates ? -1 : 1, scaleX = this.getScale(), scaleY = scaleX * flipFactor, translateX = x + width / 2 - projectedCenter[0] * scaleX, translateY = y + height / 2 - projectedCenter[1] * scaleY;\n        return { scaleX, scaleY, translateX, translateY };\n    }\n    /**\n     * Convert map coordinates in longitude/latitude to pixels\n     *\n     * @function Highcharts.MapView#lonLatToPixels\n     * @since 10.0.0\n     * @param  {Highcharts.MapLonLatObject} lonLat\n     *         The map coordinates\n     * @return {Highcharts.PositionObject|undefined}\n     *         The pixel position\n     */\n    lonLatToPixels(lonLat) {\n        const pos = this.lonLatToProjectedUnits(lonLat);\n        if (pos) {\n            return this.projectedUnitsToPixels(pos);\n        }\n    }\n    /**\n     * Get projected units from longitude/latitude. Insets are accounted for.\n     * Returns an object with x and y values corresponding to positions on the\n     * projected plane.\n     *\n     * @requires modules/map\n     *\n     * @function Highcharts.MapView#lonLatToProjectedUnits\n     *\n     * @since 10.0.0\n     * @sample maps/series/latlon-to-point/ Find a point from lon/lat\n     *\n     * @param {Highcharts.MapLonLatObject} lonLat Coordinates.\n     *\n     * @return {Highcharts.ProjectedXY} X and Y coordinates in terms of\n     *      projected values\n     */\n    lonLatToProjectedUnits(lonLat) {\n        const chart = this.chart, mapTransforms = chart.mapTransforms;\n        // Legacy, built-in transforms\n        if (mapTransforms) {\n            for (const transform in mapTransforms) {\n                if (Object.hasOwnProperty.call(mapTransforms, transform) &&\n                    mapTransforms[transform].hitZone) {\n                    const coords = chart.transformFromLatLon(lonLat, mapTransforms[transform]);\n                    if (coords && pointInPolygon(coords, mapTransforms[transform].hitZone.coordinates[0])) {\n                        return coords;\n                    }\n                }\n            }\n            return chart.transformFromLatLon(lonLat, mapTransforms['default'] // eslint-disable-line dot-notation\n            );\n        }\n        // Handle insets\n        for (const inset of this.insets) {\n            if (inset.options.geoBounds &&\n                pointInPolygon({ x: lonLat.lon, y: lonLat.lat }, inset.options.geoBounds.coordinates[0])) {\n                const insetProjectedPoint = inset.projection.forward([lonLat.lon, lonLat.lat]), pxPoint = inset.projectedUnitsToPixels({ x: insetProjectedPoint[0], y: insetProjectedPoint[1] });\n                return this.pixelsToProjectedUnits(pxPoint);\n            }\n        }\n        const point = this.projection.forward([lonLat.lon, lonLat.lat]);\n        if (!point.outside) {\n            return { x: point[0], y: point[1] };\n        }\n    }\n    /**\n     * Calculate longitude/latitude values for a point or position. Returns an\n     * object with the numeric properties `lon` and `lat`.\n     *\n     * @requires modules/map\n     *\n     * @function Highcharts.MapView#projectedUnitsToLonLat\n     *\n     * @since 10.0.0\n     *\n     * @sample maps/demo/latlon-advanced/ Advanced lat/lon demo\n     *\n     * @param {Highcharts.Point|Highcharts.ProjectedXY} point\n     *        A `Point` instance or anything containing `x` and `y` properties\n     *        with numeric values.\n     *\n     * @return {Highcharts.MapLonLatObject|undefined} An object with `lat` and\n     *         `lon` properties.\n     */\n    projectedUnitsToLonLat(point) {\n        const chart = this.chart, mapTransforms = chart.mapTransforms;\n        // Legacy, built-in transforms\n        if (mapTransforms) {\n            for (const transform in mapTransforms) {\n                if (Object.hasOwnProperty.call(mapTransforms, transform) &&\n                    mapTransforms[transform].hitZone &&\n                    pointInPolygon(point, mapTransforms[transform].hitZone.coordinates[0])) {\n                    return chart.transformToLatLon(point, mapTransforms[transform]);\n                }\n            }\n            return chart.transformToLatLon(point, mapTransforms['default'] // eslint-disable-line dot-notation\n            );\n        }\n        const pxPoint = this.projectedUnitsToPixels(point);\n        for (const inset of this.insets) {\n            if (inset.hitZone &&\n                pointInPolygon(pxPoint, inset.hitZone.coordinates[0])) {\n                const insetProjectedPoint = inset\n                    .pixelsToProjectedUnits(pxPoint), coordinates = inset.projection.inverse([insetProjectedPoint.x, insetProjectedPoint.y]);\n                return { lon: coordinates[0], lat: coordinates[1] };\n            }\n        }\n        const coordinates = this.projection.inverse([point.x, point.y]);\n        return { lon: coordinates[0], lat: coordinates[1] };\n    }\n    /**\n     * Calculate and set the recommended map view based on provided map data\n     * from series.\n     *\n     * @requires modules/map\n     *\n     * @function Highcharts.MapView#recommendMapView\n     *\n     * @since 11.4.0\n     *\n     * @param {Highcharts.Chart} chart\n     *        Chart object\n     *\n     * @param {Array<MapDataType | undefined>} mapDataArray\n     *        Array of map data from all series.\n     *\n     * @param {boolean} [update=false]\n     *        Whether to update the chart with recommended map view.\n     *\n     * @return {Highcharts.MapViewOptions|undefined} Best suitable map view.\n     */\n    recommendMapView(chart, mapDataArray, update = false) {\n        // Reset recommended map view\n        this.recommendedMapView = {};\n        // Handle the global map and series-level mapData\n        const geoMaps = mapDataArray.map((mapData) => this.getGeoMap(mapData));\n        const allGeoBounds = [];\n        geoMaps.forEach((geoMap) => {\n            if (geoMap) {\n                // Use the first geo map as main\n                if (!Object.keys(this.recommendedMapView).length) {\n                    this.recommendedMapView =\n                        geoMap['hc-recommended-mapview'] || {};\n                }\n                // Combine the bounding boxes of all loaded maps\n                if (geoMap.bbox) {\n                    const [x1, y1, x2, y2] = geoMap.bbox;\n                    allGeoBounds.push({ x1, y1, x2, y2 });\n                }\n            }\n        });\n        // Get the composite bounds\n        const geoBounds = (allGeoBounds.length &&\n            MapView.compositeBounds(allGeoBounds));\n        // Provide a best-guess recommended projection if not set in\n        // the map or in user options\n        MapView_fireEvent(this, 'onRecommendMapView', {\n            geoBounds,\n            chart\n        }, function () {\n            if (geoBounds &&\n                this.recommendedMapView) {\n                if (!this.recommendedMapView.projection) {\n                    const { x1, y1, x2, y2 } = geoBounds;\n                    this.recommendedMapView.projection =\n                        (x2 - x1 > 180 && y2 - y1 > 90) ?\n                            // Wide angle, go for the world view\n                            {\n                                name: 'EqualEarth',\n                                parallels: [0, 0],\n                                rotation: [0]\n                            } :\n                            // Narrower angle, use a projection better\n                            // suited for local view\n                            {\n                                name: 'LambertConformalConic',\n                                parallels: [y1, y2],\n                                rotation: [-(x1 + x2) / 2]\n                            };\n                }\n                if (!this.recommendedMapView.insets) {\n                    this.recommendedMapView.insets = void 0; // Reset insets\n                }\n            }\n        });\n        // Register the main geo map (from options.chart.map) if set\n        this.geoMap = geoMaps[0];\n        if (update &&\n            chart.hasRendered &&\n            !chart.userOptions.mapView?.projection &&\n            this.recommendedMapView) {\n            this.update(this.recommendedMapView);\n        }\n    }\n    redraw(animation) {\n        this.chart.series.forEach((s) => {\n            if (s.useMapGeometry) {\n                s.isDirty = true;\n            }\n        });\n        this.chart.redraw(animation);\n    }\n    /**\n     * Set the view to given center and zoom values.\n     * @function Highcharts.MapView#setView\n     * @param {Highcharts.LonLatArray|undefined} center\n     *        The center point\n     * @param {number} zoom\n     *        The zoom level\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw immediately\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        Animation options for the redraw\n     *\n     * @sample maps/mapview/setview\n     *        Set the view programmatically\n     */\n    setView(center, zoom, redraw = true, animation) {\n        if (center) {\n            this.center = center;\n        }\n        if (typeof zoom === 'number') {\n            if (typeof this.minZoom === 'number') {\n                zoom = Math.max(zoom, this.minZoom);\n            }\n            if (typeof this.options.maxZoom === 'number') {\n                zoom = Math.min(zoom, this.options.maxZoom);\n            }\n            // Use isNumber to prevent Infinity (#17205)\n            if (MapView_isNumber(zoom)) {\n                this.zoom = zoom;\n            }\n        }\n        const bounds = this.getProjectedBounds();\n        if (bounds) {\n            const projectedCenter = this.projection.forward(this.center), { x, y, width, height } = this.playingField, scale = this.getScale(), bottomLeft = this.projectedUnitsToPixels({\n                x: bounds.x1,\n                y: bounds.y1\n            }), topRight = this.projectedUnitsToPixels({\n                x: bounds.x2,\n                y: bounds.y2\n            }), boundsCenterProjected = [\n                (bounds.x1 + bounds.x2) / 2,\n                (bounds.y1 + bounds.y2) / 2\n            ], isDrilling = this.chart.series.some((series) => series.isDrilling);\n            if (!isDrilling) {\n                // Constrain to data bounds\n                // Pixel coordinate system is reversed vs projected\n                const x1 = bottomLeft.x, y1 = topRight.y, x2 = topRight.x, y2 = bottomLeft.y;\n                // Map smaller than plot area, center it\n                if (x2 - x1 < width) {\n                    projectedCenter[0] = boundsCenterProjected[0];\n                    // Off west\n                }\n                else if (x1 < x && x2 < x + width) {\n                    // Adjust eastwards\n                    projectedCenter[0] +=\n                        Math.max(x1 - x, x2 - width - x) / scale;\n                    // Off east\n                }\n                else if (x2 > x + width && x1 > x) {\n                    // Adjust westwards\n                    projectedCenter[0] +=\n                        Math.min(x2 - width - x, x1 - x) / scale;\n                }\n                // Map smaller than plot area, center it\n                if (y2 - y1 < height) {\n                    projectedCenter[1] = boundsCenterProjected[1];\n                    // Off north\n                }\n                else if (y1 < y && y2 < y + height) {\n                    // Adjust southwards\n                    projectedCenter[1] -=\n                        Math.max(y1 - y, y2 - height - y) / scale;\n                    // Off south\n                }\n                else if (y2 > y + height && y1 > y) {\n                    // Adjust northwards\n                    projectedCenter[1] -=\n                        Math.min(y2 - height - y, y1 - y) / scale;\n                }\n                this.center = this.projection.inverse(projectedCenter);\n            }\n            this.insets.forEach((inset) => {\n                if (inset.options.field) {\n                    inset.hitZone = inset.getHitZone();\n                    inset.playingField = inset.getField();\n                }\n            });\n            this.render();\n        }\n        MapView_fireEvent(this, 'afterSetView');\n        if (redraw) {\n            this.redraw(animation);\n        }\n    }\n    /**\n     * Convert projected units to pixel position\n     *\n     * @function Highcharts.MapView#projectedUnitsToPixels\n     * @param {Highcharts.PositionObject} pos\n     *        The position in projected units\n     * @return {Highcharts.PositionObject} The position in pixels\n     */\n    projectedUnitsToPixels(pos) {\n        const scale = this.getScale(), projectedCenter = this.projection.forward(this.center), field = this.playingField, centerPxX = field.x + field.width / 2, centerPxY = field.y + field.height / 2;\n        const x = centerPxX - scale * (projectedCenter[0] - pos.x);\n        const y = centerPxY + scale * (projectedCenter[1] - pos.y);\n        return { x, y };\n    }\n    /**\n     * Convert pixel position to longitude and latitude.\n     *\n     * @function Highcharts.MapView#pixelsToLonLat\n     * @since 10.0.0\n     * @param  {Highcharts.PositionObject} pos\n     *         The position in pixels\n     * @return {Highcharts.MapLonLatObject|undefined}\n     *         The map coordinates\n     */\n    pixelsToLonLat(pos) {\n        return this.projectedUnitsToLonLat(this.pixelsToProjectedUnits(pos));\n    }\n    /**\n     * Convert pixel position to projected units\n     *\n     * @function Highcharts.MapView#pixelsToProjectedUnits\n     * @param {Highcharts.PositionObject} pos\n     *        The position in pixels\n     * @return {Highcharts.PositionObject} The position in projected units\n     */\n    pixelsToProjectedUnits(pos) {\n        const { x, y } = pos, scale = this.getScale(), projectedCenter = this.projection.forward(this.center), field = this.playingField, centerPxX = field.x + field.width / 2, centerPxY = field.y + field.height / 2;\n        const projectedX = projectedCenter[0] + (x - centerPxX) / scale;\n        const projectedY = projectedCenter[1] - (y - centerPxY) / scale;\n        return { x: projectedX, y: projectedY };\n    }\n    setUpEvents() {\n        const { chart } = this;\n        // Set up panning and touch zoom for maps. In orthographic projections\n        // the globe will rotate, otherwise adjust the map center and zoom.\n        let mouseDownCenterProjected, mouseDownKey, mouseDownRotation;\n        const onPan = (e) => {\n            const { lastTouches, pinchDown } = chart.pointer, projection = this.projection, touches = e.touches;\n            let { mouseDownX, mouseDownY } = chart, howMuch = 0;\n            if (pinchDown?.length === 1) {\n                mouseDownX = pinchDown[0].chartX;\n                mouseDownY = pinchDown[0].chartY;\n            }\n            else if (pinchDown?.length === 2) {\n                mouseDownX = (pinchDown[0].chartX + pinchDown[1].chartX) / 2;\n                mouseDownY = (pinchDown[0].chartY + pinchDown[1].chartY) / 2;\n            }\n            // How much has the distance between the fingers changed?\n            if (touches?.length === 2 && lastTouches) {\n                const startDistance = Math.sqrt(Math.pow(lastTouches[0].chartX - lastTouches[1].chartX, 2) +\n                    Math.pow(lastTouches[0].chartY - lastTouches[1].chartY, 2)), endDistance = Math.sqrt(Math.pow(touches[0].chartX - touches[1].chartX, 2) +\n                    Math.pow(touches[0].chartY - touches[1].chartY, 2));\n                howMuch = Math.log(startDistance / endDistance) / Math.log(0.5);\n            }\n            if (MapView_isNumber(mouseDownX) && MapView_isNumber(mouseDownY)) {\n                const key = `${mouseDownX},${mouseDownY}`;\n                let { chartX, chartY } = e.originalEvent;\n                if (touches?.length === 2) {\n                    chartX = (touches[0].chartX + touches[1].chartX) / 2;\n                    chartY = (touches[0].chartY + touches[1].chartY) / 2;\n                }\n                // Reset starting position\n                if (key !== mouseDownKey) {\n                    mouseDownKey = key;\n                    mouseDownCenterProjected = this.projection\n                        .forward(this.center);\n                    mouseDownRotation = (this.projection.options.rotation || [0, 0]).slice();\n                }\n                // Get the natural zoom level of the projection itself when\n                // zoomed to view the full world\n                const worldBounds = projection.def && projection.def.bounds, worldZoom = (worldBounds &&\n                    zoomFromBounds(worldBounds, this.playingField)) || -Infinity;\n                // Panning rotates the globe\n                if (projection.options.name === 'Orthographic' &&\n                    (touches?.length || 0) < 2 &&\n                    // ... but don't rotate if we're loading only a part of the\n                    // world\n                    (this.minZoom || Infinity) < worldZoom * 1.3) {\n                    // Empirical ratio where the globe rotates roughly the same\n                    // speed as moving the pointer across the center of the\n                    // projection\n                    const ratio = 440 / (this.getScale() * Math.min(chart.plotWidth, chart.plotHeight));\n                    if (mouseDownRotation) {\n                        const lon = (mouseDownX - chartX) * ratio -\n                            mouseDownRotation[0], lat = MapView_clamp(-mouseDownRotation[1] -\n                            (mouseDownY - chartY) * ratio, -80, 80), zoom = this.zoom;\n                        this.update({\n                            projection: {\n                                rotation: [-lon, -lat]\n                            }\n                        }, false);\n                        this.fitToBounds(void 0, void 0, false);\n                        this.zoom = zoom;\n                        chart.redraw(false);\n                    }\n                    // #17925 Skip NaN values\n                }\n                else if (MapView_isNumber(chartX) && MapView_isNumber(chartY)) {\n                    // #17238\n                    const scale = this.getScale(), flipFactor = this.projection.hasCoordinates ? 1 : -1;\n                    const newCenter = this.projection.inverse([\n                        mouseDownCenterProjected[0] +\n                            (mouseDownX - chartX) / scale,\n                        mouseDownCenterProjected[1] -\n                            (mouseDownY - chartY) / scale * flipFactor\n                    ]);\n                    // #19190 Skip NaN coords\n                    if (!isNaN(newCenter[0] + newCenter[1])) {\n                        this.zoomBy(howMuch, newCenter, void 0, false);\n                    }\n                }\n                e.preventDefault();\n            }\n        };\n        MapView_addEvent(chart, 'pan', onPan);\n        MapView_addEvent(chart, 'touchpan', onPan);\n        // Perform the map zoom by selection\n        MapView_addEvent(chart, 'selection', (evt) => {\n            // Zoom in\n            if (!evt.resetSelection) {\n                const x = evt.x - chart.plotLeft;\n                const y = evt.y - chart.plotTop;\n                const { y: y1, x: x1 } = this.pixelsToProjectedUnits({ x, y });\n                const { y: y2, x: x2 } = this.pixelsToProjectedUnits({ x: x + evt.width, y: y + evt.height });\n                this.fitToBounds({ x1, y1, x2, y2 }, void 0, true, evt.originalEvent.touches ?\n                    // On touch zoom, don't animate, since we're already in\n                    // transformed zoom preview\n                    false :\n                    // On mouse zoom, obey the chart-level animation\n                    void 0);\n                // Only for mouse. Touch users can pinch out.\n                if (!/^touch/.test((evt.originalEvent.type))) {\n                    chart.showResetZoom();\n                }\n                evt.preventDefault();\n                // Reset zoom\n            }\n            else {\n                this.zoomBy();\n            }\n        });\n    }\n    render() {\n        // We need a group for the insets\n        if (!this.group) {\n            this.group = this.chart.renderer.g('map-view')\n                .attr({ zIndex: 4 })\n                .add();\n        }\n    }\n    /**\n     * Update the view with given options\n     *\n     * @function Highcharts.MapView#update\n     *\n     * @param {Partial<Highcharts.MapViewOptions>} options\n     *        The new map view options to apply\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw immediately\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        The animation to apply to a the redraw\n     */\n    update(options, redraw = true, animation) {\n        const newProjection = options.projection, isDirtyProjection = newProjection && ((Maps_Projection.toString(newProjection) !==\n            Maps_Projection.toString(this.options.projection)));\n        let isDirtyInsets = false;\n        MapView_merge(true, this.userOptions, options);\n        MapView_merge(true, this.options, options);\n        // If anything changed with the insets, destroy them all and create\n        // again below\n        if ('insets' in options) {\n            this.insets.forEach((inset) => inset.destroy());\n            this.insets.length = 0;\n            isDirtyInsets = true;\n        }\n        if (isDirtyProjection || 'fitToGeometry' in options) {\n            delete this.fitToGeometryCache;\n        }\n        if (isDirtyProjection || isDirtyInsets) {\n            this.chart.series.forEach((series) => {\n                const groups = series.transformGroups;\n                if (series.clearBounds) {\n                    series.clearBounds();\n                }\n                series.isDirty = true;\n                series.isDirtyData = true;\n                // Destroy inset transform groups\n                if (isDirtyInsets && groups) {\n                    while (groups.length > 1) {\n                        const group = groups.pop();\n                        if (group) {\n                            group.destroy();\n                        }\n                    }\n                }\n            });\n            if (isDirtyProjection) {\n                this.projection = new Maps_Projection(this.options.projection);\n            }\n            // Create new insets\n            if (isDirtyInsets) {\n                this.createInsets();\n            }\n            // Fit to natural bounds if center/zoom are not explicitly given\n            if (!options.center &&\n                // Do not fire fitToBounds if user don't want to set zoom\n                Object.hasOwnProperty.call(options, 'zoom') &&\n                !MapView_isNumber(options.zoom)) {\n                this.fitToBounds(void 0, void 0, false);\n            }\n        }\n        if (options.center || MapView_isNumber(options.zoom)) {\n            this.setView(this.options.center, options.zoom, false);\n        }\n        else if ('fitToGeometry' in options) {\n            this.fitToBounds(void 0, void 0, false);\n        }\n        if (redraw) {\n            this.chart.redraw(animation);\n        }\n    }\n    /**\n     * Zoom the map view by a given number\n     *\n     * @function Highcharts.MapView#zoomBy\n     *\n     * @param {number|undefined} [howMuch]\n     *        The amount of zoom to apply. 1 zooms in on half the current view,\n     *        -1 zooms out. Pass `undefined` to zoom to the full bounds of the\n     *        map.\n     * @param {Highcharts.LonLatArray} [coords]\n     *        Optional map coordinates to keep fixed\n     * @param {Array<number>} [chartCoords]\n     *        Optional chart coordinates to keep fixed, in pixels\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     *        The animation to apply to a the redraw\n     */\n    zoomBy(howMuch, coords, chartCoords, animation) {\n        const chart = this.chart, projectedCenter = this.projection.forward(this.center);\n        if (typeof howMuch === 'number') {\n            const zoom = this.zoom + howMuch;\n            let center, x, y;\n            // Keep chartX and chartY stationary - convert to lat and lng\n            if (chartCoords) {\n                const [chartX, chartY] = chartCoords;\n                const scale = this.getScale();\n                const offsetX = chartX - chart.plotLeft - chart.plotWidth / 2;\n                const offsetY = chartY - chart.plotTop - chart.plotHeight / 2;\n                x = projectedCenter[0] + offsetX / scale;\n                y = projectedCenter[1] + offsetY / scale;\n            }\n            // Keep lon and lat stationary by adjusting the center\n            if (typeof x === 'number' && typeof y === 'number') {\n                const scale = 1 - Math.pow(2, this.zoom) / Math.pow(2, zoom);\n                const offsetX = projectedCenter[0] - x;\n                const offsetY = projectedCenter[1] - y;\n                projectedCenter[0] -= offsetX * scale;\n                projectedCenter[1] += offsetY * scale;\n                center = this.projection.inverse(projectedCenter);\n            }\n            this.setView(coords || center, zoom, void 0, animation);\n            // Undefined howMuch => reset zoom\n        }\n        else {\n            this.fitToBounds(void 0, void 0, void 0, animation);\n        }\n    }\n}\n// Putting this in the same file due to circular dependency with MapView\nclass MapViewInset extends MapView {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(mapView, options) {\n        super(mapView.chart, options);\n        this.id = options.id;\n        this.mapView = mapView;\n        this.options = MapView_merge({ center: [0, 0] }, mapView.options.insetOptions, options);\n        this.allBounds = [];\n        if (this.options.geoBounds) {\n            // The path in projected units in the map view's main projection.\n            // This is used for hit testing where the points should render.\n            const path = mapView.projection.path(this.options.geoBounds);\n            this.geoBoundsProjectedBox = MapView_boundsFromPath(path);\n            this.geoBoundsProjectedPolygon = path.map((segment) => [\n                segment[1] || 0,\n                segment[2] || 0\n            ]);\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Get the playing field in pixels\n     * @private\n     */\n    getField(padded = true) {\n        const hitZone = this.hitZone;\n        if (hitZone) {\n            const padding = padded ? this.padding : [0, 0, 0, 0], polygon = hitZone.coordinates[0], xs = polygon.map((xy) => xy[0]), ys = polygon.map((xy) => xy[1]), x = Math.min.apply(0, xs) + padding[3], x2 = Math.max.apply(0, xs) - padding[1], y = Math.min.apply(0, ys) + padding[0], y2 = Math.max.apply(0, ys) - padding[2];\n            if (MapView_isNumber(x) && MapView_isNumber(y)) {\n                return {\n                    x,\n                    y,\n                    width: x2 - x,\n                    height: y2 - y\n                };\n            }\n        }\n        // Fall back to plot area\n        return super.getField.call(this, padded);\n    }\n    /**\n     * Get the hit zone in pixels.\n     * @private\n     */\n    getHitZone() {\n        const { chart, mapView, options } = this, { coordinates } = options.field || {};\n        if (coordinates) {\n            let polygon = coordinates[0];\n            if (options.units === 'percent') {\n                const relativeTo = options.relativeTo === 'mapBoundingBox' &&\n                    mapView.getMapBBox() ||\n                    MapView_merge(chart.plotBox, { x: 0, y: 0 });\n                polygon = polygon.map((xy) => [\n                    MapView_relativeLength(`${xy[0]}%`, relativeTo.width, relativeTo.x),\n                    MapView_relativeLength(`${xy[1]}%`, relativeTo.height, relativeTo.y)\n                ]);\n            }\n            return {\n                type: 'Polygon',\n                coordinates: [polygon]\n            };\n        }\n    }\n    getProjectedBounds() {\n        return MapView.compositeBounds(this.allBounds);\n    }\n    /**\n     * Determine whether a point on the main projected plane is inside the\n     * geoBounds of the inset.\n     * @private\n     */\n    isInside(point) {\n        const { geoBoundsProjectedBox, geoBoundsProjectedPolygon } = this;\n        return Boolean(\n        // First we do a pre-pass to check whether the test point is inside\n        // the rectangular bounding box of the polygon. This is less\n        // expensive and will rule out most cases.\n        geoBoundsProjectedBox &&\n            point.x >= geoBoundsProjectedBox.x1 &&\n            point.x <= geoBoundsProjectedBox.x2 &&\n            point.y >= geoBoundsProjectedBox.y1 &&\n            point.y <= geoBoundsProjectedBox.y2 &&\n            // Next, do the more expensive check whether the point is inside the\n            // polygon itself.\n            geoBoundsProjectedPolygon &&\n            pointInPolygon(point, geoBoundsProjectedPolygon));\n    }\n    /**\n     * Render the map view inset with the border path\n     * @private\n     */\n    render() {\n        const { chart, mapView, options } = this, borderPath = options.borderPath || options.field;\n        if (borderPath && mapView.group) {\n            let animate = true;\n            if (!this.border) {\n                this.border = chart.renderer\n                    .path()\n                    .addClass('highcharts-mapview-inset-border')\n                    .add(mapView.group);\n                animate = false;\n            }\n            if (!chart.styledMode) {\n                this.border.attr({\n                    stroke: options.borderColor,\n                    'stroke-width': options.borderWidth\n                });\n            }\n            const strokeWidth = this.border.strokeWidth(), field = (options.relativeTo === 'mapBoundingBox' &&\n                mapView.getMapBBox()) || mapView.playingField;\n            const d = (borderPath.coordinates || []).reduce((d, lineString) => lineString.reduce((d, point, i) => {\n                let [x, y] = point;\n                if (options.units === 'percent') {\n                    x = chart.plotLeft + MapView_relativeLength(`${x}%`, field.width, field.x);\n                    y = chart.plotTop + MapView_relativeLength(`${y}%`, field.height, field.y);\n                }\n                x = crisp(x, strokeWidth);\n                y = crisp(y, strokeWidth);\n                d.push(i === 0 ? ['M', x, y] : ['L', x, y]);\n                return d;\n            }, d), []);\n            // Apply the border path\n            this.border[animate ? 'animate' : 'attr']({ d });\n        }\n    }\n    destroy() {\n        if (this.border) {\n            this.border = this.border.destroy();\n        }\n        this.eventsToUnbind.forEach((f) => f());\n    }\n    /**\n     * No chart-level events for insets\n     * @private\n     */\n    setUpEvents() { }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Maps_MapView = (MapView);\n\n;// ./code/es-modules/Series/Map/MapSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject, stop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { splitPath } = Chart_MapChart;\n\n\n\n\nconst { \n// Indirect dependency to keep product size low\ncolumn: ColumnSeries, scatter: ScatterSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { extend: MapSeries_extend, find, fireEvent: MapSeries_fireEvent, getNestedProperty, isArray: MapSeries_isArray, defined: MapSeries_defined, isNumber: MapSeries_isNumber, isObject: MapSeries_isObject, merge: MapSeries_merge, objectEach: MapSeries_objectEach, pick: MapSeries_pick, splat: MapSeries_splat } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.map\n *\n * @augments Highcharts.Series\n */\nclass MapSeries extends ScatterSeries {\n    constructor() {\n        /* *\n         *\n         *  Static Properties\n         *\n         * */\n        super(...arguments);\n        this.processedData = [];\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * The initial animation for the map series. By default, animation is\n     * disabled.\n     * @private\n     */\n    animate(init) {\n        const { chart, group } = this, animation = animObject(this.options.animation);\n        // Initialize the animation\n        if (init) {\n            // Scale down the group and place it in the center\n            group.attr({\n                translateX: chart.plotLeft + chart.plotWidth / 2,\n                translateY: chart.plotTop + chart.plotHeight / 2,\n                scaleX: 0.001, // #1499\n                scaleY: 0.001\n            });\n            // Run the animation\n        }\n        else {\n            group.animate({\n                translateX: chart.plotLeft,\n                translateY: chart.plotTop,\n                scaleX: 1,\n                scaleY: 1\n            }, animation);\n        }\n    }\n    clearBounds() {\n        this.points.forEach((point) => {\n            delete point.bounds;\n            delete point.insetIndex;\n            delete point.projectedPath;\n        });\n        delete this.bounds;\n    }\n    /**\n     * Allow a quick redraw by just translating the area group. Used for zooming\n     * and panning in capable browsers.\n     * @private\n     */\n    doFullTranslate() {\n        return Boolean(this.isDirtyData ||\n            this.chart.isResizing ||\n            !this.hasRendered);\n    }\n    /**\n     * Draw the data labels. Special for maps is the time that the data labels\n     * are drawn (after points), and the clipping of the dataLabelsGroup.\n     * @private\n     */\n    drawMapDataLabels() {\n        super.drawDataLabels();\n        if (this.dataLabelsGroup) {\n            this.dataLabelsGroup.clip(this.chart.clipRect);\n        }\n    }\n    /**\n     * Use the drawPoints method of column, that is able to handle simple\n     * shapeArgs. Extend it by assigning the tooltip position.\n     * @private\n     */\n    drawPoints() {\n        const series = this, { chart, group, transformGroups = [] } = this, { mapView, renderer } = chart;\n        if (!mapView) {\n            return;\n        }\n        // Set groups that handle transform during zooming and panning in order\n        // to preserve clipping on series.group\n        this.transformGroups = transformGroups;\n        if (!transformGroups[0]) {\n            transformGroups[0] = renderer.g().add(group);\n        }\n        for (let i = 0, iEnd = mapView.insets.length; i < iEnd; ++i) {\n            if (!transformGroups[i + 1]) {\n                transformGroups.push(renderer.g().add(group));\n            }\n        }\n        // Draw the shapes again\n        if (this.doFullTranslate()) {\n            // Individual point actions.\n            this.points.forEach((point) => {\n                const { graphic } = point;\n                // Points should be added in the corresponding transform group\n                point.group = transformGroups[typeof point.insetIndex === 'number' ?\n                    point.insetIndex + 1 :\n                    0];\n                // When the point has been moved between insets after\n                // MapView.update\n                if (graphic && graphic.parentGroup !== point.group) {\n                    graphic.add(point.group);\n                }\n            });\n            // Draw the points\n            ColumnSeries.prototype.drawPoints.apply(this);\n            // Add class names\n            this.points.forEach((point) => {\n                const graphic = point.graphic;\n                if (graphic) {\n                    const animate = graphic.animate;\n                    let className = '';\n                    if (point.name) {\n                        className +=\n                            'highcharts-name-' +\n                                point.name.replace(/ /g, '-').toLowerCase();\n                    }\n                    if (point.properties && point.properties['hc-key']) {\n                        className +=\n                            ' highcharts-key-' +\n                                point.properties['hc-key'].toString().toLowerCase();\n                    }\n                    if (className) {\n                        graphic.addClass(className);\n                    }\n                    // In styled mode, apply point colors by CSS\n                    if (chart.styledMode) {\n                        graphic.css(this.pointAttribs(point, point.selected && 'select' || void 0));\n                    }\n                    // If the map point is not visible and is not null (e.g.\n                    // hidden by data classes), then the point should be\n                    // visible, but without value\n                    graphic.attr({\n                        visibility: (point.visible ||\n                            (!point.visible && !point.isNull)) ? 'inherit' : 'hidden'\n                    });\n                    graphic.animate = function (params, options, complete) {\n                        const animateIn = (MapSeries_isNumber(params['stroke-width']) &&\n                            !MapSeries_isNumber(graphic['stroke-width'])), animateOut = (MapSeries_isNumber(graphic['stroke-width']) &&\n                            !MapSeries_isNumber(params['stroke-width']));\n                        // When strokeWidth is animating\n                        if (animateIn || animateOut) {\n                            const strokeWidth = MapSeries_pick(series.getStrokeWidth(series.options), 1 // Styled mode\n                            ), inheritedStrokeWidth = (strokeWidth /\n                                (chart.mapView &&\n                                    chart.mapView.getScale() ||\n                                    1));\n                            // For animating from undefined, .attr() reads the\n                            // property as the starting point\n                            if (animateIn) {\n                                graphic['stroke-width'] = inheritedStrokeWidth;\n                            }\n                            // For animating to undefined\n                            if (animateOut) {\n                                params['stroke-width'] = inheritedStrokeWidth;\n                            }\n                        }\n                        const ret = animate.call(graphic, params, options, animateOut ? function () {\n                            // Remove the attribute after finished animation\n                            graphic.element.removeAttribute('stroke-width');\n                            delete graphic['stroke-width'];\n                            // Proceed\n                            if (complete) {\n                                complete.apply(this, arguments);\n                            }\n                        } : complete);\n                        return ret;\n                    };\n                }\n            });\n        }\n        // Apply the SVG transform\n        transformGroups.forEach((transformGroup, i) => {\n            const view = i === 0 ? mapView : mapView.insets[i - 1], svgTransform = view.getSVGTransform(), strokeWidth = MapSeries_pick(this.getStrokeWidth(this.options), 1 // Styled mode\n            );\n            /*\n            Animate or move to the new zoom level. In order to prevent\n            flickering as the different transform components are set out of sync\n            (#5991), we run a fake animator attribute and set scale and\n            translation synchronously in the same step.\n\n            A possible improvement to the API would be to handle this in the\n            renderer or animation engine itself, to ensure that when we are\n            animating multiple properties, we make sure that each step for each\n            property is performed in the same step. Also, for symbols and for\n            transform properties, it should induce a single updateTransform and\n            symbolAttr call.\n            */\n            const scale = svgTransform.scaleX, flipFactor = svgTransform.scaleY > 0 ? 1 : -1;\n            const animatePoints = (scale) => {\n                (series.points || []).forEach((point) => {\n                    const graphic = point.graphic;\n                    let strokeWidth;\n                    if (graphic &&\n                        graphic['stroke-width'] &&\n                        (strokeWidth = this.getStrokeWidth(point.options))) {\n                        graphic.attr({\n                            'stroke-width': strokeWidth / scale\n                        });\n                    }\n                });\n            };\n            if (renderer.globalAnimation &&\n                chart.hasRendered &&\n                mapView.allowTransformAnimation) {\n                const startTranslateX = Number(transformGroup.attr('translateX'));\n                const startTranslateY = Number(transformGroup.attr('translateY'));\n                const startScale = Number(transformGroup.attr('scaleX'));\n                const step = (now, fx) => {\n                    const scaleStep = startScale +\n                        (scale - startScale) * fx.pos;\n                    transformGroup.attr({\n                        translateX: (startTranslateX + (svgTransform.translateX - startTranslateX) * fx.pos),\n                        translateY: (startTranslateY + (svgTransform.translateY - startTranslateY) * fx.pos),\n                        scaleX: scaleStep,\n                        scaleY: scaleStep * flipFactor,\n                        'stroke-width': strokeWidth / scaleStep\n                    });\n                    animatePoints(scaleStep); // #18166\n                };\n                const animOptions = MapSeries_merge(animObject(renderer.globalAnimation)), userStep = animOptions.step;\n                animOptions.step = function () {\n                    if (userStep) {\n                        userStep.apply(this, arguments);\n                    }\n                    step.apply(this, arguments);\n                };\n                transformGroup\n                    .attr({ animator: 0 })\n                    .animate({ animator: 1 }, animOptions, function () {\n                    if (typeof renderer.globalAnimation !== 'boolean' &&\n                        renderer.globalAnimation.complete) {\n                        // Fire complete only from this place\n                        renderer.globalAnimation.complete({\n                            applyDrilldown: true\n                        });\n                    }\n                    MapSeries_fireEvent(this, 'mapZoomComplete');\n                }.bind(this));\n                // When dragging or first rendering, animation is off\n            }\n            else {\n                stop(transformGroup);\n                transformGroup.attr(MapSeries_merge(svgTransform, { 'stroke-width': strokeWidth / scale }));\n                animatePoints(scale); // #18166\n            }\n        });\n        if (!this.isDrilling) {\n            this.drawMapDataLabels();\n        }\n    }\n    /**\n     * Get the bounding box of all paths in the map combined.\n     *\n     */\n    getProjectedBounds() {\n        if (!this.bounds && this.chart.mapView) {\n            const { insets, projection } = this.chart.mapView, allBounds = [];\n            // Find the bounding box of each point\n            (this.points || []).forEach((point) => {\n                if (point.path || point.geometry) {\n                    // @todo Try to put these two conversions in\n                    // MapPoint.applyOptions\n                    if (typeof point.path === 'string') {\n                        point.path = splitPath(point.path);\n                        // Legacy one-dimensional array\n                    }\n                    else if (MapSeries_isArray(point.path) &&\n                        point.path[0] === 'M') {\n                        point.path = this.chart.renderer\n                            .pathToSegments(point.path);\n                    }\n                    // The first time a map point is used, analyze its box\n                    if (!point.bounds) {\n                        let bounds = point.getProjectedBounds(projection);\n                        if (bounds) {\n                            point.labelrank = MapSeries_pick(point.labelrank, \n                            // Bigger shape, higher rank\n                            ((bounds.x2 - bounds.x1) *\n                                (bounds.y2 - bounds.y1)));\n                            const { midX, midY } = bounds;\n                            if (insets && MapSeries_isNumber(midX) && MapSeries_isNumber(midY)) {\n                                const inset = find(insets, (inset) => inset.isInside({\n                                    x: midX, y: midY\n                                }));\n                                if (inset) {\n                                    // Project again, but with the inset\n                                    // projection\n                                    delete point.projectedPath;\n                                    bounds = point.getProjectedBounds(inset.projection);\n                                    if (bounds) {\n                                        inset.allBounds.push(bounds);\n                                    }\n                                    point.insetIndex = insets.indexOf(inset);\n                                }\n                            }\n                            point.bounds = bounds;\n                        }\n                    }\n                    if (point.bounds && point.insetIndex === void 0) {\n                        allBounds.push(point.bounds);\n                    }\n                }\n            });\n            this.bounds = Maps_MapView.compositeBounds(allBounds);\n        }\n        return this.bounds;\n    }\n    /**\n     * Return the stroke-width either from a series options or point options\n     * object. This function is used by both the map series where the\n     * `borderWidth` sets the stroke-width, and the mapline series where the\n     * `lineWidth` sets the stroke-width.\n     * @private\n     */\n    getStrokeWidth(options) {\n        const pointAttrToOptions = this.pointAttrToOptions;\n        return options[pointAttrToOptions &&\n            pointAttrToOptions['stroke-width'] || 'borderWidth'];\n    }\n    /**\n     * Define hasData function for non-cartesian series. Returns true if the\n     * series has points at all.\n     * @private\n     */\n    hasData() {\n        return !!this.dataTable.rowCount;\n    }\n    /**\n     * Get presentational attributes. In the maps series this runs in both\n     * styled and non-styled mode, because colors hold data when a colorAxis is\n     * used.\n     * @private\n     */\n    pointAttribs(point, state) {\n        const { mapView, styledMode } = point.series.chart;\n        const attr = styledMode ?\n            this.colorAttribs(point) :\n            ColumnSeries.prototype.pointAttribs.call(this, point, state);\n        // Individual stroke width\n        let pointStrokeWidth = this.getStrokeWidth(point.options);\n        // Handle state specific border or line width\n        if (state) {\n            const stateOptions = MapSeries_merge(this.options.states &&\n                this.options.states[state], point.options.states &&\n                point.options.states[state] ||\n                {}), stateStrokeWidth = this.getStrokeWidth(stateOptions);\n            if (MapSeries_defined(stateStrokeWidth)) {\n                pointStrokeWidth = stateStrokeWidth;\n            }\n            attr.stroke = stateOptions.borderColor ?? point.color;\n        }\n        if (pointStrokeWidth && mapView) {\n            pointStrokeWidth /= mapView.getScale();\n        }\n        // In order for dash style to avoid being scaled, set the transformed\n        // stroke width on the item\n        const seriesStrokeWidth = this.getStrokeWidth(this.options);\n        if (attr.dashstyle &&\n            mapView &&\n            MapSeries_isNumber(seriesStrokeWidth)) {\n            pointStrokeWidth = seriesStrokeWidth / mapView.getScale();\n        }\n        // Invisible map points means that the data value is removed from the\n        // map, but not the map area shape itself. Instead it is rendered like a\n        // null point. To fully remove a map area, it should be removed from the\n        // mapData.\n        if (!point.visible) {\n            attr.fill = this.options.nullColor;\n        }\n        if (MapSeries_defined(pointStrokeWidth)) {\n            attr['stroke-width'] = pointStrokeWidth;\n        }\n        else {\n            delete attr['stroke-width'];\n        }\n        attr['stroke-linecap'] = attr['stroke-linejoin'] = this.options.linecap;\n        return attr;\n    }\n    updateData() {\n        // #16782\n        if (this.processedData) {\n            return false;\n        }\n        return super.updateData.apply(this, arguments);\n    }\n    /**\n     * Extend setData to call processData and generatePoints immediately.\n     * @private\n     */\n    setData(data, redraw = true, animation, updatePoints) {\n        delete this.bounds;\n        super.setData(data, false, void 0, updatePoints);\n        this.processData();\n        this.generatePoints();\n        if (redraw) {\n            this.chart.redraw(animation);\n        }\n    }\n    dataColumnKeys() {\n        // No x data for maps\n        return this.pointArrayMap;\n    }\n    /**\n     * Extend processData to join in mapData. If the allAreas option is true,\n     * all areas from the mapData are used, and those that don't correspond to a\n     * data value are given null values. The results are stored in\n     * `processedData` in order to avoid mutating `data`.\n     * @private\n     */\n    processData() {\n        const options = this.options, data = options.data, chart = this.chart, chartOptions = chart.options.chart, joinBy = this.joinBy, pointArrayMap = options.keys || this.pointArrayMap, dataUsed = [], mapMap = {}, mapView = this.chart.mapView, mapDataObject = mapView && (\n        // Get map either from series or global\n        MapSeries_isObject(options.mapData, true) ?\n            mapView.getGeoMap(options.mapData) : mapView.geoMap), \n        // Pick up transform definitions for chart\n        mapTransforms = chart.mapTransforms =\n            chartOptions.mapTransforms ||\n                mapDataObject && mapDataObject['hc-transform'] ||\n                chart.mapTransforms;\n        let mapPoint, props;\n        // Cache cos/sin of transform rotation angle\n        if (mapTransforms) {\n            MapSeries_objectEach(mapTransforms, (transform) => {\n                if (transform.rotation) {\n                    transform.cosAngle = Math.cos(transform.rotation);\n                    transform.sinAngle = Math.sin(transform.rotation);\n                }\n            });\n        }\n        let mapData;\n        if (MapSeries_isArray(options.mapData)) {\n            mapData = options.mapData;\n        }\n        else if (mapDataObject && mapDataObject.type === 'FeatureCollection') {\n            this.mapTitle = mapDataObject.title;\n            mapData = highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().geojson(mapDataObject, this.type, this);\n        }\n        // Reset processedData\n        this.processedData = [];\n        const processedData = this.processedData;\n        // Pick up numeric values, add index. Convert Array point definitions to\n        // objects using pointArrayMap.\n        if (data) {\n            let val;\n            for (let i = 0, iEnd = data.length; i < iEnd; ++i) {\n                val = data[i];\n                if (MapSeries_isNumber(val)) {\n                    processedData[i] = {\n                        value: val\n                    };\n                }\n                else if (MapSeries_isArray(val)) {\n                    let ix = 0;\n                    processedData[i] = {};\n                    // Automatically copy first item to hc-key if there is\n                    // an extra leading string\n                    if (!options.keys &&\n                        val.length > pointArrayMap.length &&\n                        typeof val[0] === 'string') {\n                        processedData[i]['hc-key'] = val[0];\n                        ++ix;\n                    }\n                    // Run through pointArrayMap and what's left of the\n                    // point data array in parallel, copying over the values\n                    for (let j = 0; j < pointArrayMap.length; ++j, ++ix) {\n                        if (pointArrayMap[j] &&\n                            typeof val[ix] !== 'undefined') {\n                            if (pointArrayMap[j].indexOf('.') > 0) {\n                                Map_MapPoint.prototype.setNestedProperty(processedData[i], val[ix], pointArrayMap[j]);\n                            }\n                            else {\n                                processedData[i][pointArrayMap[j]] = val[ix];\n                            }\n                        }\n                    }\n                }\n                else {\n                    processedData[i] = data[i];\n                }\n                if (joinBy &&\n                    joinBy[0] === '_i') {\n                    processedData[i]._i = i;\n                }\n            }\n        }\n        if (mapData) {\n            this.mapData = mapData;\n            this.mapMap = {};\n            for (let i = 0; i < mapData.length; i++) {\n                mapPoint = mapData[i];\n                props = mapPoint.properties;\n                mapPoint._i = i;\n                // Copy the property over to root for faster access\n                if (joinBy[0] && props && props[joinBy[0]]) {\n                    mapPoint[joinBy[0]] = props[joinBy[0]];\n                }\n                mapMap[mapPoint[joinBy[0]]] = mapPoint;\n            }\n            this.mapMap = mapMap;\n            // Registered the point codes that actually hold data\n            if (joinBy[1]) {\n                const joinKey = joinBy[1];\n                processedData.forEach((pointOptions) => {\n                    const mapKey = getNestedProperty(joinKey, pointOptions);\n                    if (mapMap[mapKey]) {\n                        dataUsed.push(mapMap[mapKey]);\n                    }\n                });\n            }\n            if (options.allAreas) {\n                // Register the point codes that actually hold data\n                if (joinBy[1]) {\n                    const joinKey = joinBy[1];\n                    processedData.forEach((pointOptions) => {\n                        dataUsed.push(getNestedProperty(joinKey, pointOptions));\n                    });\n                }\n                // Add those map points that don't correspond to data, which\n                // will be drawn as null points. Searching a string is faster\n                // than Array.indexOf\n                const dataUsedString = ('|' +\n                    dataUsed\n                        .map(function (point) {\n                        return point && point[joinBy[0]];\n                    })\n                        .join('|') +\n                    '|');\n                mapData.forEach((mapPoint) => {\n                    if (!joinBy[0] ||\n                        dataUsedString.indexOf('|' +\n                            mapPoint[joinBy[0]] +\n                            '|') === -1) {\n                        processedData.push(MapSeries_merge(mapPoint, { value: null }));\n                    }\n                });\n            }\n        }\n        // The processedXData array is used by general chart logic for checking\n        // data length in various scanarios.\n        this.dataTable.rowCount = processedData.length;\n        return void 0;\n    }\n    /**\n     * Extend setOptions by picking up the joinBy option and applying it to a\n     * series property.\n     * @private\n     */\n    setOptions(itemOptions) {\n        const options = super.setOptions(itemOptions);\n        let joinBy = options.joinBy;\n        if (options.joinBy === null) {\n            joinBy = '_i';\n        }\n        if (joinBy) {\n            this.joinBy = MapSeries_splat(joinBy);\n            if (!this.joinBy[1]) {\n                this.joinBy[1] = this.joinBy[0];\n            }\n        }\n        return options;\n    }\n    /**\n     * Add the path option for data points. Find the max value for color\n     * calculation.\n     * @private\n     */\n    translate() {\n        const series = this, doFullTranslate = series.doFullTranslate(), mapView = this.chart.mapView, projection = mapView && mapView.projection;\n        // Recalculate box on updated data\n        if (this.chart.hasRendered && (this.isDirtyData || !this.hasRendered)) {\n            this.processData();\n            this.generatePoints();\n            delete this.bounds;\n            if (mapView &&\n                !mapView.userOptions.center &&\n                !MapSeries_isNumber(mapView.userOptions.zoom) &&\n                mapView.zoom === mapView.minZoom // #18542 don't zoom out if\n            // map is zoomed\n            ) {\n                // Not only recalculate bounds but also fit view\n                mapView.fitToBounds(void 0, void 0, false); // #17012\n            }\n            else {\n                // If center and zoom is defined in user options, get bounds but\n                // don't change view\n                this.getProjectedBounds();\n            }\n        }\n        if (mapView) {\n            const mainSvgTransform = mapView.getSVGTransform();\n            series.points.forEach((point) => {\n                const svgTransform = (MapSeries_isNumber(point.insetIndex) &&\n                    mapView.insets[point.insetIndex].getSVGTransform()) || mainSvgTransform;\n                // Record the middle point (loosely based on centroid),\n                // determined by the middleX and middleY options.\n                if (svgTransform &&\n                    point.bounds &&\n                    MapSeries_isNumber(point.bounds.midX) &&\n                    MapSeries_isNumber(point.bounds.midY)) {\n                    point.plotX = point.bounds.midX * svgTransform.scaleX +\n                        svgTransform.translateX;\n                    point.plotY = point.bounds.midY * svgTransform.scaleY +\n                        svgTransform.translateY;\n                }\n                if (doFullTranslate) {\n                    point.shapeType = 'path';\n                    point.shapeArgs = {\n                        d: Map_MapPoint.getProjectedPath(point, projection)\n                    };\n                }\n                if (!point.hiddenInDataClass) { // #20441\n                    if (point.projectedPath && !point.projectedPath.length) {\n                        point.setVisible(false);\n                    }\n                    else if (!point.visible) {\n                        point.setVisible(true);\n                    }\n                }\n            });\n        }\n        MapSeries_fireEvent(series, 'afterTranslate');\n    }\n    update(options) {\n        // Calculate and set the recommended map view after every series update\n        // if new mapData is set\n        if (options.mapData) {\n            this.chart.mapView?.recommendMapView(this.chart, [\n                this.chart.options.chart.map,\n                ...(this.chart.options.series || []).map((s, i) => {\n                    if (i === this._i) {\n                        return options.mapData;\n                    }\n                    return s.mapData;\n                })\n            ], true);\n        }\n        super.update.apply(this, arguments);\n    }\n}\nMapSeries.defaultOptions = MapSeries_merge(ScatterSeries.defaultOptions, Map_MapSeriesDefaults);\nMapSeries_extend(MapSeries.prototype, {\n    type: 'map',\n    axisTypes: Series_ColorMapComposition.seriesMembers.axisTypes,\n    colorAttribs: Series_ColorMapComposition.seriesMembers.colorAttribs,\n    colorKey: Series_ColorMapComposition.seriesMembers.colorKey,\n    // When tooltip is not shared, this series (and derivatives) requires\n    // direct touch/hover. KD-tree does not apply.\n    directTouch: true,\n    // We need the points' bounding boxes in order to draw the data labels,\n    // so we skip it now and call it from drawPoints instead.\n    drawDataLabels: noop,\n    // No graph for the map series\n    drawGraph: noop,\n    forceDL: true,\n    getCenter: Series_CenteredUtilities.getCenter,\n    getExtremesFromAll: true,\n    getSymbol: noop,\n    isCartesian: false,\n    parallelArrays: Series_ColorMapComposition.seriesMembers.parallelArrays,\n    pointArrayMap: Series_ColorMapComposition.seriesMembers.pointArrayMap,\n    pointClass: Map_MapPoint,\n    // X axis and Y axis must have same translation slope\n    preserveAspectRatio: true,\n    searchPoint: noop,\n    trackerGroups: Series_ColorMapComposition.seriesMembers.trackerGroups,\n    // Get axis extremes from paths, not values\n    useMapGeometry: true\n});\nSeries_ColorMapComposition.compose(MapSeries);\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('map', MapSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Map_MapSeries = (MapSeries);\n\n;// ./code/es-modules/Series/MapLine/MapLineSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A mapline series is a special case of the map series where the value\n * colors are applied to the strokes rather than the fills. It can also be\n * used for freeform drawing, like dividers, in the map.\n *\n * @sample maps/demo/mapline-mappoint/\n *         Mapline and map-point chart\n * @sample maps/demo/animated-mapline/\n *         Mapline with CSS keyframe animation\n * @sample maps/demo/flight-routes\n *         Flight routes\n *\n * @extends      plotOptions.map\n * @excluding    dragDrop\n * @product      highmaps\n * @optionparent plotOptions.mapline\n */\nconst MapLineSeriesDefaults = {\n    /**\n     * Pixel width of the mapline line.\n     *\n     * @type      {number}\n     * @since     10.3.3\n     * @product   highmaps\n     * @default   1\n     * @apioption plotOptions.mapline.lineWidth\n     */\n    lineWidth: 1,\n    /**\n     * Fill color for the map line shapes\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    fillColor: 'none',\n    legendSymbol: 'lineMarker'\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const MapLine_MapLineSeriesDefaults = (MapLineSeriesDefaults);\n/**\n * A `mapline` series. If the [type](#series.mapline.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.mapline\n * @excluding dataParser, dataURL, dragDrop, marker\n * @product   highmaps\n * @apioption series.mapline\n */\n/**\n * An array of data points for the series. For the `mapline` series type,\n * points can be given in the following ways:\n *\n * 1.  An array of numerical values. In this case, the numerical values\n * will be interpreted as `value` options. Example:\n *\n *  ```js\n *  data: [0, 5, 3, 5]\n *  ```\n *\n * 2.  An array of arrays with 2 values. In this case, the values correspond\n * to `[hc-key, value]`. Example:\n *\n *  ```js\n *     data: [\n *         ['us-ny', 0],\n *         ['us-mi', 5],\n *         ['us-tx', 3],\n *         ['us-ak', 5]\n *     ]\n *  ```\n *\n * 3.  An array of objects with named values. The following snippet shows only a\n * few settings, see the complete options set below. If the total number of data\n * points exceeds the series' [turboThreshold](#series.map.turboThreshold),\n * this option is not available.\n *\n *  ```js\n *     data: [{\n *         value: 6,\n *         name: \"Point2\",\n *         color: \"#00FF00\"\n *     }, {\n *         value: 6,\n *         name: \"Point1\",\n *         color: \"#FF00FF\"\n *     }]\n *  ```\n *\n * @type      {Array<number|Array<string,(number|null)>|null|*>}\n * @extends   series.map.data\n * @excluding drilldown\n * @product   highmaps\n * @apioption series.mapline.data\n */\n/**\n * Pixel width of the mapline line.\n *\n * @type      {number}\n * @since 10.2.0\n * @product   highmaps\n * @apioption plotOptions.mapline.states.hover.lineWidth\n */\n/**\n * Pixel width of the mapline line.\n *\n * @type      {number|undefined}\n * @since 10.3.3\n * @product   highmaps\n * @apioption series.mapline.data.lineWidth\n */\n/**\n *\n * @type      {number}\n * @product   highmaps\n * @excluding borderWidth\n * @apioption plotOptions.mapline.states.hover\n */\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Series/MapLine/MapLineSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\nconst { extend: MapLineSeries_extend, merge: MapLineSeries_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.mapline\n *\n * @augments Highcharts.Series\n */\nclass MapLineSeries extends Map_MapSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Get presentational attributes\n     * @private\n     * @function Highcharts.seriesTypes.mapline#pointAttribs\n     */\n    pointAttribs(point, state) {\n        const attr = super.pointAttribs(point, state);\n        // The difference from a map series is that the stroke takes the\n        // point color\n        attr.fill = this.options.fillColor;\n        return attr;\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nMapLineSeries.defaultOptions = MapLineSeries_merge(Map_MapSeries.defaultOptions, MapLine_MapLineSeriesDefaults);\nMapLineSeries_extend(MapLineSeries.prototype, {\n    type: 'mapline',\n    colorProp: 'stroke',\n    pointAttrToOptions: {\n        'stroke': 'color',\n        'stroke-width': 'lineWidth'\n    }\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('mapline', MapLineSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const MapLine_MapLineSeries = ((/* unused pure expression or super */ null && (MapLineSeries)));\n\n;// ./code/es-modules/Series/MapPoint/MapPointPoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { scatter: MapPointPoint_ScatterSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { isNumber: MapPointPoint_isNumber } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass MapPointPoint extends MapPointPoint_ScatterSeries.prototype.pointClass {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    isValid() {\n        return Boolean(this.options.geometry ||\n            (MapPointPoint_isNumber(this.x) && MapPointPoint_isNumber(this.y)) ||\n            (MapPointPoint_isNumber(this.options.lon) && MapPointPoint_isNumber(this.options.lat)));\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const MapPoint_MapPointPoint = (MapPointPoint);\n\n;// ./code/es-modules/Series/MapPoint/MapPointSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A mappoint series is a special form of scatter series where the points\n * can be laid out in map coordinates on top of a map.\n *\n * @sample maps/demo/mapline-mappoint/\n *         Map-line and map-point series.\n * @sample maps/demo/mappoint-mapmarker\n *         Using the mapmarker symbol for points\n * @sample maps/demo/mappoint-datalabels-mapmarker\n *         Using the mapmarker shape for data labels\n *\n * @extends      plotOptions.scatter\n * @product      highmaps\n * @optionparent plotOptions.mappoint\n */\nconst MapPointSeriesDefaults = {\n    dataLabels: {\n        crop: false,\n        defer: false,\n        enabled: true,\n        formatter: function () {\n            return this.point.name;\n        },\n        overflow: false,\n        style: {\n            /** @internal */\n            color: \"#000000\" /* Palette.neutralColor100 */\n        }\n    },\n    legendSymbol: 'lineMarker'\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const MapPoint_MapPointSeriesDefaults = (MapPointSeriesDefaults);\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A `mappoint` series. If the [type](#series.mappoint.type) option\n * is not specified, it is inherited from [chart.type](#chart.type).\n *\n *\n * @extends   series,plotOptions.mappoint\n * @excluding dataParser, dataURL\n * @product   highmaps\n * @apioption series.mappoint\n */\n/**\n * An array of data points for the series. For the `mappoint` series\n * type, points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values will be\n *    interpreted as `y` options. The `x` values will be automatically\n *    calculated, either starting at 0 and incremented by 1, or from\n *    `pointStart` and `pointInterval` given in the series options. If the axis\n *    has categories, these will be used. Example:\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of arrays with 2 values. In this case, the values correspond\n * to `[hc-key, value]`. Example:\n *\n *  ```js\n *     data: [\n *         ['us-ny', 0],\n *         ['us-mi', 5],\n *         ['us-tx', 3],\n *         ['us-ak', 5]\n *     ]\n *  ```\n *\n * 3. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.mappoint.turboThreshold),\n *    this option is not available.\n *    ```js\n *        data: [{\n *            x: 1,\n *            y: 7,\n *            name: \"Point2\",\n *            color: \"#00FF00\"\n *        }, {\n *            x: 1,\n *            y: 4,\n *            name: \"Point1\",\n *            color: \"#FF00FF\"\n *        }]\n *    ```\n *\n * @type      {Array<number|Array<number,(number|null)>|null|*>}\n * @extends   series.map.data\n * @excluding labelrank, middleX, middleY, path, value\n * @product   highmaps\n * @apioption series.mappoint.data\n */\n/**\n * The geometry of a point.\n *\n * To achieve a better separation between the structure and the data,\n * it is recommended to use `mapData` to define the geometry instead\n * of defining it on the data points themselves.\n *\n * The geometry object is compatible to that of a `feature` in geoJSON, so\n * features of geoJSON can be passed directly into the `data`, optionally\n * after first filtering and processing it.\n *\n * @sample maps/series/mappoint-line-geometry/\n *         Map point and line geometry\n *\n * @type      {Object}\n * @since 9.3.0\n * @product   highmaps\n * @apioption series.mappoint.data.geometry\n */\n/**\n * The geometry type, which in case of the `mappoint` series is always `Point`.\n *\n * @type      {string}\n * @since 9.3.0\n * @product   highmaps\n * @validvalue [\"Point\"]\n * @apioption series.mappoint.data.geometry.type\n */\n/**\n * The geometry coordinates in terms of `[longitude, latitude]`.\n *\n * @type      {Highcharts.LonLatArray}\n * @since 9.3.0\n * @product   highmaps\n * @apioption series.mappoint.data.geometry.coordinates\n */\n/**\n * The latitude of the point. Must be combined with the `lon` option\n * to work. Overrides `x` and `y` values.\n *\n * @sample {highmaps} maps/demo/mappoint-latlon/\n *         Point position by lat/lon\n *\n * @type      {number}\n * @since     1.1.0\n * @product   highmaps\n * @apioption series.mappoint.data.lat\n */\n/**\n * The longitude of the point. Must be combined with the `lon` option\n * to work. Overrides `x` and `y` values.\n *\n * @sample {highmaps} maps/demo/mappoint-latlon/\n *         Point position by lat/lon\n *\n * @type      {number}\n * @since     1.1.0\n * @product   highmaps\n * @apioption series.mappoint.data.lon\n */\n/**\n * The x coordinate of the point in terms of projected units.\n *\n * @sample {highmaps} maps/series/mapline-mappoint-path-xy/\n *         Map point demo\n *\n * @type      {number}\n * @product   highmaps\n * @apioption series.mappoint.data.x\n */\n/**\n * The x coordinate of the point in terms of projected units.\n *\n * @sample {highmaps} maps/series/mapline-mappoint-path-xy/\n *         Map point demo\n *\n * @type      {number|null}\n * @product   highmaps\n * @apioption series.mappoint.data.y\n */\n/**\n * @type      {number}\n * @product   highmaps\n * @excluding borderColor, borderWidth\n * @apioption plotOptions.mappoint\n */\n(''); // Keeps doclets above in JS file\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Series\",\"types\",\"scatter\"],\"commonjs\":[\"highcharts\",\"Series\",\"types\",\"scatter\"],\"commonjs2\":[\"highcharts\",\"Series\",\"types\",\"scatter\"],\"root\":[\"Highcharts\",\"Series\",\"types\",\"scatter\"]}\nvar highcharts_Series_types_scatter_commonjs_highcharts_Series_types_scatter_commonjs2_highcharts_Series_types_scatter_root_Highcharts_Series_types_scatter_ = __webpack_require__(632);\n;// ./code/es-modules/Series/MapPoint/MapPointSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { noop: MapPointSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { map: MapPointSeries_MapSeries, scatter: MapPointSeries_ScatterSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\n\nconst { extend: MapPointSeries_extend, fireEvent: MapPointSeries_fireEvent, isNumber: MapPointSeries_isNumber, merge: MapPointSeries_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.mappoint\n *\n * @augments Highcharts.Series\n */\nclass MapPointSeries extends MapPointSeries_ScatterSeries {\n    constructor() {\n        /* *\n         *\n         *  Static Properties\n         *\n         * */\n        super(...arguments);\n        this.clearBounds = MapPointSeries_MapSeries.prototype.clearBounds;\n        /* eslint-enable valid-jsdoc */\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    drawDataLabels() {\n        super.drawDataLabels();\n        if (this.dataLabelsGroup) {\n            this.dataLabelsGroup.clip(this.chart.clipRect);\n        }\n    }\n    /**\n     * Resolve `lon`, `lat` or `geometry` options and project the resulted\n     * coordinates.\n     *\n     * @private\n     */\n    projectPoint(pointOptions) {\n        const mapView = this.chart.mapView;\n        if (mapView) {\n            const { geometry, lon, lat } = pointOptions;\n            let coordinates = (geometry &&\n                geometry.type === 'Point' &&\n                geometry.coordinates);\n            if (MapPointSeries_isNumber(lon) && MapPointSeries_isNumber(lat)) {\n                coordinates = [lon, lat];\n            }\n            if (coordinates) {\n                return mapView.lonLatToProjectedUnits({\n                    lon: coordinates[0],\n                    lat: coordinates[1]\n                });\n            }\n        }\n    }\n    translate() {\n        const mapView = this.chart.mapView;\n        this.generatePoints();\n        if (this.getProjectedBounds && this.isDirtyData) {\n            delete this.bounds;\n            this.getProjectedBounds(); // Added point needs bounds(#16598)\n        }\n        // Create map based translation\n        if (mapView) {\n            const mainSvgTransform = mapView.getSVGTransform(), { hasCoordinates } = mapView.projection;\n            this.points.forEach((p) => {\n                let { x = void 0, y = void 0 } = p;\n                const svgTransform = (MapPointSeries_isNumber(p.insetIndex) &&\n                    mapView.insets[p.insetIndex].getSVGTransform()) || mainSvgTransform;\n                const xy = (this.projectPoint(p.options) ||\n                    (p.properties &&\n                        this.projectPoint(p.properties)));\n                let didBounds;\n                if (xy) {\n                    x = xy.x;\n                    y = xy.y;\n                    // Map bubbles getting geometry from shape\n                }\n                else if (p.bounds) {\n                    x = p.bounds.midX;\n                    y = p.bounds.midY;\n                    if (svgTransform && MapPointSeries_isNumber(x) && MapPointSeries_isNumber(y)) {\n                        p.plotX = x * svgTransform.scaleX +\n                            svgTransform.translateX;\n                        p.plotY = y * svgTransform.scaleY +\n                            svgTransform.translateY;\n                        didBounds = true;\n                    }\n                }\n                if (MapPointSeries_isNumber(x) && MapPointSeries_isNumber(y)) {\n                    // Establish plotX and plotY\n                    if (!didBounds) {\n                        const plotCoords = mapView.projectedUnitsToPixels({ x, y });\n                        p.plotX = plotCoords.x;\n                        p.plotY = hasCoordinates ?\n                            plotCoords.y :\n                            this.chart.plotHeight - plotCoords.y;\n                    }\n                }\n                else {\n                    p.y = p.plotX = p.plotY = void 0;\n                }\n                p.isInside = this.isPointInside(p);\n                // Find point zone\n                p.zone = this.zones.length ? p.getZone() : void 0;\n            });\n        }\n        MapPointSeries_fireEvent(this, 'afterTranslate');\n    }\n}\nMapPointSeries.defaultOptions = MapPointSeries_merge(MapPointSeries_ScatterSeries.defaultOptions, MapPoint_MapPointSeriesDefaults);\n/* *\n *\n * Extra\n *\n * */\n/* *\n * The mapmarker symbol\n */\nconst mapmarker = (x, y, w, h, options) => {\n    const isLegendSymbol = options && options.context === 'legend';\n    let anchorX, anchorY;\n    if (isLegendSymbol) {\n        anchorX = x + w / 2;\n        anchorY = y + h;\n        // Put the pin in the anchor position (dataLabel.shape)\n    }\n    else if (options &&\n        typeof options.anchorX === 'number' &&\n        typeof options.anchorY === 'number') {\n        anchorX = options.anchorX;\n        anchorY = options.anchorY;\n        // Put the pin in the center and shift upwards (point.marker.symbol)\n    }\n    else {\n        anchorX = x + w / 2;\n        anchorY = y + h / 2;\n        y -= h;\n    }\n    const r = isLegendSymbol ? h / 3 : h / 2;\n    return [\n        ['M', anchorX, anchorY],\n        ['C', anchorX, anchorY, anchorX - r, y + r * 1.5, anchorX - r, y + r],\n        // A rx ry x-axis-rotation large-arc-flag sweep-flag x y\n        ['A', r, r, 1, 1, 1, anchorX + r, y + r],\n        ['C', anchorX + r, y + r * 1.5, anchorX, anchorY, anchorX, anchorY],\n        ['Z']\n    ];\n};\n(highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default()).prototype.symbols.mapmarker = mapmarker;\nMapPointSeries_extend(MapPointSeries.prototype, {\n    type: 'mappoint',\n    axisTypes: ['colorAxis'],\n    forceDL: true,\n    isCartesian: false,\n    pointClass: MapPoint_MapPointPoint,\n    searchPoint: MapPointSeries_noop,\n    useMapGeometry: true // #16534\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('mappoint', MapPointSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const MapPoint_MapPointSeries = ((/* unused pure expression or super */ null && (MapPointSeries)));\n/* *\n *\n *  API Options\n *\n * */\n''; // Adds doclets above to transpiled file\n\n;// ./code/es-modules/Series/Bubble/BubbleLegendDefaults.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  Author: Paweł Potaczek\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Constants\n *\n * */\n/**\n * The bubble legend is an additional element in legend which\n * presents the scale of the bubble series. Individual bubble ranges\n * can be defined by user or calculated from series. In the case of\n * automatically calculated ranges, a 1px margin of error is\n * permitted.\n *\n * @since        7.0.0\n * @product      highcharts highstock highmaps\n * @requires     highcharts-more\n * @optionparent legend.bubbleLegend\n */\nconst BubbleLegendDefaults = {\n    /**\n     * The color of the ranges borders, can be also defined for an\n     * individual range.\n     *\n     * @sample highcharts/bubble-legend/similartoseries/\n     *         Similar look to the bubble series\n     * @sample highcharts/bubble-legend/bordercolor/\n     *         Individual bubble border color\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    borderColor: void 0,\n    /**\n     * The width of the ranges borders in pixels, can be also\n     * defined for an individual range.\n     */\n    borderWidth: 2,\n    /**\n     * An additional class name to apply to the bubble legend'\n     * circle graphical elements. This option does not replace\n     * default class names of the graphical element.\n     *\n     * @sample {highcharts} highcharts/css/bubble-legend/\n     *         Styling by CSS\n     *\n     * @type {string}\n     */\n    className: void 0,\n    /**\n     * The main color of the bubble legend. Applies to ranges, if\n     * individual color is not defined.\n     *\n     * @sample highcharts/bubble-legend/similartoseries/\n     *         Similar look to the bubble series\n     * @sample highcharts/bubble-legend/color/\n     *         Individual bubble color\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    color: void 0,\n    /**\n     * An additional class name to apply to the bubble legend's\n     * connector graphical elements. This option does not replace\n     * default class names of the graphical element.\n     *\n     * @sample {highcharts} highcharts/css/bubble-legend/\n     *         Styling by CSS\n     *\n     * @type {string}\n     */\n    connectorClassName: void 0,\n    /**\n     * The color of the connector, can be also defined\n     * for an individual range.\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    connectorColor: void 0,\n    /**\n     * The length of the connectors in pixels. If labels are\n     * centered, the distance is reduced to 0.\n     *\n     * @sample highcharts/bubble-legend/connectorandlabels/\n     *         Increased connector length\n     */\n    connectorDistance: 60,\n    /**\n     * The width of the connectors in pixels.\n     *\n     * @sample highcharts/bubble-legend/connectorandlabels/\n     *         Increased connector width\n     */\n    connectorWidth: 1,\n    /**\n     * Enable or disable the bubble legend.\n     */\n    enabled: false,\n    /**\n     * Options for the bubble legend labels.\n     */\n    labels: {\n        /**\n         * An additional class name to apply to the bubble legend\n         * label graphical elements. This option does not replace\n         * default class names of the graphical element.\n         *\n         * @sample {highcharts} highcharts/css/bubble-legend/\n         *         Styling by CSS\n         *\n         * @type {string}\n         */\n        className: void 0,\n        /**\n         * Whether to allow data labels to overlap.\n         */\n        allowOverlap: false,\n        /**\n         * A format string for the bubble legend labels. Available\n         * variables are the same as for `formatter`.\n         *\n         * @sample highcharts/bubble-legend/format/\n         *         Add a unit\n         *\n         * @type {string}\n         */\n        format: '',\n        /**\n         * Available `this` properties are:\n         *\n         * - `this.value`: The bubble value.\n         *\n         * - `this.radius`: The radius of the bubble range.\n         *\n         * - `this.center`: The center y position of the range.\n         *\n         * @type {Highcharts.FormatterCallbackFunction<Highcharts.BubbleLegendFormatterContextObject>}\n         */\n        formatter: void 0,\n        /**\n         * The alignment of the labels compared to the bubble\n         * legend. Can be one of `left`, `center` or `right`.\n         *\n         * @sample highcharts/bubble-legend/connectorandlabels/\n         *         Labels on left\n         *\n         * @type {Highcharts.AlignValue}\n         */\n        align: 'right',\n        /**\n         * CSS styles for the labels.\n         *\n         * @type {Highcharts.CSSObject}\n         */\n        style: {\n            /** @ignore-option */\n            fontSize: '0.9em',\n            /** @ignore-option */\n            color: \"#000000\" /* Palette.neutralColor100 */\n        },\n        /**\n         * The x position offset of the label relative to the\n         * connector.\n         */\n        x: 0,\n        /**\n         * The y position offset of the label relative to the\n         * connector.\n         */\n        y: 0\n    },\n    /**\n     * Maximum bubble legend range size. If values for ranges are\n     * not specified, the `minSize` and the `maxSize` are calculated\n     * from bubble series.\n     */\n    maxSize: 60, // Number\n    /**\n     * Minimum bubble legend range size. If values for ranges are\n     * not specified, the `minSize` and the `maxSize` are calculated\n     * from bubble series.\n     */\n    minSize: 10, // Number\n    /**\n     * The position of the bubble legend in the legend.\n     * @sample highcharts/bubble-legend/connectorandlabels/\n     *         Bubble legend as last item in legend\n     */\n    legendIndex: 0, // Number\n    /**\n     * Options for specific range. One range consists of bubble,\n     * label and connector.\n     *\n     * @sample highcharts/bubble-legend/ranges/\n     *         Manually defined ranges\n     * @sample highcharts/bubble-legend/autoranges/\n     *         Auto calculated ranges\n     *\n     * @type {Array<*>}\n     */\n    ranges: {\n        /**\n         * Range size value, similar to bubble Z data.\n         * @type {number}\n         */\n        value: void 0,\n        /**\n         * The color of the border for individual range.\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        borderColor: void 0,\n        /**\n         * The color of the bubble for individual range.\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        color: void 0,\n        /**\n         * The color of the connector for individual range.\n         * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        connectorColor: void 0\n    },\n    /**\n     * Whether the bubble legend range value should be represented\n     * by the area or the width of the bubble. The default, area,\n     * corresponds best to the human perception of the size of each\n     * bubble.\n     *\n     * @sample highcharts/bubble-legend/ranges/\n     *         Size by width\n     *\n     * @type {Highcharts.BubbleSizeByValue}\n     */\n    sizeBy: 'area',\n    /**\n     * When this is true, the absolute value of z determines the\n     * size of the bubble. This means that with the default\n     * zThreshold of 0, a bubble of value -1 will have the same size\n     * as a bubble of value 1, while a bubble of value 0 will have a\n     * smaller size according to minSize.\n     */\n    sizeByAbsoluteValue: false,\n    /**\n     * Define the visual z index of the bubble legend.\n     */\n    zIndex: 1,\n    /**\n     * Ranges with lower value than zThreshold are skipped.\n     */\n    zThreshold: 0\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bubble_BubbleLegendDefaults = (BubbleLegendDefaults);\n\n;// ./code/es-modules/Series/Bubble/BubbleLegendItem.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  Author: Paweł Potaczek\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: BubbleLegendItem_color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\n\nconst { noop: BubbleLegendItem_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { arrayMax, arrayMin, isNumber: BubbleLegendItem_isNumber, merge: BubbleLegendItem_merge, pick: BubbleLegendItem_pick, stableSort } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * BubbleLegend class.\n *\n * @private\n * @class\n * @name Highcharts.BubbleLegend\n * @param {Highcharts.LegendBubbleLegendOptions} options\n * Options of BubbleLegendItem.\n *\n * @param {Highcharts.Legend} legend\n * Legend of item.\n */\nclass BubbleLegendItem {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(options, legend) {\n        this.setState = BubbleLegendItem_noop;\n        this.init(options, legend);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Create basic bubbleLegend properties similar to item in legend.\n     * @private\n     */\n    init(options, legend) {\n        this.options = options;\n        this.visible = true;\n        this.chart = legend.chart;\n        this.legend = legend;\n    }\n    /**\n     * Depending on the position option, add bubbleLegend to legend items.\n     *\n     * @private\n     *\n     * @param {Array<(Highcharts.Point|Highcharts.Series)>} items\n     *        All legend items\n     */\n    addToLegend(items) {\n        // Insert bubbleLegend into legend items\n        items.splice(this.options.legendIndex, 0, this);\n    }\n    /**\n     * Calculate ranges, sizes and call the next steps of bubbleLegend\n     * creation.\n     *\n     * @private\n     *\n     * @param {Highcharts.Legend} legend\n     *        Legend instance\n     */\n    drawLegendSymbol(legend) {\n        const itemDistance = BubbleLegendItem_pick(legend.options.itemDistance, 20), legendItem = this.legendItem || {}, options = this.options, ranges = options.ranges, connectorDistance = options.connectorDistance;\n        let connectorSpace;\n        // Do not create bubbleLegend now if ranges or ranges values are not\n        // specified or if are empty array.\n        if (!ranges || !ranges.length || !BubbleLegendItem_isNumber(ranges[0].value)) {\n            legend.options.bubbleLegend.autoRanges = true;\n            return;\n        }\n        // Sort ranges to right render order\n        stableSort(ranges, function (a, b) {\n            return b.value - a.value;\n        });\n        this.ranges = ranges;\n        this.setOptions();\n        this.render();\n        // Get max label size\n        const maxLabel = this.getMaxLabelSize(), radius = this.ranges[0].radius, size = radius * 2;\n        // Space for connectors and labels.\n        connectorSpace =\n            connectorDistance - radius + maxLabel.width;\n        connectorSpace = connectorSpace > 0 ? connectorSpace : 0;\n        this.maxLabel = maxLabel;\n        this.movementX = options.labels.align === 'left' ?\n            connectorSpace : 0;\n        legendItem.labelWidth = size + connectorSpace + itemDistance;\n        legendItem.labelHeight = size + maxLabel.height / 2;\n    }\n    /**\n     * Set style options for each bubbleLegend range.\n     * @private\n     */\n    setOptions() {\n        const ranges = this.ranges, options = this.options, series = this.chart.series[options.seriesIndex], baseline = this.legend.baseline, bubbleAttribs = {\n            zIndex: options.zIndex,\n            'stroke-width': options.borderWidth\n        }, connectorAttribs = {\n            zIndex: options.zIndex,\n            'stroke-width': options.connectorWidth\n        }, labelAttribs = {\n            align: (this.legend.options.rtl ||\n                options.labels.align === 'left') ? 'right' : 'left',\n            zIndex: options.zIndex\n        }, fillOpacity = series.options.marker.fillOpacity, styledMode = this.chart.styledMode;\n        // Allow to parts of styles be used individually for range\n        ranges.forEach(function (range, i) {\n            if (!styledMode) {\n                bubbleAttribs.stroke = BubbleLegendItem_pick(range.borderColor, options.borderColor, series.color);\n                bubbleAttribs.fill = BubbleLegendItem_pick(range.color, options.color, fillOpacity !== 1 ?\n                    BubbleLegendItem_color(series.color).setOpacity(fillOpacity)\n                        .get('rgba') :\n                    series.color);\n                connectorAttribs.stroke = BubbleLegendItem_pick(range.connectorColor, options.connectorColor, series.color);\n            }\n            // Set options needed for rendering each range\n            ranges[i].radius = this.getRangeRadius(range.value);\n            ranges[i] = BubbleLegendItem_merge(ranges[i], {\n                center: (ranges[0].radius - ranges[i].radius +\n                    baseline)\n            });\n            if (!styledMode) {\n                BubbleLegendItem_merge(true, ranges[i], {\n                    bubbleAttribs: BubbleLegendItem_merge(bubbleAttribs),\n                    connectorAttribs: BubbleLegendItem_merge(connectorAttribs),\n                    labelAttribs: labelAttribs\n                });\n            }\n        }, this);\n    }\n    /**\n     * Calculate radius for each bubble range,\n     * used code from BubbleSeries.js 'getRadius' method.\n     *\n     * @private\n     *\n     * @param {number} value\n     *        Range value\n     *\n     * @return {number|null}\n     *         Radius for one range\n     */\n    getRangeRadius(value) {\n        const options = this.options, seriesIndex = this.options.seriesIndex, bubbleSeries = this.chart.series[seriesIndex], zMax = options.ranges[0].value, zMin = options.ranges[options.ranges.length - 1].value, minSize = options.minSize, maxSize = options.maxSize;\n        return bubbleSeries.getRadius.call(this, zMin, zMax, minSize, maxSize, value);\n    }\n    /**\n     * Render the legendItem group.\n     * @private\n     */\n    render() {\n        const legendItem = this.legendItem || {}, renderer = this.chart.renderer, zThreshold = this.options.zThreshold;\n        if (!this.symbols) {\n            this.symbols = {\n                connectors: [],\n                bubbleItems: [],\n                labels: []\n            };\n        }\n        // Nesting SVG groups to enable handleOverflow\n        legendItem.symbol = renderer.g('bubble-legend');\n        legendItem.label = renderer.g('bubble-legend-item')\n            .css(this.legend.itemStyle || {});\n        // To enable default 'hideOverlappingLabels' method\n        legendItem.symbol.translateX = 0;\n        legendItem.symbol.translateY = 0;\n        // To use handleOverflow method\n        legendItem.symbol.add(legendItem.label);\n        legendItem.label.add(legendItem.group);\n        for (const range of this.ranges) {\n            if (range.value >= zThreshold) {\n                this.renderRange(range);\n            }\n        }\n        this.hideOverlappingLabels();\n    }\n    /**\n     * Render one range, consisting of bubble symbol, connector and label.\n     *\n     * @private\n     *\n     * @param {Highcharts.LegendBubbleLegendRangesOptions} range\n     *        Range options\n     */\n    renderRange(range) {\n        const mainRange = this.ranges[0], legend = this.legend, options = this.options, labelsOptions = options.labels, chart = this.chart, bubbleSeries = chart.series[options.seriesIndex], renderer = chart.renderer, symbols = this.symbols, labels = symbols.labels, elementCenter = range.center, absoluteRadius = Math.abs(range.radius), connectorDistance = options.connectorDistance || 0, labelsAlign = labelsOptions.align, rtl = legend.options.rtl, borderWidth = options.borderWidth, connectorWidth = options.connectorWidth, posX = mainRange.radius || 0, posY = elementCenter - absoluteRadius -\n            borderWidth / 2 + connectorWidth / 2, crispMovement = (posY % 1 ? 1 : 0.5) -\n            (connectorWidth % 2 ? 0 : 0.5), styledMode = renderer.styledMode;\n        let connectorLength = rtl || labelsAlign === 'left' ?\n            -connectorDistance : connectorDistance;\n        // Set options for centered labels\n        if (labelsAlign === 'center') {\n            connectorLength = 0; // Do not use connector\n            options.connectorDistance = 0;\n            range.labelAttribs.align = 'center';\n        }\n        // Render bubble symbol\n        symbols.bubbleItems.push(renderer\n            .circle(posX, elementCenter + crispMovement, absoluteRadius)\n            .attr(styledMode ? {} : range.bubbleAttribs)\n            .addClass((styledMode ?\n            'highcharts-color-' +\n                bubbleSeries.colorIndex + ' ' :\n            '') +\n            'highcharts-bubble-legend-symbol ' +\n            (options.className || '')).add(this.legendItem.symbol));\n        // Render connector\n        symbols.connectors.push(renderer\n            .path(renderer.crispLine([\n            ['M', posX, posY],\n            ['L', posX + connectorLength, posY]\n        ], options.connectorWidth))\n            .attr((styledMode ? {} : range.connectorAttribs))\n            .addClass((styledMode ?\n            'highcharts-color-' +\n                this.options.seriesIndex + ' ' : '') +\n            'highcharts-bubble-legend-connectors ' +\n            (options.connectorClassName || '')).add(this.legendItem.symbol));\n        // Render label\n        const label = renderer\n            .text(this.formatLabel(range))\n            .attr((styledMode ? {} : range.labelAttribs))\n            .css(styledMode ? {} : labelsOptions.style)\n            .addClass('highcharts-bubble-legend-labels ' +\n            (options.labels.className || '')).add(this.legendItem.symbol);\n        // Now that the label is added we can read the bounding box and\n        // vertically align\n        const position = {\n            x: posX + connectorLength + options.labels.x,\n            y: posY + options.labels.y + label.getBBox().height * 0.4\n        };\n        label.attr(position);\n        labels.push(label);\n        // To enable default 'hideOverlappingLabels' method\n        label.placed = true;\n        label.alignAttr = position;\n    }\n    /**\n     * Get the label which takes up the most space.\n     * @private\n     */\n    getMaxLabelSize() {\n        const labels = this.symbols.labels;\n        let maxLabel, labelSize;\n        labels.forEach(function (label) {\n            labelSize = label.getBBox(true);\n            if (maxLabel) {\n                maxLabel = labelSize.width > maxLabel.width ?\n                    labelSize : maxLabel;\n            }\n            else {\n                maxLabel = labelSize;\n            }\n        });\n        return maxLabel || {};\n    }\n    /**\n     * Get formatted label for range.\n     *\n     * @private\n     *\n     * @param {Highcharts.LegendBubbleLegendRangesOptions} range\n     *        Range options\n     *\n     * @return {string}\n     *         Range label text\n     */\n    formatLabel(range) {\n        const options = this.options, formatter = options.labels.formatter, format = options.labels.format;\n        const { numberFormatter } = this.chart;\n        return format ? highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default().format(format, range, this.chart) :\n            formatter ? formatter.call(range) :\n                numberFormatter(range.value, 1);\n    }\n    /**\n     * By using default chart 'hideOverlappingLabels' method, hide or show\n     * labels and connectors.\n     * @private\n     */\n    hideOverlappingLabels() {\n        const chart = this.chart, allowOverlap = this.options.labels.allowOverlap, symbols = this.symbols;\n        if (!allowOverlap && symbols) {\n            chart.hideOverlappingLabels(symbols.labels);\n            // Hide or show connectors\n            symbols.labels.forEach(function (label, index) {\n                if (!label.newOpacity) {\n                    symbols.connectors[index].hide();\n                }\n                else if (label.newOpacity !== label.oldOpacity) {\n                    symbols.connectors[index].show();\n                }\n            });\n        }\n    }\n    /**\n     * Calculate ranges from created series.\n     *\n     * @private\n     *\n     * @return {Array<Highcharts.LegendBubbleLegendRangesOptions>}\n     *         Array of range objects\n     */\n    getRanges() {\n        const bubbleLegend = this.legend.bubbleLegend, series = bubbleLegend.chart.series, rangesOptions = bubbleLegend.options.ranges;\n        let ranges, zData, minZ = Number.MAX_VALUE, maxZ = -Number.MAX_VALUE;\n        series.forEach(function (s) {\n            // Find the min and max Z, like in bubble series\n            if (s.isBubble && !s.ignoreSeries) {\n                zData = s.getColumn('z').filter(BubbleLegendItem_isNumber);\n                if (zData.length) {\n                    minZ = BubbleLegendItem_pick(s.options.zMin, Math.min(minZ, Math.max(arrayMin(zData), s.options.displayNegative === false ?\n                        s.options.zThreshold :\n                        -Number.MAX_VALUE)));\n                    maxZ = BubbleLegendItem_pick(s.options.zMax, Math.max(maxZ, arrayMax(zData)));\n                }\n            }\n        });\n        // Set values for ranges\n        if (minZ === maxZ) {\n            // Only one range if min and max values are the same.\n            ranges = [{ value: maxZ }];\n        }\n        else {\n            ranges = [\n                { value: minZ },\n                { value: (minZ + maxZ) / 2 },\n                { value: maxZ, autoRanges: true }\n            ];\n        }\n        // Prevent reverse order of ranges after redraw\n        if (rangesOptions.length && rangesOptions[0].radius) {\n            ranges.reverse();\n        }\n        // Merge ranges values with user options\n        ranges.forEach(function (range, i) {\n            if (rangesOptions && rangesOptions[i]) {\n                ranges[i] = BubbleLegendItem_merge(rangesOptions[i], range);\n            }\n        });\n        return ranges;\n    }\n    /**\n     * Calculate bubble legend sizes from rendered series.\n     *\n     * @private\n     *\n     * @return {Array<number,number>}\n     *         Calculated min and max bubble sizes\n     */\n    predictBubbleSizes() {\n        const chart = this.chart, legendOptions = chart.legend.options, floating = legendOptions.floating, horizontal = legendOptions.layout === 'horizontal', lastLineHeight = horizontal ? chart.legend.lastLineHeight : 0, plotSizeX = chart.plotSizeX, plotSizeY = chart.plotSizeY, bubbleSeries = chart.series[this.options.seriesIndex], pxSizes = bubbleSeries.getPxExtremes(), minSize = Math.ceil(pxSizes.minPxSize), maxPxSize = Math.ceil(pxSizes.maxPxSize), plotSize = Math.min(plotSizeY, plotSizeX);\n        let calculatedSize, maxSize = bubbleSeries.options.maxSize;\n        // Calculate predicted max size of bubble\n        if (floating || !(/%$/.test(maxSize))) {\n            calculatedSize = maxPxSize;\n        }\n        else {\n            maxSize = parseFloat(maxSize);\n            calculatedSize = ((plotSize + lastLineHeight) * maxSize / 100) /\n                (maxSize / 100 + 1);\n            // Get maxPxSize from bubble series if calculated bubble legend\n            // size will not affect to bubbles series.\n            if ((horizontal && plotSizeY - calculatedSize >=\n                plotSizeX) || (!horizontal && plotSizeX -\n                calculatedSize >= plotSizeY)) {\n                calculatedSize = maxPxSize;\n            }\n        }\n        return [minSize, Math.ceil(calculatedSize)];\n    }\n    /**\n     * Correct ranges with calculated sizes.\n     * @private\n     */\n    updateRanges(min, max) {\n        const bubbleLegendOptions = this.legend.options.bubbleLegend;\n        bubbleLegendOptions.minSize = min;\n        bubbleLegendOptions.maxSize = max;\n        bubbleLegendOptions.ranges = this.getRanges();\n    }\n    /**\n     * Because of the possibility of creating another legend line, predicted\n     * bubble legend sizes may differ by a few pixels, so it is necessary to\n     * correct them.\n     * @private\n     */\n    correctSizes() {\n        const legend = this.legend, chart = this.chart, bubbleSeries = chart.series[this.options.seriesIndex], pxSizes = bubbleSeries.getPxExtremes(), bubbleSeriesSize = pxSizes.maxPxSize, bubbleLegendSize = this.options.maxSize;\n        if (Math.abs(Math.ceil(bubbleSeriesSize) - bubbleLegendSize) >\n            1) {\n            this.updateRanges(this.options.minSize, pxSizes.maxPxSize);\n            legend.render();\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bubble_BubbleLegendItem = (BubbleLegendItem);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @interface Highcharts.BubbleLegendFormatterContextObject\n */ /**\n* The center y position of the range.\n* @name Highcharts.BubbleLegendFormatterContextObject#center\n* @type {number}\n*/ /**\n* The radius of the bubble range.\n* @name Highcharts.BubbleLegendFormatterContextObject#radius\n* @type {number}\n*/ /**\n* The bubble value.\n* @name Highcharts.BubbleLegendFormatterContextObject#value\n* @type {number}\n*/\n''; // Detach doclets above\n\n;// ./code/es-modules/Series/Bubble/BubbleLegendComposition.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  Author: Paweł Potaczek\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { setOptions: BubbleLegendComposition_setOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { composed: BubbleLegendComposition_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: BubbleLegendComposition_addEvent, objectEach: BubbleLegendComposition_objectEach, pushUnique: BubbleLegendComposition_pushUnique, wrap: BubbleLegendComposition_wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * If ranges are not specified, determine ranges from rendered bubble series\n * and render legend again.\n */\nfunction chartDrawChartBox(proceed, options, callback) {\n    const chart = this, legend = chart.legend, bubbleSeries = getVisibleBubbleSeriesIndex(chart) >= 0;\n    let bubbleLegendOptions, bubbleSizes, legendItem;\n    if (legend && legend.options.enabled && legend.bubbleLegend &&\n        legend.options.bubbleLegend.autoRanges && bubbleSeries) {\n        bubbleLegendOptions = legend.bubbleLegend.options;\n        bubbleSizes = legend.bubbleLegend.predictBubbleSizes();\n        legend.bubbleLegend.updateRanges(bubbleSizes[0], bubbleSizes[1]);\n        // Disable animation on init\n        if (!bubbleLegendOptions.placed) {\n            legend.group.placed = false;\n            legend.allItems.forEach((item) => {\n                legendItem = item.legendItem || {};\n                if (legendItem.group) {\n                    legendItem.group.translateY = void 0;\n                }\n            });\n        }\n        // Create legend with bubbleLegend\n        legend.render();\n        // Calculate margins after first rendering the bubble legend\n        if (!bubbleLegendOptions.placed) {\n            chart.getMargins();\n            chart.axes.forEach((axis) => {\n                axis.setScale();\n                axis.updateNames();\n                // Disable axis animation on init\n                BubbleLegendComposition_objectEach(axis.ticks, function (tick) {\n                    tick.isNew = true;\n                    tick.isNewLabel = true;\n                });\n            });\n            chart.getMargins();\n        }\n        bubbleLegendOptions.placed = true;\n        // Call default 'drawChartBox' method.\n        proceed.call(chart, options, callback);\n        // Check bubble legend sizes and correct them if necessary.\n        legend.bubbleLegend.correctSizes();\n        // Correct items positions with different dimensions in legend.\n        retranslateItems(legend, getLinesHeights(legend));\n    }\n    else {\n        proceed.call(chart, options, callback);\n        // Allow color change on static bubble legend after click on legend\n        if (legend && legend.options.enabled && legend.bubbleLegend) {\n            legend.render();\n            retranslateItems(legend, getLinesHeights(legend));\n        }\n    }\n}\n/**\n * Compose classes for use with Bubble series.\n * @private\n *\n * @param {Highcharts.Chart} ChartClass\n * Core chart class to use with Bubble series.\n *\n * @param {Highcharts.Legend} LegendClass\n * Core legend class to use with Bubble series.\n */\nfunction BubbleLegendComposition_compose(ChartClass, LegendClass) {\n    if (BubbleLegendComposition_pushUnique(BubbleLegendComposition_composed, 'Series.BubbleLegend')) {\n        BubbleLegendComposition_setOptions({\n            // Set default bubble legend options\n            legend: {\n                bubbleLegend: Bubble_BubbleLegendDefaults\n            }\n        });\n        BubbleLegendComposition_wrap(ChartClass.prototype, 'drawChartBox', chartDrawChartBox);\n        BubbleLegendComposition_addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);\n        BubbleLegendComposition_addEvent(LegendClass, 'itemClick', onLegendItemClick);\n    }\n}\n/**\n * Check if there is at least one visible bubble series.\n *\n * @private\n * @function getVisibleBubbleSeriesIndex\n * @param {Highcharts.Chart} chart\n * Chart to check.\n * @return {number}\n * First visible bubble series index\n */\nfunction getVisibleBubbleSeriesIndex(chart) {\n    const series = chart.series;\n    let i = 0;\n    while (i < series.length) {\n        if (series[i] &&\n            series[i].isBubble &&\n            series[i].visible &&\n            series[i].dataTable.rowCount) {\n            return i;\n        }\n        i++;\n    }\n    return -1;\n}\n/**\n * Calculate height for each row in legend.\n *\n * @private\n * @function getLinesHeights\n *\n * @param {Highcharts.Legend} legend\n * Legend to calculate from.\n *\n * @return {Array<Highcharts.Dictionary<number>>}\n * Informations about line height and items amount\n */\nfunction getLinesHeights(legend) {\n    const items = legend.allItems, lines = [], length = items.length;\n    let lastLine, legendItem, legendItem2, i = 0, j = 0;\n    for (i = 0; i < length; i++) {\n        legendItem = items[i].legendItem || {};\n        legendItem2 = (items[i + 1] || {}).legendItem || {};\n        if (legendItem.labelHeight) {\n            // For bubbleLegend\n            items[i].itemHeight = legendItem.labelHeight;\n        }\n        if ( // Line break\n        items[i] === items[length - 1] ||\n            legendItem.y !== legendItem2.y) {\n            lines.push({ height: 0 });\n            lastLine = lines[lines.length - 1];\n            // Find the highest item in line\n            for (j; j <= i; j++) {\n                if (items[j].itemHeight > lastLine.height) {\n                    lastLine.height = items[j].itemHeight;\n                }\n            }\n            lastLine.step = i;\n        }\n    }\n    return lines;\n}\n/**\n * Start the bubble legend creation process.\n */\nfunction onLegendAfterGetAllItems(e) {\n    const legend = this, bubbleLegend = legend.bubbleLegend, legendOptions = legend.options, options = legendOptions.bubbleLegend, bubbleSeriesIndex = getVisibleBubbleSeriesIndex(legend.chart);\n    // Remove unnecessary element\n    if (bubbleLegend && bubbleLegend.ranges && bubbleLegend.ranges.length) {\n        // Allow change the way of calculating ranges in update\n        if (options.ranges.length) {\n            options.autoRanges =\n                !!options.ranges[0].autoRanges;\n        }\n        // Update bubbleLegend dimensions in each redraw\n        legend.destroyItem(bubbleLegend);\n    }\n    // Create bubble legend\n    if (bubbleSeriesIndex >= 0 &&\n        legendOptions.enabled &&\n        options.enabled) {\n        options.seriesIndex = bubbleSeriesIndex;\n        legend.bubbleLegend = new Bubble_BubbleLegendItem(options, legend);\n        legend.bubbleLegend.addToLegend(e.allItems);\n    }\n}\n/**\n * Toggle bubble legend depending on the visible status of bubble series.\n */\nfunction onLegendItemClick(e) {\n    // #14080 don't fire this code if click function is prevented\n    if (e.defaultPrevented) {\n        return false;\n    }\n    const legend = this, series = e.legendItem, chart = legend.chart, visible = series.visible;\n    let status;\n    if (legend && legend.bubbleLegend) {\n        // Temporary correct 'visible' property\n        series.visible = !visible;\n        // Save future status for getRanges method\n        series.ignoreSeries = visible;\n        // Check if at lest one bubble series is visible\n        status = getVisibleBubbleSeriesIndex(chart) >= 0;\n        // Hide bubble legend if all bubble series are disabled\n        if (legend.bubbleLegend.visible !== status) {\n            // Show or hide bubble legend\n            legend.update({\n                bubbleLegend: { enabled: status }\n            });\n            legend.bubbleLegend.visible = status; // Restore default status\n        }\n        series.visible = visible;\n    }\n}\n/**\n * Correct legend items translation in case of different elements heights.\n *\n * @private\n * @function Highcharts.Legend#retranslateItems\n *\n * @param {Highcharts.Legend} legend\n * Legend to translate in.\n *\n * @param {Array<Highcharts.Dictionary<number>>} lines\n * Informations about line height and items amount\n */\nfunction retranslateItems(legend, lines) {\n    const items = legend.allItems, rtl = legend.options.rtl;\n    let orgTranslateX, orgTranslateY, movementX, legendItem, actualLine = 0;\n    items.forEach((item, index) => {\n        legendItem = item.legendItem || {};\n        if (!legendItem.group) {\n            return;\n        }\n        orgTranslateX = legendItem.group.translateX || 0;\n        orgTranslateY = legendItem.y || 0;\n        movementX = item.movementX;\n        if (movementX || (rtl && item.ranges)) {\n            movementX = rtl ?\n                orgTranslateX - item.options.maxSize / 2 :\n                orgTranslateX + movementX;\n            legendItem.group.attr({ translateX: movementX });\n        }\n        if (index > lines[actualLine].step) {\n            actualLine++;\n        }\n        legendItem.group.attr({\n            translateY: Math.round(orgTranslateY + lines[actualLine].height / 2)\n        });\n        legendItem.y = orgTranslateY + lines[actualLine].height / 2;\n    });\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst BubbleLegendComposition = {\n    compose: BubbleLegendComposition_compose\n};\n/* harmony default export */ const Bubble_BubbleLegendComposition = (BubbleLegendComposition);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Point\"],\"commonjs\":[\"highcharts\",\"Point\"],\"commonjs2\":[\"highcharts\",\"Point\"],\"root\":[\"Highcharts\",\"Point\"]}\nvar highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_ = __webpack_require__(260);\nvar highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default = /*#__PURE__*/__webpack_require__.n(highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_);\n;// ./code/es-modules/Series/Bubble/BubblePoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { seriesTypes: { scatter: { prototype: { pointClass: BubblePoint_ScatterPoint } } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { extend: BubblePoint_extend } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass BubblePoint extends BubblePoint_ScatterPoint {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    haloPath(size) {\n        const computedSize = (size && this.marker ?\n            this.marker.radius ||\n                0 :\n            0) + size;\n        if (this.series.chart.inverted) {\n            const pos = this.pos() || [0, 0], { xAxis, yAxis, chart } = this.series;\n            return chart.renderer.symbols.circle(xAxis.len - pos[1] - computedSize, yAxis.len - pos[0] - computedSize, computedSize * 2, computedSize * 2);\n        }\n        return highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.haloPath.call(this, \n        // #6067\n        computedSize);\n    }\n}\n/* *\n *\n *  Class Prototype\n *\n * */\nBubblePoint_extend(BubblePoint.prototype, {\n    ttBelow: false\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bubble_BubblePoint = (BubblePoint);\n\n;// ./code/es-modules/Series/Bubble/BubbleSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { parse: BubbleSeries_color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\nconst { composed: BubbleSeries_composed, noop: BubbleSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { series: BubbleSeries_Series, seriesTypes: { column: { prototype: BubbleSeries_columnProto }, scatter: BubbleSeries_ScatterSeries } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { addEvent: BubbleSeries_addEvent, arrayMax: BubbleSeries_arrayMax, arrayMin: BubbleSeries_arrayMin, clamp: BubbleSeries_clamp, extend: BubbleSeries_extend, isNumber: BubbleSeries_isNumber, merge: BubbleSeries_merge, pick: BubbleSeries_pick, pushUnique: BubbleSeries_pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Add logic to pad each axis with the amount of pixels necessary to avoid the\n * bubbles to overflow.\n */\nfunction onAxisFoundExtremes() {\n    const axisLength = this.len, { coll, isXAxis, min } = this, range = (this.max || 0) - (min || 0);\n    let pxMin = 0, pxMax = axisLength, transA = axisLength / range, hasActiveSeries;\n    if (coll !== 'xAxis' && coll !== 'yAxis') {\n        return;\n    }\n    // Handle padding on the second pass, or on redraw\n    this.series.forEach((series) => {\n        if (series.bubblePadding && series.reserveSpace()) {\n            // Correction for #1673\n            this.allowZoomOutside = true;\n            hasActiveSeries = true;\n            const data = series.getColumn(isXAxis ? 'x' : 'y');\n            if (isXAxis) {\n                (series.onPoint || series).getRadii(0, 0, series);\n                if (series.onPoint) {\n                    series.radii = series.onPoint.radii;\n                }\n            }\n            if (range > 0) {\n                let i = data.length;\n                while (i--) {\n                    if (BubbleSeries_isNumber(data[i]) &&\n                        this.dataMin <= data[i] &&\n                        data[i] <= this.max) {\n                        const radius = series.radii && series.radii[i] || 0;\n                        pxMin = Math.min(((data[i] - min) * transA) - radius, pxMin);\n                        pxMax = Math.max(((data[i] - min) * transA) + radius, pxMax);\n                    }\n                }\n            }\n        }\n    });\n    // Apply the padding to the min and max properties\n    if (hasActiveSeries && range > 0 && !this.logarithmic) {\n        pxMax -= axisLength;\n        transA *= (axisLength +\n            Math.max(0, pxMin) - // #8901\n            Math.min(pxMax, axisLength)) / axisLength;\n        [\n            ['min', 'userMin', pxMin],\n            ['max', 'userMax', pxMax]\n        ].forEach((keys) => {\n            if (typeof BubbleSeries_pick(this.options[keys[0]], this[keys[1]]) === 'undefined') {\n                this[keys[0]] += keys[2] / transA;\n            }\n        });\n    }\n}\n/**\n * If a user has defined categories, it is necessary to retroactively hide any\n * ticks added by the 'onAxisFoundExtremes' function above (#21672).\n *\n * Otherwise they can show up on the axis, alongside user-defined categories.\n */\nfunction onAxisAfterRender() {\n    const { ticks, tickPositions, dataMin = 0, dataMax = 0, categories } = this, type = this.options.type;\n    if ((categories?.length || type === 'category') &&\n        this.series.find((s) => s.bubblePadding)) {\n        let tickCount = tickPositions.length;\n        while (tickCount--) {\n            const tick = ticks[tickPositions[tickCount]], pos = tick.pos || 0;\n            if (pos > dataMax || pos < dataMin) {\n                tick.label?.hide();\n            }\n        }\n    }\n}\n/* *\n *\n *  Class\n *\n * */\nclass BubbleSeries extends BubbleSeries_ScatterSeries {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(AxisClass, ChartClass, LegendClass) {\n        Bubble_BubbleLegendComposition.compose(ChartClass, LegendClass);\n        if (BubbleSeries_pushUnique(BubbleSeries_composed, 'Series.Bubble')) {\n            BubbleSeries_addEvent(AxisClass, 'foundExtremes', onAxisFoundExtremes);\n            BubbleSeries_addEvent(AxisClass, 'afterRender', onAxisAfterRender);\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Perform animation on the bubbles\n     * @private\n     */\n    animate(init) {\n        if (!init &&\n            this.points.length < this.options.animationLimit // #8099\n        ) {\n            this.points.forEach(function (point) {\n                const { graphic, plotX = 0, plotY = 0 } = point;\n                if (graphic && graphic.width) { // URL symbols don't have width\n                    // Start values\n                    if (!this.hasRendered) {\n                        graphic.attr({\n                            x: plotX,\n                            y: plotY,\n                            width: 1,\n                            height: 1\n                        });\n                    }\n                    graphic.animate(this.markerAttribs(point), this.options.animation);\n                }\n            }, this);\n        }\n    }\n    /**\n     * Get the radius for each point based on the minSize, maxSize and each\n     * point's Z value. This must be done prior to Series.translate because\n     * the axis needs to add padding in accordance with the point sizes.\n     * @private\n     */\n    getRadii() {\n        const zData = this.getColumn('z'), yData = this.getColumn('y'), radii = [];\n        let len, i, value, zExtremes = this.chart.bubbleZExtremes;\n        const { minPxSize, maxPxSize } = this.getPxExtremes();\n        // Get the collective Z extremes of all bubblish series. The chart-level\n        // `bubbleZExtremes` are only computed once, and reset on `updatedData`\n        // in any member series.\n        if (!zExtremes) {\n            let zMin = Number.MAX_VALUE;\n            let zMax = -Number.MAX_VALUE;\n            let valid;\n            this.chart.series.forEach((otherSeries) => {\n                if (otherSeries.bubblePadding && otherSeries.reserveSpace()) {\n                    const zExtremes = (otherSeries.onPoint || otherSeries).getZExtremes();\n                    if (zExtremes) {\n                        // Changed '||' to 'pick' because min or max can be 0.\n                        // #17280\n                        zMin = Math.min(BubbleSeries_pick(zMin, zExtremes.zMin), zExtremes.zMin);\n                        zMax = Math.max(BubbleSeries_pick(zMax, zExtremes.zMax), zExtremes.zMax);\n                        valid = true;\n                    }\n                }\n            });\n            if (valid) {\n                zExtremes = { zMin, zMax };\n                this.chart.bubbleZExtremes = zExtremes;\n            }\n            else {\n                zExtremes = { zMin: 0, zMax: 0 };\n            }\n        }\n        // Set the shape type and arguments to be picked up in drawPoints\n        for (i = 0, len = zData.length; i < len; i++) {\n            value = zData[i];\n            // Separate method to get individual radius for bubbleLegend\n            radii.push(this.getRadius(zExtremes.zMin, zExtremes.zMax, minPxSize, maxPxSize, value, yData && yData[i]));\n        }\n        this.radii = radii;\n    }\n    /**\n     * Get the individual radius for one point.\n     * @private\n     */\n    getRadius(zMin, zMax, minSize, maxSize, value, yValue) {\n        const options = this.options, sizeByArea = options.sizeBy !== 'width', zThreshold = options.zThreshold;\n        let zRange = zMax - zMin, pos = 0.5;\n        // #8608 - bubble should be visible when z is undefined\n        if (yValue === null || value === null) {\n            return null;\n        }\n        if (BubbleSeries_isNumber(value)) {\n            // When sizing by threshold, the absolute value of z determines\n            // the size of the bubble.\n            if (options.sizeByAbsoluteValue) {\n                value = Math.abs(value - zThreshold);\n                zMax = zRange = Math.max(zMax - zThreshold, Math.abs(zMin - zThreshold));\n                zMin = 0;\n            }\n            // Issue #4419 - if value is less than zMin, push a radius that's\n            // always smaller than the minimum size\n            if (value < zMin) {\n                return minSize / 2 - 1;\n            }\n            // Relative size, a number between 0 and 1\n            if (zRange > 0) {\n                pos = (value - zMin) / zRange;\n            }\n        }\n        if (sizeByArea && pos >= 0) {\n            pos = Math.sqrt(pos);\n        }\n        return Math.ceil(minSize + pos * (maxSize - minSize)) / 2;\n    }\n    /**\n     * Define hasData function for non-cartesian series.\n     * Returns true if the series has points at all.\n     * @private\n     */\n    hasData() {\n        return !!this.dataTable.rowCount;\n    }\n    /**\n     * @private\n     */\n    markerAttribs(point, state) {\n        const attr = super.markerAttribs(point, state), { height = 0, width = 0 } = attr;\n        // Bubble needs a specific `markerAttribs` override because the markers\n        // are rendered into the potentially inverted `series.group`. Unlike\n        // regular markers, which are rendered into the `markerGroup` (#21125).\n        return this.chart.inverted ? BubbleSeries_extend(attr, {\n            x: (point.plotX || 0) - width / 2,\n            y: (point.plotY || 0) - height / 2\n        }) : attr;\n    }\n    /**\n     * @private\n     */\n    pointAttribs(point, state) {\n        const markerOptions = this.options.marker, fillOpacity = markerOptions.fillOpacity, attr = BubbleSeries_Series.prototype.pointAttribs.call(this, point, state);\n        if (fillOpacity !== 1) {\n            attr.fill = BubbleSeries_color(attr.fill)\n                .setOpacity(fillOpacity)\n                .get('rgba');\n        }\n        return attr;\n    }\n    /**\n     * Extend the base translate method to handle bubble size\n     * @private\n     */\n    translate() {\n        // Run the parent method\n        super.translate.call(this);\n        this.getRadii();\n        this.translateBubble();\n    }\n    translateBubble() {\n        const { data, options, radii } = this, { minPxSize } = this.getPxExtremes();\n        // Set the shape type and arguments to be picked up in drawPoints\n        let i = data.length;\n        while (i--) {\n            const point = data[i], radius = radii ? radii[i] : 0; // #1737\n            // Negative points means negative z values (#9728)\n            if (this.zoneAxis === 'z') {\n                point.negative = (point.z || 0) < (options.zThreshold || 0);\n            }\n            if (BubbleSeries_isNumber(radius) && radius >= minPxSize / 2) {\n                // Shape arguments\n                point.marker = BubbleSeries_extend(point.marker, {\n                    radius,\n                    width: 2 * radius,\n                    height: 2 * radius\n                });\n                // Alignment box for the data label\n                point.dlBox = {\n                    x: point.plotX - radius,\n                    y: point.plotY - radius,\n                    width: 2 * radius,\n                    height: 2 * radius\n                };\n            }\n            else { // Below zThreshold\n                // #1691\n                point.shapeArgs = point.plotY = point.dlBox = void 0;\n                point.isInside = false; // #17281\n            }\n        }\n    }\n    getPxExtremes() {\n        const smallestSize = Math.min(this.chart.plotWidth, this.chart.plotHeight);\n        const getPxSize = (length) => {\n            let isPercent;\n            if (typeof length === 'string') {\n                isPercent = /%$/.test(length);\n                length = parseInt(length, 10);\n            }\n            return isPercent ? smallestSize * length / 100 : length;\n        };\n        const minPxSize = getPxSize(BubbleSeries_pick(this.options.minSize, 8));\n        // Prioritize min size if conflict to make sure bubbles are\n        // always visible. #5873\n        const maxPxSize = Math.max(getPxSize(BubbleSeries_pick(this.options.maxSize, '20%')), minPxSize);\n        return { minPxSize, maxPxSize };\n    }\n    getZExtremes() {\n        const options = this.options, zData = this.getColumn('z').filter(BubbleSeries_isNumber);\n        if (zData.length) {\n            const zMin = BubbleSeries_pick(options.zMin, BubbleSeries_clamp(BubbleSeries_arrayMin(zData), options.displayNegative === false ?\n                (options.zThreshold || 0) :\n                -Number.MAX_VALUE, Number.MAX_VALUE));\n            const zMax = BubbleSeries_pick(options.zMax, BubbleSeries_arrayMax(zData));\n            if (BubbleSeries_isNumber(zMin) && BubbleSeries_isNumber(zMax)) {\n                return { zMin, zMax };\n            }\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Series#searchKDTree\n     */\n    searchKDTree(point, compareX, e, suppliedPointEvaluator = BubbleSeries_noop, suppliedBSideCheckEvaluator = BubbleSeries_noop) {\n        suppliedPointEvaluator = (p1, p2, comparisonProp) => {\n            const p1Dist = p1[comparisonProp] || 0;\n            const p2Dist = p2[comparisonProp] || 0;\n            let ret, flip = false;\n            if (p1Dist < 0 && p2Dist < 0) {\n                ret = (p1Dist - (p1.marker?.radius || 0) >=\n                    p2Dist - (p2.marker?.radius || 0)) ?\n                    p1 :\n                    p2;\n                flip = true;\n            }\n            else {\n                ret = p1Dist < p2Dist ? p1 : p2;\n            }\n            return [ret, flip];\n        };\n        suppliedBSideCheckEvaluator = (a, b, flip) => !flip && (a > b) || (a < b);\n        return super.searchKDTree(point, compareX, e, suppliedPointEvaluator, suppliedBSideCheckEvaluator);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\n/**\n * A bubble series is a three dimensional series type where each point\n * renders an X, Y and Z value. Each points is drawn as a bubble where the\n * position along the X and Y axes mark the X and Y values, and the size of\n * the bubble relates to the Z value.\n *\n * @sample {highcharts} highcharts/demo/bubble/\n *         Bubble chart\n *\n * @extends      plotOptions.scatter\n * @excluding    cluster\n * @product      highcharts highstock\n * @requires     highcharts-more\n * @optionparent plotOptions.bubble\n */\nBubbleSeries.defaultOptions = BubbleSeries_merge(BubbleSeries_ScatterSeries.defaultOptions, {\n    dataLabels: {\n        formatter: function () {\n            const { numberFormatter } = this.series.chart;\n            const { z } = this.point;\n            return BubbleSeries_isNumber(z) ? numberFormatter(z, -1) : '';\n        },\n        inside: true,\n        verticalAlign: 'middle'\n    },\n    /**\n     * If there are more points in the series than the `animationLimit`, the\n     * animation won't run. Animation affects overall performance and\n     * doesn't work well with heavy data series.\n     *\n     * @since 6.1.0\n     */\n    animationLimit: 250,\n    /**\n     * Whether to display negative sized bubbles. The threshold is given\n     * by the [zThreshold](#plotOptions.bubble.zThreshold) option, and negative\n     * bubbles can be visualized by setting\n     * [negativeColor](#plotOptions.bubble.negativeColor).\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-negative/\n     *         Negative bubbles\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     3.0\n     * @apioption plotOptions.bubble.displayNegative\n     */\n    /**\n     * @extends   plotOptions.series.marker\n     * @excluding enabled, enabledThreshold, height, radius, width\n     */\n    marker: {\n        lineColor: null, // Inherit from series.color\n        lineWidth: 1,\n        /**\n         * The fill opacity of the bubble markers.\n         */\n        fillOpacity: 0.5,\n        /**\n         * In bubble charts, the radius is overridden and determined based\n         * on the point's data value.\n         *\n         * @ignore-option\n         */\n        radius: null,\n        states: {\n            hover: {\n                radiusPlus: 0\n            }\n        },\n        /**\n         * A predefined shape or symbol for the marker. Possible values are\n         * \"circle\", \"square\", \"diamond\", \"triangle\" and \"triangle-down\".\n         *\n         * Additionally, the URL to a graphic can be given on the form\n         * `url(graphic.png)`. Note that for the image to be applied to\n         * exported charts, its URL needs to be accessible by the export\n         * server.\n         *\n         * Custom callbacks for symbol path generation can also be added to\n         * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then\n         * used by its method name, as shown in the demo.\n         *\n         * @sample {highcharts} highcharts/plotoptions/bubble-symbol/\n         *         Bubble chart with various symbols\n         * @sample {highcharts} highcharts/plotoptions/series-marker-symbol/\n         *         General chart with predefined, graphic and custom markers\n         *\n         * @type  {Highcharts.SymbolKeyValue|string}\n         * @since 5.0.11\n         */\n        symbol: 'circle'\n    },\n    /**\n     * Minimum bubble size. Bubbles will automatically size between the\n     * `minSize` and `maxSize` to reflect the `z` value of each bubble.\n     * Can be either pixels (when no unit is given), or a percentage of\n     * the smallest one of the plot width and height.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-size/\n     *         Bubble size\n     *\n     * @type    {number|string}\n     * @since   3.0\n     * @product highcharts highstock\n     */\n    minSize: 8,\n    /**\n     * Maximum bubble size. Bubbles will automatically size between the\n     * `minSize` and `maxSize` to reflect the `z` value of each bubble.\n     * Can be either pixels (when no unit is given), or a percentage of\n     * the smallest one of the plot width and height.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-size/\n     *         Bubble size\n     *\n     * @type    {number|string}\n     * @since   3.0\n     * @product highcharts highstock\n     */\n    maxSize: '20%',\n    /**\n     * When a point's Z value is below the\n     * [zThreshold](#plotOptions.bubble.zThreshold)\n     * setting, this color is used.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-negative/\n     *         Negative bubbles\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     3.0\n     * @product   highcharts\n     * @apioption plotOptions.bubble.negativeColor\n     */\n    /**\n     * Whether the bubble's value should be represented by the area or the\n     * width of the bubble. The default, `area`, corresponds best to the\n     * human perception of the size of each bubble.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-sizeby/\n     *         Comparison of area and size\n     *\n     * @type       {Highcharts.BubbleSizeByValue}\n     * @default    area\n     * @since      3.0.7\n     * @apioption  plotOptions.bubble.sizeBy\n     */\n    /**\n     * When this is true, the absolute value of z determines the size of\n     * the bubble. This means that with the default `zThreshold` of 0, a\n     * bubble of value -1 will have the same size as a bubble of value 1,\n     * while a bubble of value 0 will have a smaller size according to\n     * `minSize`.\n     *\n     * @sample    {highcharts} highcharts/plotoptions/bubble-sizebyabsolutevalue/\n     *            Size by absolute value, various thresholds\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     4.1.9\n     * @product   highcharts\n     * @apioption plotOptions.bubble.sizeByAbsoluteValue\n     */\n    /**\n     * When this is true, the series will not cause the Y axis to cross\n     * the zero plane (or [threshold](#plotOptions.series.threshold) option)\n     * unless the data actually crosses the plane.\n     *\n     * For example, if `softThreshold` is `false`, a series of 0, 1, 2,\n     * 3 will make the Y axis show negative values according to the\n     * `minPadding` option. If `softThreshold` is `true`, the Y axis starts\n     * at 0.\n     *\n     * @since   4.1.9\n     * @product highcharts\n     */\n    softThreshold: false,\n    states: {\n        hover: {\n            halo: {\n                size: 5\n            }\n        }\n    },\n    tooltip: {\n        pointFormat: '({point.x}, {point.y}), Size: {point.z}'\n    },\n    turboThreshold: 0,\n    /**\n     * The minimum for the Z value range. Defaults to the highest Z value\n     * in the data.\n     *\n     * @see [zMin](#plotOptions.bubble.zMin)\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-zmin-zmax/\n     *         Z has a possible range of 0-100\n     *\n     * @type      {number}\n     * @since     4.0.3\n     * @product   highcharts\n     * @apioption plotOptions.bubble.zMax\n     */\n    /**\n     * @default   z\n     * @apioption plotOptions.bubble.colorKey\n     */\n    /**\n     * The minimum for the Z value range. Defaults to the lowest Z value\n     * in the data.\n     *\n     * @see [zMax](#plotOptions.bubble.zMax)\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-zmin-zmax/\n     *         Z has a possible range of 0-100\n     *\n     * @type      {number}\n     * @since     4.0.3\n     * @product   highcharts\n     * @apioption plotOptions.bubble.zMin\n     */\n    /**\n     * When [displayNegative](#plotOptions.bubble.displayNegative) is `false`,\n     * bubbles with lower Z values are skipped. When `displayNegative`\n     * is `true` and a [negativeColor](#plotOptions.bubble.negativeColor)\n     * is given, points with lower Z is colored.\n     *\n     * @sample {highcharts} highcharts/plotoptions/bubble-negative/\n     *         Negative bubbles\n     *\n     * @since   3.0\n     * @product highcharts\n     */\n    zThreshold: 0,\n    zoneAxis: 'z'\n});\nBubbleSeries_extend(BubbleSeries.prototype, {\n    alignDataLabel: BubbleSeries_columnProto.alignDataLabel,\n    applyZones: BubbleSeries_noop,\n    bubblePadding: true,\n    isBubble: true,\n    keysAffectYAxis: ['y'],\n    pointArrayMap: ['y', 'z'],\n    pointClass: Bubble_BubblePoint,\n    parallelArrays: ['x', 'y', 'z'],\n    trackerGroups: ['group', 'dataLabelsGroup'],\n    specialGroup: 'group', // To allow clipping (#6296)\n    zoneAxis: 'z'\n});\n// On updated data in any series, delete the chart-level Z extremes cache\nBubbleSeries_addEvent(BubbleSeries, 'updatedData', (e) => {\n    delete e.target.chart.bubbleZExtremes;\n});\n// After removing series, delete the chart-level Z extremes cache, #17502.\nBubbleSeries_addEvent(BubbleSeries, 'remove', (e) => {\n    delete e.target.chart.bubbleZExtremes;\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('bubble', BubbleSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bubble_BubbleSeries = (BubbleSeries);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @typedef {\"area\"|\"width\"} Highcharts.BubbleSizeByValue\n */\n''; // Detach doclets above\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A `bubble` series. If the [type](#series.bubble.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.bubble\n * @excluding dataParser, dataURL, legendSymbolColor, stack\n * @product   highcharts highstock\n * @requires  highcharts-more\n * @apioption series.bubble\n */\n/**\n * An array of data points for the series. For the `bubble` series type,\n * points can be given in the following ways:\n *\n * 1. An array of arrays with 3 or 2 values. In this case, the values correspond\n *    to `x,y,z`. If the first value is a string, it is applied as the name of\n *    the point, and the `x` value is inferred. The `x` value can also be\n *    omitted, in which case the inner arrays should be of length 2\\. Then the\n *    `x` value is automatically calculated, either starting at 0 and\n *    incremented by 1, or from `pointStart` and `pointInterval` given in the\n *    series options.\n *    ```js\n *    data: [\n *        [0, 1, 2],\n *        [1, 5, 5],\n *        [2, 0, 2]\n *    ]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.bubble.turboThreshold), this option is not\n *    available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 1,\n *        z: 1,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 5,\n *        z: 4,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}\n * @extends   series.line.data\n * @product   highcharts\n * @apioption series.bubble.data\n */\n/**\n * @extends     series.line.data.marker\n * @excluding   enabledThreshold, height, radius, width\n * @product     highcharts\n * @apioption   series.bubble.data.marker\n */\n/**\n * The size value for each bubble. The bubbles' diameters are computed\n * based on the `z`, and controlled by series options like `minSize`,\n * `maxSize`, `sizeBy`, `zMin` and `zMax`.\n *\n * @type      {number|null}\n * @product   highcharts\n * @apioption series.bubble.data.z\n */\n/**\n * @excluding enabled, enabledThreshold, height, radius, width\n * @apioption series.bubble.marker\n */\n''; // Adds doclets above to transpiled file\n\n;// ./code/es-modules/Series/MapBubble/MapBubblePoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Imports\n *\n * */\n\n\nconst { seriesTypes: { map: { prototype: { pointClass: { prototype: mapPointProto } } } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { extend: MapBubblePoint_extend } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass MapBubblePoint extends Bubble_BubblePoint {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    isValid() {\n        return typeof this.z === 'number';\n    }\n}\nMapBubblePoint_extend(MapBubblePoint.prototype, {\n    applyOptions: mapPointProto.applyOptions,\n    getProjectedBounds: mapPointProto.getProjectedBounds\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const MapBubble_MapBubblePoint = (MapBubblePoint);\n\n;// ./code/es-modules/Series/MapBubble/MapBubbleSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { seriesTypes: { map: { prototype: mapProto }, mappoint: { prototype: MapBubbleSeries_mapPointProto } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { extend: MapBubbleSeries_extend, merge: MapBubbleSeries_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.mapbubble\n *\n * @augments Highcharts.Series\n *\n * @requires BubbleSeries\n * @requires MapPointSeries\n */\nclass MapBubbleSeries extends Bubble_BubbleSeries {\n    constructor() {\n        /* *\n         *\n         *  Static Properties\n         *\n         * */\n        super(...arguments);\n        this.clearBounds = mapProto.clearBounds;\n    }\n    searchPoint(e, compareX) {\n        return this.searchKDTree({\n            plotX: e.chartX - this.chart.plotLeft,\n            plotY: e.chartY - this.chart.plotTop\n        }, compareX, e);\n    }\n    translate() {\n        MapBubbleSeries_mapPointProto.translate.call(this);\n        this.getRadii();\n        this.translateBubble();\n    }\n}\n/**\n * A map bubble series is a bubble series laid out on top of a map\n * series, where each bubble is tied to a specific map area.\n *\n * @sample maps/demo/map-bubble/\n *         Map bubble chart\n *\n * @extends      plotOptions.bubble\n * @product      highmaps\n * @optionparent plotOptions.mapbubble\n */\nMapBubbleSeries.defaultOptions = MapBubbleSeries_merge(Bubble_BubbleSeries.defaultOptions, {\n    /**\n     * The main color of the series. This color affects both the fill\n     * and the stroke of the bubble. For enhanced control, use `marker`\n     * options.\n     *\n     * @sample {highmaps} maps/plotoptions/mapbubble-color/\n     *         Pink bubbles\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @apioption plotOptions.mapbubble.color\n     */\n    /**\n     * Whether to display negative sized bubbles. The threshold is\n     * given by the [zThreshold](#plotOptions.mapbubble.zThreshold)\n     * option, and negative bubbles can be visualized by setting\n     * [negativeColor](#plotOptions.bubble.negativeColor).\n     *\n     * @type      {boolean}\n     * @default   true\n     * @apioption plotOptions.mapbubble.displayNegative\n     */\n    /**\n     * Color of the line connecting bubbles. The default value is the same\n     * as series' color.\n     *\n     * In styled mode, the color can be defined by the\n     * [colorIndex](#plotOptions.series.colorIndex) option. Also, the series\n     * color can be set with the `.highcharts-series`,\n     * `.highcharts-color-{n}`, `.highcharts-{type}-series` or\n     * `.highcharts-series-{n}` class, or individual classes given by the\n     * `className` option.\n     *\n     *\n     * @sample {highmaps} maps/demo/spider-map/\n     *         Spider map\n     * @sample {highmaps} maps/plotoptions/spider-map-line-color/\n     *         Different line color\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @apioption plotOptions.mapbubble.lineColor\n     */\n    /**\n     * Pixel width of the line connecting bubbles.\n     *\n     * @sample {highmaps} maps/demo/spider-map/\n     *         Spider map\n     *\n     * @product   highmaps\n     * @apioption plotOptions.mapbubble.lineWidth\n     */\n    lineWidth: 0,\n    /**\n     * Maximum bubble size. Bubbles will automatically size between the\n     * `minSize` and `maxSize` to reflect the `z` value of each bubble.\n     * Can be either pixels (when no unit is given), or a percentage of\n     * the smallest one of the plot width and height.\n     *\n     * @sample {highmaps} highcharts/plotoptions/bubble-size/\n     *         Bubble size\n     * @sample {highmaps} maps/demo/spider-map/\n     *         Spider map\n     *\n     * @product   highmaps\n     * @apioption plotOptions.mapbubble.maxSize\n     */\n    /**\n     * Minimum bubble size. Bubbles will automatically size between the\n     * `minSize` and `maxSize` to reflect the `z` value of each bubble.\n     * Can be either pixels (when no unit is given), or a percentage of\n     * the smallest one of the plot width and height.\n     *\n     * @sample {highmaps} maps/demo/map-bubble/\n     *         Bubble size\n     * @sample {highmaps} maps/demo/spider-map/\n     *         Spider map\n     *\n     * @product   highmaps\n     * @apioption plotOptions.mapbubble.minSize\n     */\n    /**\n     * When a point's Z value is below the\n     * [zThreshold](#plotOptions.mapbubble.zThreshold) setting, this\n     * color is used.\n     *\n     * @sample {highmaps} maps/plotoptions/mapbubble-negativecolor/\n     *         Negative color below a threshold\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @apioption plotOptions.mapbubble.negativeColor\n     */\n    /**\n     * Whether the bubble's value should be represented by the area or\n     * the width of the bubble. The default, `area`, corresponds best to\n     * the human perception of the size of each bubble.\n     *\n     * @type       {Highcharts.BubbleSizeByValue}\n     * @default    area\n     * @apioption  plotOptions.mapbubble.sizeBy\n     */\n    /**\n     * When this is true, the absolute value of z determines the size\n     * of the bubble. This means that with the default `zThreshold` of\n     * 0, a bubble of value -1 will have the same size as a bubble of\n     * value 1, while a bubble of value 0 will have a smaller size\n     * according to `minSize`.\n     *\n     * @sample {highmaps} highcharts/plotoptions/bubble-sizebyabsolutevalue/\n     *         Size by absolute value, various thresholds\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     1.1.9\n     * @apioption plotOptions.mapbubble.sizeByAbsoluteValue\n     */\n    /**\n     * The maximum for the Z value range. Defaults to the highest Z value in\n     * the data.\n     *\n     * @see [zMin](#plotOptions.mapbubble.zMin)\n     *\n     * @sample {highmaps} highcharts/plotoptions/bubble-zmin-zmax/\n     *         Z has a possible range of 0-100\n     *\n     * @type      {number}\n     * @since     1.0.3\n     * @apioption plotOptions.mapbubble.zMax\n     */\n    /**\n     * The minimum for the Z value range. Defaults to the lowest Z value\n     * in the data.\n     *\n     * @see [zMax](#plotOptions.mapbubble.zMax)\n     *\n     * @sample {highmaps} highcharts/plotoptions/bubble-zmin-zmax/\n     *         Z has a possible range of 0-100\n     *\n     * @type      {number}\n     * @since     1.0.3\n     * @apioption plotOptions.mapbubble.zMin\n     */\n    /**\n     * When [displayNegative](#plotOptions.mapbubble.displayNegative)\n     * is `false`, bubbles with lower Z values are skipped. When\n     * `displayNegative` is `true` and a\n     * [negativeColor](#plotOptions.mapbubble.negativeColor) is given,\n     * points with lower Z is colored.\n     *\n     * @sample {highmaps} maps/plotoptions/mapbubble-negativecolor/\n     *         Negative color below a threshold\n     *\n     * @type      {number}\n     * @default   0\n     * @apioption plotOptions.mapbubble.zThreshold\n     */\n    /**\n     * @default 500\n     */\n    animationLimit: 500,\n    /**\n     * @type {string|Array<string>}\n     */\n    joinBy: 'hc-key',\n    tooltip: {\n        pointFormat: '{point.name}: {point.z}'\n    }\n});\nMapBubbleSeries_extend(MapBubbleSeries.prototype, {\n    type: 'mapbubble',\n    axisTypes: ['colorAxis'],\n    getProjectedBounds: mapProto.getProjectedBounds,\n    isCartesian: false,\n    // If one single value is passed, it is interpreted as z\n    pointArrayMap: ['z'],\n    pointClass: MapBubble_MapBubblePoint,\n    processData: mapProto.processData,\n    projectPoint: MapBubbleSeries_mapPointProto.projectPoint,\n    kdAxisArray: ['plotX', 'plotY'],\n    setData: mapProto.setData,\n    setOptions: mapProto.setOptions,\n    updateData: mapProto.updateData,\n    useMapGeometry: true,\n    xyFromShape: true\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('mapbubble', MapBubbleSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const MapBubble_MapBubbleSeries = (MapBubbleSeries);\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A `mapbubble` series. If the [type](#series.mapbubble.type) option\n * is not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.mapbubble\n * @excluding dataParser, dataURL\n * @product   highmaps\n * @apioption series.mapbubble\n */\n/**\n * An array of data points for the series. For the `mapbubble` series\n * type, points can be given in the following ways:\n *\n * 1. An array of numerical values. In this case, the numerical values\n *    will be interpreted as `z` options. Example:\n *\n *    ```js\n *    data: [0, 5, 3, 5]\n *    ```\n *\n * 2. An array of objects with named values. The following snippet shows only a\n *    few settings, see the complete options set below. If the total number of\n *    data points exceeds the series'\n *    [turboThreshold](#series.mapbubble.turboThreshold),\n *    this option is not available.\n *\n *    ```js\n *        data: [{\n *            z: 9,\n *            name: \"Point2\",\n *            color: \"#00FF00\"\n *        }, {\n *            z: 10,\n *            name: \"Point1\",\n *            color: \"#FF00FF\"\n *        }]\n *    ```\n *\n * @type      {Array<number|null|*>}\n * @extends   series.mappoint.data\n * @excluding labelrank, middleX, middleY, path, value, x, y, lat, lon\n * @product   highmaps\n * @apioption series.mapbubble.data\n */\n/**\n * While the `x` and `y` values of the bubble are determined by the\n * underlying map, the `z` indicates the actual value that gives the\n * size of the bubble.\n *\n * @sample {highmaps} maps/demo/map-bubble/\n *         Bubble\n *\n * @type      {number|null}\n * @product   highmaps\n * @apioption series.mapbubble.data.z\n */\n/**\n * @excluding enabled, enabledThreshold, height, radius, width\n * @sample {highmaps} maps/plotoptions/mapbubble-symbol\n *         Map bubble with mapmarker symbol\n * @apioption series.mapbubble.marker\n */\n''; // Adds doclets above to transpiled file\n\n;// ./code/es-modules/Series/Heatmap/HeatmapPoint.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { scatter: { prototype: { pointClass: HeatmapPoint_ScatterPoint } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { clamp: HeatmapPoint_clamp, defined: HeatmapPoint_defined, extend: HeatmapPoint_extend, pick: HeatmapPoint_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass HeatmapPoint extends HeatmapPoint_ScatterPoint {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /** @private */\n    applyOptions(options, x) {\n        // #17970, if point is null remove its color, because it may be updated\n        if (this.isNull || this.value === null) {\n            delete this.color;\n        }\n        super.applyOptions(options, x);\n        this.formatPrefix = this.isNull || this.value === null ?\n            'null' : 'point';\n        return this;\n    }\n    /** @private */\n    getCellAttributes() {\n        const point = this, series = point.series, seriesOptions = series.options, xPad = (seriesOptions.colsize || 1) / 2, yPad = (seriesOptions.rowsize || 1) / 2, xAxis = series.xAxis, yAxis = series.yAxis, markerOptions = point.options.marker || series.options.marker, pointPlacement = series.pointPlacementToXValue(), // #7860\n        pointPadding = HeatmapPoint_pick(point.pointPadding, seriesOptions.pointPadding, 0), cellAttr = {\n            x1: HeatmapPoint_clamp(Math.round(xAxis.len -\n                xAxis.translate(point.x - xPad, false, true, false, true, -pointPlacement)), -xAxis.len, 2 * xAxis.len),\n            x2: HeatmapPoint_clamp(Math.round(xAxis.len -\n                xAxis.translate(point.x + xPad, false, true, false, true, -pointPlacement)), -xAxis.len, 2 * xAxis.len),\n            y1: HeatmapPoint_clamp(Math.round(yAxis.translate(point.y - yPad, false, true, false, true)), -yAxis.len, 2 * yAxis.len),\n            y2: HeatmapPoint_clamp(Math.round(yAxis.translate(point.y + yPad, false, true, false, true)), -yAxis.len, 2 * yAxis.len)\n        };\n        const dimensions = [['width', 'x'], ['height', 'y']];\n        // Handle marker's fixed width, and height values including border\n        // and pointPadding while calculating cell attributes.\n        for (const dimension of dimensions) {\n            const prop = dimension[0], direction = dimension[1];\n            let start = direction + '1', end = direction + '2';\n            const side = Math.abs(cellAttr[start] - cellAttr[end]), borderWidth = markerOptions &&\n                markerOptions.lineWidth || 0, plotPos = Math.abs(cellAttr[start] + cellAttr[end]) / 2, widthOrHeight = markerOptions && markerOptions[prop];\n            if (HeatmapPoint_defined(widthOrHeight) && widthOrHeight < side) {\n                const halfCellSize = widthOrHeight / 2 + borderWidth / 2;\n                cellAttr[start] = plotPos - halfCellSize;\n                cellAttr[end] = plotPos + halfCellSize;\n            }\n            // Handle pointPadding\n            if (pointPadding) {\n                if ((direction === 'x' && xAxis.reversed) ||\n                    (direction === 'y' && !yAxis.reversed)) {\n                    start = end;\n                    end = direction + '1';\n                }\n                cellAttr[start] += pointPadding;\n                cellAttr[end] -= pointPadding;\n            }\n        }\n        return cellAttr;\n    }\n    /**\n     * @private\n     */\n    haloPath(size) {\n        if (!size) {\n            return [];\n        }\n        const { x = 0, y = 0, width = 0, height = 0 } = this.shapeArgs || {};\n        return [\n            ['M', x - size, y - size],\n            ['L', x - size, y + height + size],\n            ['L', x + width + size, y + height + size],\n            ['L', x + width + size, y - size],\n            ['Z']\n        ];\n    }\n    /**\n     * Color points have a value option that determines whether or not it is\n     * a null point\n     * @private\n     */\n    isValid() {\n        // Undefined is allowed\n        return (this.value !== Infinity &&\n            this.value !== -Infinity);\n    }\n}\nHeatmapPoint_extend(HeatmapPoint.prototype, {\n    dataLabelOnNull: true,\n    moveToTopOnHover: true,\n    ttBelow: false\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Heatmap_HeatmapPoint = (HeatmapPoint);\n\n;// ./code/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { isNumber: HeatmapSeriesDefaults_isNumber } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A heatmap is a graphical representation of data where the individual\n * values contained in a matrix are represented as colors.\n *\n * @productdesc {highcharts}\n * Requires `modules/heatmap`.\n *\n * @sample highcharts/demo/heatmap/\n *         Simple heatmap\n * @sample highcharts/demo/heatmap-canvas/\n *         Heavy heatmap\n *\n * @extends      plotOptions.scatter\n * @excluding    animationLimit, cluster, connectEnds, connectNulls,\n *               cropThreshold, dashStyle, dragDrop, findNearestPointBy,\n *               getExtremesFromAll, jitter, legendSymbolColor, linecap,\n *               lineWidth, pointInterval, pointIntervalUnit, pointRange,\n *               pointStart, shadow, softThreshold, stacking, step, threshold\n * @product      highcharts highmaps\n * @optionparent plotOptions.heatmap\n */\nconst HeatmapSeriesDefaults = {\n    /**\n     * Animation is disabled by default on the heatmap series.\n     */\n    animation: false,\n    /**\n     * The border radius for each heatmap item. The border's color and\n     * width can be set in marker options.\n     *\n     * @see [lineColor](#plotOptions.heatmap.marker.lineColor)\n     * @see [lineWidth](#plotOptions.heatmap.marker.lineWidth)\n     */\n    borderRadius: 0,\n    /**\n     * The border width for each heatmap item.\n     */\n    borderWidth: 0,\n    /**\n     * Padding between the points in the heatmap.\n     *\n     * @type      {number}\n     * @default   0\n     * @since     6.0\n     * @apioption plotOptions.heatmap.pointPadding\n     */\n    /**\n     * @default   value\n     * @apioption plotOptions.heatmap.colorKey\n     */\n    /**\n     * The main color of the series. In heat maps this color is rarely used,\n     * as we mostly use the color to denote the value of each point. Unless\n     * options are set in the [colorAxis](#colorAxis), the default value\n     * is pulled from the [options.colors](#colors) array.\n     *\n     * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @since     4.0\n     * @product   highcharts\n     * @apioption plotOptions.heatmap.color\n     */\n    /**\n     * The column size - how many X axis units each column in the heatmap\n     * should span.\n     *\n     * @sample {highcharts} maps/demo/heatmap/\n     *         One day\n     * @sample {highmaps} maps/demo/heatmap/\n     *         One day\n     *\n     * @type      {number}\n     * @default   1\n     * @since     4.0\n     * @product   highcharts highmaps\n     * @apioption plotOptions.heatmap.colsize\n     */\n    /**\n     * The row size - how many Y axis units each heatmap row should span.\n     *\n     * @sample {highcharts} maps/demo/heatmap/\n     *         1 by default\n     * @sample {highmaps} maps/demo/heatmap/\n     *         1 by default\n     *\n     * @type      {number}\n     * @default   1\n     * @since     4.0\n     * @product   highcharts highmaps\n     * @apioption plotOptions.heatmap.rowsize\n     */\n    /**\n     * Make the heatmap render its data points as an interpolated image.\n     *\n     * @sample highcharts/demo/heatmap-interpolation\n     *   Interpolated heatmap image displaying user activity on a website\n     * @sample highcharts/series-heatmap/interpolation\n     *   Interpolated heatmap toggle\n     *\n     */\n    interpolation: false,\n    /**\n     * The color applied to null points. In styled mode, a general CSS class\n     * is applied instead.\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    nullColor: \"#f7f7f7\" /* Palette.neutralColor3 */,\n    dataLabels: {\n        formatter: function () {\n            const { numberFormatter } = this.series.chart;\n            const { value } = this.point;\n            return HeatmapSeriesDefaults_isNumber(value) ? numberFormatter(value, -1) : '';\n        },\n        inside: true,\n        verticalAlign: 'middle',\n        crop: false,\n        /**\n         * @ignore-option\n         */\n        overflow: 'allow',\n        padding: 0 // #3837\n    },\n    /**\n     * @excluding radius, enabledThreshold\n     * @since     8.1\n     */\n    marker: {\n        /**\n         * A predefined shape or symbol for the marker. When undefined, the\n         * symbol is pulled from options.symbols. Other possible values are\n         * `'circle'`, `'square'`,`'diamond'`, `'triangle'`,\n         * `'triangle-down'`, `'rect'`, and `'ellipse'`.\n         *\n         * Additionally, the URL to a graphic can be given on this form:\n         * `'url(graphic.png)'`. Note that for the image to be applied to\n         * exported charts, its URL needs to be accessible by the export\n         * server.\n         *\n         * Custom callbacks for symbol path generation can also be added to\n         * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then\n         * used by its method name, as shown in the demo.\n         *\n         * @sample {highcharts} highcharts/plotoptions/series-marker-symbol/\n         *         Predefined, graphic and custom markers\n         * @sample {highstock} highcharts/plotoptions/series-marker-symbol/\n         *         Predefined, graphic and custom markers\n         */\n        symbol: 'rect',\n        /** @ignore-option */\n        radius: 0,\n        lineColor: void 0,\n        states: {\n            /**\n             * @excluding radius, radiusPlus\n             */\n            hover: {\n                /**\n                 * Set the marker's fixed width on hover state.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n                 *         70px fixed marker's width and height on hover\n                 *\n                 * @type      {number|undefined}\n                 * @default   undefined\n                 * @product   highcharts highmaps\n                 * @apioption plotOptions.heatmap.marker.states.hover.width\n                 */\n                /**\n                 * Set the marker's fixed height on hover state.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n                 *         70px fixed marker's width and height on hover\n                 *\n                 * @type      {number|undefined}\n                 * @default   undefined\n                 * @product   highcharts highmaps\n                 * @apioption plotOptions.heatmap.marker.states.hover.height\n                 */\n                /**\n                 * The number of pixels to increase the width of the\n                 * selected point.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n                 *         20px greater width and height on hover\n                 *\n                 * @type      {number|undefined}\n                 * @default   undefined\n                 * @product   highcharts highmaps\n                 * @apioption plotOptions.heatmap.marker.states.hover.widthPlus\n                 */\n                /**\n                 * The number of pixels to increase the height of the\n                 * selected point.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n                *          20px greater width and height on hover\n                    *\n                    * @type      {number|undefined}\n                    * @default   undefined\n                    * @product   highcharts highmaps\n                    * @apioption plotOptions.heatmap.marker.states.hover.heightPlus\n                    */\n                /**\n                 * The additional line width for a hovered point.\n                 *\n                 * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-linewidthplus\n                 *         5 pixels wider lineWidth on hover\n                 * @sample {highmaps} maps/plotoptions/heatmap-marker-states-hover-linewidthplus\n                 *         5 pixels wider lineWidth on hover\n                 */\n                lineWidthPlus: 0\n            },\n            /**\n             * @excluding radius\n             */\n            select: {\n            /**\n             * Set the marker's fixed width on select state.\n             *\n             * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n             *         70px fixed marker's width and height on hover\n             *\n             * @type      {number|undefined}\n             * @default   undefined\n             * @product   highcharts highmaps\n             * @apioption plotOptions.heatmap.marker.states.select.width\n             */\n            /**\n             * Set the marker's fixed height on select state.\n             *\n             * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n             *         70px fixed marker's width and height on hover\n             *\n             * @type      {number|undefined}\n             * @default   undefined\n             * @product   highcharts highmaps\n             * @apioption plotOptions.heatmap.marker.states.select.height\n             */\n            /**\n             * The number of pixels to increase the width of the\n             * selected point.\n             *\n             * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n             *         20px greater width and height on hover\n             *\n             * @type      {number|undefined}\n             * @default   undefined\n             * @product   highcharts highmaps\n             * @apioption plotOptions.heatmap.marker.states.select.widthPlus\n             */\n            /**\n             * The number of pixels to increase the height of the\n             * selected point.\n             *\n             * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n             *         20px greater width and height on hover\n             *\n             * @type      {number|undefined}\n             * @default   undefined\n             * @product   highcharts highmaps\n             * @apioption plotOptions.heatmap.marker.states.select.heightPlus\n             */\n            }\n        }\n    },\n    clip: true,\n    /** @ignore-option */\n    pointRange: null, // Dynamically set to colsize by default\n    tooltip: {\n        pointFormat: '{point.x}, {point.y}: {point.value}<br/>'\n    },\n    states: {\n        hover: {\n            /** @ignore-option */\n            halo: false, // #3406, halo is disabled on heatmaps by default\n            /**\n             * How much to brighten the point on interaction. Requires the\n             * main color to be defined in hex or rgb(a) format.\n             *\n             * In styled mode, the hover brightening is by default replaced\n             * with a fill-opacity set in the `.highcharts-point:hover`\n             * rule.\n             */\n            brightness: 0.2\n        }\n    },\n    legendSymbol: 'rectangle'\n};\n/**\n * A `heatmap` series. If the [type](#series.heatmap.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @productdesc {highcharts}\n * Requires `modules/heatmap`.\n *\n * @extends   series,plotOptions.heatmap\n * @excluding cropThreshold, dataParser, dataURL, dragDrop ,pointRange, stack,\n * @product   highcharts highmaps\n * @apioption series.heatmap\n */\n/**\n * An array of data points for the series. For the `heatmap` series\n * type, points can be given in the following ways:\n *\n * 1.  An array of arrays with 3 or 2 values. In this case, the values\n * correspond to `x,y,value`. If the first value is a string, it is\n * applied as the name of the point, and the `x` value is inferred.\n * The `x` value can also be omitted, in which case the inner arrays\n * should be of length 2\\. Then the `x` value is automatically calculated,\n * either starting at 0 and incremented by 1, or from `pointStart`\n * and `pointInterval` given in the series options.\n *\n *  ```js\n *     data: [\n *         [0, 9, 7],\n *         [1, 10, 4],\n *         [2, 6, 3]\n *     ]\n *  ```\n *\n * 2.  An array of objects with named values. The following snippet shows only a\n * few settings, see the complete options set below. If the total number of data\n * points exceeds the series' [turboThreshold](#series.heatmap.turboThreshold),\n * this option is not available.\n *\n *  ```js\n *     data: [{\n *         x: 1,\n *         y: 3,\n *         value: 10,\n *         name: \"Point2\",\n *         color: \"#00FF00\"\n *     }, {\n *         x: 1,\n *         y: 7,\n *         value: 10,\n *         name: \"Point1\",\n *         color: \"#FF00FF\"\n *     }]\n *  ```\n *\n * @sample {highcharts} highcharts/chart/reflow-true/\n *         Numerical values\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<number>|*>}\n * @extends   series.line.data\n * @product   highcharts highmaps\n * @apioption series.heatmap.data\n */\n/**\n * The color of the point. In heat maps the point color is rarely set\n * explicitly, as we use the color to denote the `value`. Options for\n * this are set in the [colorAxis](#colorAxis) configuration.\n *\n * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.color\n */\n/**\n * The value of the point, resulting in a color controlled by options\n * as set in the [colorAxis](#colorAxis) configuration.\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.value\n */\n/**\n * The x value of the point. For datetime axes,\n * the X value is the timestamp in milliseconds since 1970.\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.x\n */\n/**\n * The y value of the point.\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.y\n */\n/**\n * Point padding for a single point.\n *\n * @sample maps/plotoptions/tilemap-pointpadding\n *         Point padding on tiles\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.pointPadding\n */\n/**\n * @excluding radius, enabledThreshold\n * @product   highcharts highmaps\n * @since     8.1\n * @apioption series.heatmap.data.marker\n */\n/**\n * @excluding radius, enabledThreshold\n * @product   highcharts highmaps\n * @since     8.1\n * @apioption series.heatmap.marker\n */\n/**\n * @excluding radius, radiusPlus\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.hover\n */\n/**\n * @excluding radius\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.select\n */\n/**\n * @excluding radius, radiusPlus\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.hover\n */\n/**\n * @excluding radius\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.select\n */\n/**\n* Set the marker's fixed width on hover state.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-linewidthplus\n*         5 pixels wider lineWidth on hover\n*\n* @type      {number|undefined}\n* @default   0\n* @product   highcharts highmaps\n* @apioption series.heatmap.marker.states.hover.lineWidthPlus\n*/\n/**\n* Set the marker's fixed width on hover state.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n*         70px fixed marker's width and height on hover\n*\n* @type      {number|undefined}\n* @default   undefined\n* @product   highcharts highmaps\n* @apioption series.heatmap.marker.states.hover.width\n*/\n/**\n * Set the marker's fixed height on hover state.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n *         70px fixed marker's width and height on hover\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.hover.height\n */\n/**\n* The number of pixels to increase the width of the\n* hovered point.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n*         One day\n*\n* @type      {number|undefined}\n* @default   undefined\n* @product   highcharts highmaps\n* @apioption series.heatmap.marker.states.hover.widthPlus\n*/\n/**\n * The number of pixels to increase the height of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.hover.heightPlus\n */\n/**\n * The number of pixels to increase the width of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.select.widthPlus\n */\n/**\n * The number of pixels to increase the height of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.marker.states.select.heightPlus\n */\n/**\n* Set the marker's fixed width on hover state.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-linewidthplus\n*         5 pixels wider lineWidth on hover\n*\n* @type      {number|undefined}\n* @default   0\n* @product   highcharts highmaps\n* @apioption series.heatmap.data.marker.states.hover.lineWidthPlus\n*/\n/**\n * Set the marker's fixed width on hover state.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n *         70px fixed marker's width and height on hover\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.hover.width\n */\n/**\n * Set the marker's fixed height on hover state.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n *         70px fixed marker's width and height on hover\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.hover.height\n */\n/**\n * The number of pixels to increase the width of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highstock\n * @apioption series.heatmap.data.marker.states.hover.widthPlus\n */\n/**\n * The number of pixels to increase the height of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highstock\n * @apioption series.heatmap.data.marker.states.hover.heightPlus\n */\n/**\n* Set the marker's fixed width on select state.\n*\n* @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n*         70px fixed marker's width and height on hover\n*\n* @type      {number|undefined}\n* @default   undefined\n* @product   highcharts highmaps\n* @apioption series.heatmap.data.marker.states.select.width\n*/\n/**\n * Set the marker's fixed height on select state.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-width\n *         70px fixed marker's width and height on hover\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highmaps\n * @apioption series.heatmap.data.marker.states.select.height\n */\n/**\n * The number of pixels to increase the width of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highstock\n * @apioption series.heatmap.data.marker.states.select.widthPlus\n */\n/**\n * The number of pixels to increase the height of the\n * hovered point.\n *\n * @sample {highcharts} maps/plotoptions/heatmap-marker-states-hover-widthplus\n *         One day\n *\n * @type      {number|undefined}\n * @default   undefined\n * @product   highcharts highstock\n * @apioption series.heatmap.data.marker.states.select.heightPlus\n */\n''; // Keeps doclets above separate\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Heatmap_HeatmapSeriesDefaults = (HeatmapSeriesDefaults);\n\n;// ./code/es-modules/Series/InterpolationUtilities.js\n/* *\n *\n *  (c) 2010-2024 Hubert Kozik\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { defined: InterpolationUtilities_defined, pick: InterpolationUtilities_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Find color of point based on color axis.\n *\n * @function Highcharts.colorFromPoint\n *\n * @param {number | null} value\n *        Value to find corresponding color on the color axis.\n *\n * @param {Highcharts.Point} point\n *        Point to find it's color from color axis.\n *\n * @return {number[]}\n *        Color in RGBa array.\n */\nfunction colorFromPoint(value, point) {\n    const colorAxis = point.series.colorAxis;\n    if (colorAxis) {\n        const rgba = (colorAxis.toColor(value || 0, point)\n            .split(')')[0]\n            .split('(')[1]\n            .split(',')\n            .map((s) => InterpolationUtilities_pick(parseFloat(s), parseInt(s, 10))));\n        rgba[3] = InterpolationUtilities_pick(rgba[3], 1.0) * 255;\n        if (!InterpolationUtilities_defined(value) || !point.visible) {\n            rgba[3] = 0;\n        }\n        return rgba;\n    }\n    return [0, 0, 0, 0];\n}\n/**\n * Method responsible for creating a canvas for interpolation image.\n * @private\n */\nfunction getContext(series) {\n    const { canvas, context } = series;\n    if (canvas && context) {\n        context.clearRect(0, 0, canvas.width, canvas.height);\n    }\n    else {\n        series.canvas = doc.createElement('canvas');\n        series.context = series.canvas.getContext('2d', {\n            willReadFrequently: true\n        }) || void 0;\n        return series.context;\n    }\n    return context;\n}\nconst InterpolationUtilities = {\n    colorFromPoint,\n    getContext\n};\n/* harmony default export */ const Series_InterpolationUtilities = (InterpolationUtilities);\n\n;// ./code/es-modules/Series/Heatmap/HeatmapSeries.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\n\nconst { series: HeatmapSeries_Series, seriesTypes: { column: HeatmapSeries_ColumnSeries, scatter: HeatmapSeries_ScatterSeries } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { prototype: { symbols: HeatmapSeries_symbols } } = (highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default());\n\nconst { addEvent: HeatmapSeries_addEvent, extend: HeatmapSeries_extend, fireEvent: HeatmapSeries_fireEvent, isNumber: HeatmapSeries_isNumber, merge: HeatmapSeries_merge, pick: HeatmapSeries_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { colorFromPoint: HeatmapSeries_colorFromPoint, getContext: HeatmapSeries_getContext } = Series_InterpolationUtilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.heatmap\n *\n * @augments Highcharts.Series\n */\nclass HeatmapSeries extends HeatmapSeries_ScatterSeries {\n    constructor() {\n        /* *\n         *\n         *  Static Properties\n         *\n         * */\n        super(...arguments);\n        this.valueMax = NaN;\n        this.valueMin = NaN;\n        this.isDirtyCanvas = true;\n        /* eslint-enable valid-jsdoc */\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    drawPoints() {\n        const series = this, seriesOptions = series.options, interpolation = seriesOptions.interpolation, seriesMarkerOptions = seriesOptions.marker || {};\n        if (interpolation) {\n            const { image, chart, xAxis, yAxis } = series, { reversed: xRev = false, len: width } = xAxis, { reversed: yRev = false, len: height } = yAxis, dimensions = { width, height };\n            if (!image || series.isDirtyData || series.isDirtyCanvas) {\n                const ctx = HeatmapSeries_getContext(series), { canvas, options: { colsize = 1, rowsize = 1 }, points, points: { length } } = series, pointsLen = length - 1, colorAxis = (chart.colorAxis && chart.colorAxis[0]);\n                if (canvas && ctx && colorAxis) {\n                    const { min: xMin, max: xMax } = xAxis.getExtremes(), { min: yMin, max: yMax } = yAxis.getExtremes(), xDelta = xMax - xMin, yDelta = yMax - yMin, imgMultiple = 8.0, lastX = Math.round(imgMultiple * ((xDelta / colsize) / imgMultiple)), lastY = Math.round(imgMultiple * ((yDelta / rowsize) / imgMultiple)), [transformX, transformY] = [\n                        [lastX, lastX / xDelta, xRev, 'ceil'],\n                        [lastY, lastY / yDelta, !yRev, 'floor']\n                    ].map(([last, scale, rev, rounding]) => (rev ?\n                        (v) => (Math[rounding](last -\n                            (scale * (v)))) :\n                        (v) => (Math[rounding](scale * v)))), canvasWidth = canvas.width = lastX + 1, canvasHeight = canvas.height = lastY + 1, canvasArea = canvasWidth * canvasHeight, pixelToPointScale = pointsLen / canvasArea, pixelData = new Uint8ClampedArray(canvasArea * 4), pointInPixels = (x, y) => (Math.ceil((canvasWidth * transformY(y - yMin)) +\n                        transformX(x - xMin)) * 4);\n                    series.buildKDTree();\n                    for (let i = 0; i < canvasArea; i++) {\n                        const point = points[Math.ceil(pixelToPointScale * i)], { x, y } = point;\n                        pixelData.set(HeatmapSeries_colorFromPoint(point.value, point), pointInPixels(x, y));\n                    }\n                    ctx.putImageData(new ImageData(pixelData, canvasWidth), 0, 0);\n                    if (image) {\n                        image.attr({\n                            ...dimensions,\n                            href: canvas.toDataURL('image/png', 1)\n                        });\n                    }\n                    else {\n                        series.directTouch = false;\n                        series.image = chart.renderer.image(canvas.toDataURL('image/png', 1))\n                            .attr(dimensions)\n                            .add(series.group);\n                    }\n                }\n                series.isDirtyCanvas = false;\n            }\n            else if (image.width !== width || image.height !== height) {\n                image.attr(dimensions);\n            }\n        }\n        else if (seriesMarkerOptions.enabled || series._hasPointMarkers) {\n            HeatmapSeries_Series.prototype.drawPoints.call(series);\n            series.points.forEach((point) => {\n                if (point.graphic) {\n                    // In styled mode, use CSS, otherwise the fill used in\n                    // the style sheet will take precedence over\n                    // the fill attribute.\n                    point.graphic[series.chart.styledMode ? 'css' : 'animate'](series.colorAttribs(point));\n                    if (point.value === null) { // #15708\n                        point.graphic.addClass('highcharts-null-point');\n                    }\n                }\n            });\n        }\n    }\n    /**\n     * @private\n     */\n    getExtremes() {\n        // Get the extremes from the value data\n        const { dataMin, dataMax } = HeatmapSeries_Series.prototype.getExtremes\n            .call(this, this.getColumn('value'));\n        if (HeatmapSeries_isNumber(dataMin)) {\n            this.valueMin = dataMin;\n        }\n        if (HeatmapSeries_isNumber(dataMax)) {\n            this.valueMax = dataMax;\n        }\n        // Get the extremes from the y data\n        return HeatmapSeries_Series.prototype.getExtremes.call(this);\n    }\n    /**\n     * Override to also allow null points, used when building the k-d-tree for\n     * tooltips in boost mode.\n     * @private\n     */\n    getValidPoints(points, insideOnly) {\n        return HeatmapSeries_Series.prototype.getValidPoints.call(this, points, insideOnly, true);\n    }\n    /**\n     * Define hasData function for non-cartesian series. Returns true if the\n     * series has points at all.\n     * @private\n     */\n    hasData() {\n        return !!this.dataTable.rowCount;\n    }\n    /**\n     * Override the init method to add point ranges on both axes.\n     * @private\n     */\n    init() {\n        super.init.apply(this, arguments);\n        const options = this.options;\n        // #3758, prevent resetting in setData\n        options.pointRange = HeatmapSeries_pick(options.pointRange, options.colsize || 1);\n        // General point range\n        this.yAxis.axisPointRange = options.rowsize || 1;\n        // Bind new symbol names\n        HeatmapSeries_symbols.ellipse = HeatmapSeries_symbols.circle;\n        // @todo\n        //\n        // Setting the border radius here is a workaround. It should be set in\n        // the shapeArgs or returned from `markerAttribs`. However,\n        // Series.drawPoints does not pick up markerAttribs to be passed over to\n        // `renderer.symbol`. Also, image symbols are not positioned by their\n        // top left corner like other symbols are. This should be refactored,\n        // then we could save ourselves some tests for .hasImage etc. And the\n        // evaluation of borderRadius would be moved to `markerAttribs`.\n        if (options.marker && HeatmapSeries_isNumber(options.borderRadius)) {\n            options.marker.r = options.borderRadius;\n        }\n    }\n    /**\n     * @private\n     */\n    markerAttribs(point, state) {\n        const shapeArgs = point.shapeArgs || {};\n        if (point.hasImage) {\n            return {\n                x: point.plotX,\n                y: point.plotY\n            };\n        }\n        // Setting width and height attributes on image does not affect on its\n        // dimensions.\n        if (state && state !== 'normal') {\n            const pointMarkerOptions = point.options.marker || {}, seriesMarkerOptions = this.options.marker || {}, seriesStateOptions = (seriesMarkerOptions.states &&\n                seriesMarkerOptions.states[state]) || {}, pointStateOptions = (pointMarkerOptions.states &&\n                pointMarkerOptions.states[state]) || {};\n            // Set new width and height basing on state options.\n            const width = (pointStateOptions.width ||\n                seriesStateOptions.width ||\n                shapeArgs.width ||\n                0) + (pointStateOptions.widthPlus ||\n                seriesStateOptions.widthPlus ||\n                0);\n            const height = (pointStateOptions.height ||\n                seriesStateOptions.height ||\n                shapeArgs.height ||\n                0) + (pointStateOptions.heightPlus ||\n                seriesStateOptions.heightPlus ||\n                0);\n            // Align marker by the new size.\n            const x = (shapeArgs.x || 0) + ((shapeArgs.width || 0) - width) / 2, y = (shapeArgs.y || 0) + ((shapeArgs.height || 0) - height) / 2;\n            return { x, y, width, height };\n        }\n        return shapeArgs;\n    }\n    /**\n     * @private\n     */\n    pointAttribs(point, state) {\n        const series = this, attr = HeatmapSeries_Series.prototype.pointAttribs.call(series, point, state), seriesOptions = series.options || {}, plotOptions = series.chart.options.plotOptions || {}, seriesPlotOptions = plotOptions.series || {}, heatmapPlotOptions = plotOptions.heatmap || {}, \n        // Get old properties in order to keep backward compatibility\n        borderColor = (point && point.options.borderColor) ||\n            seriesOptions.borderColor ||\n            heatmapPlotOptions.borderColor ||\n            seriesPlotOptions.borderColor, borderWidth = (point && point.options.borderWidth) ||\n            seriesOptions.borderWidth ||\n            heatmapPlotOptions.borderWidth ||\n            seriesPlotOptions.borderWidth ||\n            attr['stroke-width'];\n        // Apply lineColor, or set it to default series color.\n        attr.stroke = ((point && point.marker && point.marker.lineColor) ||\n            (seriesOptions.marker && seriesOptions.marker.lineColor) ||\n            borderColor ||\n            this.color);\n        // Apply old borderWidth property if exists.\n        attr['stroke-width'] = borderWidth;\n        if (state && state !== 'normal') {\n            const stateOptions = HeatmapSeries_merge((seriesOptions.states &&\n                seriesOptions.states[state]), (seriesOptions.marker &&\n                seriesOptions.marker.states &&\n                seriesOptions.marker.states[state]), (point &&\n                point.options.states &&\n                point.options.states[state] || {}));\n            attr.fill =\n                stateOptions.color ||\n                    highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default().parse(attr.fill).brighten(stateOptions.brightness || 0).get();\n            attr.stroke = (stateOptions.lineColor || attr.stroke); // #17896\n        }\n        return attr;\n    }\n    /**\n     * @private\n     */\n    translate() {\n        const series = this, options = series.options, { borderRadius, marker } = options, symbol = marker && marker.symbol || 'rect', shape = HeatmapSeries_symbols[symbol] ? symbol : 'rect', hasRegularShape = ['circle', 'square'].indexOf(shape) !== -1;\n        series.generatePoints();\n        for (const point of series.points) {\n            const cellAttr = point.getCellAttributes();\n            let x = Math.min(cellAttr.x1, cellAttr.x2), y = Math.min(cellAttr.y1, cellAttr.y2), width = Math.max(Math.abs(cellAttr.x2 - cellAttr.x1), 0), height = Math.max(Math.abs(cellAttr.y2 - cellAttr.y1), 0);\n            point.hasImage = (point.marker && point.marker.symbol || symbol || '').indexOf('url') === 0;\n            // If marker shape is regular (square), find the shorter cell's\n            // side.\n            if (hasRegularShape) {\n                const sizeDiff = Math.abs(width - height);\n                x = Math.min(cellAttr.x1, cellAttr.x2) +\n                    (width < height ? 0 : sizeDiff / 2);\n                y = Math.min(cellAttr.y1, cellAttr.y2) +\n                    (width < height ? sizeDiff / 2 : 0);\n                width = height = Math.min(width, height);\n            }\n            if (point.hasImage) {\n                point.marker = { width, height };\n            }\n            point.plotX = point.clientX = (cellAttr.x1 + cellAttr.x2) / 2;\n            point.plotY = (cellAttr.y1 + cellAttr.y2) / 2;\n            point.shapeType = 'path';\n            point.shapeArgs = HeatmapSeries_merge(true, { x, y, width, height }, {\n                d: HeatmapSeries_symbols[shape](x, y, width, height, { r: HeatmapSeries_isNumber(borderRadius) ? borderRadius : 0 })\n            });\n        }\n        HeatmapSeries_fireEvent(series, 'afterTranslate');\n    }\n}\nHeatmapSeries.defaultOptions = HeatmapSeries_merge(HeatmapSeries_ScatterSeries.defaultOptions, Heatmap_HeatmapSeriesDefaults);\nHeatmapSeries_addEvent(HeatmapSeries, 'afterDataClassLegendClick', function () {\n    this.isDirtyCanvas = true;\n    this.drawPoints();\n});\nHeatmapSeries_extend(HeatmapSeries.prototype, {\n    axisTypes: Series_ColorMapComposition.seriesMembers.axisTypes,\n    colorKey: Series_ColorMapComposition.seriesMembers.colorKey,\n    directTouch: true,\n    getExtremesFromAll: true,\n    keysAffectYAxis: ['y'],\n    parallelArrays: Series_ColorMapComposition.seriesMembers.parallelArrays,\n    pointArrayMap: ['y', 'value'],\n    pointClass: Heatmap_HeatmapPoint,\n    specialGroup: 'group',\n    trackerGroups: Series_ColorMapComposition.seriesMembers.trackerGroups,\n    /**\n     * @private\n     */\n    alignDataLabel: HeatmapSeries_ColumnSeries.prototype.alignDataLabel,\n    colorAttribs: Series_ColorMapComposition.seriesMembers.colorAttribs,\n    getSymbol: HeatmapSeries_Series.prototype.getSymbol\n});\nSeries_ColorMapComposition.compose(HeatmapSeries);\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('heatmap', HeatmapSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Heatmap_HeatmapSeries = ((/* unused pure expression or super */ null && (HeatmapSeries)));\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Heatmap series only. Padding between the points in the heatmap.\n * @name Highcharts.Point#pointPadding\n * @type {number|undefined}\n */\n/**\n * Heatmap series only. The value of the point, resulting in a color\n * controlled by options as set in the colorAxis configuration.\n * @name Highcharts.Point#value\n * @type {number|null|undefined}\n */\n/* *\n * @interface Highcharts.PointOptionsObject in parts/Point.ts\n */ /**\n* Heatmap series only. Point padding for a single point.\n* @name Highcharts.PointOptionsObject#pointPadding\n* @type {number|undefined}\n*/ /**\n* Heatmap series only. The value of the point, resulting in a color controlled\n* by options as set in the colorAxis configuration.\n* @name Highcharts.PointOptionsObject#value\n* @type {number|null|undefined}\n*/\n''; // Detach doclets above\n\n;// ./code/es-modules/masters/modules/map.src.js\n/**\n * @license Highmaps JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/map\n * @requires highcharts\n *\n * Highmaps as a plugin for Highcharts or Highcharts Stock.\n *\n * (c) 2011-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst map_src_G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n// Classes\nmap_src_G.ColorMapComposition = Series_ColorMapComposition;\nmap_src_G.MapChart = map_src_G.MapChart || Chart_MapChart;\nmap_src_G.MapNavigation = map_src_G.MapNavigation || Maps_MapNavigation;\nmap_src_G.MapView = map_src_G.MapView || Maps_MapView;\nmap_src_G.Projection = map_src_G.Projection || Maps_Projection;\n// Functions\nmap_src_G.mapChart = map_src_G.Map = map_src_G.MapChart.mapChart;\nmap_src_G.maps = map_src_G.MapChart.maps;\nmap_src_G.geojson = Maps_GeoJSONComposition.geojson;\nmap_src_G.topo2geo = Maps_GeoJSONComposition.topo2geo;\n// Compositions\nMaps_GeoJSONComposition.compose(map_src_G.Chart);\nMapBubble_MapBubbleSeries.compose(map_src_G.Axis, map_src_G.Chart, map_src_G.Legend);\nMaps_MapNavigation.compose(Chart_MapChart, map_src_G.Pointer, map_src_G.SVGRenderer);\nMaps_MapView.compose(Chart_MapChart);\n// Default Export\n/* harmony default export */ const map_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/data\n * @requires highcharts\n *\n * Data module\n *\n * (c) 2012-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Axis\"], root[\"_Highcharts\"][\"Chart\"], root[\"_Highcharts\"][\"Point\"], root[\"_Highcharts\"][\"SeriesRegistry\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/data\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"Axis\"],amd1[\"Chart\"],amd1[\"Point\"],amd1[\"SeriesRegistry\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/data\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Axis\"], root[\"_Highcharts\"][\"Chart\"], root[\"_Highcharts\"][\"Point\"], root[\"_Highcharts\"][\"SeriesRegistry\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"Axis\"], root[\"Highcharts\"][\"Chart\"], root[\"Highcharts\"][\"Point\"], root[\"Highcharts\"][\"SeriesRegistry\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__532__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__260__, __WEBPACK_EXTERNAL_MODULE__512__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 532:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__532__;\n\n/***/ }),\n\n/***/ 960:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__960__;\n\n/***/ }),\n\n/***/ 260:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__260__;\n\n/***/ }),\n\n/***/ 512:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ data_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n;// ./code/es-modules/Core/HttpUtilities.js\n/* *\n *\n *  (c) 2010-2024 Christer Vasseng, Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { discardElement, objectEach } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Perform an Ajax call.\n *\n * @function Highcharts.ajax\n *\n * @param {Highcharts.AjaxSettingsObject} settings\n *        The Ajax settings to use.\n *\n * @return {false|undefined}\n *         Returns false, if error occurred.\n */\nfunction ajax(settings) {\n    const headers = {\n        json: 'application/json',\n        xml: 'application/xml',\n        text: 'text/plain',\n        octet: 'application/octet-stream'\n    }, r = new XMLHttpRequest();\n    /**\n     * Private error handler.\n     * @private\n     * @param {XMLHttpRequest} xhr\n     * Internal request object.\n     * @param {string|Error} err\n     * Occurred error.\n     */\n    function handleError(xhr, err) {\n        if (settings.error) {\n            settings.error(xhr, err);\n        }\n        else {\n            // @todo Maybe emit a highcharts error event here\n        }\n    }\n    if (!settings.url) {\n        return false;\n    }\n    r.open((settings.type || 'get').toUpperCase(), settings.url, true);\n    if (!settings.headers || !settings.headers['Content-Type']) {\n        r.setRequestHeader('Content-Type', headers[settings.dataType || 'json'] || headers.text);\n    }\n    objectEach(settings.headers, function (val, key) {\n        r.setRequestHeader(key, val);\n    });\n    if (settings.responseType) {\n        r.responseType = settings.responseType;\n    }\n    // @todo lacking timeout handling\n    r.onreadystatechange = function () {\n        let res;\n        if (r.readyState === 4) {\n            if (r.status === 200) {\n                if (settings.responseType !== 'blob') {\n                    res = r.responseText;\n                    if (settings.dataType === 'json') {\n                        try {\n                            res = JSON.parse(res);\n                        }\n                        catch (e) {\n                            if (e instanceof Error) {\n                                return handleError(r, e);\n                            }\n                        }\n                    }\n                }\n                return settings.success && settings.success(res, r);\n            }\n            handleError(r, r.responseText);\n        }\n    };\n    if (settings.data && typeof settings.data !== 'string') {\n        settings.data = JSON.stringify(settings.data);\n    }\n    r.send(settings.data);\n}\n/**\n * Get a JSON resource over XHR, also supporting CORS without preflight.\n *\n * @function Highcharts.getJSON\n * @param {string} url\n *        The URL to load.\n * @param {Function} success\n *        The success callback. For error handling, use the `Highcharts.ajax`\n *        function instead.\n */\nfunction getJSON(url, success) {\n    HttpUtilities.ajax({\n        url: url,\n        success: success,\n        dataType: 'json',\n        headers: {\n            // Override the Content-Type to avoid preflight problems with CORS\n            // in the Highcharts demos\n            'Content-Type': 'text/plain'\n        }\n    });\n}\n/**\n * The post utility\n *\n * @private\n * @function Highcharts.post\n *\n * @param {string} url\n * Post URL\n *\n * @param {Object} data\n * Post data\n *\n * @param {RequestInit} [fetchOptions]\n * Additional attributes for the post request\n */\n/**\n *\n */\nfunction post(url, data, fetchOptions) {\n    const formData = new win.FormData();\n    // Add the data\n    objectEach(data, function (val, name) {\n        formData.append(name, val);\n    });\n    formData.append('b64', 'true');\n    const { filename, type } = data;\n    return win.fetch(url, {\n        method: 'POST',\n        body: formData,\n        ...fetchOptions\n    }).then((res) => {\n        if (res.ok) {\n            res.text().then((text) => {\n                const link = document.createElement('a');\n                link.href = `data:${type};base64,${text}`;\n                link.download = filename;\n                link.click();\n                discardElement(link);\n            });\n        }\n    });\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst HttpUtilities = {\n    ajax,\n    getJSON,\n    post\n};\n/* harmony default export */ const Core_HttpUtilities = (HttpUtilities);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @interface Highcharts.AjaxSettingsObject\n */ /**\n* The payload to send.\n*\n* @name Highcharts.AjaxSettingsObject#data\n* @type {string|Highcharts.Dictionary<any>|undefined}\n*/ /**\n* The data type expected.\n* @name Highcharts.AjaxSettingsObject#dataType\n* @type {\"json\"|\"xml\"|\"text\"|\"octet\"|undefined}\n*/ /**\n* Function to call on error.\n* @name Highcharts.AjaxSettingsObject#error\n* @type {Function|undefined}\n*/ /**\n* The headers; keyed on header name.\n* @name Highcharts.AjaxSettingsObject#headers\n* @type {Highcharts.Dictionary<string>|undefined}\n*/ /**\n* Function to call on success.\n* @name Highcharts.AjaxSettingsObject#success\n* @type {Function|undefined}\n*/ /**\n* The HTTP method to use. For example GET or POST.\n* @name Highcharts.AjaxSettingsObject#type\n* @type {string|undefined}\n*/ /**\n* The URL to call.\n* @name Highcharts.AjaxSettingsObject#url\n* @type {string}\n*/\n(''); // Keeps doclets above in JS file\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Axis\"],\"commonjs\":[\"highcharts\",\"Axis\"],\"commonjs2\":[\"highcharts\",\"Axis\"],\"root\":[\"Highcharts\",\"Axis\"]}\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_ = __webpack_require__(532);\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default = /*#__PURE__*/__webpack_require__.n(highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Chart\"],\"commonjs\":[\"highcharts\",\"Chart\"],\"commonjs2\":[\"highcharts\",\"Chart\"],\"root\":[\"Highcharts\",\"Chart\"]}\nvar highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_ = __webpack_require__(960);\nvar highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default = /*#__PURE__*/__webpack_require__.n(highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Point\"],\"commonjs\":[\"highcharts\",\"Point\"],\"commonjs2\":[\"highcharts\",\"Point\"],\"root\":[\"Highcharts\",\"Point\"]}\nvar highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_ = __webpack_require__(260);\nvar highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default = /*#__PURE__*/__webpack_require__.n(highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n;// ./code/es-modules/Extensions/Data.js\n/* *\n *\n *  Data module\n *\n *  (c) 2012-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { getOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { ajax: Data_ajax } = Core_HttpUtilities;\n\n\nconst { seriesTypes } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { addEvent, defined, extend, fireEvent, isNumber, merge, objectEach: Data_objectEach, pick, splat } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction getFreeIndexes(numberOfColumns, seriesBuilders) {\n    const freeIndexes = [], freeIndexValues = [];\n    let s, i, referencedIndexes;\n    // Add all columns as free\n    for (i = 0; i < numberOfColumns; i = i + 1) {\n        freeIndexes.push(true);\n    }\n    // Loop all defined builders and remove their referenced columns\n    for (s = 0; s < seriesBuilders.length; s = s + 1) {\n        referencedIndexes = seriesBuilders[s].getReferencedColumnIndexes();\n        for (i = 0; i < referencedIndexes.length; i = i + 1) {\n            freeIndexes[referencedIndexes[i]] = false;\n        }\n    }\n    // Collect the values for the free indexes\n    for (i = 0; i < freeIndexes.length; i = i + 1) {\n        if (freeIndexes[i]) {\n            freeIndexValues.push(i);\n        }\n    }\n    return freeIndexValues;\n}\n/**\n *\n */\nfunction hasURLOption(options) {\n    return Boolean(options &&\n        (options.rowsURL || options.csvURL || options.columnsURL));\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The Data class\n *\n * @requires modules/data\n *\n * @class\n * @name Highcharts.Data\n *\n * @param {Highcharts.DataOptions} dataOptions\n *\n * @param {Highcharts.Options} [chartOptions]\n *\n * @param {Highcharts.Chart} [chart]\n */\nclass Data {\n    /* *\n     *\n     *  Static Properties\n     *\n     * */\n    /**\n     * Creates a data object to parse data for a chart.\n     *\n     * @function Highcharts.data\n     */\n    static data(dataOptions, chartOptions = {}, chart) {\n        return new Data(dataOptions, chartOptions, chart);\n    }\n    /**\n     * Reorganize rows into columns.\n     *\n     * @function Highcharts.Data.rowsToColumns\n     */\n    static rowsToColumns(rows) {\n        let row, rowsLength, col, colsLength, columns;\n        if (rows) {\n            columns = [];\n            rowsLength = rows.length;\n            for (row = 0; row < rowsLength; row++) {\n                colsLength = rows[row].length;\n                for (col = 0; col < colsLength; col++) {\n                    if (!columns[col]) {\n                        columns[col] = [];\n                    }\n                    columns[col][row] = rows[row][col];\n                }\n            }\n        }\n        return columns;\n    }\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(dataOptions, chartOptions = {}, chart) {\n        this.rowsToColumns = Data.rowsToColumns; // Backwards compatibility\n        /**\n         * A collection of available date formats, extendable from the outside to\n         * support custom date formats.\n         *\n         * @name Highcharts.Data#dateFormats\n         * @type {Highcharts.Dictionary<Highcharts.DataDateFormatObject>}\n         */\n        this.dateFormats = {\n            'YYYY/mm/dd': {\n                regex: /^(\\d{4})[\\-\\/\\.](\\d{1,2})[\\-\\/\\.](\\d{1,2})$/,\n                parser: function (match) {\n                    return (match ?\n                        Date.UTC(+match[1], +match[2] - 1, +match[3]) :\n                        NaN);\n                }\n            },\n            'dd/mm/YYYY': {\n                regex: /^(\\d{1,2})[\\-\\/\\.](\\d{1,2})[\\-\\/\\.](\\d{4})$/,\n                parser: function (match) {\n                    return (match ?\n                        Date.UTC(+match[3], +match[2] - 1, +match[1]) :\n                        NaN);\n                },\n                alternative: 'mm/dd/YYYY' // Different format with the same regex\n            },\n            'mm/dd/YYYY': {\n                regex: /^(\\d{1,2})[\\-\\/\\.](\\d{1,2})[\\-\\/\\.](\\d{4})$/,\n                parser: function (match) {\n                    return (match ?\n                        Date.UTC(+match[3], +match[1] - 1, +match[2]) :\n                        NaN);\n                }\n            },\n            'dd/mm/YY': {\n                regex: /^(\\d{1,2})[\\-\\/\\.](\\d{1,2})[\\-\\/\\.](\\d{2})$/,\n                parser: function (match) {\n                    if (!match) {\n                        return NaN;\n                    }\n                    const d = new Date();\n                    let year = +match[3];\n                    if (year > (d.getFullYear() - 2000)) {\n                        year += 1900;\n                    }\n                    else {\n                        year += 2000;\n                    }\n                    return Date.UTC(year, +match[2] - 1, +match[1]);\n                },\n                alternative: 'mm/dd/YY' // Different format with the same regex\n            },\n            'mm/dd/YY': {\n                regex: /^(\\d{1,2})[\\-\\/\\.](\\d{1,2})[\\-\\/\\.](\\d{2})$/,\n                parser: function (match) {\n                    return (match ?\n                        Date.UTC(+match[3] + 2000, +match[1] - 1, +match[2]) :\n                        NaN);\n                }\n            }\n        };\n        this.chart = chart;\n        this.chartOptions = chartOptions;\n        this.options = dataOptions;\n        this.rawColumns = [];\n        this.init(dataOptions, chartOptions, chart);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initialize the Data object with the given options\n     *\n     * @private\n     * @function Highcharts.Data#init\n     */\n    init(dataOptions, chartOptions, chart) {\n        let decimalPoint = dataOptions.decimalPoint, hasData;\n        if (chartOptions) {\n            this.chartOptions = chartOptions;\n        }\n        if (chart) {\n            this.chart = chart;\n        }\n        if (decimalPoint !== '.' && decimalPoint !== ',') {\n            decimalPoint = void 0;\n        }\n        this.options = dataOptions;\n        this.columns = (dataOptions.columns ||\n            this.rowsToColumns(dataOptions.rows) ||\n            []);\n        this.firstRowAsNames = pick(dataOptions.firstRowAsNames, this.firstRowAsNames, true);\n        this.decimalRegex = (decimalPoint &&\n            new RegExp('^(-?[0-9]+)' + decimalPoint + '([0-9]+)$'));\n        // Always stop old polling when we have new options\n        if (this.liveDataTimeout !== void 0) {\n            clearTimeout(this.liveDataTimeout);\n        }\n        // This is a two-dimensional array holding the raw, trimmed string\n        // values with the same organisation as the columns array. It makes it\n        // possible for example to revert from interpreted timestamps to\n        // string-based categories.\n        this.rawColumns = [];\n        // No need to parse or interpret anything\n        if (this.columns.length) {\n            this.dataFound();\n            hasData = !hasURLOption(dataOptions);\n        }\n        if (!hasData) {\n            // Fetch live data\n            hasData = this.fetchLiveData();\n        }\n        if (!hasData) {\n            // Parse a CSV string if options.csv is given. The parseCSV function\n            // returns a columns array, if it has no length, we have no data\n            hasData = Boolean(this.parseCSV().length);\n        }\n        if (!hasData) {\n            // Parse a HTML table if options.table is given\n            hasData = Boolean(this.parseTable().length);\n        }\n        if (!hasData) {\n            // Parse a Google Spreadsheet\n            hasData = this.parseGoogleSpreadsheet();\n        }\n        if (!hasData && dataOptions.afterComplete) {\n            dataOptions.afterComplete(this);\n        }\n    }\n    /**\n     * Get the column distribution. For example, a line series takes a single\n     * column for Y values. A range series takes two columns for low and high\n     * values respectively, and an OHLC series takes four columns.\n     *\n     * @function Highcharts.Data#getColumnDistribution\n     */\n    getColumnDistribution() {\n        const chartOptions = this.chartOptions, options = this.options, xColumns = [], getValueCount = function (type = 'line') {\n            return (seriesTypes[type].prototype.pointArrayMap || [0]).length;\n        }, getPointArrayMap = function (type = 'line') {\n            return seriesTypes[type].prototype.pointArrayMap;\n        }, globalType = chartOptions?.chart?.type, individualCounts = [], seriesBuilders = [], \n        // If no series mapping is defined, check if the series array is\n        // defined with types.\n        seriesMapping = (options?.seriesMapping ||\n            chartOptions?.series?.map(function () {\n                return { x: 0 };\n            }) ||\n            []);\n        let seriesIndex = 0;\n        (chartOptions?.series || []).forEach((series) => {\n            individualCounts.push(getValueCount(series.type || globalType));\n        });\n        // Collect the x-column indexes from seriesMapping\n        seriesMapping.forEach((mapping) => {\n            xColumns.push(mapping.x || 0);\n        });\n        // If there are no defined series with x-columns, use the first column\n        // as x column\n        if (xColumns.length === 0) {\n            xColumns.push(0);\n        }\n        // Loop all seriesMappings and constructs SeriesBuilders from\n        // the mapping options.\n        seriesMapping.forEach((mapping) => {\n            const builder = new SeriesBuilder(), numberOfValueColumnsNeeded = individualCounts[seriesIndex] ||\n                getValueCount(globalType), seriesArr = chartOptions?.series ?? [], series = seriesArr[seriesIndex] ?? {}, defaultPointArrayMap = getPointArrayMap(series.type || globalType), pointArrayMap = defaultPointArrayMap ?? ['y'];\n            if (\n            // User-defined x.mapping\n            defined(mapping.x) ||\n                // All non cartesian don't need 'x'\n                series.isCartesian ||\n                // Except pie series:\n                !defaultPointArrayMap) {\n                // Add an x reader from the x property or from an undefined\n                // column if the property is not set. It will then be auto\n                // populated later.\n                builder.addColumnReader(mapping.x, 'x');\n            }\n            // Add all column mappings\n            Data_objectEach(mapping, function (val, name) {\n                if (name !== 'x') {\n                    builder.addColumnReader(val, name);\n                }\n            });\n            // Add missing columns\n            for (let i = 0; i < numberOfValueColumnsNeeded; i++) {\n                if (!builder.hasReader(pointArrayMap[i])) {\n                    // Create and add a column reader for the next free column\n                    // index\n                    builder.addColumnReader(void 0, pointArrayMap[i]);\n                }\n            }\n            seriesBuilders.push(builder);\n            seriesIndex++;\n        });\n        let globalPointArrayMap = getPointArrayMap(globalType);\n        if (typeof globalPointArrayMap === 'undefined') {\n            globalPointArrayMap = ['y'];\n        }\n        this.valueCount = {\n            global: getValueCount(globalType),\n            xColumns: xColumns,\n            individual: individualCounts,\n            seriesBuilders: seriesBuilders,\n            globalPointArrayMap: globalPointArrayMap\n        };\n    }\n    /**\n     * When the data is parsed into columns, either by CSV, table, GS or direct\n     * input, continue with other operations.\n     *\n     * @private\n     * @function Highcharts.Data#dataFound\n     */\n    dataFound() {\n        if (this.options.switchRowsAndColumns) {\n            this.columns = this.rowsToColumns(this.columns);\n        }\n        // Interpret the info about series and columns\n        this.getColumnDistribution();\n        // Interpret the values into right types\n        this.parseTypes();\n        // Handle columns if a handleColumns callback is given\n        if (this.parsed() !== false) {\n            // Complete if a complete callback is given\n            this.complete();\n        }\n    }\n    /**\n     * Parse a CSV input string\n     *\n     * @function Highcharts.Data#parseCSV\n     */\n    parseCSV(inOptions) {\n        const self = this, columns = this.columns = [], options = inOptions || this.options, startColumn = options.startColumn || 0, endColumn = options.endColumn || Number.MAX_VALUE, dataTypes = [], \n        // We count potential delimiters in the prepass, and use the\n        // result as the basis of half-intelligent guesses.\n        potDelimiters = {\n            ',': 0,\n            ';': 0,\n            '\\t': 0\n        };\n        let csv = options.csv, startRow = options.startRow || 0, endRow = options.endRow || Number.MAX_VALUE, itemDelimiter, lines, rowIt = 0;\n        /*\n            This implementation is quite verbose. It will be shortened once\n            it's stable and passes all the test.\n\n            It's also not written with speed in mind, instead everything is\n            very segregated, and there a several redundant loops.\n            This is to make it easier to stabilize the code initially.\n\n            We do a pre-pass on the first 4 rows to make some intelligent\n            guesses on the set. Guessed delimiters are in this pass counted.\n\n            Auto detecting delimiters\n                - If we meet a quoted string, the next symbol afterwards\n                  (that's not \\s, \\t) is the delimiter\n                - If we meet a date, the next symbol afterwards is the delimiter\n\n            Date formats\n                - If we meet a column with date formats, check all of them to\n                  see if one of the potential months crossing 12. If it does,\n                  we now know the format\n\n            It would make things easier to guess the delimiter before\n            doing the actual parsing.\n\n            General rules:\n                - Quoting is allowed, e.g: \"Col 1\",123,321\n                - Quoting is optional, e.g.: Col1,123,321\n                - Double quoting is escaping, e.g. \"Col \"\"Hello world\"\"\",123\n                - Spaces are considered part of the data: Col1 ,123\n                - New line is always the row delimiter\n                - Potential column delimiters are , ; \\t\n                - First row may optionally contain headers\n                - The last row may or may not have a row delimiter\n                - Comments are optionally supported, in which case the comment\n                  must start at the first column, and the rest of the line will\n                  be ignored\n        */\n        /**\n         * Parse a single row.\n         * @private\n         */\n        function parseRow(columnStr, rowNumber, noAdd, callbacks) {\n            let i = 0, c = '', cl = '', cn = '', token = '', actualColumn = 0, column = 0;\n            /**\n             * @private\n             */\n            function read(j) {\n                c = columnStr[j];\n                cl = columnStr[j - 1];\n                cn = columnStr[j + 1];\n            }\n            /**\n             * @private\n             */\n            function pushType(type) {\n                if (dataTypes.length < column + 1) {\n                    dataTypes.push([type]);\n                }\n                if (dataTypes[column][dataTypes[column].length - 1] !== type) {\n                    dataTypes[column].push(type);\n                }\n            }\n            /**\n             * @private\n             */\n            function push() {\n                if (startColumn > actualColumn || actualColumn > endColumn) {\n                    // Skip this column, but increment the column count (#7272)\n                    ++actualColumn;\n                    token = '';\n                    return;\n                }\n                if (!options.columnTypes) {\n                    if (!isNaN(parseFloat(token)) && isFinite(token)) {\n                        token = parseFloat(token);\n                        pushType('number');\n                    }\n                    else if (!isNaN(Date.parse(token))) {\n                        token = token.replace(/\\//g, '-');\n                        pushType('date');\n                    }\n                    else {\n                        pushType('string');\n                    }\n                }\n                if (columns.length < column + 1) {\n                    columns.push([]);\n                }\n                if (!noAdd) {\n                    // Don't push - if there's a varying amount of columns\n                    // for each row, pushing will skew everything down n slots\n                    columns[column][rowNumber] = token;\n                }\n                token = '';\n                ++column;\n                ++actualColumn;\n            }\n            if (!columnStr.trim().length) {\n                return;\n            }\n            if (columnStr.trim()[0] === '#') {\n                return;\n            }\n            for (; i < columnStr.length; i++) {\n                read(i);\n                if (c === '\"') {\n                    read(++i);\n                    while (i < columnStr.length) {\n                        if (c === '\"' && cl !== '\"' && cn !== '\"') {\n                            break;\n                        }\n                        if (c !== '\"' || (c === '\"' && cl !== '\"')) {\n                            token += c;\n                        }\n                        read(++i);\n                    }\n                    // Perform \"plugin\" handling\n                }\n                else if (callbacks?.[c]) {\n                    if (callbacks[c](c, token)) {\n                        push();\n                    }\n                    // Delimiter - push current token\n                }\n                else if (c === itemDelimiter) {\n                    push();\n                    // Actual column data\n                }\n                else {\n                    token += c;\n                }\n            }\n            push();\n        }\n        /**\n         * Attempt to guess the delimiter. We do a separate parse pass here\n         * because we need to count potential delimiters softly without making\n         * any assumptions.\n         * @private\n         */\n        function guessDelimiter(lines) {\n            let points = 0, commas = 0, guessed = false;\n            lines.some(function (columnStr, i) {\n                let inStr = false, c, cn, cl, token = '';\n                // We should be able to detect dateformats within 13 rows\n                if (i > 13) {\n                    return true;\n                }\n                for (let j = 0; j < columnStr.length; j++) {\n                    c = columnStr[j];\n                    cn = columnStr[j + 1];\n                    cl = columnStr[j - 1];\n                    if (c === '#') {\n                        // Skip the rest of the line - it's a comment\n                        return;\n                    }\n                    if (c === '\"') {\n                        if (inStr) {\n                            if (cl !== '\"' && cn !== '\"') {\n                                while (cn === ' ' && j < columnStr.length) {\n                                    cn = columnStr[++j];\n                                }\n                                // After parsing a string, the next non-blank\n                                // should be a delimiter if the CSV is properly\n                                // formed.\n                                if (typeof potDelimiters[cn] !== 'undefined') {\n                                    potDelimiters[cn]++;\n                                }\n                                inStr = false;\n                            }\n                        }\n                        else {\n                            inStr = true;\n                        }\n                    }\n                    else if (typeof potDelimiters[c] !== 'undefined') {\n                        token = token.trim();\n                        if (!isNaN(Date.parse(token))) {\n                            potDelimiters[c]++;\n                        }\n                        else if (isNaN(token) ||\n                            !isFinite(token)) {\n                            potDelimiters[c]++;\n                        }\n                        token = '';\n                    }\n                    else {\n                        token += c;\n                    }\n                    if (c === ',') {\n                        commas++;\n                    }\n                    if (c === '.') {\n                        points++;\n                    }\n                }\n            });\n            // Count the potential delimiters.\n            // This could be improved by checking if the number of delimiters\n            // equals the number of columns - 1\n            if (potDelimiters[';'] > potDelimiters[',']) {\n                guessed = ';';\n            }\n            else if (potDelimiters[','] > potDelimiters[';']) {\n                guessed = ',';\n            }\n            else {\n                // No good guess could be made..\n                guessed = ',';\n            }\n            // Try to deduce the decimal point if it's not explicitly set.\n            // If both commas or points is > 0 there is likely an issue\n            if (!options.decimalPoint) {\n                if (points > commas) {\n                    options.decimalPoint = '.';\n                }\n                else {\n                    options.decimalPoint = ',';\n                }\n                // Apply a new decimal regex based on the presumed decimal sep.\n                self.decimalRegex = new RegExp('^(-?[0-9]+)' +\n                    options.decimalPoint +\n                    '([0-9]+)$');\n            }\n            return guessed;\n        }\n        /**\n         * Tries to guess the date format\n         *  - Check if either month candidate exceeds 12\n         *  - Check if year is missing (use current year)\n         *  - Check if a shortened year format is used (e.g. 1/1/99)\n         *  - If no guess can be made, the user must be prompted\n         * data is the data to deduce a format based on\n         * @private\n         */\n        function deduceDateFormat(data, limit) {\n            const format = 'YYYY/mm/dd', stable = [], max = [];\n            let thing, guessedFormat = [], calculatedFormat, i = 0, madeDeduction = false, j;\n            if (!limit || limit > data.length) {\n                limit = data.length;\n            }\n            for (; i < limit; i++) {\n                if (typeof data[i] !== 'undefined' &&\n                    data[i]?.length) {\n                    thing = data[i]\n                        .trim()\n                        .replace(/\\//g, ' ')\n                        .replace(/\\-/g, ' ')\n                        .replace(/\\./g, ' ')\n                        .split(' ');\n                    guessedFormat = [\n                        '',\n                        '',\n                        ''\n                    ];\n                    for (j = 0; j < thing.length; j++) {\n                        if (j < guessedFormat.length) {\n                            thing[j] = parseInt(thing[j], 10);\n                            if (thing[j]) {\n                                max[j] = (!max[j] || max[j] < thing[j]) ?\n                                    thing[j] :\n                                    max[j];\n                                if (typeof stable[j] !== 'undefined') {\n                                    if (stable[j] !== thing[j]) {\n                                        stable[j] = false;\n                                    }\n                                }\n                                else {\n                                    stable[j] = thing[j];\n                                }\n                                if (thing[j] > 31) {\n                                    if (thing[j] < 100) {\n                                        guessedFormat[j] = 'YY';\n                                    }\n                                    else {\n                                        guessedFormat[j] = 'YYYY';\n                                    }\n                                }\n                                else if (thing[j] > 12 &&\n                                    thing[j] <= 31) {\n                                    guessedFormat[j] = 'dd';\n                                    madeDeduction = true;\n                                }\n                                else if (!guessedFormat[j].length) {\n                                    guessedFormat[j] = 'mm';\n                                }\n                            }\n                        }\n                    }\n                }\n            }\n            if (madeDeduction) {\n                // This handles a few edge cases with hard to guess dates\n                for (j = 0; j < stable.length; j++) {\n                    if (stable[j] !== false) {\n                        if (max[j] > 12 &&\n                            guessedFormat[j] !== 'YY' &&\n                            guessedFormat[j] !== 'YYYY') {\n                            guessedFormat[j] = 'YY';\n                        }\n                    }\n                    else if (max[j] > 12 && guessedFormat[j] === 'mm') {\n                        guessedFormat[j] = 'dd';\n                    }\n                }\n                // If the middle one is dd, and the last one is dd,\n                // the last should likely be year.\n                if (guessedFormat.length === 3 &&\n                    guessedFormat[1] === 'dd' &&\n                    guessedFormat[2] === 'dd') {\n                    guessedFormat[2] = 'YY';\n                }\n                calculatedFormat = guessedFormat.join('/');\n                // If the calculated format is not valid, we need to present an\n                // error.\n                if (!(options.dateFormats || self.dateFormats)[calculatedFormat]) {\n                    // This should emit an event instead\n                    fireEvent(self, 'deduceDateFailed');\n                    return format;\n                }\n                return calculatedFormat;\n            }\n            return format;\n        }\n        if (csv && options.beforeParse) {\n            csv = options.beforeParse.call(this, csv);\n        }\n        if (csv) {\n            lines = csv\n                .replace(/\\r\\n/g, '\\n') // Unix\n                .replace(/\\r/g, '\\n') // Mac\n                .split(options.lineDelimiter || '\\n');\n            if (!startRow || startRow < 0) {\n                startRow = 0;\n            }\n            if (!endRow || endRow >= lines.length) {\n                endRow = lines.length - 1;\n            }\n            if (options.itemDelimiter) {\n                itemDelimiter = options.itemDelimiter;\n            }\n            else {\n                itemDelimiter = guessDelimiter(lines);\n            }\n            let offset = 0;\n            for (rowIt = startRow; rowIt <= endRow; rowIt++) {\n                if (lines[rowIt][0] === '#') {\n                    offset++;\n                }\n                else {\n                    parseRow(lines[rowIt], rowIt - startRow - offset);\n                }\n            }\n            if ((!options.columnTypes || options.columnTypes.length === 0) &&\n                dataTypes.length &&\n                dataTypes[0].length &&\n                dataTypes[0][1] === 'date' &&\n                !options.dateFormat) {\n                options.dateFormat = deduceDateFormat(columns[0]);\n            }\n            /// lines.forEach(function (line, rowNo) {\n            //    let trimmed = self.trim(line),\n            //        isComment = trimmed.indexOf('#') === 0,\n            //        isBlank = trimmed === '',\n            //        items;\n            //    if (\n            //        rowNo >= startRow &&\n            //        rowNo <= endRow &&\n            //        !isComment && !isBlank\n            //    ) {\n            //        items = line.split(itemDelimiter);\n            //        items.forEach(function (item, colNo) {\n            //            if (colNo >= startColumn && colNo <= endColumn) {\n            //                if (!columns[colNo - startColumn]) {\n            //                    columns[colNo - startColumn] = [];\n            //                }\n            //                columns[colNo - startColumn][activeRowNo] = item;\n            //            }\n            //        });\n            //        activeRowNo += 1;\n            //    }\n            // });\n            //\n            this.dataFound();\n        }\n        return columns;\n    }\n    /**\n     * Parse a HTML table\n     *\n     * @function Highcharts.Data#parseTable\n     */\n    parseTable() {\n        const options = this.options, columns = this.columns || [], startRow = options.startRow || 0, endRow = options.endRow || Number.MAX_VALUE, startColumn = options.startColumn || 0, endColumn = options.endColumn || Number.MAX_VALUE;\n        if (options.table) {\n            let table = options.table;\n            if (typeof table === 'string') {\n                table = doc.getElementById(table);\n            }\n            [].forEach.call(table.getElementsByTagName('tr'), (tr, rowNo) => {\n                if (rowNo >= startRow && rowNo <= endRow) {\n                    [].forEach.call(tr.children, (item, colNo) => {\n                        const row = columns[colNo - startColumn];\n                        let i = 1;\n                        if ((item.tagName === 'TD' ||\n                            item.tagName === 'TH') &&\n                            colNo >= startColumn &&\n                            colNo <= endColumn) {\n                            if (!columns[colNo - startColumn]) {\n                                columns[colNo - startColumn] = [];\n                            }\n                            columns[colNo - startColumn][rowNo - startRow] = item.innerHTML;\n                            // Loop over all previous indices and make sure\n                            // they are nulls, not undefined.\n                            while (rowNo - startRow >= i &&\n                                row[rowNo - startRow - i] === void 0) {\n                                row[rowNo - startRow - i] = null;\n                                i++;\n                            }\n                        }\n                    });\n                }\n            });\n            this.dataFound(); // Continue\n        }\n        return columns;\n    }\n    /**\n     * Fetch or refetch live data\n     *\n     * @function Highcharts.Data#fetchLiveData\n     *\n     * @return {boolean}\n     *         The URLs that were tried can be found in the options\n     */\n    fetchLiveData() {\n        const data = this, chart = this.chart, options = this.options, maxRetries = 3, pollingEnabled = options.enablePolling, originalOptions = merge(options);\n        let currentRetries = 0, updateIntervalMs = (options.dataRefreshRate || 2) * 1000;\n        if (!hasURLOption(options)) {\n            return false;\n        }\n        // Do not allow polling more than once a second\n        if (updateIntervalMs < 1000) {\n            updateIntervalMs = 1000;\n        }\n        delete options.csvURL;\n        delete options.rowsURL;\n        delete options.columnsURL;\n        /**\n         * @private\n         */\n        function performFetch(initialFetch) {\n            /**\n             * Helper function for doing the data fetch + polling.\n             * @private\n             */\n            function request(url, done, tp) {\n                if (!url ||\n                    !/^(http|\\/|\\.\\/|\\.\\.\\/)/.test(url)) {\n                    if (url && options.error) {\n                        options.error('Invalid URL');\n                    }\n                    return false;\n                }\n                if (initialFetch) {\n                    clearTimeout(data.liveDataTimeout);\n                    chart.liveDataURL = url;\n                }\n                /**\n                 * @private\n                 */\n                function poll() {\n                    // Poll\n                    if (pollingEnabled && chart.liveDataURL === url) {\n                        // We need to stop doing this if the URL has changed\n                        data.liveDataTimeout =\n                            setTimeout(performFetch, updateIntervalMs);\n                    }\n                }\n                Data_ajax({\n                    url: url,\n                    dataType: tp || 'json',\n                    success: function (res) {\n                        if (chart?.series) {\n                            done(res);\n                        }\n                        poll();\n                    },\n                    error: function (xhr, text) {\n                        if (++currentRetries < maxRetries) {\n                            poll();\n                        }\n                        return options.error?.(text, xhr);\n                    }\n                });\n                return true;\n            }\n            if (!request(originalOptions.csvURL, function (res) {\n                chart.update({\n                    data: {\n                        csv: res\n                    }\n                });\n            }, 'text')) {\n                if (!request(originalOptions.rowsURL, function (res) {\n                    chart.update({\n                        data: {\n                            rows: res\n                        }\n                    });\n                })) {\n                    request(originalOptions.columnsURL, function (res) {\n                        chart.update({\n                            data: {\n                                columns: res\n                            }\n                        });\n                    });\n                }\n            }\n        }\n        performFetch(true);\n        return hasURLOption(options);\n    }\n    /**\n     * Parse a Google spreadsheet.\n     *\n     * @function Highcharts.Data#parseGoogleSpreadsheet\n     *\n     * @return {boolean}\n     *         Always returns false, because it is an intermediate fetch.\n     */\n    parseGoogleSpreadsheet() {\n        const data = this, options = this.options, googleSpreadsheetKey = options.googleSpreadsheetKey, chart = this.chart, refreshRate = Math.max((options.dataRefreshRate || 2) * 1000, 4000);\n        /**\n         * Form the `values` field after range settings, unless the\n         * googleSpreadsheetRange option is set.\n         */\n        const getRange = () => {\n            if (options.googleSpreadsheetRange) {\n                return options.googleSpreadsheetRange;\n            }\n            const alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\n            const start = (alphabet.charAt(options.startColumn || 0) || 'A') +\n                ((options.startRow || 0) + 1);\n            let end = alphabet.charAt(pick(options.endColumn, -1)) || 'ZZ';\n            if (defined(options.endRow)) {\n                end += options.endRow + 1;\n            }\n            return `${start}:${end}`;\n        };\n        /**\n         * Fetch the actual spreadsheet using XMLHttpRequest.\n         * @private\n         */\n        function fetchSheet(fn) {\n            const url = [\n                'https://sheets.googleapis.com/v4/spreadsheets',\n                googleSpreadsheetKey,\n                'values',\n                getRange(),\n                '?alt=json&' +\n                    'majorDimension=COLUMNS&' +\n                    'valueRenderOption=UNFORMATTED_VALUE&' +\n                    'dateTimeRenderOption=FORMATTED_STRING&' +\n                    'key=' + options.googleAPIKey\n            ].join('/');\n            Data_ajax({\n                url,\n                dataType: 'json',\n                success: function (json) {\n                    fn(json);\n                    if (options.enablePolling) {\n                        data.liveDataTimeout = setTimeout(function () {\n                            fetchSheet(fn);\n                        }, refreshRate);\n                    }\n                },\n                error: function (xhr, text) {\n                    return options.error?.(text, xhr);\n                }\n            });\n        }\n        if (googleSpreadsheetKey) {\n            delete options.googleSpreadsheetKey;\n            fetchSheet(function (json) {\n                // Prepare the data from the spreadsheet\n                const columns = json.values;\n                if (!columns || columns.length === 0) {\n                    return false;\n                }\n                // Find the maximum row count in order to extend shorter columns\n                const rowCount = columns.reduce((rowCount, column) => Math.max(rowCount, column.length), 0);\n                // Insert null for empty spreadsheet cells (#5298)\n                columns.forEach((column) => {\n                    for (let i = 0; i < rowCount; i++) {\n                        if (typeof column[i] === 'undefined') {\n                            column[i] = null;\n                        }\n                    }\n                });\n                if (chart?.series) {\n                    chart.update({\n                        data: {\n                            columns: columns\n                        }\n                    });\n                }\n                else { // #8245\n                    data.columns = columns;\n                    data.dataFound();\n                }\n            });\n        }\n        // This is an intermediate fetch, so always return false.\n        return false;\n    }\n    /**\n     * Trim a string from whitespaces.\n     *\n     * @function Highcharts.Data#trim\n     *\n     * @param {string} str\n     *        String to trim\n     *\n     * @param {boolean} [inside=false]\n     *        Remove all spaces between numbers.\n     *\n     * @return {string}\n     *         Trimed string\n     */\n    trim(str, inside) {\n        if (typeof str === 'string') {\n            str = str.replace(/^\\s+|\\s+$/g, '');\n            // Clear white space inside the string, like thousands separators\n            if (inside && /[\\d\\s]+/.test(str)) {\n                str = str.replace(/\\s/g, '');\n            }\n            if (this.decimalRegex) {\n                str = str.replace(this.decimalRegex, '$1.$2');\n            }\n        }\n        return str;\n    }\n    /**\n     * Parse numeric cells in to number types and date types in to true dates.\n     *\n     * @function Highcharts.Data#parseTypes\n     */\n    parseTypes() {\n        const columns = this.columns || [];\n        let col = columns.length;\n        while (col--) {\n            this.parseColumn(columns[col], col);\n        }\n    }\n    /**\n     * Parse a single column. Set properties like .isDatetime and .isNumeric.\n     *\n     * @function Highcharts.Data#parseColumn\n     *\n     * @param {Array<Highcharts.DataValueType>} column\n     *        Column to parse\n     *\n     * @param {number} col\n     *        Column index\n     */\n    parseColumn(column, col) {\n        const rawColumns = this.rawColumns, columns = this.columns = this.columns || [], firstRowAsNames = this.firstRowAsNames, isXColumn = this.valueCount?.xColumns.indexOf(col) !== -1, backup = [], chartOptions = this.chartOptions, columnTypes = this.options.columnTypes || [], columnType = columnTypes[col], forceCategory = (isXColumn &&\n            (chartOptions?.xAxis &&\n                splat(chartOptions.xAxis)[0].type === 'category')) || columnType === 'string', columnHasName = defined(column.name);\n        let row = column.length, val, floatVal, trimVal, trimInsideVal, dateVal, diff, descending;\n        if (!rawColumns[col]) {\n            rawColumns[col] = [];\n        }\n        while (row--) {\n            val = backup[row] || column[row];\n            trimVal = this.trim(val);\n            trimInsideVal = this.trim(val, true);\n            floatVal = parseFloat(trimInsideVal);\n            // Set it the first time\n            if (typeof rawColumns[col][row] === 'undefined') {\n                rawColumns[col][row] = trimVal;\n            }\n            // Disable number or date parsing by setting the X axis type to\n            // category\n            if (forceCategory ||\n                (row === 0 && firstRowAsNames && !columnHasName)) {\n                column[row] = '' + trimVal;\n            }\n            else if (+trimInsideVal === floatVal) { // Is numeric\n                column[row] = floatVal;\n                // If the number is greater than milliseconds in a year, assume\n                // datetime\n                if (floatVal > 365 * 24 * 3600 * 1000 &&\n                    columnType !== 'float') {\n                    column.isDatetime = true;\n                }\n                else {\n                    column.isNumeric = true;\n                }\n                if (typeof column[row + 1] !== 'undefined') {\n                    descending = floatVal > column[row + 1];\n                }\n                // String, continue to determine if it is a date string or really a\n                // string\n            }\n            else {\n                if (trimVal?.length) {\n                    dateVal = this.parseDate(val);\n                }\n                // Only allow parsing of dates if this column is an x-column\n                if (isXColumn && isNumber(dateVal) && columnType !== 'float') {\n                    backup[row] = val;\n                    column[row] = dateVal;\n                    column.isDatetime = true;\n                    // Check if the dates are uniformly descending or ascending.\n                    // If they are not, chances are that they are a different\n                    // time format, so check for alternative.\n                    if (typeof column[row + 1] !== 'undefined') {\n                        diff = dateVal > column[row + 1];\n                        if (diff !== descending &&\n                            typeof descending !== 'undefined') {\n                            if (this.alternativeFormat) {\n                                this.dateFormat = this.alternativeFormat;\n                                row = column.length;\n                                this.alternativeFormat =\n                                    this.dateFormats[this.dateFormat]\n                                        .alternative;\n                            }\n                            else {\n                                column.unsorted = true;\n                            }\n                        }\n                        descending = diff;\n                    }\n                }\n                else { // String\n                    column[row] = trimVal === '' ? null : trimVal;\n                    if (row !== 0 &&\n                        (column.isDatetime ||\n                            column.isNumeric)) {\n                        column.mixed = true;\n                    }\n                }\n            }\n        }\n        // If strings are intermixed with numbers or dates in a parsed column,\n        // it is an indication that parsing went wrong or the data was not\n        // intended to display as numbers or dates and parsing is too\n        // aggressive. Fall back to categories. Demonstrated in the\n        // highcharts/demo/column-drilldown sample.\n        if (isXColumn && column.mixed) {\n            columns[col] = rawColumns[col];\n        }\n        // If the 0 column is date or number and descending, reverse all\n        // columns.\n        if (isXColumn && descending && this.options.sort) {\n            for (col = 0; col < columns.length; col++) {\n                columns[col].reverse();\n                if (firstRowAsNames) {\n                    const poppedColumn = columns[col].pop();\n                    if (poppedColumn) {\n                        columns[col].unshift(poppedColumn);\n                    }\n                }\n            }\n        }\n    }\n    /**\n     * Parse a date and return it as a number. Overridable through\n     * `options.parseDate`.\n     *\n     * @function Highcharts.Data#parseDate\n     */\n    parseDate(val) {\n        const parseDate = this.options.parseDate;\n        let ret, key, format, dateFormat = this.options.dateFormat || this.dateFormat, match;\n        if (parseDate) {\n            ret = parseDate(val);\n        }\n        else if (typeof val === 'string') {\n            // Auto-detect the date format the first time\n            if (!dateFormat) {\n                for (key in this.dateFormats) { // eslint-disable-line guard-for-in\n                    format = this.dateFormats[key];\n                    match = val.match(format.regex);\n                    if (match) {\n                        this.dateFormat = dateFormat = key;\n                        this.alternativeFormat = format.alternative;\n                        ret = format.parser(match);\n                        break;\n                    }\n                }\n                // Next time, use the one previously found\n            }\n            else {\n                format = this.dateFormats[dateFormat];\n                if (!format) {\n                    // The selected format is invalid\n                    format = this.dateFormats['YYYY/mm/dd'];\n                }\n                match = val.match(format.regex);\n                if (match) {\n                    ret = format.parser(match);\n                }\n            }\n            // Fall back to Date.parse\n            if (!match) {\n                if (val.match(/:.+(GMT|UTC|[Z+\\-])/)) {\n                    val = val\n                        .replace(/\\s*(?:GMT|UTC)?([+\\-])(\\d\\d)(\\d\\d)$/, '$1$2:$3')\n                        .replace(/(?:\\s+|GMT|UTC)([+\\-])/, '$1')\n                        .replace(/(\\d)\\s*(?:GMT|UTC|Z)$/, '$1+00:00');\n                }\n                match = Date.parse(val);\n                // External tools like Date.js and MooTools extend Date object\n                // and return a date.\n                if (typeof match === 'object' &&\n                    match !== null &&\n                    match.getTime) {\n                    ret = (match.getTime() -\n                        match.getTimezoneOffset() *\n                            60000);\n                    // Timestamp\n                }\n                else if (isNumber(match)) {\n                    ret = match - (new Date(match)).getTimezoneOffset() * 60000;\n                }\n            }\n        }\n        return ret;\n    }\n    /**\n     * Get the parsed data in a form that we can apply directly to the\n     * `series.data` config. Array positions can be mapped using the\n     * `series.keys` option.\n     *\n     * @example\n     * const data = Highcharts.data({\n     *   csv: document.getElementById('data').innerHTML\n     * }).getData();\n     *\n     * @function Highcharts.Data#getData\n     *\n     * @return {Array<Array<DataValueType>>|undefined} Data rows\n     */\n    getData() {\n        if (this.columns) {\n            return this.rowsToColumns(this.columns)?.slice(1);\n        }\n    }\n    /**\n     * A hook for working directly on the parsed columns\n     *\n     * @function Highcharts.Data#parsed\n     */\n    parsed() {\n        if (this.options.parsed) {\n            return this.options.parsed.call(this, this.columns);\n        }\n    }\n    /**\n     * If a complete callback function is provided in the options, interpret the\n     * columns into a Highcharts options object.\n     *\n     * The function requires that the context has the `valueCount` property set.\n     *\n     * @function Highcharts.Data#complete\n     */\n    complete() {\n        const columns = this.columns = this.columns || [], xColumns = [], options = this.options, allSeriesBuilders = [];\n        let type = 'linear', series, data, i, j, r, seriesIndex, chartOptions, builder, freeIndexes, typeCol, index;\n        xColumns.length = columns.length;\n        if (options.complete || options.afterComplete) {\n            // Get the names and shift the top row\n            if (this.firstRowAsNames) {\n                for (i = 0; i < columns.length; i++) {\n                    const curCol = columns[i];\n                    if (!defined(curCol.name)) {\n                        curCol.name = pick(curCol.shift(), '').toString();\n                    }\n                }\n            }\n            // Use the next columns for series\n            series = [];\n            freeIndexes = getFreeIndexes(columns?.length || 0, this.valueCount.seriesBuilders);\n            // Populate defined series\n            for (seriesIndex = 0; seriesIndex < this.valueCount.seriesBuilders.length; seriesIndex++) {\n                builder = this.valueCount.seriesBuilders[seriesIndex];\n                // If the builder can be populated with remaining columns, then\n                // add it to allBuilders\n                if (builder.populateColumns(freeIndexes)) {\n                    allSeriesBuilders.push(builder);\n                }\n            }\n            // Populate dynamic series\n            while (freeIndexes.length > 0) {\n                builder = new SeriesBuilder();\n                builder.addColumnReader(0, 'x');\n                // Mark index as used (not free)\n                index = freeIndexes.indexOf(0);\n                if (index !== -1) {\n                    freeIndexes.splice(index, 1);\n                }\n                for (i = 0; i < this.valueCount.global; i++) {\n                    // Create and add a column reader for the next free column\n                    // index\n                    builder.addColumnReader(void 0, this.valueCount.globalPointArrayMap[i]);\n                }\n                // If the builder can be populated with remaining columns, then\n                // add it to allBuilders\n                if (builder.populateColumns(freeIndexes)) {\n                    allSeriesBuilders.push(builder);\n                }\n            }\n            // Get the data-type from the first series x column\n            if (allSeriesBuilders.length > 0 &&\n                allSeriesBuilders[0].readers.length > 0) {\n                typeCol = columns?.[allSeriesBuilders[0].readers[0].columnIndex ?? -1];\n                if (typeof typeCol !== 'undefined') {\n                    if (typeCol.isDatetime) {\n                        type = 'datetime';\n                    }\n                    else if (!typeCol.isNumeric) {\n                        type = 'category';\n                    }\n                }\n            }\n            // Axis type is category, then the \"x\" column should be called\n            // \"name\"\n            if (type === 'category') {\n                for (seriesIndex = 0; seriesIndex < allSeriesBuilders.length; seriesIndex++) {\n                    builder = allSeriesBuilders[seriesIndex];\n                    for (r = 0; r < builder.readers.length; r++) {\n                        if (builder.readers[r].configName === 'x') {\n                            builder.readers[r].configName = 'name';\n                        }\n                    }\n                }\n            }\n            // Read data for all builders\n            for (seriesIndex = 0; seriesIndex < allSeriesBuilders.length; seriesIndex++) {\n                builder = allSeriesBuilders[seriesIndex];\n                // Iterate down the cells of each column and add data to the\n                // series\n                data = [];\n                for (j = 0; j < columns[0].length; j++) {\n                    data[j] = builder.read(columns, j);\n                }\n                // Add the series\n                series[seriesIndex] = {\n                    data,\n                    pointStart: data[0] && (builder.pointIsArray ?\n                        data[0]?.[0] :\n                        data[0]?.x) || void 0\n                };\n                if (builder.name) {\n                    series[seriesIndex].name = builder.name;\n                }\n                if (type === 'category') {\n                    series[seriesIndex].turboThreshold = 0;\n                    series[seriesIndex].pointStart = 0;\n                }\n            }\n            // Do the callback\n            chartOptions = { series };\n            // Prepare the axis options\n            if (type === 'linear' && (!this.xAxisOptions ||\n                this.xAxisOptions.type === type)) {\n                // Clear default value ('linear') if it is not changing the\n                // axis type to avoid loosing animation\n                type = this.xAxisOptions = void 0;\n            }\n            else {\n                this.xAxisOptions = { type };\n                if (type === 'category') {\n                    this.xAxisOptions.uniqueNames = false;\n                }\n            }\n            // Merge the xAxisOptions for the standalone Data module\n            if (!this.chart) {\n                merge(true, chartOptions, { xAxis: this.xAxisOptions || {} });\n            }\n            options.complete?.(chartOptions);\n            // The afterComplete hook is used internally to avoid conflict with\n            // the externally available complete option.\n            options.afterComplete?.(this, chartOptions);\n        }\n    }\n    /**\n     * Sets properties directly on the xAxis object.\n     *\n     * @private\n     */\n    xAxisUpdateHandler(axis) {\n        const options = this.xAxisOptions;\n        if (!options) {\n            return;\n        }\n        // Set the axis properties if not blocked by the axis options that could\n        // have changed in the update event.\n        if (!axis.options.type && options.type) {\n            axis.type = options.type;\n        }\n        if (!axis.options.uniqueNames &&\n            options.uniqueNames === false) {\n            axis.uniqueNames = options.uniqueNames;\n        }\n    }\n    /**\n     * Updates the chart with new data options.\n     *\n     * @function Highcharts.Data#update\n     *\n     * @param {Highcharts.DataOptions} options\n     *        The new data options.\n     *\n     * @param {boolean} [redraw=true]\n     *        Whether to redraw the chart after the new options are set.\n     */\n    update(options, redraw) {\n        const chart = this.chart, chartOptions = chart.options;\n        if (options) {\n            // Set the complete handler\n            options.afterComplete = function (dataInstance, dataOptions) {\n                if (!dataOptions) {\n                    return;\n                }\n                // Avoid setting axis options unless they change. Running\n                // Axis.update will cause the whole structure to be\n                // destroyed and rebuilt, and animation is lost.\n                const xAxis = chart.xAxis[0], xAxisOptions = dataInstance.xAxisOptions;\n                // Update axis if xAxisOptions are different from the current\n                // and not blocked by the axis options.\n                if (xAxisOptions && xAxis && ((xAxis.type !== xAxisOptions.type && !xAxis.options.type) ||\n                    (xAxis.uniqueNames &&\n                        xAxisOptions.uniqueNames === false &&\n                        xAxis.options.uniqueNames === void 0))) {\n                    xAxis.update({}, false);\n                }\n                else {\n                    // Prefer smooth points update when no axis update\n                    (dataOptions?.series || []).forEach(function (seriesOptions) {\n                        delete seriesOptions.pointStart;\n                    });\n                }\n                chart.update(dataOptions, redraw, true);\n            };\n            // Apply it\n            merge(true, chartOptions.data, options);\n            // Reset columns if fetching spreadsheet, to force a re-fetch\n            if (chartOptions.data?.googleSpreadsheetKey && !options.columns) {\n                delete chartOptions.data.columns;\n            }\n            this.init(chartOptions.data || {}, chartOptions);\n        }\n    }\n}\n// Fire 1st xAxis properties modifier after the options are set.\naddEvent((highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default()), 'afterSetOptions', function () {\n    // Target first xAxis only\n    if (this.isXAxis &&\n        // Init or update\n        (!this.chart.xAxis.length || this.chart.xAxis[0] === this)) {\n        this.chart.data?.xAxisUpdateHandler(this);\n    }\n});\n// Extend Chart.init so that the Chart constructor accepts a new configuration\n// option group, data.\naddEvent((highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default()), 'init', function (e) {\n    const chart = this, callback = e.args[1], defaultDataOptions = getOptions().data;\n    let userOptions = (e.args[0] || {});\n    if ((defaultDataOptions || userOptions && userOptions.data) &&\n        !chart.hasDataDef) {\n        chart.hasDataDef = true;\n        /**\n         * The data parser for this chart.\n         *\n         * @name Highcharts.Chart#data\n         * @type {Highcharts.Data|undefined}\n         */\n        const dataOptions = merge(defaultDataOptions, userOptions.data);\n        chart.data = new Data(extend(dataOptions, {\n            afterComplete: function (dataInstance, dataOptions) {\n                let i, series;\n                // Merge series configs\n                if (Object.hasOwnProperty.call(userOptions, 'series')) {\n                    if (typeof userOptions.series === 'object') {\n                        i = Math.max(userOptions.series.length, dataOptions?.series?.length ?? 0);\n                        while (i--) {\n                            series = userOptions.series[i] || {};\n                            userOptions.series[i] = merge(series, dataOptions?.series?.[i] ?? {});\n                        }\n                    }\n                    else { // Allow merging in dataOptions.series (#2856)\n                        delete userOptions.series;\n                    }\n                }\n                // Do the merge\n                userOptions = merge(dataOptions, userOptions);\n                // Register for access in events (Axis' afterSetOptions)\n                chart.data = dataInstance;\n                // Run chart.init again\n                chart.init(userOptions, callback);\n            }\n        }), userOptions, chart);\n        e.preventDefault();\n    }\n});\n/**\n * Creates a new SeriesBuilder. A SeriesBuilder consists of a number\n * of ColumnReaders that reads columns and give them a name.\n * Ex: A series builder can be constructed to read column 3 as 'x' and\n * column 7 and 8 as 'y1' and 'y2'.\n * The output would then be points/rows of the form {x: 11, y1: 22, y2: 33}\n *\n * The name of the builder is taken from the second column. In the above\n * example it would be the column with index 7.\n *\n * @private\n * @class\n * @name SeriesBuilder\n */\nclass SeriesBuilder {\n    constructor() {\n        /* eslint-disable no-invalid-this */\n        this.readers = [];\n        this.pointIsArray = true;\n    }\n    /**\n     * Populates readers with column indexes. A reader can be added without\n     * a specific index and for those readers the index is taken sequentially\n     * from the free columns (this is handled by the ColumnCursor instance).\n     *\n     * @function SeriesBuilder#populateColumns\n     */\n    populateColumns(freeIndexes) {\n        const builder = this;\n        let enoughColumns = true;\n        // Loop each reader and give it an index if its missing.\n        // The freeIndexes.shift() will return undefined if there\n        // are no more columns.\n        builder.readers.forEach((reader) => {\n            if (typeof reader.columnIndex === 'undefined') {\n                reader.columnIndex = freeIndexes.shift();\n            }\n        });\n        // Now, all readers should have columns mapped. If not\n        // then return false to signal that this series should\n        // not be added.\n        builder.readers.forEach((reader) => {\n            if (typeof reader.columnIndex === 'undefined') {\n                enoughColumns = false;\n            }\n        });\n        return enoughColumns;\n    }\n    /**\n     * Reads a row from the dataset and returns a point or array depending\n     * on the names of the readers.\n     *\n     * @function SeriesBuilder#read<T>\n     */\n    read(columns, rowIndex) {\n        const builder = this, pointIsArray = builder.pointIsArray, point = pointIsArray ? [] : {};\n        // Loop each reader and ask it to read its value.\n        // Then, build an array or point based on the readers names.\n        builder.readers.forEach((reader) => {\n            const value = columns[reader.columnIndex][rowIndex];\n            if (pointIsArray) {\n                point.push(value);\n            }\n            else {\n                if (reader.configName.indexOf('.') > 0) {\n                    // Handle nested property names\n                    highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default().prototype.setNestedProperty(point, value, reader.configName);\n                }\n                else {\n                    point[reader.configName] = value;\n                }\n            }\n        });\n        // The name comes from the first column (excluding the x column)\n        if (typeof this.name === 'undefined' && builder.readers.length >= 2) {\n            const columnIndexes = [];\n            builder.readers.forEach(function (reader) {\n                if (reader.configName === 'x' ||\n                    reader.configName === 'name' ||\n                    reader.configName === 'y') {\n                    if (typeof reader.columnIndex !== 'undefined') {\n                        columnIndexes.push(reader.columnIndex);\n                    }\n                }\n            });\n            if (columnIndexes.length >= 2) {\n                // Remove the first one (x col)\n                columnIndexes.shift();\n                // Sort the remaining\n                columnIndexes.sort(function (a, b) {\n                    return a - b;\n                });\n            }\n            // Now use the lowest index as name column\n            this.name = columns[pick(columnIndexes.shift(), 0)].name;\n        }\n        return point;\n    }\n    /**\n     * Creates and adds ColumnReader from the given columnIndex and configName.\n     * ColumnIndex can be undefined and in that case the reader will be given\n     * an index when columns are populated.\n     *\n     * @function SeriesBuilder#addColumnReader\n     */\n    addColumnReader(columnIndex, configName) {\n        this.readers.push({\n            columnIndex: columnIndex,\n            configName: configName\n        });\n        if (!(configName === 'x' ||\n            configName === 'y' ||\n            typeof configName === 'undefined')) {\n            this.pointIsArray = false;\n        }\n    }\n    /**\n     * Returns an array of column indexes that the builder will use when\n     * reading data.\n     *\n     * @function SeriesBuilder#getReferencedColumnIndexes\n     */\n    getReferencedColumnIndexes() {\n        const referencedColumnIndexes = [];\n        let i, columnReader;\n        for (i = 0; i < this.readers.length; i = i + 1) {\n            columnReader = this.readers[i];\n            if (typeof columnReader.columnIndex !== 'undefined') {\n                referencedColumnIndexes.push(columnReader.columnIndex);\n            }\n        }\n        return referencedColumnIndexes;\n    }\n    /**\n     * Returns true if the builder has a reader for the given configName.\n     *\n     * @function SeriesBuilder#hasReader\n     */\n    hasReader(configName) {\n        let i, columnReader;\n        for (i = 0; i < this.readers.length; i = i + 1) {\n            columnReader = this.readers[i];\n            if (columnReader.configName === configName) {\n                return true;\n            }\n        }\n        // Else return undefined\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Extensions_Data = (Data);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Callback function to modify the CSV before parsing it by the data module.\n *\n * @callback Highcharts.DataBeforeParseCallbackFunction\n *\n * @param {string} csv\n *        The CSV to modify.\n *\n * @return {string}\n *         The CSV to parse.\n */\n/**\n * Callback function that gets called after parsing data.\n *\n * @callback Highcharts.DataCompleteCallbackFunction\n *\n * @param {Highcharts.Options} chartOptions\n *        The chart options that were used.\n */\n/**\n * Callback function that returns the corresponding Date object to a match.\n *\n * @callback Highcharts.DataDateFormatCallbackFunction\n *\n * @param {Array<number>} match\n *\n * @return {number}\n */\n/**\n * Structure for alternative date formats to parse.\n *\n * @interface Highcharts.DataDateFormatObject\n */ /**\n* @name Highcharts.DataDateFormatObject#alternative\n* @type {string|undefined}\n*/ /**\n* @name Highcharts.DataDateFormatObject#parser\n* @type {Highcharts.DataDateFormatCallbackFunction}\n*/ /**\n* @name Highcharts.DataDateFormatObject#regex\n* @type {global.RegExp}\n*/\n/**\n * Possible types for a data item in a column or row.\n *\n * @typedef {number|string|null} Highcharts.DataValueType\n */\n/**\n * Callback function to parse string representations of dates into\n * JavaScript timestamps (milliseconds since 1.1.1970).\n *\n * @callback Highcharts.DataParseDateCallbackFunction\n *\n * @param {string} dateValue\n *\n * @return {number}\n *         Timestamp (milliseconds since 1.1.1970) as integer for Date class.\n */\n/**\n * Callback function to access the parsed columns, the two-dimensional\n * input data array directly, before they are interpreted into series\n * data and categories.\n *\n * @callback Highcharts.DataParsedCallbackFunction\n *\n * @param {Array<Array<*>>} columns\n *        The parsed columns by the data module.\n *\n * @return {boolean|undefined}\n *         Return `false` to stop completion, or call `this.complete()` to\n *         continue async.\n */\n/* *\n *\n *  API Options\n *\n * */\n/**\n * The Data module provides a simplified interface for adding data to\n * a chart from sources like CVS, HTML tables or grid views. See also\n * the [tutorial article on the Data module](\n * https://www.highcharts.com/docs/working-with-data/data-module).\n *\n * It requires the `modules/data.js` file to be loaded.\n *\n * Please note that the default way of adding data in Highcharts, without\n * the need of a module, is through the [series._type_.data](#series.line.data)\n * option.\n *\n * @sample {highcharts} highcharts/demo/column-parsed/\n *         HTML table\n * @sample {highcharts} highcharts/data/csv/\n *         CSV\n *\n * @since     4.0\n * @requires  modules/data\n * @apioption data\n */\n/**\n * A callback function to modify the CSV before parsing it. Return the modified\n * string.\n *\n * @sample {highcharts} highcharts/demo/line-csv/\n *         Modify CSV before parse\n *\n * @type      {Highcharts.DataBeforeParseCallbackFunction}\n * @since     6.1\n * @apioption data.beforeParse\n */\n/**\n * A two-dimensional array representing the input data on tabular form.\n * This input can be used when the data is already parsed, for example\n * from a grid view component. Each cell can be a string or number.\n * If not switchRowsAndColumns is set, the columns are interpreted as\n * series.\n *\n * @see [data.rows](#data.rows)\n *\n * @sample {highcharts} highcharts/data/columns/\n *         Columns\n *\n * @type      {Array<Array<Highcharts.DataValueType>>}\n * @since     4.0\n * @apioption data.columns\n */\n/**\n * An array option that specifies the data type for each column in the series\n * loaded within the data module.\n *\n * Possible values: `\"string\"`, `\"number\"`, `\"float\"`, `\"date\"`.\n *\n * @sample {highcharts|highstock} highcharts/data/column-types/\n *         X-axis categories based on CSV data\n * @sample {highmaps} highcharts/data/column-types-map/\n *         Map chart created with fips from CSV\n *\n * @type       {Array<'string'|'number'|'float'|'date'>}\n * @since      11.3.0\n * @validvalue [\"string\", \"number\", \"float\", \"date\"]\n * @apioption  data.columnTypes\n */\n/**\n * The callback that is evaluated when the data is finished loading,\n * optionally from an external source, and parsed. The first argument\n * passed is a finished chart options object, containing the series.\n * These options can be extended with additional options and passed\n * directly to the chart constructor.\n *\n * @see [data.parsed](#data.parsed)\n *\n * @sample {highcharts} highcharts/data/complete/\n *         Modify data on complete\n *\n * @type      {Highcharts.DataCompleteCallbackFunction}\n * @since     4.0\n * @apioption data.complete\n */\n/**\n * A comma delimited string to be parsed. Related options are [startRow](\n * #data.startRow), [endRow](#data.endRow), [startColumn](#data.startColumn)\n * and [endColumn](#data.endColumn) to delimit what part of the table\n * is used. The [lineDelimiter](#data.lineDelimiter) and [itemDelimiter](\n * #data.itemDelimiter) options define the CSV delimiter formats.\n *\n * The built-in CSV parser doesn't support all flavours of CSV, so in\n * some cases it may be necessary to use an external CSV parser. See\n * [this example](https://jsfiddle.net/highcharts/u59176h4/) of parsing\n * CSV through the MIT licensed [Papa Parse](http://papaparse.com/)\n * library.\n *\n * @sample {highcharts} highcharts/data/csv/\n *         Data from CSV\n *\n * @type      {string}\n * @since     4.0\n * @apioption data.csv\n */\n/**\n * Which of the predefined date formats in Date.prototype.dateFormats\n * to use to parse date values. Defaults to a best guess based on what\n * format gives valid and ordered dates. Valid options include: `YYYY/mm/dd`,\n * `dd/mm/YYYY`, `mm/dd/YYYY`, `dd/mm/YY`, `mm/dd/YY`.\n *\n * @see [data.parseDate](#data.parseDate)\n *\n * @sample {highcharts} highcharts/data/dateformat-auto/\n *         Best guess date format\n *\n * @type       {string}\n * @since      4.0\n * @validvalue [\"YYYY/mm/dd\", \"dd/mm/YYYY\", \"mm/dd/YYYY\", \"dd/mm/YYYY\",\n *             \"dd/mm/YY\", \"mm/dd/YY\"]\n * @apioption  data.dateFormat\n */\n/**\n * The decimal point used for parsing numbers in the CSV.\n *\n * If both this and data.delimiter is set to `undefined`, the parser will\n * attempt to deduce the decimal point automatically.\n *\n * @sample {highcharts} highcharts/data/delimiters/\n *         Comma as decimal point\n *\n * @type      {string}\n * @default   .\n * @since     4.1.0\n * @apioption data.decimalPoint\n */\n/**\n * In tabular input data, the last column (indexed by 0) to use. Defaults\n * to the last column containing data.\n *\n * @sample {highcharts} highcharts/data/start-end/\n *         Limited data\n *\n * @type      {number}\n * @since     4.0\n * @apioption data.endColumn\n */\n/**\n * In tabular input data, the last row (indexed by 0) to use. Defaults\n * to the last row containing data.\n *\n * @sample {highcharts} highcharts/data/start-end/\n *         Limited data\n *\n * @type      {number}\n * @since     4.0.4\n * @apioption data.endRow\n */\n/**\n * Whether to use the first row in the data set as series names.\n *\n * @sample {highcharts} highcharts/data/start-end/\n *         Don't get series names from the CSV\n * @sample {highstock} highcharts/data/start-end/\n *         Don't get series names from the CSV\n *\n * @type      {boolean}\n * @default   true\n * @since     4.1.0\n * @product   highcharts highstock gantt\n * @apioption data.firstRowAsNames\n */\n/**\n * The Google Spreadsheet API key required for access generated at [API Services\n * / Credentials](https://console.cloud.google.com/apis/credentials). See a\n * comprehensive tutorial for setting up the key at the\n * [Hands-On Data Visualization](https://handsondataviz.org/google-sheets-api-key.html)\n * book website.\n *\n * @sample {highcharts} highcharts/data/google-spreadsheet/\n *         Load a Google Spreadsheet\n *\n * @type      {string}\n * @since     9.2.2\n * @apioption data.googleAPIKey\n */\n/**\n * The key or `spreadsheetId` value for a Google Spreadsheet to load. See\n * [developers.google.com](https://developers.google.com/sheets/api/guides/concepts)\n * for how to find the `spreadsheetId`.\n *\n * In order for Google Sheets to load, a valid [googleAPIKey](#data.googleAPIKey)\n * must also be given.\n *\n * @sample {highcharts} highcharts/data/google-spreadsheet/\n *         Load a Google Spreadsheet\n *\n * @type      {string}\n * @since     4.0\n * @apioption data.googleSpreadsheetKey\n */\n/**\n * The Google Spreadsheet `range` to use in combination with\n * [googleSpreadsheetKey](#data.googleSpreadsheetKey). See\n * [developers.google.com](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get)\n * for details.\n *\n * If given, it takes precedence over `startColumn`, `endColumn`, `startRow` and\n * `endRow`.\n *\n * @example\n * googleSpreadsheetRange: 'Fruit Consumption' // Load a named worksheet\n * googleSpreadsheetRange: 'A:Z' // Load columns A to Z\n *\n * @sample {highcharts} highcharts/data/google-spreadsheet/\n *         Load a Google Spreadsheet\n *\n * @type      {string|undefined}\n * @since     9.2.2\n * @apioption data.googleSpreadsheetRange\n */\n/**\n * No longer works since v9.2.2, that uses Google Sheets API v4. Instead, use\n * the [googleSpreadsheetRange](#data.googleSpreadsheetRange) option to load a\n * specific sheet.\n *\n * @deprecated\n * @type      {string}\n * @since     4.0\n * @apioption data.googleSpreadsheetWorksheet\n */\n/**\n * Item or cell delimiter for parsing CSV. Defaults to the tab character\n * `\\t` if a tab character is found in the CSV string, if not it defaults\n * to `,`.\n *\n * If this is set to false or undefined, the parser will attempt to deduce\n * the delimiter automatically.\n *\n * @sample {highcharts} highcharts/data/delimiters/\n *         Delimiters\n *\n * @type      {string}\n * @since     4.0\n * @apioption data.itemDelimiter\n */\n/**\n * Line delimiter for parsing CSV.\n *\n * @sample {highcharts} highcharts/data/delimiters/\n *         Delimiters\n *\n * @type      {string}\n * @default   \\n\n * @since     4.0\n * @apioption data.lineDelimiter\n */\n/**\n * A callback function to access the parsed columns, the two-dimensional\n * input data array directly, before they are interpreted into series\n * data and categories. Return `false` to stop completion, or call\n * `this.complete()` to continue async.\n *\n * @see [data.complete](#data.complete)\n *\n * @sample {highcharts} highcharts/data/parsed/\n *         Modify data after parse\n *\n * @type      {Highcharts.DataParsedCallbackFunction}\n * @since     4.0\n * @apioption data.parsed\n */\n/**\n * A callback function to parse string representations of dates into\n * JavaScript timestamps. Should return an integer timestamp on success.\n *\n * @see [dateFormat](#data.dateFormat)\n *\n * @type      {Highcharts.DataParseDateCallbackFunction}\n * @since     4.0\n * @apioption data.parseDate\n */\n/**\n * The same as the columns input option, but defining rows instead of\n * columns.\n *\n * @see [data.columns](#data.columns)\n *\n * @sample {highcharts} highcharts/data/rows/\n *         Data in rows\n *\n * @type      {Array<Array<Highcharts.DataValueType>>}\n * @since     4.0\n * @apioption data.rows\n */\n/**\n * An array containing dictionaries for each series. A dictionary exists of\n * Point property names as the key and the CSV column index as the value.\n *\n * @sample {highcharts} highcharts/data/seriesmapping-label/\n *         Label from data set\n *\n * @type      {Array<Highcharts.Dictionary<number>>}\n * @since     4.0.4\n * @apioption data.seriesMapping\n */\n/**\n * In tabular input data, the first column (indexed by 0) to use.\n *\n * @sample {highcharts} highcharts/data/start-end/\n *         Limited data\n *\n * @type      {number}\n * @default   0\n * @since     4.0\n * @apioption data.startColumn\n */\n/**\n * In tabular input data, the first row (indexed by 0) to use.\n *\n * @sample {highcharts} highcharts/data/start-end/\n *         Limited data\n *\n * @type      {number}\n * @default   0\n * @since     4.0\n * @apioption data.startRow\n */\n/**\n * Switch rows and columns of the input data, so that `this.columns`\n * effectively becomes the rows of the data set, and the rows are interpreted\n * as series.\n *\n * @sample {highcharts} highcharts/data/switchrowsandcolumns/\n *         Switch rows and columns\n *\n * @type      {boolean}\n * @default   false\n * @since     4.0\n * @apioption data.switchRowsAndColumns\n */\n/**\n * An HTML table or the id of such to be parsed as input data. Related\n * options are `startRow`, `endRow`, `startColumn` and `endColumn` to\n * delimit what part of the table is used.\n *\n * @sample {highcharts} highcharts/demo/column-parsed/\n *         Parsed table\n *\n * @type      {string|global.HTMLElement}\n * @since     4.0\n * @apioption data.table\n */\n/**\n * An URL to a remote CSV dataset. Will be fetched when the chart is created\n * using Ajax.\n *\n * @sample highcharts/data/livedata-columns\n *         Categorized bar chart with CSV and live polling\n * @sample highcharts/data/livedata-csv\n *         Time based line chart with CSV and live polling\n *\n * @type      {string}\n * @apioption data.csvURL\n */\n/**\n * A URL to a remote JSON dataset, structured as a row array.\n * Will be fetched when the chart is created using Ajax.\n *\n * @sample highcharts/data/livedata-rows\n *         Rows with live polling\n *\n * @type      {string}\n * @apioption data.rowsURL\n */\n/**\n * A URL to a remote JSON dataset, structured as a column array.\n * Will be fetched when the chart is created using Ajax.\n *\n * @sample highcharts/data/livedata-columns\n *         Columns with live polling\n *\n * @type      {string}\n * @apioption data.columnsURL\n */\n/**\n * Sets the refresh rate for data polling when importing remote dataset by\n * setting [data.csvURL](data.csvURL), [data.rowsURL](data.rowsURL),\n * [data.columnsURL](data.columnsURL), or\n * [data.googleSpreadsheetKey](data.googleSpreadsheetKey).\n *\n * Note that polling must be enabled by setting\n * [data.enablePolling](data.enablePolling) to true.\n *\n * The value is the number of seconds between pollings.\n * It cannot be set to less than 1 second.\n *\n * @sample highcharts/demo/live-data\n *         Live data with user set refresh rate\n *\n * @default   1\n * @type      {number}\n * @apioption data.dataRefreshRate\n */\n/**\n * Enables automatic refetching of remote datasets every _n_ seconds (defined by\n * setting [data.dataRefreshRate](data.dataRefreshRate)).\n *\n * Only works when either [data.csvURL](data.csvURL),\n * [data.rowsURL](data.rowsURL), [data.columnsURL](data.columnsURL), or\n * [data.googleSpreadsheetKey](data.googleSpreadsheetKey).\n *\n * @sample highcharts/demo/live-data\n *         Live data\n * @sample highcharts/data/livedata-columns\n *         Categorized bar chart with CSV and live polling\n *\n * @type      {boolean}\n * @default   false\n * @apioption data.enablePolling\n */\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/masters/modules/data.src.js\n\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n// Classes\nG.Data = G.Data || Extensions_Data;\nG.HttpUtilities = G.HttpUtilities || Core_HttpUtilities;\n// Functions\nG.ajax = G.HttpUtilities.ajax;\nG.data = G.Data.data;\nG.getJSON = G.HttpUtilities.getJSON;\nG.post = G.HttpUtilities.post;\n/* harmony default export */ const data_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/histogram-bellcurve\n * @requires highcharts\n *\n * (c) 2010-2024 Highsoft AS\n * Author: Sebastian Domas\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Series\"], root[\"_Highcharts\"][\"SeriesRegistry\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/histogram-bellcurve\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"Series\"],amd1[\"SeriesRegistry\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/histogram-bellcurve\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Series\"], root[\"_Highcharts\"][\"SeriesRegistry\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"Series\"], root[\"Highcharts\"][\"SeriesRegistry\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__820__, __WEBPACK_EXTERNAL_MODULE__512__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 820:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__820__;\n\n/***/ }),\n\n/***/ 512:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ histogram_bellcurve_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Series\"],\"commonjs\":[\"highcharts\",\"Series\"],\"commonjs2\":[\"highcharts\",\"Series\"],\"root\":[\"Highcharts\",\"Series\"]}\nvar highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_ = __webpack_require__(820);\nvar highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default = /*#__PURE__*/__webpack_require__.n(highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_);\n;// ./code/es-modules/Series/DerivedComposition.js\n/* *\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { addEvent, defined } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\n/**\n * Provides methods for auto setting/updating series data based on the based\n * series data.\n * @private\n */\nvar DerivedComposition;\n(function (DerivedComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    DerivedComposition.hasDerivedData = true;\n    /**\n     * Method to be implemented - inside the method the series has already\n     * access to the base series via m `this.baseSeries` and the bases data is\n     * initialised. It should return data in the format accepted by\n     * `Series.setData()` method\n     * @private\n     */\n    DerivedComposition.setDerivedData = noop;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    function compose(SeriesClass) {\n        const seriesProto = SeriesClass.prototype;\n        seriesProto.addBaseSeriesEvents = addBaseSeriesEvents;\n        seriesProto.addEvents = addEvents;\n        seriesProto.destroy = destroy;\n        seriesProto.init = init;\n        seriesProto.setBaseSeries = setBaseSeries;\n        return SeriesClass;\n    }\n    DerivedComposition.compose = compose;\n    /**\n     * Initialise series\n     * @private\n     */\n    function init() {\n        highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default().prototype.init.apply(this, arguments);\n        this.initialised = false;\n        this.baseSeries = null;\n        this.eventRemovers = [];\n        this.addEvents();\n    }\n    DerivedComposition.init = init;\n    /**\n     * Sets base series for the series\n     * @private\n     */\n    function setBaseSeries() {\n        const chart = this.chart, baseSeriesOptions = this.options.baseSeries, baseSeries = (defined(baseSeriesOptions) &&\n            (chart.series[baseSeriesOptions] ||\n                chart.get(baseSeriesOptions)));\n        this.baseSeries = baseSeries || null;\n    }\n    DerivedComposition.setBaseSeries = setBaseSeries;\n    /**\n     * Adds events for the series\n     * @private\n     */\n    function addEvents() {\n        this.eventRemovers.push(addEvent(this.chart, 'afterLinkSeries', () => {\n            this.setBaseSeries();\n            if (this.baseSeries && !this.initialised) {\n                this.setDerivedData();\n                this.addBaseSeriesEvents();\n                this.initialised = true;\n            }\n        }));\n    }\n    DerivedComposition.addEvents = addEvents;\n    /**\n     * Adds events to the base series - it required for recalculating the data\n     * in the series if the base series is updated / removed / etc.\n     * @private\n     */\n    function addBaseSeriesEvents() {\n        this.eventRemovers.push(addEvent(this.baseSeries, 'updatedData', () => {\n            this.setDerivedData();\n        }), addEvent(this.baseSeries, 'destroy', () => {\n            this.baseSeries = null;\n            this.initialised = false;\n        }));\n    }\n    DerivedComposition.addBaseSeriesEvents = addBaseSeriesEvents;\n    /**\n     * Destroys the series\n     * @private\n     */\n    function destroy() {\n        this.eventRemovers.forEach((remover) => {\n            remover();\n        });\n        highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default().prototype.destroy.apply(this, arguments);\n    }\n    DerivedComposition.destroy = destroy;\n})(DerivedComposition || (DerivedComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Series_DerivedComposition = (DerivedComposition);\n\n;// ./code/es-modules/Series/Histogram/HistogramSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *  Author: Sebastian Domas\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A histogram is a column series which represents the distribution of the\n * data set in the base series. Histogram splits data into bins and shows\n * their frequencies.\n *\n * @sample {highcharts} highcharts/demo/histogram/\n *         Histogram\n *\n * @extends      plotOptions.column\n * @excluding    boostThreshold, dragDrop, pointInterval, pointIntervalUnit,\n *               stacking, boostBlending\n * @product      highcharts\n * @since        6.0.0\n * @requires     modules/histogram-bellcurve\n * @optionparent plotOptions.histogram\n */\nconst HistogramSeriesDefaults = {\n    /**\n     * A preferable number of bins. It is a suggestion, so a histogram may\n     * have a different number of bins. By default it is set to the square\n     * root of the base series' data length. Available options are:\n     * `square-root`, `sturges`, `rice`. You can also define a function\n     * which takes a `baseSeries` as a parameter and should return a\n     * positive integer.\n     *\n     * @type {\"square-root\"|\"sturges\"|\"rice\"|number|Function}\n     */\n    binsNumber: 'square-root',\n    /**\n     * Width of each bin. By default the bin's width is calculated as\n     * `(max - min) / number of bins`. This option takes precedence over\n     * [binsNumber](#plotOptions.histogram.binsNumber).\n     *\n     * @type {number}\n     */\n    binWidth: void 0,\n    pointPadding: 0,\n    groupPadding: 0,\n    grouping: false,\n    pointPlacement: 'between',\n    tooltip: {\n        headerFormat: '',\n        pointFormat: ('<span style=\"font-size: 0.8em\">{point.x} - {point.x2}' +\n            '</span><br/>' +\n            '<span style=\"color:{point.color}\">\\u25CF</span>' +\n            ' {series.name} <b>{point.y}</b><br/>')\n    }\n};\n/**\n * A `histogram` series. If the [type](#series.histogram.type) option is not\n * specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.histogram\n * @excluding data, dataParser, dataURL, boostThreshold, boostBlending\n * @product   highcharts\n * @since     6.0.0\n * @requires  modules/histogram-bellcurve\n * @apioption series.histogram\n */\n/**\n * An integer identifying the index to use for the base series, or a string\n * representing the id of the series.\n *\n * @type      {number|string}\n * @apioption series.histogram.baseSeries\n */\n''; // Keeps doclets above separate\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Histogram_HistogramSeriesDefaults = (HistogramSeriesDefaults);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n;// ./code/es-modules/Series/Histogram/HistogramSeries.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *  Author: Sebastian Domas\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { column: ColumnSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { arrayMax, arrayMin, correctFloat, extend, isNumber, merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* ************************************************************************** *\n *  HISTOGRAM\n * ************************************************************************** */\n/**\n * A dictionary with formulas for calculating number of bins based on the\n * base series\n **/\nconst binsNumberFormulas = {\n    'square-root': function (baseSeries) {\n        return Math.ceil(Math.sqrt(baseSeries.options.data.length));\n    },\n    'sturges': function (baseSeries) {\n        return Math.ceil(Math.log(baseSeries.options.data.length) * Math.LOG2E);\n    },\n    'rice': function (baseSeries) {\n        return Math.ceil(2 * Math.pow(baseSeries.options.data.length, 1 / 3));\n    }\n};\n/**\n * Returns a function for mapping number to the closed (right opened) bins\n * @private\n * @param {Array<number>} bins\n * Width of the bins\n */\nfunction fitToBinLeftClosed(bins) {\n    return function (y) {\n        let i = 1;\n        while (bins[i] <= y) {\n            i++;\n        }\n        return bins[--i];\n    };\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * Histogram class\n * @private\n * @class\n * @name Highcharts.seriesTypes.histogram\n * @augments Highcharts.Series\n */\nclass HistogramSeries extends ColumnSeries {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    binsNumber() {\n        const binsNumberOption = this.options.binsNumber;\n        const binsNumber = binsNumberFormulas[binsNumberOption] ||\n            // #7457\n            (typeof binsNumberOption === 'function' && binsNumberOption);\n        return Math.ceil((binsNumber && binsNumber(this.baseSeries)) ||\n            (isNumber(binsNumberOption) ?\n                binsNumberOption :\n                binsNumberFormulas['square-root'](this.baseSeries)));\n    }\n    derivedData(baseData, binsNumber, binWidth) {\n        const series = this, max = correctFloat(arrayMax(baseData)), \n        // Float correction needed, because first frequency value is not\n        // corrected when generating frequencies (within for loop).\n        min = correctFloat(arrayMin(baseData)), frequencies = [], bins = {}, data = [];\n        let x;\n        binWidth = series.binWidth = (correctFloat(isNumber(binWidth) ?\n            (binWidth || 1) :\n            (max - min) / binsNumber));\n        // #12077 negative pointRange causes wrong calculations,\n        // browser hanging.\n        series.options.pointRange = Math.max(binWidth, 0);\n        // If binWidth is 0 then max and min are equaled,\n        // increment the x with some positive value to quit the loop\n        for (x = min; \n        // This condition is needed because of the margin of error while\n        // operating on decimal numbers. Without that, additional bin\n        // was sometimes noticeable on the graph, because of too small\n        // precision of float correction.\n        x < max &&\n            (series.userOptions.binWidth ||\n                correctFloat(max - x) >= binWidth ||\n                // #13069 - Every add and subtract operation should\n                // be corrected, due to general problems with\n                // operations on float numbers in JS.\n                correctFloat(correctFloat(min + (frequencies.length * binWidth)) -\n                    x) <= 0); x = correctFloat(x + binWidth)) {\n            frequencies.push(x);\n            bins[x] = 0;\n        }\n        if (bins[min] !== 0) {\n            frequencies.push(min);\n            bins[min] = 0;\n        }\n        const fitToBin = fitToBinLeftClosed(frequencies.map((elem) => parseFloat(elem)));\n        for (const y of baseData) {\n            bins[correctFloat(fitToBin(y))]++;\n        }\n        for (const key of Object.keys(bins)) {\n            data.push({\n                x: Number(key),\n                y: bins[key],\n                x2: correctFloat(Number(key) + binWidth)\n            });\n        }\n        data.sort((a, b) => (a.x - b.x));\n        data[data.length - 1].x2 = max;\n        return data;\n    }\n    setDerivedData() {\n        const yData = this.baseSeries?.getColumn('y');\n        if (!yData?.length) {\n            this.setData([]);\n            return;\n        }\n        const data = this.derivedData(yData, this.binsNumber(), this.options.binWidth);\n        this.setData(data, false);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nHistogramSeries.defaultOptions = merge(ColumnSeries.defaultOptions, Histogram_HistogramSeriesDefaults);\nextend(HistogramSeries.prototype, {\n    hasDerivedData: Series_DerivedComposition.hasDerivedData\n});\nSeries_DerivedComposition.compose(HistogramSeries);\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('histogram', HistogramSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Histogram_HistogramSeries = ((/* unused pure expression or super */ null && (HistogramSeries)));\n\n;// ./code/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  Author: Sebastian Domas\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Optiions\n *\n * */\n/**\n * A bell curve is an areaspline series which represents the probability\n * density function of the normal distribution. It calculates mean and\n * standard deviation of the base series data and plots the curve according\n * to the calculated parameters.\n *\n * @sample {highcharts} highcharts/demo/bellcurve/\n *         Bell curve\n *\n * @extends      plotOptions.areaspline\n * @since        6.0.0\n * @product      highcharts\n * @excluding    boostThreshold, connectNulls, dragDrop, stacking,\n *               pointInterval, pointIntervalUnit\n * @requires     modules/histogram-bellcurve\n * @optionparent plotOptions.bellcurve\n */\nconst BellcurveSeriesDefaults = {\n    /**\n     * @see [fillColor](#plotOptions.bellcurve.fillColor)\n     * @see [fillOpacity](#plotOptions.bellcurve.fillOpacity)\n     *\n     * @apioption plotOptions.bellcurve.color\n     */\n    /**\n     * @see [color](#plotOptions.bellcurve.color)\n     * @see [fillOpacity](#plotOptions.bellcurve.fillOpacity)\n     *\n     * @apioption plotOptions.bellcurve.fillColor\n     */\n    /**\n     * @see [color](#plotOptions.bellcurve.color)\n     * @see [fillColor](#plotOptions.bellcurve.fillColor)\n     *\n     * @default   {highcharts} 0.75\n     * @default   {highstock} 0.75\n     * @apioption plotOptions.bellcurve.fillOpacity\n     */\n    /**\n     * This option allows to define the length of the bell curve. A unit of\n     * the length of the bell curve is standard deviation.\n     *\n     * @sample highcharts/plotoptions/bellcurve-intervals-pointsininterval\n     *         Intervals and points in interval\n     */\n    intervals: 3,\n    /**\n     * Defines how many points should be plotted within 1 interval. See\n     * `plotOptions.bellcurve.intervals`.\n     *\n     * @sample highcharts/plotoptions/bellcurve-intervals-pointsininterval\n     *         Intervals and points in interval\n     */\n    pointsInInterval: 3,\n    marker: {\n        enabled: false\n    }\n};\n/**\n * A `bellcurve` series. If the [type](#series.bellcurve.type) option is not\n * specified, it is inherited from [chart.type](#chart.type).\n *\n * For options that apply to multiple series, it is recommended to add\n * them to the [plotOptions.series](#plotOptions.series) options structure.\n * To apply to all series of this specific type, apply it to\n * [plotOptions.bellcurve](#plotOptions.bellcurve).\n *\n * @extends   series,plotOptions.bellcurve\n * @since     6.0.0\n * @product   highcharts\n * @excluding dataParser, dataURL, data, boostThreshold, boostBlending\n * @requires  modules/histogram-bellcurve\n * @apioption series.bellcurve\n */\n/**\n * An integer identifying the index to use for the base series, or a string\n * representing the id of the series.\n *\n * @type      {number|string}\n * @apioption series.bellcurve.baseSeries\n */\n/**\n * @see [fillColor](#series.bellcurve.fillColor)\n * @see [fillOpacity](#series.bellcurve.fillOpacity)\n *\n * @apioption series.bellcurve.color\n */\n/**\n * @see [color](#series.bellcurve.color)\n * @see [fillOpacity](#series.bellcurve.fillOpacity)\n *\n * @apioption series.bellcurve.fillColor\n */\n/**\n * @see [color](#series.bellcurve.color)\n * @see [fillColor](#series.bellcurve.fillColor)\n *\n * @default   {highcharts} 0.75\n * @default   {highstock} 0.75\n * @apioption series.bellcurve.fillOpacity\n */\n''; // Keeps doclets above separate\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bellcurve_BellcurveSeriesDefaults = (BellcurveSeriesDefaults);\n\n;// ./code/es-modules/Series/Bellcurve/BellcurveSeries.js\n/* *\n *\n *  (c) 2010-2024 Highsoft AS\n *\n *  Author: Sebastian Domas\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { areaspline: AreaSplineSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { correctFloat: BellcurveSeries_correctFloat, isNumber: BellcurveSeries_isNumber, merge: BellcurveSeries_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * Bell curve class\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.bellcurve\n *\n * @augments Highcharts.Series\n */\nclass BellcurveSeries extends AreaSplineSeries {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /** @private */\n    static mean(data) {\n        const length = data.length, sum = data.reduce(function (sum, value) {\n            return (sum += value);\n        }, 0);\n        return length > 0 && sum / length;\n    }\n    /** @private */\n    static standardDeviation(data, average) {\n        const len = data.length;\n        average = BellcurveSeries_isNumber(average) ?\n            average : BellcurveSeries.mean(data);\n        const sum = data.reduce((sum, value) => {\n            const diff = value - average;\n            return (sum += diff * diff);\n        }, 0);\n        return len > 1 && Math.sqrt(sum / (len - 1));\n    }\n    /** @private */\n    static normalDensity(x, mean, standardDeviation) {\n        const translation = x - mean;\n        return Math.exp(-(translation * translation) /\n            (2 * standardDeviation * standardDeviation)) / (standardDeviation * Math.sqrt(2 * Math.PI));\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    derivedData(mean, standardDeviation) {\n        const options = this.options, intervals = options.intervals, pointsInInterval = options.pointsInInterval, stop = intervals * pointsInInterval * 2 + 1, increment = standardDeviation / pointsInInterval, data = [];\n        let x = mean - intervals * standardDeviation;\n        for (let i = 0; i < stop; i++) {\n            data.push([x, BellcurveSeries.normalDensity(x, mean, standardDeviation)]);\n            x += increment;\n        }\n        return data;\n    }\n    setDerivedData() {\n        const series = this;\n        if (series.baseSeries?.getColumn('y').length || 0 > 1) {\n            series.setMean();\n            series.setStandardDeviation();\n            series.setData(series.derivedData(series.mean || 0, series.standardDeviation || 0), false, void 0, false);\n        }\n        return (void 0);\n    }\n    setMean() {\n        const series = this;\n        series.mean = BellcurveSeries_correctFloat(BellcurveSeries.mean(series.baseSeries?.getColumn('y') || []));\n    }\n    setStandardDeviation() {\n        const series = this;\n        series.standardDeviation = BellcurveSeries_correctFloat(BellcurveSeries.standardDeviation(series.baseSeries?.getColumn('y') || [], series.mean));\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nBellcurveSeries.defaultOptions = BellcurveSeries_merge(AreaSplineSeries.defaultOptions, Bellcurve_BellcurveSeriesDefaults);\nSeries_DerivedComposition.compose(BellcurveSeries);\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('bellcurve', BellcurveSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Bellcurve_BellcurveSeries = ((/* unused pure expression or super */ null && (BellcurveSeries)));\n\n;// ./code/es-modules/masters/modules/histogram-bellcurve.src.js\n\n\n\n\n\n/* harmony default export */ const histogram_bellcurve_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/accessibility\n * @requires highcharts\n *\n * Accessibility module\n *\n * (c) 2010-2024 Highsoft AS\n * Author: Oystein Moseng\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Templating\"], root[\"_Highcharts\"][\"AST\"], root[\"_Highcharts\"][\"Legend\"], root[\"_Highcharts\"][\"Axis\"], root[\"_Highcharts\"][\"Color\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"RendererRegistry\"], root[\"_Highcharts\"][\"SVGRenderer\"], root[\"_Highcharts\"][\"Point\"], root[\"_Highcharts\"][\"Series\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/accessibility\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"Templating\"],amd1[\"AST\"],amd1[\"Legend\"],amd1[\"Axis\"],amd1[\"Color\"],amd1[\"SeriesRegistry\"],amd1[\"RendererRegistry\"],amd1[\"SVGRenderer\"],amd1[\"Point\"],amd1[\"Series\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/accessibility\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Templating\"], root[\"_Highcharts\"][\"AST\"], root[\"_Highcharts\"][\"Legend\"], root[\"_Highcharts\"][\"Axis\"], root[\"_Highcharts\"][\"Color\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"RendererRegistry\"], root[\"_Highcharts\"][\"SVGRenderer\"], root[\"_Highcharts\"][\"Point\"], root[\"_Highcharts\"][\"Series\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"Templating\"], root[\"Highcharts\"][\"AST\"], root[\"Highcharts\"][\"Legend\"], root[\"Highcharts\"][\"Axis\"], root[\"Highcharts\"][\"Color\"], root[\"Highcharts\"][\"SeriesRegistry\"], root[\"Highcharts\"][\"RendererRegistry\"], root[\"Highcharts\"][\"SVGRenderer\"], root[\"Highcharts\"][\"Point\"], root[\"Highcharts\"][\"Series\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__984__, __WEBPACK_EXTERNAL_MODULE__660__, __WEBPACK_EXTERNAL_MODULE__632__, __WEBPACK_EXTERNAL_MODULE__532__, __WEBPACK_EXTERNAL_MODULE__620__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__608__, __WEBPACK_EXTERNAL_MODULE__540__, __WEBPACK_EXTERNAL_MODULE__260__, __WEBPACK_EXTERNAL_MODULE__820__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 660:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__660__;\n\n/***/ }),\n\n/***/ 532:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__532__;\n\n/***/ }),\n\n/***/ 620:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__620__;\n\n/***/ }),\n\n/***/ 632:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__632__;\n\n/***/ }),\n\n/***/ 260:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__260__;\n\n/***/ }),\n\n/***/ 608:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__608__;\n\n/***/ }),\n\n/***/ 540:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__540__;\n\n/***/ }),\n\n/***/ 820:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__820__;\n\n/***/ }),\n\n/***/ 512:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 984:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__984__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ accessibility_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n;// ./code/es-modules/Accessibility/Utils/HTMLUtilities.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Utility functions for accessibility module.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc, win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { css } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\nconst simulatedEventTarget = win.EventTarget && new win.EventTarget() || 'none';\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable valid-jsdoc */\n/**\n * @private\n * @param {Highcharts.HTMLDOMElement} el\n * @param {string} className\n * @return {void}\n */\nfunction addClass(el, className) {\n    if (el.classList) {\n        el.classList.add(className);\n    }\n    else if (el.className.indexOf(className) < 0) {\n        // Note: Dumb check for class name exists, should be fine for practical\n        // use cases, but will return false positives if the element has a class\n        // that contains the className.\n        el.className += ' ' + className;\n    }\n}\n/**\n * @private\n * @param {Highcharts.HTMLDOMElement} el\n * @param {string} className\n * @return {void}\n */\nfunction removeClass(el, className) {\n    if (el.classList) {\n        el.classList.remove(className);\n    }\n    else {\n        // Note: Dumb logic that will break if the element has a class name that\n        // consists of className plus something else.\n        el.className = el.className.replace(new RegExp(className, 'g'), '');\n    }\n}\n/**\n * Utility function to clone a mouse event for re-dispatching.\n * @private\n */\nfunction cloneMouseEvent(e) {\n    if (typeof win.MouseEvent === 'function') {\n        return new win.MouseEvent(e.type, e);\n    }\n    // No MouseEvent support, try using initMouseEvent\n    if (doc.createEvent) {\n        const evt = doc.createEvent('MouseEvent');\n        if (evt.initMouseEvent) {\n            evt.initMouseEvent(e.type, e.bubbles, // #10561, #12161\n            e.cancelable, e.view || win, e.detail, e.screenX, e.screenY, e.clientX, e.clientY, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, e.button, e.relatedTarget);\n            return evt;\n        }\n    }\n    return getFakeMouseEvent(e.type);\n}\n/**\n * Utility function to clone a touch event for re-dispatching.\n * @private\n */\nfunction cloneTouchEvent(e) {\n    const touchListToTouchArray = (l) => {\n        const touchArray = [];\n        for (let i = 0; i < l.length; ++i) {\n            const item = l.item(i);\n            if (item) {\n                touchArray.push(item);\n            }\n        }\n        return touchArray;\n    };\n    if (typeof win.TouchEvent === 'function') {\n        const newEvent = new win.TouchEvent(e.type, {\n            touches: touchListToTouchArray(e.touches),\n            targetTouches: touchListToTouchArray(e.targetTouches),\n            changedTouches: touchListToTouchArray(e.changedTouches),\n            ctrlKey: e.ctrlKey,\n            shiftKey: e.shiftKey,\n            altKey: e.altKey,\n            metaKey: e.metaKey,\n            bubbles: e.bubbles,\n            cancelable: e.cancelable,\n            composed: e.composed,\n            detail: e.detail,\n            view: e.view\n        });\n        if (e.defaultPrevented) {\n            newEvent.preventDefault();\n        }\n        return newEvent;\n    }\n    const fakeEvt = cloneMouseEvent(e);\n    fakeEvt.touches = e.touches;\n    fakeEvt.changedTouches = e.changedTouches;\n    fakeEvt.targetTouches = e.targetTouches;\n    return fakeEvt;\n}\n/**\n * @private\n */\nfunction escapeStringForHTML(str) {\n    return str\n        .replace(/&/g, '&amp;')\n        .replace(/</g, '&lt;')\n        .replace(/>/g, '&gt;')\n        .replace(/\"/g, '&quot;')\n        .replace(/'/g, '&#x27;')\n        .replace(/\\//g, '&#x2F;');\n}\n/**\n * Get an element by ID\n * @private\n */\nfunction getElement(id) {\n    return doc.getElementById(id);\n}\n/**\n * Get a fake mouse event of a given type. If relatedTarget is not given,\n * it will point to simulatedEventTarget, as an indicator that the event\n * is fake.\n * @private\n */\nfunction getFakeMouseEvent(type, position, relatedTarget) {\n    const pos = position || {\n        x: 0,\n        y: 0\n    };\n    if (typeof win.MouseEvent === 'function') {\n        return new win.MouseEvent(type, {\n            bubbles: true,\n            cancelable: true,\n            composed: true,\n            button: 0,\n            buttons: 1,\n            relatedTarget: relatedTarget || simulatedEventTarget,\n            view: win,\n            detail: type === 'click' ? 1 : 0,\n            screenX: pos.x,\n            screenY: pos.y,\n            clientX: pos.x,\n            clientY: pos.y\n        });\n    }\n    // No MouseEvent support, try using initMouseEvent\n    if (doc.createEvent) {\n        const evt = doc.createEvent('MouseEvent');\n        if (evt.initMouseEvent) {\n            evt.initMouseEvent(type, true, // Bubble\n            true, // Cancel\n            win, // View\n            type === 'click' ? 1 : 0, // Detail\n            // Coords\n            pos.x, pos.y, pos.x, pos.y, \n            // Pressed keys\n            false, false, false, false, 0, // Button\n            null // Related target\n            );\n            return evt;\n        }\n    }\n    return { type: type };\n}\n/**\n * Get an appropriate heading level for an element. Corresponds to the\n * heading level below the previous heading in the DOM.\n *\n * Note: Only detects previous headings in the DOM that are siblings,\n * ancestors, or previous siblings of ancestors. Headings that are nested below\n * siblings of ancestors (cousins et.al) are not picked up. This is because it\n * is ambiguous whether or not the nesting is for layout purposes or indicates a\n * separate section.\n *\n * @private\n * @param {Highcharts.HTMLDOMElement} [element]\n * @return {string} The heading tag name (h1, h2 etc).\n * If no nearest heading is found, \"p\" is returned.\n */\nfunction getHeadingTagNameForElement(element) {\n    const getIncreasedHeadingLevel = (tagName) => {\n        const headingLevel = parseInt(tagName.slice(1), 10), newLevel = Math.min(6, headingLevel + 1);\n        return 'h' + newLevel;\n    };\n    const isHeading = (tagName) => /^H[1-6]$/i.test(tagName);\n    const getPreviousSiblingsHeading = (el) => {\n        let sibling = el;\n        while (sibling = sibling.previousSibling) { // eslint-disable-line\n            const tagName = sibling.tagName || '';\n            if (isHeading(tagName)) {\n                return tagName;\n            }\n        }\n        return '';\n    };\n    const getHeadingRecursive = (el) => {\n        const prevSiblingsHeading = getPreviousSiblingsHeading(el);\n        if (prevSiblingsHeading) {\n            return getIncreasedHeadingLevel(prevSiblingsHeading);\n        }\n        // No previous siblings are headings, try parent node\n        const parent = el.parentElement;\n        if (!parent) {\n            return 'h6';\n        }\n        const parentTagName = parent.tagName;\n        if (isHeading(parentTagName)) {\n            return getIncreasedHeadingLevel(parentTagName);\n        }\n        return getHeadingRecursive(parent);\n    };\n    return getHeadingRecursive(element);\n}\n/**\n * Remove an element from the DOM.\n * @private\n * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} [element]\n * @return {void}\n */\nfunction removeElement(element) {\n    if (element && element.parentNode) {\n        element.parentNode.removeChild(element);\n    }\n}\n/**\n * Remove all child nodes from an element.\n * @private\n * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} [element]\n * @return {void}\n */\nfunction removeChildNodes(element) {\n    while (element.lastChild) {\n        element.removeChild(element.lastChild);\n    }\n}\n/**\n * Utility function. Reverses child nodes of a DOM element.\n * @private\n */\nfunction reverseChildNodes(node) {\n    let i = node.childNodes.length;\n    while (i--) {\n        node.appendChild(node.childNodes[i]);\n    }\n}\n/**\n * Used for aria-label attributes, painting on a canvas will fail if the\n * text contains tags.\n * @private\n */\nfunction stripHTMLTagsFromString(str, isForExport = false) {\n    return (typeof str === 'string') ?\n        (isForExport ?\n            str.replace(/<\\/?[^>]+(>|$)/g, '') :\n            str.replace(/<\\/?(?!\\s)[^>]+(>|$)/g, '')) : str;\n}\n/**\n * Utility function for hiding an element visually, but still keeping it\n * available to screen reader users.\n * @private\n */\nfunction visuallyHideElement(element) {\n    css(element, {\n        position: 'absolute',\n        width: '1px',\n        height: '1px',\n        overflow: 'hidden',\n        whiteSpace: 'nowrap',\n        clip: 'rect(1px, 1px, 1px, 1px)',\n        marginTop: '-3px',\n        '-ms-filter': 'progid:DXImageTransform.Microsoft.Alpha(Opacity=1)',\n        filter: 'alpha(opacity=1)',\n        opacity: 0.01\n    });\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst HTMLUtilities = {\n    addClass,\n    cloneMouseEvent,\n    cloneTouchEvent,\n    escapeStringForHTML,\n    getElement,\n    getFakeMouseEvent,\n    getHeadingTagNameForElement,\n    removeChildNodes,\n    removeClass,\n    removeElement,\n    reverseChildNodes,\n    simulatedEventTarget,\n    stripHTMLTagsFromString,\n    visuallyHideElement\n};\n/* harmony default export */ const Utils_HTMLUtilities = (HTMLUtilities);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Templating\"],\"commonjs\":[\"highcharts\",\"Templating\"],\"commonjs2\":[\"highcharts\",\"Templating\"],\"root\":[\"Highcharts\",\"Templating\"]}\nvar highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_ = __webpack_require__(984);\nvar highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default = /*#__PURE__*/__webpack_require__.n(highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_);\n;// ./code/es-modules/Accessibility/A11yI18n.js\n/* *\n *\n *  Accessibility module - internationalization support\n *\n *  (c) 2010-2024 Highsoft AS\n *  Author: Øystein Moseng\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { format } = (highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default());\n\nconst { getNestedProperty, pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar A11yI18nComposition;\n(function (A11yI18nComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ChartClass) {\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.langFormat) {\n            chartProto.langFormat = langFormat;\n        }\n    }\n    A11yI18nComposition.compose = compose;\n    /**\n     * I18n utility function.  Format a single array or plural statement in a\n     * format string.  If the statement is not an array or plural statement,\n     * returns the statement within brackets.  Invalid array statements return\n     * an empty string.\n     *\n     * @private\n     * @function formatExtendedStatement\n     * @param {string} statement\n     * @param {Highcharts.Dictionary<*>} ctx\n     * Context to apply to the format string.\n     */\n    function formatExtendedStatement(statement, ctx) {\n        const eachStart = statement.indexOf('#each('), pluralStart = statement.indexOf('#plural('), indexStart = statement.indexOf('['), indexEnd = statement.indexOf(']');\n        let arr, result;\n        // Dealing with an each-function?\n        if (eachStart > -1) {\n            const eachEnd = statement.slice(eachStart).indexOf(')') + eachStart, preEach = statement.substring(0, eachStart), postEach = statement.substring(eachEnd + 1), eachStatement = statement.substring(eachStart + 6, eachEnd), eachArguments = eachStatement.split(',');\n            let lenArg = Number(eachArguments[1]), len;\n            result = '';\n            arr = getNestedProperty(eachArguments[0], ctx);\n            if (arr) {\n                lenArg = isNaN(lenArg) ? arr.length : lenArg;\n                len = lenArg < 0 ?\n                    arr.length + lenArg :\n                    Math.min(lenArg, arr.length); // Overshoot\n                // Run through the array for the specified length\n                for (let i = 0; i < len; ++i) {\n                    result += preEach + arr[i] + postEach;\n                }\n            }\n            return result.length ? result : '';\n        }\n        // Dealing with a plural-function?\n        if (pluralStart > -1) {\n            const pluralEnd = (statement.slice(pluralStart).indexOf(')') + pluralStart), pluralStatement = statement.substring(pluralStart + 8, pluralEnd), pluralArguments = pluralStatement.split(','), num = Number(getNestedProperty(pluralArguments[0], ctx));\n            switch (num) {\n                case 0:\n                    result = pick(pluralArguments[4], pluralArguments[1]);\n                    break;\n                case 1:\n                    result = pick(pluralArguments[2], pluralArguments[1]);\n                    break;\n                case 2:\n                    result = pick(pluralArguments[3], pluralArguments[1]);\n                    break;\n                default:\n                    result = pluralArguments[1];\n            }\n            return result ? stringTrim(result) : '';\n        }\n        // Array index\n        if (indexStart > -1) {\n            const arrayName = statement.substring(0, indexStart), ix = Number(statement.substring(indexStart + 1, indexEnd));\n            let val;\n            arr = getNestedProperty(arrayName, ctx);\n            if (!isNaN(ix) && arr) {\n                if (ix < 0) {\n                    val = arr[arr.length + ix];\n                    // Handle negative overshoot\n                    if (typeof val === 'undefined') {\n                        val = arr[0];\n                    }\n                }\n                else {\n                    val = arr[ix];\n                    // Handle positive overshoot\n                    if (typeof val === 'undefined') {\n                        val = arr[arr.length - 1];\n                    }\n                }\n            }\n            return typeof val !== 'undefined' ? val : '';\n        }\n        // Standard substitution, delegate to format or similar\n        return '{' + statement + '}';\n    }\n    /* eslint-disable max-len */\n    /**\n     * i18n formatting function.  Extends Highcharts.format() functionality by\n     * also handling arrays and plural conditionals.  Arrays can be indexed as\n     * follows:\n     *\n     * - Format: 'This is the first index: {myArray[0]}. The last: {myArray[-1]}.'\n     *\n     * - Context: { myArray: [0, 1, 2, 3, 4, 5] }\n     *\n     * - Result: 'This is the first index: 0. The last: 5.'\n     *\n     *\n     * They can also be iterated using the #each() function.  This will repeat\n     * the contents of the bracket expression for each element.  Example:\n     *\n     * - Format: 'List contains: {#each(myArray)cm }'\n     *\n     * - Context: { myArray: [0, 1, 2] }\n     *\n     * - Result: 'List contains: 0cm 1cm 2cm '\n     *\n     *\n     * The #each() function optionally takes a length parameter.  If positive,\n     * this parameter specifies the max number of elements to iterate through.\n     * If negative, the function will subtract the number from the length of the\n     * array.  Use this to stop iterating before the array ends.  Example:\n     *\n     * - Format: 'List contains: {#each(myArray, -1), }and {myArray[-1]}.'\n     *\n     * - Context: { myArray: [0, 1, 2, 3] }\n     *\n     * - Result: 'List contains: 0, 1, 2, and 3.'\n     *\n     *\n     * Use the #plural() function to pick a string depending on whether or not a\n     * context object is 1.  Arguments are #plural(obj, plural, singular).\n     * Example:\n     *\n     * - Format: 'Has {numPoints} {#plural(numPoints, points, point}.'\n     *\n     * - Context: { numPoints: 5 }\n     *\n     * - Result: 'Has 5 points.'\n     *\n     *\n     * Optionally there are additional parameters for dual and none:\n     * #plural(obj, plural, singular, dual, none).  Example:\n     *\n     * - Format: 'Has {#plural(numPoints, many points, one point, two points,\n     *   none}.'\n     *\n     * - Context: { numPoints: 2 }\n     *\n     * - Result: 'Has two points.'\n     *\n     *\n     * The dual or none parameters will take precedence if they are supplied.\n     *\n     * @requires modules/accessibility\n     *\n     * @function Highcharts.i18nFormat\n     *\n     * @param {string} formatString\n     * The string to format.\n     *\n     * @param {Highcharts.Dictionary<*>} context\n     * Context to apply to the format string.\n     *\n     * @param {Highcharts.Chart} chart\n     * A `Chart` instance with a time object and numberFormatter, passed on to\n     * format().\n     *\n     * @deprecated\n     *\n     * @return {string}\n     * The formatted string.\n     */\n    function i18nFormat(formatString, context, chart) {\n        const getFirstBracketStatement = (sourceStr, offset) => {\n            const str = sourceStr.slice(offset || 0), startBracket = str.indexOf('{'), endBracket = str.indexOf('}');\n            if (startBracket > -1 && endBracket > startBracket) {\n                return {\n                    statement: str.substring(startBracket + 1, endBracket),\n                    begin: offset + startBracket + 1,\n                    end: offset + endBracket\n                };\n            }\n        }, tokens = [];\n        let bracketRes, constRes, cursor = 0;\n        // Tokenize format string into bracket statements and constants\n        do {\n            bracketRes = getFirstBracketStatement(formatString, cursor);\n            constRes = formatString.substring(cursor, bracketRes && bracketRes.begin - 1);\n            // If we have constant content before this bracket statement, add it\n            if (constRes.length) {\n                tokens.push({\n                    value: constRes,\n                    type: 'constant'\n                });\n            }\n            // Add the bracket statement\n            if (bracketRes) {\n                tokens.push({\n                    value: bracketRes.statement,\n                    type: 'statement'\n                });\n            }\n            cursor = bracketRes ? bracketRes.end + 1 : cursor + 1;\n        } while (bracketRes);\n        // Perform the formatting.  The formatArrayStatement function returns\n        // the statement in brackets if it is not an array statement, which\n        // means it gets picked up by format below.\n        tokens.forEach((token) => {\n            if (token.type === 'statement') {\n                token.value = formatExtendedStatement(token.value, context);\n            }\n        });\n        // Join string back together and pass to format to pick up non-array\n        // statements.\n        return format(tokens.reduce((acc, cur) => acc + cur.value, ''), context, chart);\n    }\n    A11yI18nComposition.i18nFormat = i18nFormat;\n    /* eslint-enable max-len */\n    /**\n     * Apply context to a format string from lang options of the chart.\n     *\n     * @requires modules/accessibility\n     *\n     * @function Highcharts.Chart#langFormat\n     *\n     * @param {string} langKey\n     * Key (using dot notation) into lang option structure.\n     *\n     * @param {Highcharts.Dictionary<*>} context\n     * Context to apply to the format string.\n     *\n     * @return {string}\n     * The formatted string.\n     */\n    function langFormat(langKey, context) {\n        const keys = langKey.split('.');\n        let formatString = this.options.lang, i = 0;\n        for (; i < keys.length; ++i) {\n            formatString = formatString && formatString[keys[i]];\n        }\n        return typeof formatString === 'string' ?\n            i18nFormat(formatString, context, this) : '';\n    }\n    /**\n     * @private\n     * @function stringTrim\n     *\n     * @param {string} str\n     * The input string\n     *\n     * @return {string}\n     * The trimmed string\n     */\n    function stringTrim(str) {\n        return str.trim && str.trim() || str.replace(/^\\s+|\\s+$/g, '');\n    }\n})(A11yI18nComposition || (A11yI18nComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const A11yI18n = (A11yI18nComposition);\n\n;// ./code/es-modules/Accessibility/Utils/ChartUtilities.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Utils for dealing with charts.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc: ChartUtilities_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { stripHTMLTagsFromString: stripHTMLTags } = Utils_HTMLUtilities;\n\nconst { defined, find, fireEvent } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable valid-jsdoc */\n/**\n * Fire an event on an element that is either wrapped by Highcharts,\n * or a DOM element.\n * @private\n */\nfunction fireEventOnWrappedOrUnwrappedElement(el, eventObject) {\n    const type = eventObject.type;\n    const hcEvents = el.hcEvents;\n    if (!!ChartUtilities_doc.createEvent &&\n        (el.dispatchEvent || el.fireEvent)) {\n        if (el.dispatchEvent) {\n            el.dispatchEvent(eventObject);\n        }\n        else {\n            el.fireEvent(type, eventObject);\n        }\n    }\n    else if (hcEvents && hcEvents[type]) {\n        fireEvent(el, type, eventObject);\n    }\n    else if (el.element) {\n        fireEventOnWrappedOrUnwrappedElement(el.element, eventObject);\n    }\n}\n/**\n * @private\n */\nfunction getChartTitle(chart) {\n    return stripHTMLTags(chart.options.title.text ||\n        chart.langFormat('accessibility.defaultChartTitle', { chart: chart }), chart.renderer.forExport);\n}\n/**\n * Return string with the axis name/title.\n * @private\n */\nfunction getAxisDescription(axis) {\n    return axis && (axis.options.accessibility?.description ||\n        axis.axisTitle?.textStr ||\n        axis.options.id ||\n        axis.categories && 'categories' ||\n        axis.dateTime && 'Time' ||\n        'values');\n}\n/**\n * Return string with text description of the axis range.\n * @private\n * @param {Highcharts.Axis} axis\n * The axis to get range desc of.\n * @return {string}\n * A string with the range description for the axis.\n */\nfunction getAxisRangeDescription(axis) {\n    const axisOptions = axis.options || {};\n    // Handle overridden range description\n    if (axisOptions.accessibility &&\n        typeof axisOptions.accessibility.rangeDescription !== 'undefined') {\n        return axisOptions.accessibility.rangeDescription;\n    }\n    // Handle category axes\n    if (axis.categories) {\n        return getCategoryAxisRangeDesc(axis);\n    }\n    // Use time range, not from-to?\n    if (axis.dateTime && (axis.min === 0 || axis.dataMin === 0)) {\n        return getAxisTimeLengthDesc(axis);\n    }\n    // Just use from and to.\n    // We have the range and the unit to use, find the desc format\n    return getAxisFromToDescription(axis);\n}\n/**\n * Describe the range of a category axis.\n * @private\n */\nfunction getCategoryAxisRangeDesc(axis) {\n    const chart = axis.chart;\n    if (axis.dataMax && axis.dataMin) {\n        return chart.langFormat('accessibility.axis.rangeCategories', {\n            chart: chart,\n            axis: axis,\n            numCategories: axis.dataMax - axis.dataMin + 1\n        });\n    }\n    return '';\n}\n/**\n * Describe the length of the time window shown on an axis.\n * @private\n */\nfunction getAxisTimeLengthDesc(axis) {\n    const chart = axis.chart, range = {}, min = axis.dataMin || axis.min || 0, max = axis.dataMax || axis.max || 0;\n    let rangeUnit = 'Seconds';\n    range.Seconds = (max - min) / 1000;\n    range.Minutes = range.Seconds / 60;\n    range.Hours = range.Minutes / 60;\n    range.Days = range.Hours / 24;\n    ['Minutes', 'Hours', 'Days'].forEach(function (unit) {\n        if (range[unit] > 2) {\n            rangeUnit = unit;\n        }\n    });\n    const rangeValue = range[rangeUnit].toFixed(rangeUnit !== 'Seconds' &&\n        rangeUnit !== 'Minutes' ? 1 : 0 // Use decimals for days/hours\n    );\n    // We have the range and the unit to use, find the desc format\n    return chart.langFormat('accessibility.axis.timeRange' + rangeUnit, {\n        chart: chart,\n        axis: axis,\n        range: rangeValue.replace('.0', '')\n    });\n}\n/**\n * Describe an axis from-to range.\n * @private\n */\nfunction getAxisFromToDescription(axis) {\n    const chart = axis.chart, options = chart.options, dateRangeFormat = (options &&\n        options.accessibility &&\n        options.accessibility.screenReaderSection.axisRangeDateFormat ||\n        ''), extremes = {\n        min: axis.dataMin || axis.min || 0,\n        max: axis.dataMax || axis.max || 0\n    }, format = function (key) {\n        return axis.dateTime ?\n            chart.time.dateFormat(dateRangeFormat, extremes[key]) :\n            extremes[key].toString();\n    };\n    return chart.langFormat('accessibility.axis.rangeFromTo', {\n        chart: chart,\n        axis: axis,\n        rangeFrom: format('min'),\n        rangeTo: format('max')\n    });\n}\n/**\n * Get the DOM element for the first point in the series.\n * @private\n * @param {Highcharts.Series} series\n * The series to get element for.\n * @return {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement|undefined}\n * The DOM element for the point.\n */\nfunction getSeriesFirstPointElement(series) {\n    if (series.points && series.points.length) {\n        const firstPointWithGraphic = find(series.points, (p) => !!p.graphic);\n        return (firstPointWithGraphic &&\n            firstPointWithGraphic.graphic &&\n            firstPointWithGraphic.graphic.element);\n    }\n}\n/**\n * Get the DOM element for the series that we put accessibility info on.\n * @private\n * @param {Highcharts.Series} series\n * The series to get element for.\n * @return {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement|undefined}\n * The DOM element for the series\n */\nfunction getSeriesA11yElement(series) {\n    const firstPointEl = getSeriesFirstPointElement(series);\n    return (firstPointEl &&\n        firstPointEl.parentNode || series.graph &&\n        series.graph.element || series.group &&\n        series.group.element); // Could be tracker series depending on series type\n}\n/**\n * Remove aria-hidden from element. Also unhides parents of the element, and\n * hides siblings that are not explicitly unhidden.\n * @private\n */\nfunction unhideChartElementFromAT(chart, element) {\n    element.setAttribute('aria-hidden', false);\n    if (element === chart.renderTo ||\n        !element.parentNode ||\n        element.parentNode === ChartUtilities_doc.body // #16126: Full screen printing\n    ) {\n        return;\n    }\n    // Hide siblings unless their hidden state is already explicitly set\n    Array.prototype.forEach.call(element.parentNode.childNodes, function (node) {\n        if (!node.hasAttribute('aria-hidden')) {\n            node.setAttribute('aria-hidden', true);\n        }\n    });\n    // Repeat for parent\n    unhideChartElementFromAT(chart, element.parentNode);\n}\n/**\n * Hide series from screen readers.\n * @private\n */\nfunction hideSeriesFromAT(series) {\n    const seriesEl = getSeriesA11yElement(series);\n    if (seriesEl) {\n        seriesEl.setAttribute('aria-hidden', true);\n    }\n}\n/**\n * Get series objects by series name.\n * @private\n */\nfunction getSeriesFromName(chart, name) {\n    if (!name) {\n        return chart.series;\n    }\n    return (chart.series || []).filter(function (s) {\n        return s.name === name;\n    });\n}\n/**\n * Get point in a series from x/y values.\n * @private\n */\nfunction getPointFromXY(series, x, y) {\n    let i = series.length, res;\n    while (i--) {\n        res = find(series[i].points || [], function (p) {\n            return p.x === x && p.y === y;\n        });\n        if (res) {\n            return res;\n        }\n    }\n}\n/**\n * Get relative position of point on an x/y axis from 0 to 1.\n * @private\n */\nfunction getRelativePointAxisPosition(axis, point) {\n    if (!defined(axis.dataMin) || !defined(axis.dataMax)) {\n        return 0;\n    }\n    const axisStart = axis.toPixels(axis.dataMin), axisEnd = axis.toPixels(axis.dataMax), \n    // We have to use pixel position because of axis breaks, log axis etc.\n    positionProp = axis.coll === 'xAxis' ? 'x' : 'y', pointPos = axis.toPixels(point[positionProp] || 0);\n    return (pointPos - axisStart) / (axisEnd - axisStart);\n}\n/**\n * Get relative position of point on an x/y axis from 0 to 1.\n * @private\n */\nfunction scrollAxisToPoint(point) {\n    const xAxis = point.series.xAxis, yAxis = point.series.yAxis, axis = (xAxis && xAxis.scrollbar ? xAxis : yAxis), scrollbar = (axis && axis.scrollbar);\n    if (scrollbar && defined(scrollbar.to) && defined(scrollbar.from)) {\n        const range = scrollbar.to - scrollbar.from;\n        const pos = getRelativePointAxisPosition(axis, point);\n        scrollbar.updatePosition(pos - range / 2, pos + range / 2);\n        fireEvent(scrollbar, 'changed', {\n            from: scrollbar.from,\n            to: scrollbar.to,\n            trigger: 'scrollbar',\n            DOMEvent: null\n        });\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst ChartUtilities = {\n    fireEventOnWrappedOrUnwrappedElement,\n    getChartTitle,\n    getAxisDescription,\n    getAxisRangeDescription,\n    getPointFromXY,\n    getSeriesFirstPointElement,\n    getSeriesFromName,\n    getSeriesA11yElement,\n    unhideChartElementFromAT,\n    hideSeriesFromAT,\n    scrollAxisToPoint\n};\n/* harmony default export */ const Utils_ChartUtilities = (ChartUtilities);\n\n;// ./code/es-modules/Accessibility/Utils/DOMElementProvider.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Class that can keep track of elements added to DOM and clean them up on\n *  destroy.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc: DOMElementProvider_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { removeElement: DOMElementProvider_removeElement } = Utils_HTMLUtilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n */\nclass DOMElementProvider {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor() {\n        this.elements = [];\n    }\n    /**\n     * Create an element and keep track of it for later removal.\n     * Same args as document.createElement\n     * @private\n     */\n    createElement() {\n        const el = DOMElementProvider_doc.createElement.apply(DOMElementProvider_doc, arguments);\n        this.elements.push(el);\n        return el;\n    }\n    /**\n     * Destroy created element, removing it from the DOM.\n     * @private\n     */\n    removeElement(element) {\n        DOMElementProvider_removeElement(element);\n        this.elements.splice(this.elements.indexOf(element), 1);\n    }\n    /**\n     * Destroy all created elements, removing them from the DOM.\n     * @private\n     */\n    destroyCreatedElements() {\n        this.elements.forEach(function (element) {\n            DOMElementProvider_removeElement(element);\n        });\n        this.elements = [];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Utils_DOMElementProvider = (DOMElementProvider);\n\n;// ./code/es-modules/Accessibility/Utils/EventProvider.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Class that can keep track of events added, and clean them up on destroy.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { addEvent } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/**\n * @private\n */\nclass EventProvider {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor() {\n        this.eventRemovers = [];\n    }\n    /**\n     * Add an event to an element and keep track of it for later removal.\n     * Same args as Highcharts.addEvent.\n     * @private\n     */\n    addEvent() {\n        const remover = addEvent.apply((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()), arguments);\n        this.eventRemovers.push({\n            element: arguments[0], // HTML element\n            remover\n        });\n        return remover;\n    }\n    /**\n     * Remove added event.\n     * @private\n     */\n    removeEvent(event) {\n        const pos = this.eventRemovers.map((e) => e.remover).indexOf(event);\n        this.eventRemovers[pos].remover();\n        this.eventRemovers.splice(pos, 1);\n    }\n    /**\n     * Remove all added events.\n     * @private\n     */\n    removeAddedEvents() {\n        this.eventRemovers.map((e) => e.remover)\n            .forEach((remover) => remover());\n        this.eventRemovers = [];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Utils_EventProvider = (EventProvider);\n\n;// ./code/es-modules/Accessibility/AccessibilityComponent.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility component class definition\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { fireEventOnWrappedOrUnwrappedElement: AccessibilityComponent_fireEventOnWrappedOrUnwrappedElement } = Utils_ChartUtilities;\n\n\n\nconst { getFakeMouseEvent: AccessibilityComponent_getFakeMouseEvent } = Utils_HTMLUtilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * The AccessibilityComponent base class, representing a part of the chart that\n * has accessibility logic connected to it. This class can be inherited from to\n * create a custom accessibility component for a chart.\n *\n * Components should take care to destroy added elements and unregister event\n * handlers on destroy. This is handled automatically if using `this.addEvent`\n * and `this.createElement`.\n *\n * @sample highcharts/accessibility/custom-component\n *         Custom accessibility component\n *\n * @requires modules/accessibility\n * @class\n * @name Highcharts.AccessibilityComponent\n */\nclass AccessibilityComponent {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Called when accessibility is disabled or chart is destroyed.\n     *\n     * @function Highcharts.AccessibilityComponent#destroy\n     */\n    destroy() { }\n    /**\n     * Get keyboard navigation handler for this component.\n     *\n     * @function Highcharts.AccessibilityComponent#getKeyboardNavigation\n     * @return   {Highcharts.KeyboardNavigationHandler|Array<Highcharts.KeyboardNavigationHandler>}\n     *           The keyboard navigation handler(s) for this component.\n     */\n    getKeyboardNavigation() {\n        return [];\n    }\n    /**\n     * Called on component initialization.\n     *\n     * @function Highcharts.AccessibilityComponent#init\n     */\n    init() { }\n    /**\n     * Called on every chart render.\n     *\n     * @function Highcharts.AccessibilityComponent#onChartRender\n     */\n    onChartRender() { }\n    /**\n     * Called on updates to the chart, including options changes.\n     * Note that this is also called on first render of chart.\n     *\n     * @function Highcharts.AccessibilityComponent#onChartUpdate\n     */\n    onChartUpdate() { }\n    /**\n     * Initialize the class\n     * @private\n     * @param {Highcharts.Chart} chart The chart object\n     * @param {Highcharts.ProxyProvider} proxyProvider The proxy provider of the accessibility module\n     */\n    initBase(chart, proxyProvider) {\n        this.chart = chart;\n        this.eventProvider = new Utils_EventProvider();\n        this.domElementProvider = new Utils_DOMElementProvider();\n        this.proxyProvider = proxyProvider;\n        // Key code enum for common keys\n        this.keyCodes = {\n            left: 37,\n            right: 39,\n            up: 38,\n            down: 40,\n            enter: 13,\n            space: 32,\n            esc: 27,\n            tab: 9,\n            pageUp: 33,\n            pageDown: 34,\n            end: 35,\n            home: 36\n        };\n    }\n    /**\n     * Add an event to an element and keep track of it for later removal.\n     * See EventProvider for details.\n     * @private\n     */\n    addEvent(el, type, fn, options) {\n        return this.eventProvider.addEvent(el, type, fn, options);\n    }\n    /**\n     * Create an element and keep track of it for later removal.\n     * See DOMElementProvider for details.\n     * @private\n     */\n    createElement(tagName, options) {\n        return this.domElementProvider.createElement(tagName, options);\n    }\n    /**\n     * Fire a fake click event on an element. It is useful to have this on\n     * AccessibilityComponent for users of custom components.\n     * @private\n     */\n    fakeClickEvent(el) {\n        const fakeEvent = AccessibilityComponent_getFakeMouseEvent('click');\n        AccessibilityComponent_fireEventOnWrappedOrUnwrappedElement(el, fakeEvent);\n    }\n    /**\n     * Remove traces of the component.\n     * @private\n     */\n    destroyBase() {\n        this.domElementProvider.destroyCreatedElements();\n        this.eventProvider.removeAddedEvents();\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Accessibility_AccessibilityComponent = (AccessibilityComponent);\n\n;// ./code/es-modules/Accessibility/KeyboardNavigationHandler.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Keyboard navigation handler base class definition\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { find: KeyboardNavigationHandler_find } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\n/**\n * Define a keyboard navigation handler for use with a\n * Highcharts.AccessibilityComponent instance. This functions as an abstraction\n * layer for keyboard navigation, and defines a map of keyCodes to handler\n * functions.\n *\n * @requires modules/accessibility\n *\n * @sample highcharts/accessibility/custom-component\n *         Custom accessibility component\n *\n * @class\n * @name Highcharts.KeyboardNavigationHandler\n *\n * @param {Highcharts.Chart} chart\n * The chart this module should act on.\n *\n * @param {Highcharts.KeyboardNavigationHandlerOptionsObject} options\n * Options for the keyboard navigation handler.\n */\nclass KeyboardNavigationHandler {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart, options) {\n        this.chart = chart;\n        this.keyCodeMap = options.keyCodeMap || [];\n        this.validate = options.validate;\n        this.init = options.init;\n        this.terminate = options.terminate;\n        // Response enum\n        this.response = {\n            success: 1, // Keycode was handled\n            prev: 2, // Move to prev module\n            next: 3, // Move to next module\n            noHandler: 4, // There is no handler for this keycode\n            fail: 5 // Handler failed\n        };\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Find handler function(s) for key code in the keyCodeMap and run it.\n     *\n     * @function KeyboardNavigationHandler#run\n     * @param {global.KeyboardEvent} e\n     * @return {number} Returns a response code indicating whether the run was\n     *      a success/fail/unhandled, or if we should move to next/prev module.\n     */\n    run(e) {\n        const keyCode = e.which || e.keyCode;\n        let response = this.response.noHandler;\n        const handlerCodeSet = KeyboardNavigationHandler_find(this.keyCodeMap, function (codeSet) {\n            return codeSet[0].indexOf(keyCode) > -1;\n        });\n        if (handlerCodeSet) {\n            response = handlerCodeSet[1].call(this, keyCode, e);\n        }\n        else if (keyCode === 9) {\n            // Default tab handler, move to next/prev module\n            response = this.response[e.shiftKey ? 'prev' : 'next'];\n        }\n        return response;\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Accessibility_KeyboardNavigationHandler = (KeyboardNavigationHandler);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Options for the keyboard navigation handler.\n *\n * @interface Highcharts.KeyboardNavigationHandlerOptionsObject\n */ /**\n* An array containing pairs of an array of keycodes, mapped to a handler\n* function. When the keycode is received, the handler is called with the\n* keycode as parameter.\n* @name Highcharts.KeyboardNavigationHandlerOptionsObject#keyCodeMap\n* @type {Array<Array<Array<number>, Function>>}\n*/ /**\n* Function to run on initialization of module.\n* @name Highcharts.KeyboardNavigationHandlerOptionsObject#init\n* @type {Function}\n*/ /**\n* Function to run before moving to next/prev module. Receives moving direction\n* as parameter: +1 for next, -1 for previous.\n* @name Highcharts.KeyboardNavigationHandlerOptionsObject#terminate\n* @type {Function|undefined}\n*/ /**\n* Function to run to validate module. Should return false if module should not\n* run, true otherwise. Receives chart as parameter.\n* @name Highcharts.KeyboardNavigationHandlerOptionsObject#validate\n* @type {Function|undefined}\n*/\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Accessibility/Components/ContainerComponent.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility component for chart container.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { unhideChartElementFromAT: ContainerComponent_unhideChartElementFromAT, getChartTitle: ContainerComponent_getChartTitle } = Utils_ChartUtilities;\n\nconst { doc: ContainerComponent_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { stripHTMLTagsFromString: ContainerComponent_stripHTMLTags } = Utils_HTMLUtilities;\n/**\n * The ContainerComponent class\n *\n * @private\n * @class\n * @name Highcharts.ContainerComponent\n */\nclass ContainerComponent extends Accessibility_AccessibilityComponent {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Called on first render/updates to the chart, including options changes.\n     */\n    onChartUpdate() {\n        this.handleSVGTitleElement();\n        this.setSVGContainerLabel();\n        this.setGraphicContainerAttrs();\n        this.setRenderToAttrs();\n        this.makeCreditsAccessible();\n    }\n    /**\n     * @private\n     */\n    handleSVGTitleElement() {\n        const chart = this.chart, titleId = 'highcharts-title-' + chart.index, titleContents = ContainerComponent_stripHTMLTags(chart.langFormat('accessibility.svgContainerTitle', {\n            chartTitle: ContainerComponent_getChartTitle(chart)\n        }));\n        if (titleContents.length) {\n            const titleElement = this.svgTitleElement =\n                this.svgTitleElement || ContainerComponent_doc.createElementNS('http://www.w3.org/2000/svg', 'title');\n            titleElement.textContent = titleContents;\n            titleElement.id = titleId;\n            chart.renderTo.insertBefore(titleElement, chart.renderTo.firstChild);\n        }\n    }\n    /**\n     * @private\n     */\n    setSVGContainerLabel() {\n        const chart = this.chart, svgContainerLabel = chart.langFormat('accessibility.svgContainerLabel', {\n            chartTitle: ContainerComponent_getChartTitle(chart)\n        });\n        if (chart.renderer.box && svgContainerLabel.length) {\n            chart.renderer.box.setAttribute('aria-label', svgContainerLabel);\n        }\n    }\n    /**\n     * @private\n     */\n    setGraphicContainerAttrs() {\n        const chart = this.chart, label = chart.langFormat('accessibility.graphicContainerLabel', {\n            chartTitle: ContainerComponent_getChartTitle(chart)\n        });\n        if (label.length) {\n            chart.container.setAttribute('aria-label', label);\n        }\n    }\n    /**\n     * Set attributes on the chart container element.\n     * @private\n     */\n    setRenderToAttrs() {\n        const chart = this.chart, shouldHaveLandmark = chart.options.accessibility\n            .landmarkVerbosity !== 'disabled', containerLabel = chart.langFormat('accessibility.chartContainerLabel', {\n            title: ContainerComponent_getChartTitle(chart),\n            chart: chart\n        });\n        if (containerLabel) {\n            chart.renderTo.setAttribute('role', shouldHaveLandmark ? 'region' : 'group');\n            chart.renderTo.setAttribute('aria-label', containerLabel);\n        }\n    }\n    /**\n     * @private\n     */\n    makeCreditsAccessible() {\n        const chart = this.chart, credits = chart.credits;\n        if (credits) {\n            if (credits.textStr) {\n                credits.element.setAttribute('aria-label', chart.langFormat('accessibility.credits', {\n                    creditsStr: ContainerComponent_stripHTMLTags(credits.textStr, chart.renderer.forExport)\n                }));\n            }\n            ContainerComponent_unhideChartElementFromAT(chart, credits.element);\n        }\n    }\n    /**\n     * Empty handler to just set focus on chart\n     * @private\n     */\n    getKeyboardNavigation() {\n        const chart = this.chart;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [],\n            validate: function () {\n                return true;\n            },\n            init: function () {\n                const a11y = chart.accessibility;\n                if (a11y) {\n                    a11y.keyboardNavigation.tabindexContainer.focus();\n                }\n            }\n        });\n    }\n    /**\n     * Accessibility disabled/chart destroyed.\n     */\n    destroy() {\n        this.chart.renderTo.setAttribute('aria-hidden', true);\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Components_ContainerComponent = (ContainerComponent);\n\n;// ./code/es-modules/Accessibility/FocusBorder.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Extend SVG and Chart classes with focus border capabilities.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { addEvent: FocusBorder_addEvent, pick: FocusBorder_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar FocusBorderComposition;\n(function (FocusBorderComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    // Attributes that trigger a focus border update\n    const svgElementBorderUpdateTriggers = [\n        'x', 'y', 'transform', 'width', 'height', 'r', 'd', 'stroke-width'\n    ];\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ChartClass, SVGElementClass) {\n        const chartProto = ChartClass.prototype, svgElementProto = SVGElementClass.prototype;\n        if (!chartProto.renderFocusBorder) {\n            chartProto.renderFocusBorder = chartRenderFocusBorder;\n            chartProto.setFocusToElement = chartSetFocusToElement;\n        }\n        if (!svgElementProto.addFocusBorder) {\n            svgElementProto.addFocusBorder = svgElementAddFocusBorder;\n            svgElementProto.removeFocusBorder = svgElementRemoveFocusBorder;\n        }\n    }\n    FocusBorderComposition.compose = compose;\n    /**\n     * Redraws the focus border on the currently focused element.\n     *\n     * @private\n     * @function Highcharts.Chart#renderFocusBorder\n     */\n    function chartRenderFocusBorder() {\n        const focusElement = this.focusElement, focusBorderOptions = this.options.accessibility.keyboardNavigation.focusBorder;\n        if (focusElement) {\n            focusElement.removeFocusBorder();\n            if (focusBorderOptions.enabled) {\n                focusElement.addFocusBorder(focusBorderOptions.margin, {\n                    stroke: focusBorderOptions.style.color,\n                    strokeWidth: focusBorderOptions.style.lineWidth,\n                    r: focusBorderOptions.style.borderRadius\n                });\n            }\n        }\n    }\n    /**\n     * Set chart's focus to an SVGElement. Calls focus() on it, and draws the\n     * focus border. This is used by multiple components.\n     *\n     * @private\n     * @function Highcharts.Chart#setFocusToElement\n     *\n     * @param {Highcharts.SVGElement} svgElement\n     * Element to draw the border around.\n     *\n     * @param {SVGDOMElement|HTMLDOMElement} [focusElement]\n     * If supplied, it draws the border around svgElement and sets the focus to\n     * focusElement.\n     */\n    function chartSetFocusToElement(svgElement, focusElement) {\n        const focusBorderOptions = this.options.accessibility.keyboardNavigation.focusBorder, browserFocusElement = focusElement || svgElement.element;\n        // Set browser focus if possible\n        if (browserFocusElement &&\n            browserFocusElement.focus) {\n            // If there is no focusin-listener, add one to work around Edge\n            // where Narrator is not reading out points despite calling focus().\n            if (!(browserFocusElement.hcEvents &&\n                browserFocusElement.hcEvents.focusin)) {\n                FocusBorder_addEvent(browserFocusElement, 'focusin', function () { });\n            }\n            browserFocusElement.focus();\n            // Hide default focus ring\n            if (focusBorderOptions.hideBrowserFocusOutline) {\n                browserFocusElement.style.outline = 'none';\n            }\n        }\n        if (this.focusElement) {\n            this.focusElement.removeFocusBorder();\n        }\n        this.focusElement = svgElement;\n        this.renderFocusBorder();\n    }\n    /**\n     * Add hook to destroy focus border if SVG element is destroyed, unless\n     * hook already exists.\n     * @private\n     * @param el Element to add destroy hook to\n     */\n    function svgElementAddDestroyFocusBorderHook(el) {\n        if (el.focusBorderDestroyHook) {\n            return;\n        }\n        const origDestroy = el.destroy;\n        el.destroy = function () {\n            if (el.focusBorder && el.focusBorder.destroy) {\n                el.focusBorder.destroy();\n            }\n            return origDestroy.apply(el, arguments);\n        };\n        el.focusBorderDestroyHook = origDestroy;\n    }\n    /**\n     * Add focus border functionality to SVGElements. Draws a new rect on top of\n     * element around its bounding box. This is used by multiple components.\n     *\n     * @private\n     * @function Highcharts.SVGElement#addFocusBorder\n     *\n     * @param {number} margin\n     *\n     * @param {SVGAttributes} attribs\n     */\n    function svgElementAddFocusBorder(margin, attribs) {\n        // Allow updating by just adding new border\n        if (this.focusBorder) {\n            this.removeFocusBorder();\n        }\n        // Add the border rect\n        const bb = this.getBBox(), pad = FocusBorder_pick(margin, 3), parent = this.parentGroup, scaleX = this.scaleX || parent && parent.scaleX, scaleY = this.scaleY || parent && parent.scaleY, oneDefined = scaleX ? !scaleY : scaleY, scaleBoth = oneDefined ? Math.abs(scaleX || scaleY || 1) :\n            (Math.abs(scaleX || 1) + Math.abs(scaleY || 1)) / 2, lineHeight = this.renderer.fontMetrics(this).h;\n        bb.x += this.translateX ? this.translateX : 0;\n        bb.y += this.translateY ? this.translateY : 0;\n        let borderPosX = bb.x - pad, borderPosY = bb.y - pad, borderWidth = bb.width + 2 * pad, borderHeight = bb.height + 2 * pad;\n        /**\n         * For text elements, apply x and y offset, #11397.\n         * @private\n         */\n        function getTextAnchorCorrection(text) {\n            let posXCorrection = 0, posYCorrection = 0;\n            if (text.attr('text-anchor') === 'middle') {\n                posXCorrection = posYCorrection = 0.5;\n            }\n            else if (!text.rotation) {\n                posYCorrection = 0.75;\n            }\n            else {\n                posXCorrection = 0.25;\n            }\n            return {\n                x: posXCorrection,\n                y: posYCorrection\n            };\n        }\n        const isLabel = !!this.text;\n        if (this.element.nodeName === 'text' || isLabel) {\n            const isRotated = !!this.rotation;\n            const correction = !isLabel ? getTextAnchorCorrection(this) :\n                {\n                    x: isRotated ? 1 : 0,\n                    y: 0\n                };\n            const attrX = +this.attr('x');\n            const attrY = +this.attr('y');\n            if (!isNaN(attrX)) {\n                borderPosX = attrX - (bb.width * correction.x) - pad;\n            }\n            if (!isNaN(attrY)) {\n                // Correct by line height if \"text-achor\" == \"start\", #19335.\n                const dim = this.attr('text-anchor') === 'start' ?\n                    lineHeight :\n                    bb.height;\n                borderPosY = attrY - (dim * correction.y) - pad;\n            }\n            if (isLabel && isRotated) {\n                const temp = borderWidth;\n                borderWidth = borderHeight;\n                borderHeight = temp;\n                if (!isNaN(attrX)) {\n                    borderPosX = attrX - (bb.height * correction.x) - pad;\n                }\n                if (!isNaN(attrY)) {\n                    borderPosY = attrY - (bb.width * correction.y) - pad;\n                }\n            }\n        }\n        this.focusBorder = this.renderer.rect(borderPosX, borderPosY, borderWidth, borderHeight, parseInt((attribs && attribs.r || 0).toString(), 10) / scaleBoth)\n            .addClass('highcharts-focus-border')\n            .attr({\n            zIndex: 99\n        })\n            .add(parent);\n        if (!this.renderer.styledMode) {\n            this.focusBorder.attr({\n                stroke: attribs && attribs.stroke,\n                'stroke-width': (attribs && attribs.strokeWidth || 0) / scaleBoth\n            });\n        }\n        avgElementAddUpdateFocusBorderHooks(this, margin, attribs);\n        svgElementAddDestroyFocusBorderHook(this);\n    }\n    /**\n     * Add hooks to update the focus border of an element when the element\n     * size/position is updated, unless already added.\n     * @private\n     * @param el Element to add update hooks to\n     * @param updateParams Parameters to pass through to addFocusBorder when updating.\n     */\n    function avgElementAddUpdateFocusBorderHooks(el, ...updateParams) {\n        if (el.focusBorderUpdateHooks) {\n            return;\n        }\n        el.focusBorderUpdateHooks = {};\n        svgElementBorderUpdateTriggers.forEach((trigger) => {\n            const setterKey = trigger + 'Setter';\n            const origSetter = el[setterKey] || el._defaultSetter;\n            el.focusBorderUpdateHooks[setterKey] = origSetter;\n            el[setterKey] = function () {\n                const ret = origSetter.apply(el, arguments);\n                el.addFocusBorder.apply(el, updateParams);\n                return ret;\n            };\n        });\n    }\n    /**\n     * Remove hook from SVG element added by addDestroyFocusBorderHook, if\n     * existing.\n     * @private\n     * @param el Element to remove destroy hook from\n     */\n    function svgElementRemoveDestroyFocusBorderHook(el) {\n        if (!el.focusBorderDestroyHook) {\n            return;\n        }\n        el.destroy = el.focusBorderDestroyHook;\n        delete el.focusBorderDestroyHook;\n    }\n    /**\n     * Add focus border functionality to SVGElements. Draws a new rect on top of\n     * element around its bounding box. This is used by multiple components.\n     * @private\n     * @function Highcharts.SVGElement#removeFocusBorder\n     */\n    function svgElementRemoveFocusBorder() {\n        svgElementRemoveUpdateFocusBorderHooks(this);\n        svgElementRemoveDestroyFocusBorderHook(this);\n        if (this.focusBorder) {\n            this.focusBorder.destroy();\n            delete this.focusBorder;\n        }\n    }\n    /**\n     * Remove hooks from SVG element added by addUpdateFocusBorderHooks, if\n     * existing.\n     * @private\n     * @param el Element to remove update hooks from\n     */\n    function svgElementRemoveUpdateFocusBorderHooks(el) {\n        if (!el.focusBorderUpdateHooks) {\n            return;\n        }\n        Object.keys(el.focusBorderUpdateHooks).forEach((setterKey) => {\n            const origSetter = el.focusBorderUpdateHooks[setterKey];\n            if (origSetter === el._defaultSetter) {\n                delete el[setterKey];\n            }\n            else {\n                el[setterKey] = origSetter;\n            }\n        });\n        delete el.focusBorderUpdateHooks;\n    }\n})(FocusBorderComposition || (FocusBorderComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const FocusBorder = (FocusBorderComposition);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"AST\"],\"commonjs\":[\"highcharts\",\"AST\"],\"commonjs2\":[\"highcharts\",\"AST\"],\"root\":[\"Highcharts\",\"AST\"]}\nvar highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_ = __webpack_require__(660);\nvar highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default = /*#__PURE__*/__webpack_require__.n(highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_);\n;// ./code/es-modules/Accessibility/Utils/Announcer.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Create announcer to speak messages to screen readers and other AT.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { doc: Announcer_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addClass: Announcer_addClass, visuallyHideElement: Announcer_visuallyHideElement } = Utils_HTMLUtilities;\n\nconst { attr } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass Announcer {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart, type) {\n        this.chart = chart;\n        this.domElementProvider = new Utils_DOMElementProvider();\n        this.announceRegion = this.addAnnounceRegion(type);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    destroy() {\n        this.domElementProvider.destroyCreatedElements();\n    }\n    announce(message) {\n        highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().setElementHTML(this.announceRegion, message);\n        // Delete contents after a little while to avoid user finding the live\n        // region in the DOM.\n        if (this.clearAnnouncementRegionTimer) {\n            clearTimeout(this.clearAnnouncementRegionTimer);\n        }\n        this.clearAnnouncementRegionTimer = setTimeout(() => {\n            this.announceRegion.innerHTML = (highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default()).emptyHTML;\n            delete this.clearAnnouncementRegionTimer;\n        }, 3000);\n    }\n    addAnnounceRegion(type) {\n        const chartContainer = (this.chart.announcerContainer || this.createAnnouncerContainer()), div = this.domElementProvider.createElement('div');\n        attr(div, {\n            'aria-hidden': false,\n            'aria-live': type,\n            'aria-atomic': true\n        });\n        if (this.chart.styledMode) {\n            Announcer_addClass(div, 'highcharts-visually-hidden');\n        }\n        else {\n            Announcer_visuallyHideElement(div);\n        }\n        chartContainer.appendChild(div);\n        return div;\n    }\n    createAnnouncerContainer() {\n        const chart = this.chart, container = Announcer_doc.createElement('div');\n        attr(container, {\n            'aria-hidden': false,\n            'class': 'highcharts-announcer-container'\n        });\n        container.style.position = 'relative';\n        chart.renderTo.insertBefore(container, chart.renderTo.firstChild);\n        chart.announcerContainer = container;\n        return container;\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Utils_Announcer = (Announcer);\n\n;// ./code/es-modules/Accessibility/Components/AnnotationsA11y.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Annotations accessibility code.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { escapeStringForHTML: AnnotationsA11y_escapeStringForHTML, stripHTMLTagsFromString: AnnotationsA11y_stripHTMLTagsFromString } = Utils_HTMLUtilities;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Get list of all annotation labels in the chart.\n *\n * @private\n * @param {Highcharts.Chart} chart The chart to get annotation info on.\n * @return {Array<object>} The labels, or empty array if none.\n */\nfunction getChartAnnotationLabels(chart) {\n    const annotations = chart.annotations || [];\n    return annotations.reduce((acc, cur) => {\n        if (cur.options &&\n            cur.options.visible !== false) {\n            acc = acc.concat(cur.labels);\n        }\n        return acc;\n    }, []);\n}\n/**\n * Get the text of an annotation label.\n *\n * @private\n * @param {Object} label The annotation label object\n * @return {string} The text in the label.\n */\nfunction getLabelText(label) {\n    return ((label.options &&\n        label.options.accessibility &&\n        label.options.accessibility.description) ||\n        (label.graphic &&\n            label.graphic.text &&\n            label.graphic.text.textStr) ||\n        '');\n}\n/**\n * Describe an annotation label.\n *\n * @private\n * @param {Object} label The annotation label object to describe\n * @return {string} The description for the label.\n */\nfunction getAnnotationLabelDescription(label) {\n    const a11yDesc = (label.options &&\n        label.options.accessibility &&\n        label.options.accessibility.description);\n    if (a11yDesc) {\n        return a11yDesc;\n    }\n    const chart = label.chart;\n    const labelText = getLabelText(label);\n    const points = label.points;\n    const getAriaLabel = (point) => (point.graphic &&\n        point.graphic.element &&\n        point.graphic.element.getAttribute('aria-label') ||\n        '');\n    const getValueDesc = (point) => {\n        const valDesc = (point.accessibility &&\n            point.accessibility.valueDescription ||\n            getAriaLabel(point));\n        const seriesName = (point &&\n            point.series.name ||\n            '');\n        return (seriesName ? seriesName + ', ' : '') + 'data point ' + valDesc;\n    };\n    const pointValueDescriptions = points\n        .filter((p) => !!p.graphic) // Filter out mock points\n        .map(getValueDesc)\n        // Filter out points we can't describe\n        .filter((desc) => !!desc);\n    const numPoints = pointValueDescriptions.length;\n    const pointsSelector = numPoints > 1 ?\n        'MultiplePoints' : numPoints ?\n        'SinglePoint' : 'NoPoints';\n    const langFormatStr = ('accessibility.screenReaderSection.annotations.description' +\n        pointsSelector);\n    const context = {\n        annotationText: labelText,\n        annotation: label,\n        numPoints: numPoints,\n        annotationPoint: pointValueDescriptions[0],\n        additionalAnnotationPoints: pointValueDescriptions.slice(1)\n    };\n    return chart.langFormat(langFormatStr, context);\n}\n/**\n * Return array of HTML strings for each annotation label in the chart.\n *\n * @private\n * @param {Highcharts.Chart} chart The chart to get annotation info on.\n * @return {Array<string>} Array of strings with HTML content for each annotation label.\n */\nfunction getAnnotationListItems(chart) {\n    const labels = getChartAnnotationLabels(chart);\n    return labels.map((label) => {\n        const desc = AnnotationsA11y_escapeStringForHTML(AnnotationsA11y_stripHTMLTagsFromString(getAnnotationLabelDescription(label), chart.renderer.forExport));\n        return desc ? `<li>${desc}</li>` : '';\n    });\n}\n/**\n * Return the annotation info for a chart as string.\n *\n * @private\n * @param {Highcharts.Chart} chart The chart to get annotation info on.\n * @return {string} String with HTML content or empty string if no annotations.\n */\nfunction getAnnotationsInfoHTML(chart) {\n    const annotations = chart.annotations;\n    if (!(annotations && annotations.length)) {\n        return '';\n    }\n    const annotationItems = getAnnotationListItems(chart);\n    return `<ul style=\"list-style-type: none\">${annotationItems.join(' ')}</ul>`;\n}\n/**\n * Return the texts for the annotation(s) connected to a point, or empty array\n * if none.\n *\n * @private\n * @param {Highcharts.Point} point The data point to get the annotation info from.\n * @return {Array<string>} Annotation texts\n */\nfunction getPointAnnotationTexts(point) {\n    const labels = getChartAnnotationLabels(point.series.chart);\n    const pointLabels = labels\n        .filter((label) => label.points.indexOf(point) > -1);\n    if (!pointLabels.length) {\n        return [];\n    }\n    return pointLabels.map((label) => `${getLabelText(label)}`);\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst AnnotationsA11y = {\n    getAnnotationsInfoHTML,\n    getAnnotationLabelDescription,\n    getAnnotationListItems,\n    getPointAnnotationTexts\n};\n/* harmony default export */ const Components_AnnotationsA11y = (AnnotationsA11y);\n\n;// ./code/es-modules/Accessibility/Components/InfoRegionsComponent.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility component for chart info region and table.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\n\nconst { getAnnotationsInfoHTML: InfoRegionsComponent_getAnnotationsInfoHTML } = Components_AnnotationsA11y;\n\n\nconst { getAxisDescription: InfoRegionsComponent_getAxisDescription, getAxisRangeDescription: InfoRegionsComponent_getAxisRangeDescription, getChartTitle: InfoRegionsComponent_getChartTitle, unhideChartElementFromAT: InfoRegionsComponent_unhideChartElementFromAT } = Utils_ChartUtilities;\n\nconst { format: InfoRegionsComponent_format } = (highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default());\n\nconst { doc: InfoRegionsComponent_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addClass: InfoRegionsComponent_addClass, getElement: InfoRegionsComponent_getElement, getHeadingTagNameForElement: InfoRegionsComponent_getHeadingTagNameForElement, stripHTMLTagsFromString: InfoRegionsComponent_stripHTMLTagsFromString, visuallyHideElement: InfoRegionsComponent_visuallyHideElement } = Utils_HTMLUtilities;\n\nconst { attr: InfoRegionsComponent_attr, pick: InfoRegionsComponent_pick, replaceNested } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable valid-jsdoc */\n/**\n * @private\n */\nfunction getTableSummary(chart) {\n    return chart.langFormat('accessibility.table.tableSummary', { chart: chart });\n}\n/**\n * @private\n */\nfunction getTypeDescForMapChart(chart, formatContext) {\n    return formatContext.mapTitle ?\n        chart.langFormat('accessibility.chartTypes.mapTypeDescription', formatContext) :\n        chart.langFormat('accessibility.chartTypes.unknownMap', formatContext);\n}\n/**\n * @private\n */\nfunction getTypeDescForCombinationChart(chart, formatContext) {\n    return chart.langFormat('accessibility.chartTypes.combinationChart', formatContext);\n}\n/**\n * @private\n */\nfunction getTypeDescForEmptyChart(chart, formatContext) {\n    return chart.langFormat('accessibility.chartTypes.emptyChart', formatContext);\n}\n/**\n * @private\n */\nfunction buildTypeDescriptionFromSeries(chart, types, context) {\n    const firstType = types[0], typeExplanation = chart.langFormat('accessibility.seriesTypeDescriptions.' + firstType, context), multi = chart.series && chart.series.length < 2 ? 'Single' : 'Multiple';\n    return (chart.langFormat('accessibility.chartTypes.' + firstType + multi, context) ||\n        chart.langFormat('accessibility.chartTypes.default' + multi, context)) + (typeExplanation ? ' ' + typeExplanation : '');\n}\n/**\n * Return simplified explanation of chart type. Some types will not be\n * familiar to most users, but in those cases we try to add an explanation\n * of the type.\n *\n * @private\n * @function Highcharts.Chart#getTypeDescription\n * @param {Array<string>} types The series types in this chart.\n * @return {string} The text description of the chart type.\n */\nfunction getTypeDescription(chart, types) {\n    const firstType = types[0], firstSeries = chart.series && chart.series[0] || {}, mapTitle = chart.mapView && chart.mapView.geoMap &&\n        chart.mapView.geoMap.title, formatContext = {\n        numSeries: chart.series.length,\n        numPoints: firstSeries.points && firstSeries.points.length,\n        chart,\n        mapTitle\n    };\n    if (!firstType) {\n        return getTypeDescForEmptyChart(chart, formatContext);\n    }\n    if (firstType === 'map' || firstType === 'tiledwebmap') {\n        return getTypeDescForMapChart(chart, formatContext);\n    }\n    if (chart.types.length > 1) {\n        return getTypeDescForCombinationChart(chart, formatContext);\n    }\n    return buildTypeDescriptionFromSeries(chart, types, formatContext);\n}\n/**\n * @private\n */\nfunction stripEmptyHTMLTags(str) {\n    // Scan alert #[71]: Loop for nested patterns\n    return replaceNested(str, [/<([\\w\\-.:!]+)\\b[^<>]*>\\s*<\\/\\1>/g, '']);\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The InfoRegionsComponent class\n *\n * @private\n * @class\n * @name Highcharts.InfoRegionsComponent\n */\nclass InfoRegionsComponent extends Accessibility_AccessibilityComponent {\n    constructor() {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        super(...arguments);\n        this.screenReaderSections = {};\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Init the component\n     * @private\n     */\n    init() {\n        const chart = this.chart;\n        const component = this;\n        this.initRegionsDefinitions();\n        this.addEvent(chart, 'aftergetTableAST', function (e) {\n            component.onDataTableCreated(e);\n        });\n        this.addEvent(chart, 'afterViewData', function (e) {\n            if (e.wasHidden) {\n                component.dataTableDiv = e.element;\n                // Use a small delay to give browsers & AT time to\n                // register the new table.\n                setTimeout(function () {\n                    component.focusDataTable();\n                }, 300);\n            }\n        });\n        this.addEvent(chart, 'afterHideData', function () {\n            if (component.viewDataTableButton) {\n                component.viewDataTableButton\n                    .setAttribute('aria-expanded', 'false');\n            }\n        });\n        if (chart.exporting) {\n            // Needed when print logic in exporting does not trigger\n            // rerendering thus repositioning of screen reader DOM elements\n            // (#21554)\n            this.addEvent(chart, 'afterPrint', function () {\n                component.updateAllScreenReaderSections();\n            });\n        }\n        this.announcer = new Utils_Announcer(chart, 'assertive');\n    }\n    /**\n     * @private\n     */\n    initRegionsDefinitions() {\n        const component = this, accessibilityOptions = this.chart.options.accessibility;\n        this.screenReaderSections = {\n            before: {\n                element: null,\n                buildContent: function (chart) {\n                    const formatter = accessibilityOptions.screenReaderSection\n                        .beforeChartFormatter;\n                    return formatter ? formatter(chart) :\n                        component.defaultBeforeChartFormatter(chart);\n                },\n                insertIntoDOM: function (el, chart) {\n                    chart.renderTo.insertBefore(el, chart.renderTo.firstChild);\n                },\n                afterInserted: function () {\n                    if (typeof component.sonifyButtonId !== 'undefined') {\n                        component.initSonifyButton(component.sonifyButtonId);\n                    }\n                    if (typeof component.dataTableButtonId !== 'undefined') {\n                        component.initDataTableButton(component.dataTableButtonId);\n                    }\n                }\n            },\n            after: {\n                element: null,\n                buildContent: function (chart) {\n                    const formatter = accessibilityOptions.screenReaderSection\n                        .afterChartFormatter;\n                    return formatter ? formatter(chart) :\n                        component.defaultAfterChartFormatter();\n                },\n                insertIntoDOM: function (el, chart) {\n                    chart.renderTo.insertBefore(el, chart.container.nextSibling);\n                },\n                afterInserted: function () {\n                    if (component.chart.accessibility &&\n                        accessibilityOptions.keyboardNavigation.enabled) {\n                        component.chart.accessibility\n                            .keyboardNavigation.updateExitAnchor(); // #15986\n                    }\n                }\n            }\n        };\n    }\n    /**\n     * Called on chart render. Have to update the sections on render, in order\n     * to get a11y info from series.\n     */\n    onChartRender() {\n        this.linkedDescriptionElement = this.getLinkedDescriptionElement();\n        this.setLinkedDescriptionAttrs();\n        this.updateAllScreenReaderSections();\n    }\n    updateAllScreenReaderSections() {\n        const component = this;\n        Object.keys(this.screenReaderSections).forEach(function (regionKey) {\n            component.updateScreenReaderSection(regionKey);\n        });\n    }\n    /**\n     * @private\n     */\n    getLinkedDescriptionElement() {\n        const chartOptions = this.chart.options, linkedDescOption = chartOptions.accessibility.linkedDescription;\n        if (!linkedDescOption) {\n            return;\n        }\n        if (typeof linkedDescOption !== 'string') {\n            return linkedDescOption;\n        }\n        const query = InfoRegionsComponent_format(linkedDescOption, this.chart), queryMatch = InfoRegionsComponent_doc.querySelectorAll(query);\n        if (queryMatch.length === 1) {\n            return queryMatch[0];\n        }\n    }\n    /**\n     * @private\n     */\n    setLinkedDescriptionAttrs() {\n        const el = this.linkedDescriptionElement;\n        if (el) {\n            el.setAttribute('aria-hidden', 'true');\n            InfoRegionsComponent_addClass(el, 'highcharts-linked-description');\n        }\n    }\n    /**\n     * @private\n     * @param {string} regionKey\n     * The name/key of the region to update\n     */\n    updateScreenReaderSection(regionKey) {\n        const chart = this.chart;\n        const region = this.screenReaderSections[regionKey];\n        const content = region.buildContent(chart);\n        const sectionDiv = region.element = (region.element || this.createElement('div'));\n        const hiddenDiv = (sectionDiv.firstChild || this.createElement('div'));\n        if (content) {\n            this.setScreenReaderSectionAttribs(sectionDiv, regionKey);\n            highcharts_AST_commonjs_highcharts_AST_commonjs2_highcharts_AST_root_Highcharts_AST_default().setElementHTML(hiddenDiv, content);\n            sectionDiv.appendChild(hiddenDiv);\n            region.insertIntoDOM(sectionDiv, chart);\n            if (chart.styledMode) {\n                InfoRegionsComponent_addClass(hiddenDiv, 'highcharts-visually-hidden');\n            }\n            else {\n                InfoRegionsComponent_visuallyHideElement(hiddenDiv);\n            }\n            InfoRegionsComponent_unhideChartElementFromAT(chart, hiddenDiv);\n            if (region.afterInserted) {\n                region.afterInserted();\n            }\n        }\n        else {\n            if (sectionDiv.parentNode) {\n                sectionDiv.parentNode.removeChild(sectionDiv);\n            }\n            region.element = null;\n        }\n    }\n    /**\n     * Apply a11y attributes to a screen reader info section\n     * @private\n     * @param {Highcharts.HTMLDOMElement} sectionDiv The section element\n     * @param {string} regionKey Name/key of the region we are setting attrs for\n     */\n    setScreenReaderSectionAttribs(sectionDiv, regionKey) {\n        const chart = this.chart, labelText = chart.langFormat('accessibility.screenReaderSection.' + regionKey +\n            'RegionLabel', { chart: chart, chartTitle: InfoRegionsComponent_getChartTitle(chart) }), sectionId = `highcharts-screen-reader-region-${regionKey}-${chart.index}`;\n        InfoRegionsComponent_attr(sectionDiv, {\n            id: sectionId,\n            'aria-label': labelText || void 0\n        });\n        // Sections are wrapped to be positioned relatively to chart in case\n        // elements inside are tabbed to.\n        sectionDiv.style.position = 'relative';\n        if (labelText) {\n            sectionDiv.setAttribute('role', chart.options.accessibility.landmarkVerbosity === 'all' ?\n                'region' : 'group');\n        }\n    }\n    /**\n     * @private\n     */\n    defaultBeforeChartFormatter() {\n        const chart = this.chart, format = chart.options.accessibility.screenReaderSection\n            .beforeChartFormat;\n        if (!format) {\n            return '';\n        }\n        const axesDesc = this.getAxesDescription(), shouldHaveSonifyBtn = (chart.sonify &&\n            chart.options.sonification &&\n            chart.options.sonification.enabled), sonifyButtonId = 'highcharts-a11y-sonify-data-btn-' +\n            chart.index, dataTableButtonId = 'hc-linkto-highcharts-data-table-' +\n            chart.index, annotationsList = InfoRegionsComponent_getAnnotationsInfoHTML(chart), annotationsTitleStr = chart.langFormat('accessibility.screenReaderSection.annotations.heading', { chart: chart }), context = {\n            headingTagName: InfoRegionsComponent_getHeadingTagNameForElement(chart.renderTo),\n            chartTitle: InfoRegionsComponent_getChartTitle(chart),\n            typeDescription: this.getTypeDescriptionText(),\n            chartSubtitle: this.getSubtitleText(),\n            chartLongdesc: this.getLongdescText(),\n            xAxisDescription: axesDesc.xAxis,\n            yAxisDescription: axesDesc.yAxis,\n            playAsSoundButton: shouldHaveSonifyBtn ?\n                this.getSonifyButtonText(sonifyButtonId) : '',\n            viewTableButton: chart.getCSV ?\n                this.getDataTableButtonText(dataTableButtonId) : '',\n            annotationsTitle: annotationsList ? annotationsTitleStr : '',\n            annotationsList: annotationsList\n        }, formattedString = A11yI18n.i18nFormat(format, context, chart);\n        this.dataTableButtonId = dataTableButtonId;\n        this.sonifyButtonId = sonifyButtonId;\n        return stripEmptyHTMLTags(formattedString);\n    }\n    /**\n     * @private\n     */\n    defaultAfterChartFormatter() {\n        const chart = this.chart;\n        const format = chart.options.accessibility.screenReaderSection\n            .afterChartFormat;\n        if (!format) {\n            return '';\n        }\n        const context = { endOfChartMarker: this.getEndOfChartMarkerText() };\n        const formattedString = A11yI18n.i18nFormat(format, context, chart);\n        return stripEmptyHTMLTags(formattedString);\n    }\n    /**\n     * @private\n     */\n    getLinkedDescription() {\n        const el = this.linkedDescriptionElement, content = el && el.innerHTML || '';\n        return InfoRegionsComponent_stripHTMLTagsFromString(content, this.chart.renderer.forExport);\n    }\n    /**\n     * @private\n     */\n    getLongdescText() {\n        const chartOptions = this.chart.options, captionOptions = chartOptions.caption, captionText = captionOptions && captionOptions.text, linkedDescription = this.getLinkedDescription();\n        return (chartOptions.accessibility.description ||\n            linkedDescription ||\n            captionText ||\n            '');\n    }\n    /**\n     * @private\n     */\n    getTypeDescriptionText() {\n        const chart = this.chart;\n        return chart.types ?\n            chart.options.accessibility.typeDescription ||\n                getTypeDescription(chart, chart.types) : '';\n    }\n    /**\n     * @private\n     */\n    getDataTableButtonText(buttonId) {\n        const chart = this.chart, buttonText = chart.langFormat('accessibility.table.viewAsDataTableButtonText', { chart: chart, chartTitle: InfoRegionsComponent_getChartTitle(chart) });\n        return '<button id=\"' + buttonId + '\">' + buttonText + '</button>';\n    }\n    /**\n     * @private\n     */\n    getSonifyButtonText(buttonId) {\n        const chart = this.chart;\n        if (chart.options.sonification &&\n            chart.options.sonification.enabled === false) {\n            return '';\n        }\n        const buttonText = chart.langFormat('accessibility.sonification.playAsSoundButtonText', { chart: chart, chartTitle: InfoRegionsComponent_getChartTitle(chart) });\n        return '<button id=\"' + buttonId + '\">' + buttonText + '</button>';\n    }\n    /**\n     * @private\n     */\n    getSubtitleText() {\n        const subtitle = (this.chart.options.subtitle);\n        return InfoRegionsComponent_stripHTMLTagsFromString(subtitle && subtitle.text || '', this.chart.renderer.forExport);\n    }\n    /**\n     * @private\n     */\n    getEndOfChartMarkerText() {\n        const endMarkerId = `highcharts-end-of-chart-marker-${this.chart.index}`, endMarker = InfoRegionsComponent_getElement(endMarkerId);\n        if (endMarker) {\n            return endMarker.outerHTML;\n        }\n        const chart = this.chart, markerText = chart.langFormat('accessibility.screenReaderSection.endOfChartMarker', { chart: chart }), id = 'highcharts-end-of-chart-marker-' + chart.index;\n        return '<div id=\"' + id + '\">' + markerText + '</div>';\n    }\n    /**\n     * @private\n     * @param {Highcharts.Dictionary<string>} e\n     */\n    onDataTableCreated(e) {\n        const chart = this.chart;\n        if (chart.options.accessibility.enabled) {\n            if (this.viewDataTableButton) {\n                this.viewDataTableButton.setAttribute('aria-expanded', 'true');\n            }\n            const attributes = e.tree.attributes || {};\n            attributes.tabindex = -1;\n            attributes.summary = getTableSummary(chart);\n            e.tree.attributes = attributes;\n        }\n    }\n    /**\n     * @private\n     */\n    focusDataTable() {\n        const tableDiv = this.dataTableDiv, table = tableDiv && tableDiv.getElementsByTagName('table')[0];\n        if (table && table.focus) {\n            table.focus();\n        }\n    }\n    /**\n     * @private\n     * @param {string} sonifyButtonId\n     */\n    initSonifyButton(sonifyButtonId) {\n        const el = this.sonifyButton = InfoRegionsComponent_getElement(sonifyButtonId);\n        const chart = this.chart;\n        const defaultHandler = (e) => {\n            if (el) {\n                el.setAttribute('aria-hidden', 'true');\n                el.setAttribute('aria-label', '');\n            }\n            e.preventDefault();\n            e.stopPropagation();\n            const announceMsg = chart.langFormat('accessibility.sonification.playAsSoundClickAnnouncement', { chart: chart });\n            this.announcer.announce(announceMsg);\n            setTimeout(() => {\n                if (el) {\n                    el.removeAttribute('aria-hidden');\n                    el.removeAttribute('aria-label');\n                }\n                if (chart.sonify) {\n                    chart.sonify();\n                }\n            }, 1000); // Delay to let screen reader speak the button press\n        };\n        if (el && chart) {\n            el.setAttribute('tabindex', -1);\n            el.onclick = function (e) {\n                const onPlayAsSoundClick = (chart.options.accessibility &&\n                    chart.options.accessibility.screenReaderSection\n                        .onPlayAsSoundClick);\n                (onPlayAsSoundClick || defaultHandler).call(this, e, chart);\n            };\n        }\n    }\n    /**\n     * Set attribs and handlers for default viewAsDataTable button if exists.\n     * @private\n     * @param {string} tableButtonId\n     */\n    initDataTableButton(tableButtonId) {\n        const el = this.viewDataTableButton = InfoRegionsComponent_getElement(tableButtonId), chart = this.chart, tableId = tableButtonId.replace('hc-linkto-', '');\n        if (el) {\n            InfoRegionsComponent_attr(el, {\n                tabindex: -1,\n                'aria-expanded': !!InfoRegionsComponent_getElement(tableId)\n            });\n            el.onclick = chart.options.accessibility\n                .screenReaderSection.onViewDataTableClick ||\n                function () {\n                    chart.viewData();\n                };\n        }\n    }\n    /**\n     * Return object with text description of each of the chart's axes.\n     * @private\n     */\n    getAxesDescription() {\n        const chart = this.chart, shouldDescribeColl = function (collectionKey, defaultCondition) {\n            const axes = chart[collectionKey];\n            return axes.length > 1 || axes[0] &&\n                InfoRegionsComponent_pick(axes[0].options.accessibility &&\n                    axes[0].options.accessibility.enabled, defaultCondition);\n        }, hasNoMap = !!chart.types &&\n            chart.types.indexOf('map') < 0 &&\n            chart.types.indexOf('treemap') < 0 &&\n            chart.types.indexOf('tilemap') < 0, hasCartesian = !!chart.hasCartesianSeries, showXAxes = shouldDescribeColl('xAxis', !chart.angular && hasCartesian && hasNoMap), showYAxes = shouldDescribeColl('yAxis', hasCartesian && hasNoMap), desc = {};\n        if (showXAxes) {\n            desc.xAxis = this.getAxisDescriptionText('xAxis');\n        }\n        if (showYAxes) {\n            desc.yAxis = this.getAxisDescriptionText('yAxis');\n        }\n        return desc;\n    }\n    /**\n     * @private\n     */\n    getAxisDescriptionText(collectionKey) {\n        const chart = this.chart;\n        const axes = chart[collectionKey];\n        return chart.langFormat('accessibility.axis.' + collectionKey + 'Description' + (axes.length > 1 ? 'Plural' : 'Singular'), {\n            chart: chart,\n            names: axes.map(function (axis) {\n                return InfoRegionsComponent_getAxisDescription(axis);\n            }),\n            ranges: axes.map(function (axis) {\n                return InfoRegionsComponent_getAxisRangeDescription(axis);\n            }),\n            numAxes: axes.length\n        });\n    }\n    /**\n     * Remove component traces\n     */\n    destroy() {\n        if (this.announcer) {\n            this.announcer.destroy();\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Components_InfoRegionsComponent = (InfoRegionsComponent);\n\n;// ./code/es-modules/Accessibility/Components/MenuComponent.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility component for exporting menu.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { attr: MenuComponent_attr } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { getChartTitle: MenuComponent_getChartTitle, unhideChartElementFromAT: MenuComponent_unhideChartElementFromAT } = Utils_ChartUtilities;\n\nconst { getFakeMouseEvent: MenuComponent_getFakeMouseEvent } = Utils_HTMLUtilities;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Get the wrapped export button element of a chart.\n * @private\n */\nfunction getExportMenuButtonElement(chart) {\n    return chart.exportSVGElements && chart.exportSVGElements[0];\n}\n/**\n * @private\n */\nfunction exportingShouldHaveA11y(chart) {\n    const exportingOpts = chart.options.exporting, exportButton = getExportMenuButtonElement(chart);\n    return !!(exportingOpts &&\n        exportingOpts.enabled !== false &&\n        exportingOpts.accessibility &&\n        exportingOpts.accessibility.enabled &&\n        exportButton &&\n        exportButton.element);\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The MenuComponent class\n *\n * @private\n * @class\n * @name Highcharts.MenuComponent\n */\nclass MenuComponent extends Accessibility_AccessibilityComponent {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Init the component\n     */\n    init() {\n        const chart = this.chart, component = this;\n        this.addEvent(chart, 'exportMenuShown', function () {\n            component.onMenuShown();\n        });\n        this.addEvent(chart, 'exportMenuHidden', function () {\n            component.onMenuHidden();\n        });\n        this.createProxyGroup();\n    }\n    /**\n     * @private\n     */\n    onMenuHidden() {\n        const menu = this.chart.exportContextMenu;\n        if (menu) {\n            menu.setAttribute('aria-hidden', 'true');\n        }\n        this.setExportButtonExpandedState('false');\n    }\n    /**\n     * @private\n     */\n    onMenuShown() {\n        const chart = this.chart, menu = chart.exportContextMenu;\n        if (menu) {\n            this.addAccessibleContextMenuAttribs();\n            MenuComponent_unhideChartElementFromAT(chart, menu);\n        }\n        this.setExportButtonExpandedState('true');\n    }\n    /**\n     * @private\n     * @param {string} stateStr\n     */\n    setExportButtonExpandedState(stateStr) {\n        if (this.exportButtonProxy) {\n            this.exportButtonProxy.innerElement.setAttribute('aria-expanded', stateStr);\n        }\n    }\n    /**\n     * Called on each render of the chart. We need to update positioning of the\n     * proxy overlay.\n     */\n    onChartRender() {\n        const chart = this.chart, focusEl = chart.focusElement, a11y = chart.accessibility;\n        this.proxyProvider.clearGroup('chartMenu');\n        this.proxyMenuButton();\n        if (this.exportButtonProxy &&\n            focusEl &&\n            focusEl === chart.exportingGroup) {\n            if (focusEl.focusBorder) {\n                chart.setFocusToElement(focusEl, this.exportButtonProxy.innerElement);\n            }\n            else if (a11y) {\n                a11y.keyboardNavigation.tabindexContainer.focus();\n            }\n        }\n    }\n    /**\n     * @private\n     */\n    proxyMenuButton() {\n        const chart = this.chart;\n        const proxyProvider = this.proxyProvider;\n        const buttonEl = getExportMenuButtonElement(chart);\n        if (exportingShouldHaveA11y(chart) && buttonEl) {\n            this.exportButtonProxy = proxyProvider.addProxyElement('chartMenu', { click: buttonEl }, 'button', {\n                'aria-label': chart.langFormat('accessibility.exporting.menuButtonLabel', {\n                    chart: chart,\n                    chartTitle: MenuComponent_getChartTitle(chart)\n                }),\n                'aria-expanded': false,\n                title: chart.options.lang.contextButtonTitle || null\n            });\n        }\n    }\n    /**\n     * @private\n     */\n    createProxyGroup() {\n        const chart = this.chart;\n        if (chart && this.proxyProvider) {\n            this.proxyProvider.addGroup('chartMenu');\n        }\n    }\n    /**\n     * @private\n     */\n    addAccessibleContextMenuAttribs() {\n        const chart = this.chart, exportList = chart.exportDivElements;\n        if (exportList && exportList.length) {\n            // Set tabindex on the menu items to allow focusing by script\n            // Set role to give screen readers a chance to pick up the contents\n            exportList.forEach((item) => {\n                if (item) {\n                    if (item.tagName === 'LI' &&\n                        !(item.children && item.children.length)) {\n                        item.setAttribute('tabindex', -1);\n                    }\n                    else {\n                        item.setAttribute('aria-hidden', 'true');\n                    }\n                }\n            });\n            // Set accessibility properties on parent div\n            const parentDiv = (exportList[0] && exportList[0].parentNode);\n            if (parentDiv) {\n                MenuComponent_attr(parentDiv, {\n                    'aria-hidden': void 0,\n                    'aria-label': chart.langFormat('accessibility.exporting.chartMenuLabel', { chart }),\n                    role: 'list' // Needed for webkit/VO\n                });\n            }\n        }\n    }\n    /**\n     * Get keyboard navigation handler for this component.\n     * @private\n     */\n    getKeyboardNavigation() {\n        const keys = this.keyCodes, chart = this.chart, component = this;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [\n                // Arrow prev handler\n                [\n                    [keys.left, keys.up],\n                    function () {\n                        return component.onKbdPrevious(this);\n                    }\n                ],\n                // Arrow next handler\n                [\n                    [keys.right, keys.down],\n                    function () {\n                        return component.onKbdNext(this);\n                    }\n                ],\n                // Click handler\n                [\n                    [keys.enter, keys.space],\n                    function () {\n                        return component.onKbdClick(this);\n                    }\n                ]\n            ],\n            // Only run exporting navigation if exporting support exists and is\n            // enabled on chart\n            validate: function () {\n                return !!chart.exporting &&\n                    chart.options.exporting.enabled !== false &&\n                    chart.options.exporting.accessibility.enabled !==\n                        false;\n            },\n            // Focus export menu button\n            init: function () {\n                const proxy = component.exportButtonProxy;\n                const svgEl = component.chart.exportingGroup;\n                if (proxy && svgEl) {\n                    chart.setFocusToElement(svgEl, proxy.innerElement);\n                }\n            },\n            // Hide the menu\n            terminate: function () {\n                chart.hideExportMenu();\n            }\n        });\n    }\n    /**\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler\n     * @return {number} Response code\n     */\n    onKbdPrevious(keyboardNavigationHandler) {\n        const chart = this.chart;\n        const a11yOptions = chart.options.accessibility;\n        const response = keyboardNavigationHandler.response;\n        // Try to highlight prev item in list. Highlighting e.g.\n        // separators will fail.\n        let i = chart.highlightedExportItemIx || 0;\n        while (i--) {\n            if (chart.highlightExportItem(i)) {\n                return response.success;\n            }\n        }\n        // We failed, so wrap around or move to prev module\n        if (a11yOptions.keyboardNavigation.wrapAround) {\n            chart.highlightLastExportItem();\n            return response.success;\n        }\n        return response.prev;\n    }\n    /**\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler\n     * @return {number} Response code\n     */\n    onKbdNext(keyboardNavigationHandler) {\n        const chart = this.chart;\n        const a11yOptions = chart.options.accessibility;\n        const response = keyboardNavigationHandler.response;\n        // Try to highlight next item in list. Highlighting e.g.\n        // separators will fail.\n        for (let i = (chart.highlightedExportItemIx || 0) + 1; i < chart.exportDivElements.length; ++i) {\n            if (chart.highlightExportItem(i)) {\n                return response.success;\n            }\n        }\n        // We failed, so wrap around or move to next module\n        if (a11yOptions.keyboardNavigation.wrapAround) {\n            chart.highlightExportItem(0);\n            return response.success;\n        }\n        return response.next;\n    }\n    /**\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler\n     * @return {number} Response code\n     */\n    onKbdClick(keyboardNavigationHandler) {\n        const chart = this.chart;\n        const curHighlightedItem = chart.exportDivElements[chart.highlightedExportItemIx];\n        const exportButtonElement = getExportMenuButtonElement(chart).element;\n        if (chart.openMenu) {\n            this.fakeClickEvent(curHighlightedItem);\n        }\n        else {\n            this.fakeClickEvent(exportButtonElement);\n            chart.highlightExportItem(0);\n        }\n        return keyboardNavigationHandler.response.success;\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (MenuComponent) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ChartClass) {\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.hideExportMenu) {\n            chartProto.hideExportMenu = chartHideExportMenu;\n            chartProto.highlightExportItem = chartHighlightExportItem;\n            chartProto.highlightLastExportItem = chartHighlightLastExportItem;\n            chartProto.showExportMenu = chartShowExportMenu;\n        }\n    }\n    MenuComponent.compose = compose;\n    /**\n     * Show the export menu and focus the first item (if exists).\n     *\n     * @private\n     * @function Highcharts.Chart#showExportMenu\n     */\n    function chartShowExportMenu() {\n        const exportButton = getExportMenuButtonElement(this);\n        if (exportButton) {\n            const el = exportButton.element;\n            if (el.onclick) {\n                el.onclick(MenuComponent_getFakeMouseEvent('click'));\n            }\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Chart#hideExportMenu\n     */\n    function chartHideExportMenu() {\n        const chart = this, exportList = chart.exportDivElements;\n        if (exportList && chart.exportContextMenu && chart.openMenu) {\n            // Reset hover states etc.\n            exportList.forEach((el) => {\n                if (el &&\n                    el.className === 'highcharts-menu-item' &&\n                    el.onmouseout) {\n                    el.onmouseout(MenuComponent_getFakeMouseEvent('mouseout'));\n                }\n            });\n            chart.highlightedExportItemIx = 0;\n            // Hide the menu div\n            chart.exportContextMenu.hideMenu();\n            // Make sure the chart has focus and can capture keyboard events\n            chart.container.focus();\n        }\n    }\n    /**\n     * Highlight export menu item by index.\n     *\n     * @private\n     * @function Highcharts.Chart#highlightExportItem\n     */\n    function chartHighlightExportItem(ix) {\n        const listItem = this.exportDivElements && this.exportDivElements[ix];\n        const curHighlighted = this.exportDivElements &&\n            this.exportDivElements[this.highlightedExportItemIx];\n        if (listItem &&\n            listItem.tagName === 'LI' &&\n            !(listItem.children && listItem.children.length)) {\n            // Test if we have focus support for SVG elements\n            const hasSVGFocusSupport = !!(this.renderTo.getElementsByTagName('g')[0] || {}).focus;\n            // Only focus if we can set focus back to the elements after\n            // destroying the menu (#7422)\n            if (listItem.focus && hasSVGFocusSupport) {\n                listItem.focus();\n            }\n            if (curHighlighted && curHighlighted.onmouseout) {\n                curHighlighted.onmouseout(MenuComponent_getFakeMouseEvent('mouseout'));\n            }\n            if (listItem.onmouseover) {\n                listItem.onmouseover(MenuComponent_getFakeMouseEvent('mouseover'));\n            }\n            this.highlightedExportItemIx = ix;\n            return true;\n        }\n        return false;\n    }\n    /**\n     * Try to highlight the last valid export menu item.\n     *\n     * @private\n     * @function Highcharts.Chart#highlightLastExportItem\n     */\n    function chartHighlightLastExportItem() {\n        const chart = this;\n        if (chart.exportDivElements) {\n            let i = chart.exportDivElements.length;\n            while (i--) {\n                if (chart.highlightExportItem(i)) {\n                    return true;\n                }\n            }\n        }\n        return false;\n    }\n})(MenuComponent || (MenuComponent = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Components_MenuComponent = (MenuComponent);\n\n;// ./code/es-modules/Accessibility/KeyboardNavigation.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Main keyboard navigation handling.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc: KeyboardNavigation_doc, win: KeyboardNavigation_win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { addEvent: KeyboardNavigation_addEvent, defined: KeyboardNavigation_defined, fireEvent: KeyboardNavigation_fireEvent } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { getElement: KeyboardNavigation_getElement, simulatedEventTarget: KeyboardNavigation_simulatedEventTarget } = Utils_HTMLUtilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * The KeyboardNavigation class, containing the overall keyboard navigation\n * logic for the chart.\n *\n * @requires modules/accessibility\n *\n * @private\n * @class\n * @param {Highcharts.Chart} chart\n *        Chart object\n * @param {Object} components\n *        Map of component names to AccessibilityComponent objects.\n * @name Highcharts.KeyboardNavigation\n */\nclass KeyboardNavigation {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart, components) {\n        this.currentModuleIx = NaN;\n        this.modules = [];\n        this.init(chart, components);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initialize the class\n     * @private\n     * @param {Highcharts.Chart} chart\n     *        Chart object\n     * @param {Object} components\n     *        Map of component names to AccessibilityComponent objects.\n     */\n    init(chart, components) {\n        const ep = this.eventProvider = new Utils_EventProvider();\n        this.chart = chart;\n        this.components = components;\n        this.modules = [];\n        this.currentModuleIx = 0;\n        this.update();\n        ep.addEvent(this.tabindexContainer, 'keydown', (e) => this.onKeydown(e));\n        ep.addEvent(this.tabindexContainer, 'focus', (e) => this.onFocus(e));\n        ['mouseup', 'touchend'].forEach((eventName) => ep.addEvent(KeyboardNavigation_doc, eventName, (e) => this.onMouseUp(e)));\n        ['mousedown', 'touchstart'].forEach((eventName) => ep.addEvent(chart.renderTo, eventName, () => {\n            this.isClickingChart = true;\n        }));\n    }\n    /**\n     * Update the modules for the keyboard navigation.\n     * @param {Array<string>} [order]\n     *        Array specifying the tab order of the components.\n     */\n    update(order) {\n        const a11yOptions = this.chart.options.accessibility, keyboardOptions = a11yOptions && a11yOptions.keyboardNavigation, components = this.components;\n        this.updateContainerTabindex();\n        if (keyboardOptions &&\n            keyboardOptions.enabled &&\n            order &&\n            order.length) {\n            // We (still) have keyboard navigation. Update module list\n            this.modules = order.reduce(function (modules, componentName) {\n                const navModules = components[componentName]\n                    .getKeyboardNavigation();\n                return modules.concat(navModules);\n            }, []);\n            this.updateExitAnchor();\n        }\n        else {\n            this.modules = [];\n            this.currentModuleIx = 0;\n            this.removeExitAnchor();\n        }\n    }\n    /**\n     * We use an exit anchor to move focus out of chart whenever we want, by\n     * setting focus to this div and not preventing the default tab action. We\n     * also use this when users come back into the chart by tabbing back, in\n     * order to navigate from the end of the chart.\n     * @private\n     */\n    updateExitAnchor() {\n        const endMarkerId = `highcharts-end-of-chart-marker-${this.chart.index}`, endMarker = KeyboardNavigation_getElement(endMarkerId);\n        this.removeExitAnchor();\n        if (endMarker) {\n            this.makeElementAnExitAnchor(endMarker);\n            this.exitAnchor = endMarker;\n        }\n        else {\n            this.createExitAnchor();\n        }\n    }\n    /**\n     * Move to prev/next module.\n     * @private\n     * @param {number} direction\n     * Direction to move. +1 for next, -1 for prev.\n     * @return {boolean}\n     * True if there was a valid module in direction.\n     */\n    move(direction) {\n        const curModule = this.modules && this.modules[this.currentModuleIx];\n        if (curModule && curModule.terminate) {\n            curModule.terminate(direction);\n        }\n        // Remove existing focus border if any\n        if (this.chart.focusElement) {\n            this.chart.focusElement.removeFocusBorder();\n        }\n        this.currentModuleIx += direction;\n        const newModule = this.modules && this.modules[this.currentModuleIx];\n        if (newModule) {\n            if (newModule.validate && !newModule.validate()) {\n                return this.move(direction); // Invalid module, recurse\n            }\n            if (newModule.init) {\n                newModule.init(direction); // Valid module, init it\n                return true;\n            }\n        }\n        // No module\n        this.currentModuleIx = 0; // Reset counter\n        // Set focus to chart or exit anchor depending on direction\n        this.exiting = true;\n        if (direction > 0) {\n            this.exitAnchor && this.exitAnchor.focus();\n        }\n        else {\n            this.tabindexContainer.focus();\n        }\n        return false;\n    }\n    /**\n     * Function to run on container focus\n     * @private\n     * @param {global.FocusEvent} e Browser focus event.\n     */\n    onFocus(e) {\n        const chart = this.chart, focusComesFromChart = (e.relatedTarget &&\n            chart.container.contains(e.relatedTarget)), a11yOptions = chart.options.accessibility, keyboardOptions = a11yOptions && a11yOptions.keyboardNavigation, enabled = keyboardOptions && keyboardOptions.enabled;\n        // Init keyboard nav if tabbing into chart\n        if (enabled &&\n            !this.exiting &&\n            !this.tabbingInBackwards &&\n            !this.isClickingChart &&\n            !focusComesFromChart) {\n            const ix = this.getFirstValidModuleIx();\n            if (ix !== null) {\n                this.currentModuleIx = ix;\n                this.modules[ix].init(1);\n            }\n        }\n        this.keyboardReset = false;\n        this.exiting = false;\n    }\n    /**\n     * Reset chart navigation state if we mouse click and it's not already\n     * reset. Reset fully if outside the chart, otherwise just hide focus\n     * indicator.\n     * @private\n     */\n    onMouseUp(e) {\n        delete this.isClickingChart;\n        if (!this.keyboardReset &&\n            e.relatedTarget !== KeyboardNavigation_simulatedEventTarget) {\n            const chart = this.chart;\n            if (!e.target ||\n                !chart.container.contains(e.target)) {\n                const curMod = this.modules &&\n                    this.modules[this.currentModuleIx || 0];\n                if (curMod && curMod.terminate) {\n                    curMod.terminate();\n                }\n                this.currentModuleIx = 0;\n            }\n            if (chart.focusElement) {\n                chart.focusElement.removeFocusBorder();\n                delete chart.focusElement;\n            }\n            this.keyboardReset = true;\n        }\n    }\n    /**\n     * Function to run on keydown\n     * @private\n     * @param {global.KeyboardEvent} ev Browser keydown event.\n     */\n    onKeydown(ev) {\n        const e = ev || KeyboardNavigation_win.event, curNavModule = (this.modules &&\n            this.modules.length &&\n            this.modules[this.currentModuleIx]);\n        let preventDefault;\n        const target = e.target;\n        if (target &&\n            target.nodeName === 'INPUT' &&\n            !target.classList.contains('highcharts-a11y-proxy-element')) {\n            return;\n        }\n        // Used for resetting nav state when clicking outside chart\n        this.keyboardReset = false;\n        // Used for sending focus out of the chart by the modules.\n        this.exiting = false;\n        // If there is a nav module for the current index, run it.\n        // Otherwise, we are outside of the chart in some direction.\n        if (curNavModule) {\n            const response = curNavModule.run(e);\n            if (response === curNavModule.response.success) {\n                preventDefault = true;\n            }\n            else if (response === curNavModule.response.prev) {\n                preventDefault = this.move(-1);\n            }\n            else if (response === curNavModule.response.next) {\n                preventDefault = this.move(1);\n            }\n            if (preventDefault) {\n                e.preventDefault();\n                e.stopPropagation();\n            }\n        }\n    }\n    /**\n     * Chart container should have tabindex if navigation is enabled.\n     * @private\n     */\n    updateContainerTabindex() {\n        const a11yOptions = this.chart.options.accessibility, keyboardOptions = a11yOptions && a11yOptions.keyboardNavigation, shouldHaveTabindex = !(keyboardOptions && keyboardOptions.enabled === false), chart = this.chart, container = chart.container;\n        let tabindexContainer;\n        if (chart.renderTo.hasAttribute('tabindex')) {\n            container.removeAttribute('tabindex');\n            tabindexContainer = chart.renderTo;\n        }\n        else {\n            tabindexContainer = container;\n        }\n        this.tabindexContainer = tabindexContainer;\n        const curTabindex = tabindexContainer.getAttribute('tabindex');\n        if (shouldHaveTabindex && !curTabindex) {\n            tabindexContainer.setAttribute('tabindex', '0');\n        }\n        else if (!shouldHaveTabindex) {\n            chart.container.removeAttribute('tabindex');\n        }\n    }\n    /**\n     * Add new exit anchor to the chart.\n     * @private\n     */\n    createExitAnchor() {\n        const chart = this.chart, exitAnchor = this.exitAnchor = KeyboardNavigation_doc.createElement('div');\n        chart.renderTo.appendChild(exitAnchor);\n        this.makeElementAnExitAnchor(exitAnchor);\n    }\n    /**\n     * Add attributes and events to an element to make it function as an\n     * exit anchor.\n     * @private\n     */\n    makeElementAnExitAnchor(el) {\n        const chartTabindex = this.tabindexContainer.getAttribute('tabindex') || 0;\n        el.setAttribute('class', 'highcharts-exit-anchor');\n        el.setAttribute('tabindex', chartTabindex);\n        el.setAttribute('aria-hidden', false);\n        // Handle focus\n        this.addExitAnchorEventsToEl(el);\n    }\n    /**\n     * Destroy the exit anchor and remove from DOM.\n     * @private\n     */\n    removeExitAnchor() {\n        // Remove event from element and from eventRemovers array to prevent\n        // memory leak (#20329).\n        if (this.exitAnchor) {\n            const el = this.eventProvider.eventRemovers.find((el) => el.element === this.exitAnchor);\n            if (el && KeyboardNavigation_defined(el.remover)) {\n                this.eventProvider.removeEvent(el.remover);\n            }\n            if (this.exitAnchor.parentNode) {\n                this.exitAnchor.parentNode.removeChild(this.exitAnchor);\n            }\n            delete this.exitAnchor;\n        }\n    }\n    /**\n     * Add focus handler to exit anchor element.\n     * @private\n     */\n    addExitAnchorEventsToEl(element) {\n        const chart = this.chart, keyboardNavigation = this;\n        this.eventProvider.addEvent(element, 'focus', function (ev) {\n            const e = ev || KeyboardNavigation_win.event, focusComesFromChart = (e.relatedTarget &&\n                chart.container.contains(e.relatedTarget)), comingInBackwards = !(focusComesFromChart || keyboardNavigation.exiting);\n            if (chart.focusElement) {\n                delete chart.focusElement;\n            }\n            if (comingInBackwards) {\n                // Focus the container instead\n                keyboardNavigation.tabbingInBackwards = true;\n                keyboardNavigation.tabindexContainer.focus();\n                delete keyboardNavigation.tabbingInBackwards;\n                e.preventDefault();\n                // Move to last valid keyboard nav module\n                // Note the we don't run it, just set the index\n                if (keyboardNavigation.modules &&\n                    keyboardNavigation.modules.length) {\n                    keyboardNavigation.currentModuleIx =\n                        keyboardNavigation.modules.length - 1;\n                    const curModule = keyboardNavigation.modules[keyboardNavigation.currentModuleIx];\n                    // Validate the module\n                    if (curModule &&\n                        curModule.validate && !curModule.validate()) {\n                        // Invalid.\n                        // Try moving backwards to find next valid.\n                        keyboardNavigation.move(-1);\n                    }\n                    else if (curModule) {\n                        // We have a valid module, init it\n                        curModule.init(-1);\n                    }\n                }\n            }\n            else {\n                // Don't skip the next focus, we only skip once.\n                keyboardNavigation.exiting = false;\n            }\n        });\n    }\n    /**\n     * Get the ix of the first module that either does not require validation or\n     * validates positively.\n     * @private\n     */\n    getFirstValidModuleIx() {\n        const len = this.modules.length;\n        for (let i = 0; i < len; ++i) {\n            const mod = this.modules[i];\n            if (!mod.validate || mod.validate()) {\n                return i;\n            }\n        }\n        return null;\n    }\n    /**\n     * Remove all traces of keyboard navigation.\n     * @private\n     */\n    destroy() {\n        this.removeExitAnchor();\n        this.eventProvider.removeAddedEvents();\n        this.chart.container.removeAttribute('tabindex');\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (KeyboardNavigation) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Composition function.\n     * @private\n     */\n    function compose(ChartClass) {\n        Components_MenuComponent.compose(ChartClass);\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.dismissPopupContent) {\n            chartProto.dismissPopupContent = chartDismissPopupContent;\n            KeyboardNavigation_addEvent(KeyboardNavigation_doc, 'keydown', documentOnKeydown);\n        }\n        return ChartClass;\n    }\n    KeyboardNavigation.compose = compose;\n    /**\n     * Dismiss popup content in chart, including export menu and tooltip.\n     * @private\n     */\n    function chartDismissPopupContent() {\n        const chart = this;\n        KeyboardNavigation_fireEvent(this, 'dismissPopupContent', {}, function () {\n            if (chart.tooltip) {\n                chart.tooltip.hide(0);\n            }\n            chart.hideExportMenu();\n        });\n    }\n    /**\n     * Add event listener to document to detect ESC key press and dismiss\n     * hover/popup content.\n     * @private\n     */\n    function documentOnKeydown(e) {\n        const keycode = e.which || e.keyCode;\n        const esc = 27;\n        if (keycode === esc && (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).charts) {\n            highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().charts.forEach((chart) => {\n                if (chart && chart.dismissPopupContent) {\n                    chart.dismissPopupContent();\n                }\n            });\n        }\n    }\n})(KeyboardNavigation || (KeyboardNavigation = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Accessibility_KeyboardNavigation = (KeyboardNavigation);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Legend\"],\"commonjs\":[\"highcharts\",\"Legend\"],\"commonjs2\":[\"highcharts\",\"Legend\"],\"root\":[\"Highcharts\",\"Legend\"]}\nvar highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_root_Highcharts_Legend_ = __webpack_require__(632);\nvar highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_root_Highcharts_Legend_default = /*#__PURE__*/__webpack_require__.n(highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_root_Highcharts_Legend_);\n;// ./code/es-modules/Accessibility/Components/LegendComponent.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility component for chart legend.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { doc: LegendComponent_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { addEvent: LegendComponent_addEvent, fireEvent: LegendComponent_fireEvent, isNumber, pick: LegendComponent_pick, syncTimeout } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { getChartTitle: LegendComponent_getChartTitle } = Utils_ChartUtilities;\n\nconst { stripHTMLTagsFromString: LegendComponent_stripHTMLTags, addClass: LegendComponent_addClass, removeClass: LegendComponent_removeClass } = Utils_HTMLUtilities;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction scrollLegendToItem(legend, itemIx) {\n    const itemPage = (legend.allItems[itemIx].legendItem || {}).pageIx, curPage = legend.currentPage;\n    if (typeof itemPage !== 'undefined' && itemPage + 1 !== curPage) {\n        legend.scroll(1 + itemPage - curPage);\n    }\n}\n/**\n * @private\n */\nfunction shouldDoLegendA11y(chart) {\n    const items = chart.legend && chart.legend.allItems, legendA11yOptions = (chart.options.legend.accessibility || {}), unsupportedColorAxis = chart.colorAxis && chart.colorAxis.some((c) => !c.dataClasses || !c.dataClasses.length);\n    return !!(items && items.length &&\n        !unsupportedColorAxis &&\n        legendA11yOptions.enabled !== false);\n}\n/**\n * @private\n */\nfunction setLegendItemHoverState(hoverActive, item) {\n    const legendItem = item.legendItem || {};\n    item.setState(hoverActive ? 'hover' : '', true);\n    for (const key of ['group', 'label', 'symbol']) {\n        const svgElement = legendItem[key];\n        const element = svgElement && svgElement.element || svgElement;\n        if (element) {\n            LegendComponent_fireEvent(element, hoverActive ? 'mouseover' : 'mouseout');\n        }\n    }\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The LegendComponent class\n *\n * @private\n * @class\n * @name Highcharts.LegendComponent\n */\nclass LegendComponent extends Accessibility_AccessibilityComponent {\n    constructor() {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        super(...arguments);\n        this.highlightedLegendItemIx = NaN;\n        this.proxyGroup = null;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Init the component\n     * @private\n     */\n    init() {\n        const component = this;\n        this.recreateProxies();\n        // Note: Chart could create legend dynamically, so events cannot be\n        // tied to the component's chart's current legend.\n        // @todo 1. attach component to created legends\n        // @todo 2. move listeners to composition and access `this.component`\n        this.addEvent((highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_root_Highcharts_Legend_default()), 'afterScroll', function () {\n            if (this.chart === component.chart) {\n                component.proxyProvider.updateGroupProxyElementPositions('legend');\n                component.updateLegendItemProxyVisibility();\n                if (component.highlightedLegendItemIx > -1) {\n                    this.chart.highlightLegendItem(component.highlightedLegendItemIx);\n                }\n            }\n        });\n        this.addEvent((highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_root_Highcharts_Legend_default()), 'afterPositionItem', function (e) {\n            if (this.chart === component.chart && this.chart.renderer) {\n                component.updateProxyPositionForItem(e.item);\n            }\n        });\n        this.addEvent((highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_root_Highcharts_Legend_default()), 'afterRender', function () {\n            if (this.chart === component.chart &&\n                this.chart.renderer &&\n                component.recreateProxies()) {\n                syncTimeout(() => component.proxyProvider\n                    .updateGroupProxyElementPositions('legend'), animObject(LegendComponent_pick(this.chart.renderer.globalAnimation, true)).duration);\n            }\n        });\n    }\n    /**\n     * Update visibility of legend items when using paged legend\n     * @private\n     */\n    updateLegendItemProxyVisibility() {\n        const chart = this.chart;\n        const legend = chart.legend;\n        const items = legend.allItems || [];\n        const curPage = legend.currentPage || 1;\n        const clipHeight = legend.clipHeight || 0;\n        let legendItem;\n        items.forEach((item) => {\n            if (item.a11yProxyElement) {\n                const hasPages = legend.pages && legend.pages.length;\n                const proxyEl = item.a11yProxyElement.element;\n                let hide = false;\n                legendItem = item.legendItem || {};\n                if (hasPages) {\n                    const itemPage = legendItem.pageIx || 0;\n                    const y = legendItem.y || 0;\n                    const h = legendItem.label ?\n                        Math.round(legendItem.label.getBBox().height) :\n                        0;\n                    hide = y + h - legend.pages[itemPage] > clipHeight ||\n                        itemPage !== curPage - 1;\n                }\n                if (hide) {\n                    if (chart.styledMode) {\n                        LegendComponent_addClass(proxyEl, 'highcharts-a11y-invisible');\n                    }\n                    else {\n                        proxyEl.style.visibility = 'hidden';\n                    }\n                }\n                else {\n                    LegendComponent_removeClass(proxyEl, 'highcharts-a11y-invisible');\n                    proxyEl.style.visibility = '';\n                }\n            }\n        });\n    }\n    /**\n     * @private\n     */\n    onChartRender() {\n        if (!shouldDoLegendA11y(this.chart)) {\n            this.removeProxies();\n        }\n    }\n    /**\n     * @private\n     */\n    highlightAdjacentLegendPage(direction) {\n        const chart = this.chart;\n        const legend = chart.legend;\n        const curPageIx = legend.currentPage || 1;\n        const newPageIx = curPageIx + direction;\n        const pages = legend.pages || [];\n        if (newPageIx > 0 && newPageIx <= pages.length) {\n            let i = 0, res;\n            for (const item of legend.allItems) {\n                if (((item.legendItem || {}).pageIx || 0) + 1 === newPageIx) {\n                    res = chart.highlightLegendItem(i);\n                    if (res) {\n                        this.highlightedLegendItemIx = i;\n                    }\n                }\n                ++i;\n            }\n        }\n    }\n    /**\n     * @private\n     */\n    updateProxyPositionForItem(item) {\n        if (item.a11yProxyElement) {\n            item.a11yProxyElement.refreshPosition();\n        }\n    }\n    /**\n     * Returns false if legend a11y is disabled and proxies were not created,\n     * true otherwise.\n     * @private\n     */\n    recreateProxies() {\n        const focusedElement = LegendComponent_doc.activeElement;\n        const proxyGroup = this.proxyGroup;\n        const shouldRestoreFocus = focusedElement && proxyGroup &&\n            proxyGroup.contains(focusedElement);\n        this.removeProxies();\n        if (shouldDoLegendA11y(this.chart)) {\n            this.addLegendProxyGroup();\n            this.proxyLegendItems();\n            this.updateLegendItemProxyVisibility();\n            this.updateLegendTitle();\n            if (shouldRestoreFocus) {\n                this.chart.highlightLegendItem(this.highlightedLegendItemIx);\n            }\n            return true;\n        }\n        return false;\n    }\n    /**\n     * @private\n     */\n    removeProxies() {\n        this.proxyProvider.removeGroup('legend');\n    }\n    /**\n     * @private\n     */\n    updateLegendTitle() {\n        const chart = this.chart;\n        const legendTitle = LegendComponent_stripHTMLTags((chart.legend &&\n            chart.legend.options.title &&\n            chart.legend.options.title.text ||\n            '').replace(/<br ?\\/?>/g, ' '), chart.renderer.forExport);\n        const legendLabel = chart.langFormat('accessibility.legend.legendLabel' + (legendTitle ? '' : 'NoTitle'), {\n            chart,\n            legendTitle,\n            chartTitle: LegendComponent_getChartTitle(chart)\n        });\n        this.proxyProvider.updateGroupAttrs('legend', {\n            'aria-label': legendLabel\n        });\n    }\n    /**\n     * @private\n     */\n    addLegendProxyGroup() {\n        const a11yOptions = this.chart.options.accessibility;\n        const groupRole = a11yOptions.landmarkVerbosity === 'all' ?\n            'region' : null;\n        this.proxyGroup = this.proxyProvider.addGroup('legend', 'ul', {\n            // Filled by updateLegendTitle, to keep up to date without\n            // recreating group\n            'aria-label': '_placeholder_',\n            role: groupRole\n        });\n    }\n    /**\n     * @private\n     */\n    proxyLegendItems() {\n        const component = this, items = (this.chart.legend || {}).allItems || [];\n        let legendItem;\n        items.forEach((item) => {\n            legendItem = item.legendItem || {};\n            if (legendItem.label && legendItem.label.element) {\n                component.proxyLegendItem(item);\n            }\n        });\n    }\n    /**\n     * @private\n     * @param {Highcharts.BubbleLegendItem|Point|Highcharts.Series} item\n     */\n    proxyLegendItem(item) {\n        const legendItem = item.legendItem || {};\n        if (!legendItem.label || !legendItem.group) {\n            return;\n        }\n        const itemLabel = this.chart.langFormat('accessibility.legend.legendItem', {\n            chart: this.chart,\n            itemName: LegendComponent_stripHTMLTags(item.name, this.chart.renderer.forExport),\n            item\n        });\n        const attribs = {\n            tabindex: -1,\n            'aria-pressed': item.visible,\n            'aria-label': itemLabel\n        };\n        // Considers useHTML\n        const proxyPositioningElement = legendItem.group.div ?\n            legendItem.label :\n            legendItem.group;\n        item.a11yProxyElement = this.proxyProvider.addProxyElement('legend', {\n            click: legendItem.label,\n            visual: proxyPositioningElement.element\n        }, 'button', attribs);\n    }\n    /**\n     * Get keyboard navigation handler for this component.\n     * @private\n     */\n    getKeyboardNavigation() {\n        const keys = this.keyCodes, component = this, chart = this.chart;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [\n                [\n                    [keys.left, keys.right, keys.up, keys.down],\n                    function (keyCode) {\n                        return component.onKbdArrowKey(this, keyCode);\n                    }\n                ],\n                [\n                    [keys.enter, keys.space],\n                    function () {\n                        return component.onKbdClick(this);\n                    }\n                ],\n                [\n                    [keys.pageDown, keys.pageUp],\n                    function (keyCode) {\n                        const direction = keyCode === keys.pageDown ? 1 : -1;\n                        component.highlightAdjacentLegendPage(direction);\n                        return this.response.success;\n                    }\n                ]\n            ],\n            validate: function () {\n                return component.shouldHaveLegendNavigation();\n            },\n            init: function () {\n                chart.highlightLegendItem(0);\n                component.highlightedLegendItemIx = 0;\n            },\n            terminate: function () {\n                component.highlightedLegendItemIx = -1;\n                chart.legend.allItems.forEach((item) => setLegendItemHoverState(false, item));\n            }\n        });\n    }\n    /**\n     * Arrow key navigation\n     * @private\n     */\n    onKbdArrowKey(keyboardNavigationHandler, key) {\n        const { keyCodes: { left, up }, highlightedLegendItemIx, chart } = this, numItems = chart.legend.allItems.length, wrapAround = chart.options.accessibility\n            .keyboardNavigation.wrapAround, direction = (key === left || key === up) ? -1 : 1, res = chart.highlightLegendItem(highlightedLegendItemIx + direction);\n        if (res) {\n            this.highlightedLegendItemIx += direction;\n        }\n        else if (wrapAround && numItems > 1) {\n            this.highlightedLegendItemIx = direction > 0 ?\n                0 : numItems - 1;\n            chart.highlightLegendItem(this.highlightedLegendItemIx);\n        }\n        return keyboardNavigationHandler.response.success;\n    }\n    /**\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler\n     * @return {number} Response code\n     */\n    onKbdClick(keyboardNavigationHandler) {\n        const legendItem = this.chart.legend.allItems[this.highlightedLegendItemIx];\n        if (legendItem && legendItem.a11yProxyElement) {\n            legendItem.a11yProxyElement.click();\n        }\n        return keyboardNavigationHandler.response.success;\n    }\n    /**\n     * @private\n     */\n    shouldHaveLegendNavigation() {\n        if (!shouldDoLegendA11y(this.chart)) {\n            return false;\n        }\n        const chart = this.chart, legendOptions = chart.options.legend || {}, legendA11yOptions = (legendOptions.accessibility || {});\n        return !!(chart.legend.display &&\n            legendA11yOptions.keyboardNavigation &&\n            legendA11yOptions.keyboardNavigation.enabled);\n    }\n    /**\n     * Clean up\n     * @private\n     */\n    destroy() {\n        this.removeProxies();\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (LegendComponent) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Highlight legend item by index.\n     * @private\n     */\n    function chartHighlightLegendItem(ix) {\n        const items = this.legend.allItems;\n        const oldIx = this.accessibility &&\n            this.accessibility.components.legend.highlightedLegendItemIx;\n        const itemToHighlight = items[ix], legendItem = itemToHighlight?.legendItem || {};\n        if (itemToHighlight) {\n            if (isNumber(oldIx) && items[oldIx]) {\n                setLegendItemHoverState(false, items[oldIx]);\n            }\n            scrollLegendToItem(this.legend, ix);\n            const legendItemProp = legendItem.label;\n            const proxyBtn = itemToHighlight.a11yProxyElement &&\n                itemToHighlight.a11yProxyElement.innerElement;\n            if (legendItemProp && legendItemProp.element && proxyBtn) {\n                this.setFocusToElement(legendItemProp, proxyBtn);\n            }\n            setLegendItemHoverState(true, itemToHighlight);\n            return true;\n        }\n        return false;\n    }\n    /**\n     * @private\n     */\n    function compose(ChartClass, LegendClass) {\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.highlightLegendItem) {\n            chartProto.highlightLegendItem = chartHighlightLegendItem;\n            LegendComponent_addEvent(LegendClass, 'afterColorizeItem', legendOnAfterColorizeItem);\n        }\n    }\n    LegendComponent.compose = compose;\n    /**\n     * Keep track of pressed state for legend items.\n     * @private\n     */\n    function legendOnAfterColorizeItem(e) {\n        const chart = this.chart, a11yOptions = chart.options.accessibility, legendItem = e.item;\n        if (a11yOptions.enabled && legendItem && legendItem.a11yProxyElement) {\n            legendItem.a11yProxyElement.innerElement.setAttribute('aria-pressed', e.visible ? 'true' : 'false');\n        }\n    }\n})(LegendComponent || (LegendComponent = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Components_LegendComponent = (LegendComponent);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Axis\"],\"commonjs\":[\"highcharts\",\"Axis\"],\"commonjs2\":[\"highcharts\",\"Axis\"],\"root\":[\"Highcharts\",\"Axis\"]}\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_ = __webpack_require__(532);\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default = /*#__PURE__*/__webpack_require__.n(highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_);\n;// ./code/es-modules/Stock/Navigator/ChartNavigatorComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { isTouchDevice } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: ChartNavigatorComposition_addEvent, merge, pick: ChartNavigatorComposition_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\nconst composedMembers = [];\n/* *\n *\n *  Variables\n *\n * */\nlet NavigatorConstructor;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction compose(ChartClass, NavigatorClass) {\n    if (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().pushUnique(composedMembers, ChartClass)) {\n        const chartProto = ChartClass.prototype;\n        NavigatorConstructor = NavigatorClass;\n        chartProto.callbacks.push(onChartCallback);\n        ChartNavigatorComposition_addEvent(ChartClass, 'afterAddSeries', onChartAfterAddSeries);\n        ChartNavigatorComposition_addEvent(ChartClass, 'afterSetChartSize', onChartAfterSetChartSize);\n        ChartNavigatorComposition_addEvent(ChartClass, 'afterUpdate', onChartAfterUpdate);\n        ChartNavigatorComposition_addEvent(ChartClass, 'beforeRender', onChartBeforeRender);\n        ChartNavigatorComposition_addEvent(ChartClass, 'beforeShowResetZoom', onChartBeforeShowResetZoom);\n        ChartNavigatorComposition_addEvent(ChartClass, 'update', onChartUpdate);\n    }\n}\n/**\n * Handle adding new series.\n * @private\n */\nfunction onChartAfterAddSeries() {\n    if (this.navigator) {\n        // Recompute which series should be shown in navigator, and add them\n        this.navigator.setBaseSeries(null, false);\n    }\n}\n/**\n * For stock charts, extend the Chart.setChartSize method so that we can set the\n * final top position of the navigator once the height of the chart, including\n * the legend, is determined. #367. We can't use Chart.getMargins, because\n * labels offsets are not calculated yet.\n * @private\n */\nfunction onChartAfterSetChartSize() {\n    const legend = this.legend, navigator = this.navigator;\n    let legendOptions, xAxis, yAxis;\n    if (navigator) {\n        legendOptions = legend && legend.options;\n        xAxis = navigator.xAxis;\n        yAxis = navigator.yAxis;\n        const { scrollbarHeight, scrollButtonSize } = navigator;\n        // Compute the top position\n        if (this.inverted) {\n            navigator.left = navigator.opposite ?\n                this.chartWidth - scrollbarHeight -\n                    navigator.height :\n                this.spacing[3] + scrollbarHeight;\n            navigator.top = this.plotTop + scrollButtonSize;\n        }\n        else {\n            navigator.left = ChartNavigatorComposition_pick(xAxis.left, this.plotLeft + scrollButtonSize);\n            navigator.top = navigator.navigatorOptions.top ||\n                this.chartHeight -\n                    navigator.height -\n                    scrollbarHeight -\n                    (this.scrollbar?.options.margin || 0) -\n                    this.spacing[2] -\n                    (this.rangeSelector && this.extraBottomMargin ?\n                        this.rangeSelector.getHeight() :\n                        0) -\n                    ((legendOptions &&\n                        legendOptions.verticalAlign === 'bottom' &&\n                        legendOptions.layout !== 'proximate' && // #13392\n                        legendOptions.enabled &&\n                        !legendOptions.floating) ?\n                        legend.legendHeight +\n                            ChartNavigatorComposition_pick(legendOptions.margin, 10) :\n                        0) -\n                    (this.titleOffset ? this.titleOffset[2] : 0);\n        }\n        if (xAxis && yAxis) { // False if navigator is disabled (#904)\n            if (this.inverted) {\n                xAxis.options.left = yAxis.options.left = navigator.left;\n            }\n            else {\n                xAxis.options.top = yAxis.options.top = navigator.top;\n            }\n            xAxis.setAxisSize();\n            yAxis.setAxisSize();\n        }\n    }\n}\n/**\n * Initialize navigator, if no scrolling exists yet.\n * @private\n */\nfunction onChartAfterUpdate(event) {\n    if (!this.navigator && !this.scroller &&\n        (this.options.navigator.enabled ||\n            this.options.scrollbar.enabled)) {\n        this.scroller = this.navigator = new NavigatorConstructor(this);\n        if (ChartNavigatorComposition_pick(event.redraw, true)) {\n            this.redraw(event.animation); // #7067\n        }\n    }\n}\n/**\n * Initialize navigator for stock charts\n * @private\n */\nfunction onChartBeforeRender() {\n    const options = this.options;\n    if (options.navigator.enabled ||\n        options.scrollbar.enabled) {\n        this.scroller = this.navigator = new NavigatorConstructor(this);\n    }\n}\n/**\n * For Stock charts. For x only zooming, do not to create the zoom button\n * because X axis zooming is already allowed by the Navigator and Range\n * selector. (#9285)\n * @private\n */\nfunction onChartBeforeShowResetZoom() {\n    const chartOptions = this.options, navigator = chartOptions.navigator, rangeSelector = chartOptions.rangeSelector;\n    if (((navigator && navigator.enabled) ||\n        (rangeSelector && rangeSelector.enabled)) &&\n        ((!isTouchDevice &&\n            this.zooming.type === 'x') ||\n            (isTouchDevice && this.zooming.pinchType === 'x'))) {\n        return false;\n    }\n}\n/**\n * @private\n */\nfunction onChartCallback(chart) {\n    const navigator = chart.navigator;\n    // Initialize the navigator\n    if (navigator && chart.xAxis[0]) {\n        const extremes = chart.xAxis[0].getExtremes();\n        navigator.render(extremes.min, extremes.max);\n    }\n}\n/**\n * Merge options, if no scrolling exists yet\n * @private\n */\nfunction onChartUpdate(e) {\n    const navigatorOptions = (e.options.navigator || {}), scrollbarOptions = (e.options.scrollbar || {});\n    if (!this.navigator && !this.scroller &&\n        (navigatorOptions.enabled || scrollbarOptions.enabled)) {\n        merge(true, this.options.navigator, navigatorOptions);\n        merge(true, this.options.scrollbar, scrollbarOptions);\n        delete e.options.navigator;\n        delete e.options.scrollbar;\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst ChartNavigatorComposition = {\n    compose\n};\n/* harmony default export */ const Navigator_ChartNavigatorComposition = (ChartNavigatorComposition);\n\n;// ./code/es-modules/Core/Axis/NavigatorAxisComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { isTouchDevice: NavigatorAxisComposition_isTouchDevice } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: NavigatorAxisComposition_addEvent, correctFloat, defined: NavigatorAxisComposition_defined, isNumber: NavigatorAxisComposition_isNumber, pick: NavigatorAxisComposition_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction onAxisInit() {\n    const axis = this;\n    if (!axis.navigatorAxis) {\n        axis.navigatorAxis = new NavigatorAxisAdditions(axis);\n    }\n}\n/**\n * For Stock charts, override selection zooming with some special features\n * because X axis zooming is already allowed by the Navigator and Range\n * selector.\n * @private\n */\nfunction onAxisSetExtremes(e) {\n    const axis = this, chart = axis.chart, chartOptions = chart.options, navigator = chartOptions.navigator, navigatorAxis = axis.navigatorAxis, pinchType = chart.zooming.pinchType, rangeSelector = chartOptions.rangeSelector, zoomType = chart.zooming.type;\n    let zoomed;\n    if (axis.isXAxis &&\n        (navigator?.enabled || rangeSelector?.enabled)) {\n        // For y only zooming, ignore the X axis completely\n        if (zoomType === 'y' && e.trigger === 'zoom') {\n            zoomed = false;\n            // For xy zooming, record the state of the zoom before zoom selection,\n            // then when the reset button is pressed, revert to this state. This\n            // should apply only if the chart is initialized with a range (#6612),\n            // otherwise zoom all the way out.\n        }\n        else if (((e.trigger === 'zoom' && zoomType === 'xy') ||\n            (NavigatorAxisComposition_isTouchDevice && pinchType === 'xy')) &&\n            axis.options.range) {\n            const previousZoom = navigatorAxis.previousZoom;\n            // Minimum defined, zooming in\n            if (NavigatorAxisComposition_defined(e.min)) {\n                navigatorAxis.previousZoom = [axis.min, axis.max];\n                // Minimum undefined, resetting zoom\n            }\n            else if (previousZoom) {\n                e.min = previousZoom[0];\n                e.max = previousZoom[1];\n                navigatorAxis.previousZoom = void 0;\n            }\n        }\n    }\n    if (typeof zoomed !== 'undefined') {\n        e.preventDefault();\n    }\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n */\nclass NavigatorAxisAdditions {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    static compose(AxisClass) {\n        if (!AxisClass.keepProps.includes('navigatorAxis')) {\n            AxisClass.keepProps.push('navigatorAxis');\n            NavigatorAxisComposition_addEvent(AxisClass, 'init', onAxisInit);\n            NavigatorAxisComposition_addEvent(AxisClass, 'setExtremes', onAxisSetExtremes);\n        }\n    }\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(axis) {\n        this.axis = axis;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    destroy() {\n        this.axis = void 0;\n    }\n    /**\n     * Add logic to normalize the zoomed range in order to preserve the pressed\n     * state of range selector buttons\n     *\n     * @private\n     * @function Highcharts.Axis#toFixedRange\n     */\n    toFixedRange(pxMin, pxMax, fixedMin, fixedMax) {\n        const axis = this.axis, halfPointRange = (axis.pointRange || 0) / 2;\n        let newMin = NavigatorAxisComposition_pick(fixedMin, axis.translate(pxMin, true, !axis.horiz)), newMax = NavigatorAxisComposition_pick(fixedMax, axis.translate(pxMax, true, !axis.horiz));\n        // Add/remove half point range to/from the extremes (#1172)\n        if (!NavigatorAxisComposition_defined(fixedMin)) {\n            newMin = correctFloat(newMin + halfPointRange);\n        }\n        if (!NavigatorAxisComposition_defined(fixedMax)) {\n            newMax = correctFloat(newMax - halfPointRange);\n        }\n        if (!NavigatorAxisComposition_isNumber(newMin) || !NavigatorAxisComposition_isNumber(newMax)) { // #1195, #7411\n            newMin = newMax = void 0;\n        }\n        return {\n            min: newMin,\n            max: newMax\n        };\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const NavigatorAxisComposition = (NavigatorAxisAdditions);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Color\"],\"commonjs\":[\"highcharts\",\"Color\"],\"commonjs2\":[\"highcharts\",\"Color\"],\"root\":[\"Highcharts\",\"Color\"]}\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_ = __webpack_require__(620);\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default = /*#__PURE__*/__webpack_require__.n(highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n;// ./code/es-modules/Stock/Navigator/NavigatorDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\nconst { seriesTypes } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n/* *\n *\n *  Constants\n *\n * */\n/**\n * The navigator is a small series below the main series, displaying\n * a view of the entire data set. It provides tools to zoom in and\n * out on parts of the data as well as panning across the dataset.\n *\n * @product      highstock gantt\n * @optionparent navigator\n */\nconst NavigatorDefaults = {\n    /**\n     * Whether the navigator and scrollbar should adapt to updated data\n     * in the base X axis. When loading data async, as in the demo below,\n     * this should be `false`. Otherwise new data will trigger navigator\n     * redraw, which will cause unwanted looping. In the demo below, the\n     * data in the navigator is set only once. On navigating, only the main\n     * chart content is updated.\n     *\n     * @sample {highstock} stock/demo/lazy-loading/\n     *         Set to false with async data loading\n     *\n     * @type      {boolean}\n     * @default   true\n     * @apioption navigator.adaptToUpdatedData\n     */\n    /**\n     * An integer identifying the index to use for the base series, or a\n     * string representing the id of the series.\n     *\n     * **Note**: As of Highcharts 5.0, this is now a deprecated option.\n     * Prefer [series.showInNavigator](#plotOptions.series.showInNavigator).\n     *\n     * @see [series.showInNavigator](#plotOptions.series.showInNavigator)\n     *\n     * @deprecated\n     * @type      {number|string}\n     * @default   0\n     * @apioption navigator.baseSeries\n     */\n    /**\n     * Enable or disable the navigator.\n     *\n     * @sample {highstock} stock/navigator/enabled/\n     *         Disable the navigator\n     *\n     * @type      {boolean}\n     * @default   true\n     * @apioption navigator.enabled\n     */\n    /**\n     * When the chart is inverted, whether to draw the navigator on the\n     * opposite side.\n     *\n     * @type      {boolean}\n     * @default   false\n     * @since     5.0.8\n     * @apioption navigator.opposite\n     */\n    /**\n     * The height of the navigator.\n     *\n     * @sample {highstock} stock/navigator/height/\n     *         A higher navigator\n     */\n    height: 40,\n    /**\n     * The distance from the nearest element, the X axis or X axis labels.\n     *\n     * @sample {highstock} stock/navigator/margin/\n     *         A margin of 2 draws the navigator closer to the X axis labels\n     */\n    margin: 25,\n    /**\n     * Whether the mask should be inside the range marking the zoomed\n     * range, or outside. In Highcharts Stock 1.x it was always `false`.\n     *\n     * @sample {highstock} stock/demo/maskinside-false/\n     *         False, mask outside\n     *\n     * @since   2.0\n     */\n    maskInside: true,\n    /**\n     * Options for the handles for dragging the zoomed area.\n     *\n     * @sample {highstock} stock/navigator/handles/\n     *         Colored handles\n     */\n    handles: {\n        /**\n         * Width for handles.\n         *\n         * @sample {highstock} stock/navigator/styled-handles/\n         *         Styled handles\n         *\n         * @since   6.0.0\n         */\n        width: 7,\n        /**\n         * Border radius of the handles.\n         *\n         * @sample {highstock} stock/navigator/handles-border-radius/\n         *      Border radius on the navigator handles.\n         *\n         * @since 11.4.2\n         */\n        borderRadius: 0,\n        /**\n         * Height for handles.\n         *\n         * @sample {highstock} stock/navigator/styled-handles/\n         *         Styled handles\n         *\n         * @since   6.0.0\n         */\n        height: 15,\n        /**\n         * Array to define shapes of handles. 0-index for left, 1-index for\n         * right.\n         *\n         * Additionally, the URL to a graphic can be given on this form:\n         * `url(graphic.png)`. Note that for the image to be applied to\n         * exported charts, its URL needs to be accessible by the export\n         * server.\n         *\n         * Custom callbacks for symbol path generation can also be added to\n         * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then\n         * used by its method name, as shown in the demo.\n         *\n         * @sample {highstock} stock/navigator/styled-handles/\n         *         Styled handles\n         *\n         * @type    {Array<string>}\n         * @default [\"navigator-handle\", \"navigator-handle\"]\n         * @since   6.0.0\n         */\n        symbols: ['navigator-handle', 'navigator-handle'],\n        /**\n         * Allows to enable/disable handles.\n         *\n         * @since   6.0.0\n         */\n        enabled: true,\n        /**\n         * The width for the handle border and the stripes inside.\n         *\n         * @sample {highstock} stock/navigator/styled-handles/\n         *         Styled handles\n         *\n         * @since     6.0.0\n         * @apioption navigator.handles.lineWidth\n         */\n        lineWidth: 1,\n        /**\n         * The fill for the handle.\n         *\n         * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        backgroundColor: \"#f2f2f2\" /* Palette.neutralColor5 */,\n        /**\n         * The stroke for the handle border and the stripes inside.\n         *\n         * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         */\n        borderColor: \"#999999\" /* Palette.neutralColor40 */\n    },\n    /**\n     * The color of the mask covering the areas of the navigator series\n     * that are currently not visible in the main series. The default\n     * color is bluish with an opacity of 0.3 to see the series below.\n     *\n     * @see In styled mode, the mask is styled with the\n     *      `.highcharts-navigator-mask` and\n     *      `.highcharts-navigator-mask-inside` classes.\n     *\n     * @sample {highstock} stock/navigator/maskfill/\n     *         Blue, semi transparent mask\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default rgba(102,133,194,0.3)\n     */\n    maskFill: color(\"#667aff\" /* Palette.highlightColor60 */).setOpacity(0.3).get(),\n    /**\n     * The color of the line marking the currently zoomed area in the\n     * navigator.\n     *\n     * @sample {highstock} stock/navigator/outline/\n     *         2px blue outline\n     *\n     * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     * @default #cccccc\n     */\n    outlineColor: \"#999999\" /* Palette.neutralColor40 */,\n    /**\n     * The width of the line marking the currently zoomed area in the\n     * navigator.\n     *\n     * @see In styled mode, the outline stroke width is set with the\n     *      `.highcharts-navigator-outline` class.\n     *\n     * @sample {highstock} stock/navigator/outline/\n     *         2px blue outline\n     *\n     * @type    {number}\n     */\n    outlineWidth: 1,\n    /**\n     * Options for the navigator series. Available options are the same\n     * as any series, documented at [plotOptions](#plotOptions.series)\n     * and [series](#series).\n     *\n     * Unless data is explicitly defined on navigator.series, the data\n     * is borrowed from the first series in the chart.\n     *\n     * Default series options for the navigator series are:\n     * ```js\n     * series: {\n     *     type: 'areaspline',\n     *     fillOpacity: 0.05,\n     *     dataGrouping: {\n     *         smoothed: true\n     *     },\n     *     lineWidth: 1,\n     *     marker: {\n     *         enabled: false\n     *     }\n     * }\n     * ```\n     *\n     * @see In styled mode, the navigator series is styled with the\n     *      `.highcharts-navigator-series` class.\n     *\n     * @sample {highstock} stock/navigator/series-data/\n     *         Using a separate data set for the navigator\n     * @sample {highstock} stock/navigator/series/\n     *         A green navigator series\n     *\n     * @type {*|Array<*>|Highcharts.SeriesOptionsType|Array<Highcharts.SeriesOptionsType>}\n     */\n    series: {\n        /**\n         * The type of the navigator series.\n         *\n         * Heads up:\n         * In column-type navigator, zooming is limited to at least one\n         * point with its `pointRange`.\n         *\n         * @sample {highstock} stock/navigator/column/\n         *         Column type navigator\n         *\n         * @type    {string}\n         * @default {highstock} `areaspline` if defined, otherwise `line`\n         * @default {gantt} gantt\n         */\n        type: (typeof seriesTypes.areaspline === 'undefined' ?\n            'line' :\n            'areaspline'),\n        /**\n         * The fill opacity of the navigator series.\n         */\n        fillOpacity: 0.05,\n        /**\n         * The pixel line width of the navigator series.\n         */\n        lineWidth: 1,\n        /**\n         * @ignore-option\n         */\n        compare: null,\n        /**\n         * @ignore-option\n         */\n        sonification: {\n            enabled: false\n        },\n        /**\n         * Unless data is explicitly defined, the data is borrowed from the\n         * first series in the chart.\n         *\n         * @type      {Array<number|Array<number|string|null>|object|null>}\n         * @product   highstock\n         * @apioption navigator.series.data\n         */\n        /**\n         * Data grouping options for the navigator series.\n         *\n         * @extends plotOptions.series.dataGrouping\n         */\n        dataGrouping: {\n            approximation: 'average',\n            enabled: true,\n            groupPixelWidth: 2,\n            // Replace smoothed property by anchors, #12455.\n            firstAnchor: 'firstPoint',\n            anchor: 'middle',\n            lastAnchor: 'lastPoint',\n            // Day and week differs from plotOptions.series.dataGrouping\n            units: [\n                ['millisecond', [1, 2, 5, 10, 20, 25, 50, 100, 200, 500]],\n                ['second', [1, 2, 5, 10, 15, 30]],\n                ['minute', [1, 2, 5, 10, 15, 30]],\n                ['hour', [1, 2, 3, 4, 6, 8, 12]],\n                ['day', [1, 2, 3, 4]],\n                ['week', [1, 2, 3]],\n                ['month', [1, 3, 6]],\n                ['year', null]\n            ]\n        },\n        /**\n         * Data label options for the navigator series. Data labels are\n         * disabled by default on the navigator series.\n         *\n         * @extends plotOptions.series.dataLabels\n         */\n        dataLabels: {\n            enabled: false,\n            zIndex: 2 // #1839\n        },\n        id: 'highcharts-navigator-series',\n        className: 'highcharts-navigator-series',\n        /**\n         * Sets the fill color of the navigator series.\n         *\n         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n         * @apioption navigator.series.color\n         */\n        /**\n         * Line color for the navigator series. Allows setting the color\n         * while disallowing the default candlestick setting.\n         *\n         * @type {Highcharts.ColorString|null}\n         */\n        lineColor: null, // #4602\n        marker: {\n            enabled: false\n        },\n        /**\n         * Since Highcharts Stock v8, default value is the same as default\n         * `pointRange` defined for a specific type (e.g. `null` for\n         * column type).\n         *\n         * In Highcharts Stock version < 8, defaults to 0.\n         *\n         * @extends plotOptions.series.pointRange\n         * @type {number|null}\n         * @apioption navigator.series.pointRange\n         */\n        /**\n         * The threshold option. Setting it to 0 will make the default\n         * navigator area series draw its area from the 0 value and up.\n         *\n         * @type {number|null}\n         */\n        threshold: null\n    },\n    /**\n     * Enable or disable navigator sticking to right, while adding new\n     * points. If `undefined`, the navigator sticks to the axis maximum only\n     * if it was already at the maximum prior to adding points.\n     *\n     * @type      {boolean}\n     * @default   undefined\n     * @since 10.2.1\n     * @sample {highstock} stock/navigator/sticktomax-false/\n     * stickToMax set to false\n     * @apioption navigator.stickToMax\n     */\n    /**\n     * Options for the navigator X axis. Default series options for the\n     * navigator xAxis are:\n     * ```js\n     * xAxis: {\n     *     tickWidth: 0,\n     *     lineWidth: 0,\n     *     gridLineWidth: 1,\n     *     tickPixelInterval: 200,\n     *     labels: {\n     *            align: 'left',\n     *         style: {\n     *             color: '#888'\n     *         },\n     *         x: 3,\n     *         y: -4\n     *     }\n     * }\n     * ```\n     *\n     * @extends   xAxis\n     * @excluding linkedTo, maxZoom, minRange, opposite, range, scrollbar,\n     *            showEmpty, maxRange\n     */\n    xAxis: {\n        /**\n         * Additional range on the right side of the xAxis. Works similar to\n         * `xAxis.maxPadding`, but the value is set in terms of axis values,\n         * percentage or pixels.\n         *\n         * If it's a number, it is interpreted as axis values, which in a\n         * datetime axis equals milliseconds.\n         *\n         * If it's a percentage string, is interpreted as percentages of the\n         * axis length. An overscroll of 50% will make a 100px axis 50px longer.\n         *\n         * If it's a pixel string, it is interpreted as a fixed pixel value, but\n         * limited to 90% of the axis length.\n         *\n         * If it's undefined, the value is inherited from `xAxis.overscroll`.\n         *\n         * Can be set for both, main xAxis and navigator's xAxis.\n         *\n         * @type    {number | string | undefined}\n         * @since   6.0.0\n         * @apioption navigator.xAxis.overscroll\n         */\n        className: 'highcharts-navigator-xaxis',\n        tickLength: 0,\n        lineWidth: 0,\n        gridLineColor: \"#e6e6e6\" /* Palette.neutralColor10 */,\n        id: 'navigator-x-axis',\n        gridLineWidth: 1,\n        tickPixelInterval: 200,\n        labels: {\n            align: 'left',\n            /**\n             * @type {Highcharts.CSSObject}\n             */\n            style: {\n                /** @ignore */\n                color: \"#000000\" /* Palette.neutralColor100 */,\n                /** @ignore */\n                fontSize: '0.7em',\n                /** @ignore */\n                opacity: 0.6,\n                /** @ignore */\n                textOutline: '2px contrast'\n            },\n            x: 3,\n            y: -4\n        },\n        crosshair: false\n    },\n    /**\n     * Options for the navigator Y axis. Default series options for the\n     * navigator yAxis are:\n     * ```js\n     * yAxis: {\n     *     gridLineWidth: 0,\n     *     startOnTick: false,\n     *     endOnTick: false,\n     *     minPadding: 0.1,\n     *     maxPadding: 0.1,\n     *     labels: {\n     *         enabled: false\n     *     },\n     *     title: {\n     *         text: null\n     *     },\n     *     tickWidth: 0\n     * }\n     * ```\n     *\n     * @extends   yAxis\n     * @excluding height, linkedTo, maxZoom, minRange, ordinal, range,\n     *            showEmpty, scrollbar, top, units, maxRange, minLength,\n     *            maxLength, resize\n     */\n    yAxis: {\n        className: 'highcharts-navigator-yaxis',\n        gridLineWidth: 0,\n        startOnTick: false,\n        endOnTick: false,\n        minPadding: 0.1,\n        id: 'navigator-y-axis',\n        maxPadding: 0.1,\n        labels: {\n            enabled: false\n        },\n        crosshair: false,\n        title: {\n            text: null\n        },\n        tickLength: 0,\n        tickWidth: 0\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Navigator_NavigatorDefaults = (NavigatorDefaults);\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Maximum range which can be set using the navigator's handles.\n * Opposite of [xAxis.minRange](#xAxis.minRange).\n *\n * @sample {highstock} stock/navigator/maxrange/\n *         Defined max and min range\n *\n * @type      {number}\n * @since     6.0.0\n * @product   highstock gantt\n * @apioption xAxis.maxRange\n */\n(''); // Keeps doclets above in JS file\n\n;// ./code/es-modules/Core/Renderer/SVG/Symbols.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defined: Symbols_defined, isNumber: Symbols_isNumber, pick: Symbols_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable require-jsdoc, valid-jsdoc */\n/**\n *\n */\nfunction arc(cx, cy, w, h, options) {\n    const arc = [];\n    if (options) {\n        const start = options.start || 0, rx = Symbols_pick(options.r, w), ry = Symbols_pick(options.r, h || w), \n        // Subtract a small number to prevent cos and sin of start and end\n        // from becoming equal on 360 arcs (#1561). The size of the circle\n        // affects the constant, therefore the division by `rx`. If the\n        // proximity is too small, the arc disappears. If it is too great, a\n        // gap appears. This can be seen in the animation of the official\n        // bubble demo (#20586).\n        proximity = 0.0002 / (options.borderRadius ? 1 : Math.max(rx, 1)), fullCircle = (Math.abs((options.end || 0) - start - 2 * Math.PI) <\n            proximity), end = (options.end || 0) - (fullCircle ? proximity : 0), innerRadius = options.innerR, open = Symbols_pick(options.open, fullCircle), cosStart = Math.cos(start), sinStart = Math.sin(start), cosEnd = Math.cos(end), sinEnd = Math.sin(end), \n        // Proximity takes care of rounding errors around PI (#6971)\n        longArc = Symbols_pick(options.longArc, end - start - Math.PI < proximity ? 0 : 1);\n        let arcSegment = [\n            'A', // ArcTo\n            rx, // X radius\n            ry, // Y radius\n            0, // Slanting\n            longArc, // Long or short arc\n            Symbols_pick(options.clockwise, 1), // Clockwise\n            cx + rx * cosEnd,\n            cy + ry * sinEnd\n        ];\n        arcSegment.params = { start, end, cx, cy }; // Memo for border radius\n        arc.push([\n            'M',\n            cx + rx * cosStart,\n            cy + ry * sinStart\n        ], arcSegment);\n        if (Symbols_defined(innerRadius)) {\n            arcSegment = [\n                'A', // ArcTo\n                innerRadius, // X radius\n                innerRadius, // Y radius\n                0, // Slanting\n                longArc, // Long or short arc\n                // Clockwise - opposite to the outer arc clockwise\n                Symbols_defined(options.clockwise) ? 1 - options.clockwise : 0,\n                cx + innerRadius * cosStart,\n                cy + innerRadius * sinStart\n            ];\n            // Memo for border radius\n            arcSegment.params = {\n                start: end,\n                end: start,\n                cx,\n                cy\n            };\n            arc.push(open ?\n                [\n                    'M',\n                    cx + innerRadius * cosEnd,\n                    cy + innerRadius * sinEnd\n                ] : [\n                'L',\n                cx + innerRadius * cosEnd,\n                cy + innerRadius * sinEnd\n            ], arcSegment);\n        }\n        if (!open) {\n            arc.push(['Z']);\n        }\n    }\n    return arc;\n}\n/**\n * Callout shape used for default tooltips.\n */\nfunction callout(x, y, w, h, options) {\n    const arrowLength = 6, halfDistance = 6, r = Math.min((options && options.r) || 0, w, h), safeDistance = r + halfDistance, anchorX = options && options.anchorX, anchorY = options && options.anchorY || 0;\n    const path = roundedRect(x, y, w, h, { r });\n    if (!Symbols_isNumber(anchorX)) {\n        return path;\n    }\n    // Do not render a connector, if anchor starts inside the label\n    if (anchorX < w && anchorX > 0 && anchorY < h && anchorY > 0) {\n        return path;\n    }\n    // Anchor on right side\n    if (x + anchorX > w - safeDistance) {\n        // Chevron\n        if (anchorY > y + safeDistance &&\n            anchorY < y + h - safeDistance) {\n            path.splice(3, 1, ['L', x + w, anchorY - halfDistance], ['L', x + w + arrowLength, anchorY], ['L', x + w, anchorY + halfDistance], ['L', x + w, y + h - r]);\n            // Simple connector\n        }\n        else {\n            if (anchorX < w) { // Corner connector\n                const isTopCorner = anchorY < y + safeDistance, cornerY = isTopCorner ? y : y + h, sliceStart = isTopCorner ? 2 : 5;\n                path.splice(sliceStart, 0, ['L', anchorX, anchorY], ['L', x + w - r, cornerY]);\n            }\n            else { // Side connector\n                path.splice(3, 1, ['L', x + w, h / 2], ['L', anchorX, anchorY], ['L', x + w, h / 2], ['L', x + w, y + h - r]);\n            }\n        }\n        // Anchor on left side\n    }\n    else if (x + anchorX < safeDistance) {\n        // Chevron\n        if (anchorY > y + safeDistance &&\n            anchorY < y + h - safeDistance) {\n            path.splice(7, 1, ['L', x, anchorY + halfDistance], ['L', x - arrowLength, anchorY], ['L', x, anchorY - halfDistance], ['L', x, y + r]);\n            // Simple connector\n        }\n        else {\n            if (anchorX > 0) { // Corner connector\n                const isTopCorner = anchorY < y + safeDistance, cornerY = isTopCorner ? y : y + h, sliceStart = isTopCorner ? 1 : 6;\n                path.splice(sliceStart, 0, ['L', anchorX, anchorY], ['L', x + r, cornerY]);\n            }\n            else { // Side connector\n                path.splice(7, 1, ['L', x, h / 2], ['L', anchorX, anchorY], ['L', x, h / 2], ['L', x, y + r]);\n            }\n        }\n    }\n    else if ( // Replace bottom\n    anchorY > h &&\n        anchorX < w - safeDistance) {\n        path.splice(5, 1, ['L', anchorX + halfDistance, y + h], ['L', anchorX, y + h + arrowLength], ['L', anchorX - halfDistance, y + h], ['L', x + r, y + h]);\n    }\n    else if ( // Replace top\n    anchorY < 0 &&\n        anchorX > safeDistance) {\n        path.splice(1, 1, ['L', anchorX - halfDistance, y], ['L', anchorX, y - arrowLength], ['L', anchorX + halfDistance, y], ['L', w - r, y]);\n    }\n    return path;\n}\n/**\n *\n */\nfunction circle(x, y, w, h) {\n    // Return a full arc\n    return arc(x + w / 2, y + h / 2, w / 2, h / 2, {\n        start: Math.PI * 0.5,\n        end: Math.PI * 2.5,\n        open: false\n    });\n}\n/**\n *\n */\nfunction diamond(x, y, w, h) {\n    return [\n        ['M', x + w / 2, y],\n        ['L', x + w, y + h / 2],\n        ['L', x + w / 2, y + h],\n        ['L', x, y + h / 2],\n        ['Z']\n    ];\n}\n// #15291\n/**\n *\n */\nfunction rect(x, y, w, h, options) {\n    if (options && options.r) {\n        return roundedRect(x, y, w, h, options);\n    }\n    return [\n        ['M', x, y],\n        ['L', x + w, y],\n        ['L', x + w, y + h],\n        ['L', x, y + h],\n        ['Z']\n    ];\n}\n/**\n *\n */\nfunction roundedRect(x, y, w, h, options) {\n    const r = options?.r || 0;\n    return [\n        ['M', x + r, y],\n        ['L', x + w - r, y], // Top side\n        ['A', r, r, 0, 0, 1, x + w, y + r], // Top-right corner\n        ['L', x + w, y + h - r], // Right side\n        ['A', r, r, 0, 0, 1, x + w - r, y + h], // Bottom-right corner\n        ['L', x + r, y + h], // Bottom side\n        ['A', r, r, 0, 0, 1, x, y + h - r], // Bottom-left corner\n        ['L', x, y + r], // Left side\n        ['A', r, r, 0, 0, 1, x + r, y],\n        ['Z'] // Top-left corner\n    ];\n}\n/**\n *\n */\nfunction triangle(x, y, w, h) {\n    return [\n        ['M', x + w / 2, y],\n        ['L', x + w, y + h],\n        ['L', x, y + h],\n        ['Z']\n    ];\n}\n/**\n *\n */\nfunction triangleDown(x, y, w, h) {\n    return [\n        ['M', x, y],\n        ['L', x + w, y],\n        ['L', x + w / 2, y + h],\n        ['Z']\n    ];\n}\nconst Symbols = {\n    arc,\n    callout,\n    circle,\n    diamond,\n    rect,\n    roundedRect,\n    square: rect,\n    triangle,\n    'triangle-down': triangleDown\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const SVG_Symbols = (Symbols);\n\n;// ./code/es-modules/Stock/Navigator/NavigatorSymbols.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { relativeLength } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\n/**\n * Draw one of the handles on the side of the zoomed range in the navigator.\n * @private\n */\nfunction navigatorHandle(_x, _y, width, height, options = {}) {\n    const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = relativeLength(options.borderRadius || 0, Math.min(halfWidth * 2, height));\n    height = options.height || height;\n    return [\n        ['M', -markerPosition, height / 2 - 3.5],\n        ['L', -markerPosition, height / 2 + 4.5],\n        ['M', markerPosition - 1, height / 2 - 3.5],\n        ['L', markerPosition - 1, height / 2 + 4.5],\n        ...SVG_Symbols.rect(-halfWidth - 1, 0.5, halfWidth * 2 + 1, height, { r })\n    ];\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst NavigatorSymbols = {\n    'navigator-handle': navigatorHandle\n};\n/* harmony default export */ const Navigator_NavigatorSymbols = (NavigatorSymbols);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"RendererRegistry\"],\"commonjs\":[\"highcharts\",\"RendererRegistry\"],\"commonjs2\":[\"highcharts\",\"RendererRegistry\"],\"root\":[\"Highcharts\",\"RendererRegistry\"]}\nvar highcharts_RendererRegistry_commonjs_highcharts_RendererRegistry_commonjs2_highcharts_RendererRegistry_root_Highcharts_RendererRegistry_ = __webpack_require__(608);\nvar highcharts_RendererRegistry_commonjs_highcharts_RendererRegistry_commonjs2_highcharts_RendererRegistry_root_Highcharts_RendererRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_RendererRegistry_commonjs_highcharts_RendererRegistry_commonjs2_highcharts_RendererRegistry_root_Highcharts_RendererRegistry_);\n;// ./code/es-modules/Stock/Utilities/StockUtilities.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defined: StockUtilities_defined } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Sets the chart.fixedRange to the specified value. If the value is larger\n * than actual range, sets it to the maximum possible range. (#20327)\n *\n * @private\n * @function Highcharts.StockChart#setFixedRange\n * @param {number|undefined} range\n *        Range to set in axis units.\n */\nfunction setFixedRange(range) {\n    const xAxis = this.xAxis[0];\n    if (StockUtilities_defined(xAxis.dataMax) &&\n        StockUtilities_defined(xAxis.dataMin) &&\n        range) {\n        this.fixedRange = Math.min(range, xAxis.dataMax - xAxis.dataMin);\n    }\n    else {\n        this.fixedRange = range;\n    }\n}\nconst StockUtilities = {\n    setFixedRange\n};\n/* harmony default export */ const Utilities_StockUtilities = (StockUtilities);\n\n;// ./code/es-modules/Stock/Navigator/NavigatorComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { setOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n\nconst { getRendererType } = (highcharts_RendererRegistry_commonjs_highcharts_RendererRegistry_commonjs2_highcharts_RendererRegistry_root_Highcharts_RendererRegistry_default());\n\nconst { setFixedRange: NavigatorComposition_setFixedRange } = Utilities_StockUtilities;\n\nconst { addEvent: NavigatorComposition_addEvent, extend, pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Variables\n *\n * */\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction NavigatorComposition_compose(ChartClass, AxisClass, SeriesClass) {\n    NavigatorAxisComposition.compose(AxisClass);\n    if (pushUnique(composed, 'Navigator')) {\n        ChartClass.prototype.setFixedRange = NavigatorComposition_setFixedRange;\n        extend(getRendererType().prototype.symbols, Navigator_NavigatorSymbols);\n        NavigatorComposition_addEvent(SeriesClass, 'afterUpdate', onSeriesAfterUpdate);\n        setOptions({ navigator: Navigator_NavigatorDefaults });\n    }\n}\n/**\n * Handle updating series\n * @private\n */\nfunction onSeriesAfterUpdate() {\n    if (this.chart.navigator && !this.options.isInternal) {\n        this.chart.navigator.setBaseSeries(null, false);\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst NavigatorComposition = {\n    compose: NavigatorComposition_compose\n};\n/* harmony default export */ const Navigator_NavigatorComposition = (NavigatorComposition);\n\n;// ./code/es-modules/Core/Axis/ScrollbarAxis.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { composed: ScrollbarAxis_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: ScrollbarAxis_addEvent, defined: ScrollbarAxis_defined, pick: ScrollbarAxis_pick, pushUnique: ScrollbarAxis_pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar ScrollbarAxis;\n(function (ScrollbarAxis) {\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let Scrollbar;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Attaches to axis events to create scrollbars if enabled.\n     *\n     * @private\n     *\n     * @param {Highcharts.Axis} AxisClass\n     * Axis class to extend.\n     *\n     * @param {Highcharts.Scrollbar} ScrollbarClass\n     * Scrollbar class to use.\n     */\n    function compose(AxisClass, ScrollbarClass) {\n        if (ScrollbarAxis_pushUnique(ScrollbarAxis_composed, 'Axis.Scrollbar')) {\n            Scrollbar = ScrollbarClass;\n            ScrollbarAxis_addEvent(AxisClass, 'afterGetOffset', onAxisAfterGetOffset);\n            ScrollbarAxis_addEvent(AxisClass, 'afterInit', onAxisAfterInit);\n            ScrollbarAxis_addEvent(AxisClass, 'afterRender', onAxisAfterRender);\n        }\n    }\n    ScrollbarAxis.compose = compose;\n    /** @private */\n    function getExtremes(axis) {\n        const axisMin = ScrollbarAxis_pick(axis.options && axis.options.min, axis.min);\n        const axisMax = ScrollbarAxis_pick(axis.options && axis.options.max, axis.max);\n        return {\n            axisMin,\n            axisMax,\n            scrollMin: ScrollbarAxis_defined(axis.dataMin) ?\n                Math.min(axisMin, axis.min, axis.dataMin, ScrollbarAxis_pick(axis.threshold, Infinity)) : axisMin,\n            scrollMax: ScrollbarAxis_defined(axis.dataMax) ?\n                Math.max(axisMax, axis.max, axis.dataMax, ScrollbarAxis_pick(axis.threshold, -Infinity)) : axisMax\n        };\n    }\n    /**\n     * Make space for a scrollbar.\n     * @private\n     */\n    function onAxisAfterGetOffset() {\n        const axis = this, scrollbar = axis.scrollbar, opposite = scrollbar && !scrollbar.options.opposite, index = axis.horiz ? 2 : opposite ? 3 : 1;\n        if (scrollbar) {\n            // Reset scrollbars offsets\n            axis.chart.scrollbarsOffsets = [0, 0];\n            axis.chart.axisOffset[index] +=\n                scrollbar.size + (scrollbar.options.margin || 0);\n        }\n    }\n    /**\n     * Wrap axis initialization and create scrollbar if enabled.\n     * @private\n     */\n    function onAxisAfterInit() {\n        const axis = this;\n        if (axis.options &&\n            axis.options.scrollbar &&\n            axis.options.scrollbar.enabled) {\n            // Predefined options:\n            axis.options.scrollbar.vertical = !axis.horiz;\n            axis.options.startOnTick = axis.options.endOnTick = false;\n            axis.scrollbar = new Scrollbar(axis.chart.renderer, axis.options.scrollbar, axis.chart);\n            ScrollbarAxis_addEvent(axis.scrollbar, 'changed', function (e) {\n                const { axisMin, axisMax, scrollMin: unitedMin, scrollMax: unitedMax } = getExtremes(axis), range = unitedMax - unitedMin;\n                let to, from;\n                // #12834, scroll when show/hide series, wrong extremes\n                if (!ScrollbarAxis_defined(axisMin) || !ScrollbarAxis_defined(axisMax)) {\n                    return;\n                }\n                if ((axis.horiz && !axis.reversed) ||\n                    (!axis.horiz && axis.reversed)) {\n                    to = unitedMin + range * this.to;\n                    from = unitedMin + range * this.from;\n                }\n                else {\n                    // Y-values in browser are reversed, but this also\n                    // applies for reversed horizontal axis:\n                    to = unitedMin + range * (1 - this.from);\n                    from = unitedMin + range * (1 - this.to);\n                }\n                if (this.shouldUpdateExtremes(e.DOMType)) {\n                    // #17977, set animation to undefined instead of true\n                    const animate = e.DOMType === 'mousemove' ||\n                        e.DOMType === 'touchmove' ? false : void 0;\n                    axis.setExtremes(from, to, true, animate, e);\n                }\n                else {\n                    // When live redraw is disabled, don't change extremes\n                    // Only change the position of the scrollbar thumb\n                    this.setRange(this.from, this.to);\n                }\n            });\n        }\n    }\n    /**\n     * Wrap rendering axis, and update scrollbar if one is created.\n     * @private\n     */\n    function onAxisAfterRender() {\n        const axis = this, { scrollMin, scrollMax } = getExtremes(axis), scrollbar = axis.scrollbar, offset = (axis.axisTitleMargin + (axis.titleOffset || 0)), scrollbarsOffsets = axis.chart.scrollbarsOffsets, axisMargin = axis.options.margin || 0;\n        let offsetsIndex, from, to;\n        if (scrollbar && scrollbarsOffsets) {\n            if (axis.horiz) {\n                // Reserve space for labels/title\n                if (!axis.opposite) {\n                    scrollbarsOffsets[1] += offset;\n                }\n                scrollbar.position(axis.left, (axis.top +\n                    axis.height +\n                    2 +\n                    scrollbarsOffsets[1] -\n                    (axis.opposite ? axisMargin : 0)), axis.width, axis.height);\n                // Next scrollbar should reserve space for margin (if set)\n                if (!axis.opposite) {\n                    scrollbarsOffsets[1] += axisMargin;\n                }\n                offsetsIndex = 1;\n            }\n            else {\n                // Reserve space for labels/title\n                if (axis.opposite) {\n                    scrollbarsOffsets[0] += offset;\n                }\n                let xPosition;\n                if (!scrollbar.options.opposite) {\n                    xPosition = axis.opposite ? 0 : axisMargin;\n                }\n                else {\n                    xPosition = axis.left +\n                        axis.width +\n                        2 +\n                        scrollbarsOffsets[0] -\n                        (axis.opposite ? 0 : axisMargin);\n                }\n                scrollbar.position(xPosition, axis.top, axis.width, axis.height);\n                // Next scrollbar should reserve space for margin (if set)\n                if (axis.opposite) {\n                    scrollbarsOffsets[0] += axisMargin;\n                }\n                offsetsIndex = 0;\n            }\n            scrollbarsOffsets[offsetsIndex] += scrollbar.size +\n                (scrollbar.options.margin || 0);\n            if (isNaN(scrollMin) ||\n                isNaN(scrollMax) ||\n                !ScrollbarAxis_defined(axis.min) ||\n                !ScrollbarAxis_defined(axis.max) ||\n                axis.dataMin === axis.dataMax // #10733\n            ) {\n                // Default action: when data extremes are the same or there is\n                // not extremes on the axis, but scrollbar exists, make it\n                // full size\n                scrollbar.setRange(0, 1);\n            }\n            else if (axis.min === axis.max) { // #20359\n                // When the extremes are the same, set the scrollbar to a point\n                // within the extremes range. Utilize pointRange to perform the\n                // calculations. (#20359)\n                const interval = axis.pointRange / (axis.dataMax +\n                    1);\n                from = interval * axis.min;\n                to = interval * (axis.max + 1);\n                scrollbar.setRange(from, to);\n            }\n            else {\n                from = ((axis.min - scrollMin) /\n                    (scrollMax - scrollMin));\n                to = ((axis.max - scrollMin) /\n                    (scrollMax - scrollMin));\n                if ((axis.horiz && !axis.reversed) ||\n                    (!axis.horiz && axis.reversed)) {\n                    scrollbar.setRange(from, to);\n                }\n                else {\n                    // Inverse vertical axis\n                    scrollbar.setRange(1 - to, 1 - from);\n                }\n            }\n        }\n    }\n})(ScrollbarAxis || (ScrollbarAxis = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Axis_ScrollbarAxis = (ScrollbarAxis);\n\n;// ./code/es-modules/Stock/Scrollbar/ScrollbarDefaults.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Constant\n *\n * */\n/**\n *\n * The scrollbar is a means of panning over the X axis of a stock chart.\n * Scrollbars can also be applied to other types of axes.\n *\n * Another approach to scrollable charts is the [chart.scrollablePlotArea](\n * https://api.highcharts.com/highcharts/chart.scrollablePlotArea) option that\n * is especially suitable for simpler cartesian charts on mobile.\n *\n * In styled mode, all the presentational options for the\n * scrollbar are replaced by the classes `.highcharts-scrollbar-thumb`,\n * `.highcharts-scrollbar-arrow`, `.highcharts-scrollbar-button`,\n * `.highcharts-scrollbar-rifles` and `.highcharts-scrollbar-track`.\n *\n * @sample stock/yaxis/inverted-bar-scrollbar/\n *         A scrollbar on a simple bar chart\n *\n * @product highstock gantt\n * @optionparent scrollbar\n *\n * @private\n */\nconst ScrollbarDefaults = {\n    /**\n     * The height of the scrollbar. If `buttonsEnabled` is true , the height\n     * also applies to the width of the scroll arrows so that they are always\n     * squares.\n     *\n     * @sample stock/scrollbar/style/\n     *         Non-default height\n     *\n     * @type    {number}\n     */\n    height: 10,\n    /**\n     * The border rounding radius of the bar.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     */\n    barBorderRadius: 5,\n    /**\n     * The corner radius of the scrollbar buttons.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     */\n    buttonBorderRadius: 0,\n    /**\n     * Enable or disable the buttons at the end of the scrollbar.\n     *\n     * @since 11.0.0\n     */\n    buttonsEnabled: false,\n    /**\n     * Enable or disable the scrollbar.\n     *\n     * @sample stock/scrollbar/enabled/\n     *         Disable the scrollbar, only use navigator\n     *\n     * @type      {boolean}\n     * @default   true\n     * @apioption scrollbar.enabled\n     */\n    /**\n     * Whether to redraw the main chart as the scrollbar or the navigator\n     * zoomed window is moved. Defaults to `true` for modern browsers and\n     * `false` for legacy IE browsers as well as mobile devices.\n     *\n     * @sample stock/scrollbar/liveredraw\n     *         Setting live redraw to false\n     *\n     * @type  {boolean}\n     * @since 1.3\n     */\n    liveRedraw: void 0,\n    /**\n     * The margin between the scrollbar and its axis when the scrollbar is\n     * applied directly to an axis, or the navigator in case that is enabled.\n     * Defaults to 10 for axis, 0 for navigator.\n     *\n     * @type {number|undefined}\n     */\n    margin: void 0,\n    /**\n     * The minimum width of the scrollbar.\n     *\n     * @since 1.2.5\n     */\n    minWidth: 6,\n    /** @ignore-option */\n    opposite: true,\n    /**\n     * Whether to show or hide the scrollbar when the scrolled content is\n     * zoomed out to it full extent.\n     *\n     * @type      {boolean}\n     * @default   true\n     * @apioption scrollbar.showFull\n     */\n    step: 0.2,\n    /**\n     * The z index of the scrollbar group.\n     */\n    zIndex: 3,\n    /**\n     * The background color of the scrollbar itself.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    barBackgroundColor: \"#cccccc\" /* Palette.neutralColor20 */,\n    /**\n     * The width of the bar's border.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     */\n    barBorderWidth: 0,\n    /**\n     * The color of the scrollbar's border.\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    barBorderColor: \"#cccccc\" /* Palette.neutralColor20 */,\n    /**\n     * The color of the small arrow inside the scrollbar buttons.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    buttonArrowColor: \"#333333\" /* Palette.neutralColor80 */,\n    /**\n     * The color of scrollbar buttons.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    buttonBackgroundColor: \"#e6e6e6\" /* Palette.neutralColor10 */,\n    /**\n     * The color of the border of the scrollbar buttons.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    buttonBorderColor: \"#cccccc\" /* Palette.neutralColor20 */,\n    /**\n     * The border width of the scrollbar buttons.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     */\n    buttonBorderWidth: 1,\n    /**\n     * The color of the small rifles in the middle of the scrollbar.\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    rifleColor: 'none',\n    /**\n     * The color of the track background.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    trackBackgroundColor: 'rgba(255, 255, 255, 0.001)', // #18922\n    /**\n     * The color of the border of the scrollbar track.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     *\n     * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n     */\n    trackBorderColor: \"#cccccc\" /* Palette.neutralColor20 */,\n    /**\n     * The corner radius of the border of the scrollbar track.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     */\n    trackBorderRadius: 5,\n    /**\n     * The width of the border of the scrollbar track.\n     *\n     * @sample stock/scrollbar/style/\n     *         Scrollbar styling\n     */\n    trackBorderWidth: 1\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Scrollbar_ScrollbarDefaults = (ScrollbarDefaults);\n\n;// ./code/es-modules/Stock/Scrollbar/Scrollbar.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n\nconst { addEvent: Scrollbar_addEvent, correctFloat: Scrollbar_correctFloat, crisp, defined: Scrollbar_defined, destroyObjectProperties, fireEvent: Scrollbar_fireEvent, merge: Scrollbar_merge, pick: Scrollbar_pick, removeEvent } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\n/* eslint-disable no-invalid-this, valid-jsdoc */\n/**\n * A reusable scrollbar, internally used in Highcharts Stock's\n * navigator and optionally on individual axes.\n *\n * @private\n * @class\n * @name Highcharts.Scrollbar\n * @param {Highcharts.SVGRenderer} renderer\n * @param {Highcharts.ScrollbarOptions} options\n * @param {Highcharts.Chart} chart\n */\nclass Scrollbar {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(AxisClass) {\n        Axis_ScrollbarAxis.compose(AxisClass, Scrollbar);\n    }\n    /**\n     * When we have vertical scrollbar, rifles and arrow in buttons should be\n     * rotated. The same method is used in Navigator's handles, to rotate them.\n     *\n     * @function Highcharts.swapXY\n     *\n     * @param {Highcharts.SVGPathArray} path\n     * Path to be rotated.\n     *\n     * @param {boolean} [vertical]\n     * If vertical scrollbar, swap x-y values.\n     *\n     * @return {Highcharts.SVGPathArray}\n     * Rotated path.\n     *\n     * @requires modules/stock\n     */\n    static swapXY(path, vertical) {\n        if (vertical) {\n            path.forEach((seg) => {\n                const len = seg.length;\n                let temp;\n                for (let i = 0; i < len; i += 2) {\n                    temp = seg[i + 1];\n                    if (typeof temp === 'number') {\n                        seg[i + 1] = seg[i + 2];\n                        seg[i + 2] = temp;\n                    }\n                }\n            });\n        }\n        return path;\n    }\n    /* *\n     *\n     *  Constructors\n     *\n     * */\n    constructor(renderer, options, chart) {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        this._events = [];\n        this.chartX = 0;\n        this.chartY = 0;\n        this.from = 0;\n        this.scrollbarButtons = [];\n        this.scrollbarLeft = 0;\n        this.scrollbarStrokeWidth = 1;\n        this.scrollbarTop = 0;\n        this.size = 0;\n        this.to = 0;\n        this.trackBorderWidth = 1;\n        this.x = 0;\n        this.y = 0;\n        this.init(renderer, options, chart);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Set up the mouse and touch events for the Scrollbar\n     *\n     * @private\n     * @function Highcharts.Scrollbar#addEvents\n     */\n    addEvents() {\n        const buttonsOrder = this.options.inverted ? [1, 0] : [0, 1], buttons = this.scrollbarButtons, bar = this.scrollbarGroup.element, track = this.track.element, mouseDownHandler = this.mouseDownHandler.bind(this), mouseMoveHandler = this.mouseMoveHandler.bind(this), mouseUpHandler = this.mouseUpHandler.bind(this);\n        const _events = [\n            // Mouse events\n            [\n                buttons[buttonsOrder[0]].element,\n                'click',\n                this.buttonToMinClick.bind(this)\n            ],\n            [\n                buttons[buttonsOrder[1]].element,\n                'click',\n                this.buttonToMaxClick.bind(this)\n            ],\n            [track, 'click', this.trackClick.bind(this)],\n            [bar, 'mousedown', mouseDownHandler],\n            [bar.ownerDocument, 'mousemove', mouseMoveHandler],\n            [bar.ownerDocument, 'mouseup', mouseUpHandler],\n            // Touch events\n            [bar, 'touchstart', mouseDownHandler],\n            [bar.ownerDocument, 'touchmove', mouseMoveHandler],\n            [bar.ownerDocument, 'touchend', mouseUpHandler]\n        ];\n        // Add them all\n        _events.forEach(function (args) {\n            Scrollbar_addEvent.apply(null, args);\n        });\n        this._events = _events;\n    }\n    buttonToMaxClick(e) {\n        const scroller = this;\n        const range = ((scroller.to - scroller.from) *\n            Scrollbar_pick(scroller.options.step, 0.2));\n        scroller.updatePosition(scroller.from + range, scroller.to + range);\n        Scrollbar_fireEvent(scroller, 'changed', {\n            from: scroller.from,\n            to: scroller.to,\n            trigger: 'scrollbar',\n            DOMEvent: e\n        });\n    }\n    buttonToMinClick(e) {\n        const scroller = this;\n        const range = Scrollbar_correctFloat(scroller.to - scroller.from) *\n            Scrollbar_pick(scroller.options.step, 0.2);\n        scroller.updatePosition(Scrollbar_correctFloat(scroller.from - range), Scrollbar_correctFloat(scroller.to - range));\n        Scrollbar_fireEvent(scroller, 'changed', {\n            from: scroller.from,\n            to: scroller.to,\n            trigger: 'scrollbar',\n            DOMEvent: e\n        });\n    }\n    /**\n     * Get normalized (0-1) cursor position over the scrollbar\n     *\n     * @private\n     * @function Highcharts.Scrollbar#cursorToScrollbarPosition\n     *\n     * @param  {*} normalizedEvent\n     *         normalized event, with chartX and chartY values\n     *\n     * @return {Highcharts.Dictionary<number>}\n     *         Local position {chartX, chartY}\n     */\n    cursorToScrollbarPosition(normalizedEvent) {\n        const scroller = this, options = scroller.options, minWidthDifference = options.minWidth > scroller.calculatedWidth ?\n            options.minWidth :\n            0; // `minWidth` distorts translation\n        return {\n            chartX: (normalizedEvent.chartX - scroller.x -\n                scroller.xOffset) /\n                (scroller.barWidth - minWidthDifference),\n            chartY: (normalizedEvent.chartY - scroller.y -\n                scroller.yOffset) /\n                (scroller.barWidth - minWidthDifference)\n        };\n    }\n    /**\n     * Destroys allocated elements.\n     *\n     * @private\n     * @function Highcharts.Scrollbar#destroy\n     */\n    destroy() {\n        const scroller = this, navigator = scroller.chart.scroller;\n        // Disconnect events added in addEvents\n        scroller.removeEvents();\n        // Destroy properties\n        [\n            'track',\n            'scrollbarRifles',\n            'scrollbar',\n            'scrollbarGroup',\n            'group'\n        ].forEach(function (prop) {\n            if (scroller[prop] && scroller[prop].destroy) {\n                scroller[prop] = scroller[prop].destroy();\n            }\n        });\n        // #6421, chart may have more scrollbars\n        if (navigator && scroller === navigator.scrollbar) {\n            navigator.scrollbar = null;\n            // Destroy elements in collection\n            destroyObjectProperties(navigator.scrollbarButtons);\n        }\n    }\n    /**\n     * Draw the scrollbar buttons with arrows\n     *\n     * @private\n     * @function Highcharts.Scrollbar#drawScrollbarButton\n     * @param {number} index\n     *        0 is left, 1 is right\n     */\n    drawScrollbarButton(index) {\n        const scroller = this, renderer = scroller.renderer, scrollbarButtons = scroller.scrollbarButtons, options = scroller.options, size = scroller.size, group = renderer.g().add(scroller.group);\n        scrollbarButtons.push(group);\n        if (options.buttonsEnabled) {\n            // Create a rectangle for the scrollbar button\n            const rect = renderer.rect()\n                .addClass('highcharts-scrollbar-button')\n                .add(group);\n            // Presentational attributes\n            if (!scroller.chart.styledMode) {\n                rect.attr({\n                    stroke: options.buttonBorderColor,\n                    'stroke-width': options.buttonBorderWidth,\n                    fill: options.buttonBackgroundColor\n                });\n            }\n            // Place the rectangle based on the rendered stroke width\n            rect.attr(rect.crisp({\n                x: -0.5,\n                y: -0.5,\n                width: size,\n                height: size,\n                r: options.buttonBorderRadius\n            }, rect.strokeWidth()));\n            // Button arrow\n            const arrow = renderer\n                .path(Scrollbar.swapXY([[\n                    'M',\n                    size / 2 + (index ? -1 : 1),\n                    size / 2 - 3\n                ], [\n                    'L',\n                    size / 2 + (index ? -1 : 1),\n                    size / 2 + 3\n                ], [\n                    'L',\n                    size / 2 + (index ? 2 : -2),\n                    size / 2\n                ]], options.vertical))\n                .addClass('highcharts-scrollbar-arrow')\n                .add(scrollbarButtons[index]);\n            if (!scroller.chart.styledMode) {\n                arrow.attr({\n                    fill: options.buttonArrowColor\n                });\n            }\n        }\n    }\n    /**\n     * @private\n     * @function Highcharts.Scrollbar#init\n     * @param {Highcharts.SVGRenderer} renderer\n     * @param {Highcharts.ScrollbarOptions} options\n     * @param {Highcharts.Chart} chart\n     */\n    init(renderer, options, chart) {\n        const scroller = this;\n        scroller.scrollbarButtons = [];\n        scroller.renderer = renderer;\n        scroller.userOptions = options;\n        scroller.options = Scrollbar_merge(Scrollbar_ScrollbarDefaults, defaultOptions.scrollbar, options);\n        scroller.options.margin = Scrollbar_pick(scroller.options.margin, 10);\n        scroller.chart = chart;\n        // Backward compatibility\n        scroller.size = Scrollbar_pick(scroller.options.size, scroller.options.height);\n        // Init\n        if (options.enabled) {\n            scroller.render();\n            scroller.addEvents();\n        }\n    }\n    mouseDownHandler(e) {\n        const scroller = this, normalizedEvent = scroller.chart.pointer?.normalize(e) || e, mousePosition = scroller.cursorToScrollbarPosition(normalizedEvent);\n        scroller.chartX = mousePosition.chartX;\n        scroller.chartY = mousePosition.chartY;\n        scroller.initPositions = [scroller.from, scroller.to];\n        scroller.grabbedCenter = true;\n    }\n    /**\n     * Event handler for the mouse move event.\n     * @private\n     */\n    mouseMoveHandler(e) {\n        const scroller = this, normalizedEvent = scroller.chart.pointer?.normalize(e) || e, options = scroller.options, direction = options.vertical ?\n            'chartY' : 'chartX', initPositions = scroller.initPositions || [];\n        let scrollPosition, chartPosition, change;\n        // In iOS, a mousemove event with e.pageX === 0 is fired when\n        // holding the finger down in the center of the scrollbar. This\n        // should be ignored.\n        if (scroller.grabbedCenter &&\n            // #4696, scrollbar failed on Android\n            (!e.touches || e.touches[0][direction] !== 0)) {\n            chartPosition = scroller.cursorToScrollbarPosition(normalizedEvent)[direction];\n            scrollPosition = scroller[direction];\n            change = chartPosition - scrollPosition;\n            scroller.hasDragged = true;\n            scroller.updatePosition(initPositions[0] + change, initPositions[1] + change);\n            if (scroller.hasDragged) {\n                Scrollbar_fireEvent(scroller, 'changed', {\n                    from: scroller.from,\n                    to: scroller.to,\n                    trigger: 'scrollbar',\n                    DOMType: e.type,\n                    DOMEvent: e\n                });\n            }\n        }\n    }\n    /**\n     * Event handler for the mouse up event.\n     * @private\n     */\n    mouseUpHandler(e) {\n        const scroller = this;\n        if (scroller.hasDragged) {\n            Scrollbar_fireEvent(scroller, 'changed', {\n                from: scroller.from,\n                to: scroller.to,\n                trigger: 'scrollbar',\n                DOMType: e.type,\n                DOMEvent: e\n            });\n        }\n        scroller.grabbedCenter =\n            scroller.hasDragged =\n                scroller.chartX =\n                    scroller.chartY = null;\n    }\n    /**\n     * Position the scrollbar, method called from a parent with defined\n     * dimensions.\n     *\n     * @private\n     * @function Highcharts.Scrollbar#position\n     * @param {number} x\n     *        x-position on the chart\n     * @param {number} y\n     *        y-position on the chart\n     * @param {number} width\n     *        width of the scrollbar\n     * @param {number} height\n     *        height of the scrollbar\n     */\n    position(x, y, width, height) {\n        const scroller = this, options = scroller.options, { buttonsEnabled, margin = 0, vertical } = options, method = scroller.rendered ? 'animate' : 'attr';\n        let xOffset = height, yOffset = 0;\n        // Make the scrollbar visible when it is repositioned, #15763.\n        scroller.group.show();\n        scroller.x = x;\n        scroller.y = y + this.trackBorderWidth;\n        scroller.width = width; // Width with buttons\n        scroller.height = height;\n        scroller.xOffset = xOffset;\n        scroller.yOffset = yOffset;\n        // If Scrollbar is a vertical type, swap options:\n        if (vertical) {\n            scroller.width = scroller.yOffset = width = yOffset = scroller.size;\n            scroller.xOffset = xOffset = 0;\n            scroller.yOffset = yOffset = buttonsEnabled ? scroller.size : 0;\n            // Width without buttons\n            scroller.barWidth = height - (buttonsEnabled ? width * 2 : 0);\n            scroller.x = x = x + margin;\n        }\n        else {\n            scroller.height = height = scroller.size;\n            scroller.xOffset = xOffset = buttonsEnabled ? scroller.size : 0;\n            // Width without buttons\n            scroller.barWidth = width - (buttonsEnabled ? height * 2 : 0);\n            scroller.y = scroller.y + margin;\n        }\n        // Set general position for a group:\n        scroller.group[method]({\n            translateX: x,\n            translateY: scroller.y\n        });\n        // Resize background/track:\n        scroller.track[method]({\n            width: width,\n            height: height\n        });\n        // Move right/bottom button to its place:\n        scroller.scrollbarButtons[1][method]({\n            translateX: vertical ? 0 : width - xOffset,\n            translateY: vertical ? height - yOffset : 0\n        });\n    }\n    /**\n     * Removes the event handlers attached previously with addEvents.\n     *\n     * @private\n     * @function Highcharts.Scrollbar#removeEvents\n     */\n    removeEvents() {\n        this._events.forEach(function (args) {\n            removeEvent.apply(null, args);\n        });\n        this._events.length = 0;\n    }\n    /**\n     * Render scrollbar with all required items.\n     *\n     * @private\n     * @function Highcharts.Scrollbar#render\n     */\n    render() {\n        const scroller = this, renderer = scroller.renderer, options = scroller.options, size = scroller.size, styledMode = scroller.chart.styledMode, group = renderer.g('scrollbar')\n            .attr({\n            zIndex: options.zIndex\n        })\n            .hide() // Initially hide the scrollbar #15863\n            .add();\n        // Draw the scrollbar group\n        scroller.group = group;\n        // Draw the scrollbar track:\n        scroller.track = renderer.rect()\n            .addClass('highcharts-scrollbar-track')\n            .attr({\n            r: options.trackBorderRadius || 0,\n            height: size,\n            width: size\n        }).add(group);\n        if (!styledMode) {\n            scroller.track.attr({\n                fill: options.trackBackgroundColor,\n                stroke: options.trackBorderColor,\n                'stroke-width': options.trackBorderWidth\n            });\n        }\n        const trackBorderWidth = scroller.trackBorderWidth =\n            scroller.track.strokeWidth();\n        scroller.track.attr({\n            x: -crisp(0, trackBorderWidth),\n            y: -crisp(0, trackBorderWidth)\n        });\n        // Draw the scrollbar itself\n        scroller.scrollbarGroup = renderer.g().add(group);\n        scroller.scrollbar = renderer.rect()\n            .addClass('highcharts-scrollbar-thumb')\n            .attr({\n            height: size - trackBorderWidth,\n            width: size - trackBorderWidth,\n            r: options.barBorderRadius || 0\n        }).add(scroller.scrollbarGroup);\n        scroller.scrollbarRifles = renderer\n            .path(Scrollbar.swapXY([\n            ['M', -3, size / 4],\n            ['L', -3, 2 * size / 3],\n            ['M', 0, size / 4],\n            ['L', 0, 2 * size / 3],\n            ['M', 3, size / 4],\n            ['L', 3, 2 * size / 3]\n        ], options.vertical))\n            .addClass('highcharts-scrollbar-rifles')\n            .add(scroller.scrollbarGroup);\n        if (!styledMode) {\n            scroller.scrollbar.attr({\n                fill: options.barBackgroundColor,\n                stroke: options.barBorderColor,\n                'stroke-width': options.barBorderWidth\n            });\n            scroller.scrollbarRifles.attr({\n                stroke: options.rifleColor,\n                'stroke-width': 1\n            });\n        }\n        scroller.scrollbarStrokeWidth = scroller.scrollbar.strokeWidth();\n        scroller.scrollbarGroup.translate(-crisp(0, scroller.scrollbarStrokeWidth), -crisp(0, scroller.scrollbarStrokeWidth));\n        // Draw the buttons:\n        scroller.drawScrollbarButton(0);\n        scroller.drawScrollbarButton(1);\n    }\n    /**\n     * Set scrollbar size, with a given scale.\n     *\n     * @private\n     * @function Highcharts.Scrollbar#setRange\n     * @param {number} from\n     *        scale (0-1) where bar should start\n     * @param {number} to\n     *        scale (0-1) where bar should end\n     */\n    setRange(from, to) {\n        const scroller = this, options = scroller.options, vertical = options.vertical, minWidth = options.minWidth, fullWidth = scroller.barWidth, method = (this.rendered &&\n            !this.hasDragged &&\n            !(this.chart.navigator && this.chart.navigator.hasDragged)) ? 'animate' : 'attr';\n        if (!Scrollbar_defined(fullWidth)) {\n            return;\n        }\n        const toPX = fullWidth * Math.min(to, 1);\n        let fromPX, newSize;\n        from = Math.max(from, 0);\n        fromPX = Math.ceil(fullWidth * from);\n        scroller.calculatedWidth = newSize = Scrollbar_correctFloat(toPX - fromPX);\n        // We need to recalculate position, if minWidth is used\n        if (newSize < minWidth) {\n            fromPX = (fullWidth - minWidth + newSize) * from;\n            newSize = minWidth;\n        }\n        const newPos = Math.floor(fromPX + scroller.xOffset + scroller.yOffset);\n        const newRiflesPos = newSize / 2 - 0.5; // -0.5 -> rifle line width / 2\n        // Store current position:\n        scroller.from = from;\n        scroller.to = to;\n        if (!vertical) {\n            scroller.scrollbarGroup[method]({\n                translateX: newPos\n            });\n            scroller.scrollbar[method]({\n                width: newSize\n            });\n            scroller.scrollbarRifles[method]({\n                translateX: newRiflesPos\n            });\n            scroller.scrollbarLeft = newPos;\n            scroller.scrollbarTop = 0;\n        }\n        else {\n            scroller.scrollbarGroup[method]({\n                translateY: newPos\n            });\n            scroller.scrollbar[method]({\n                height: newSize\n            });\n            scroller.scrollbarRifles[method]({\n                translateY: newRiflesPos\n            });\n            scroller.scrollbarTop = newPos;\n            scroller.scrollbarLeft = 0;\n        }\n        if (newSize <= 12) {\n            scroller.scrollbarRifles.hide();\n        }\n        else {\n            scroller.scrollbarRifles.show();\n        }\n        // Show or hide the scrollbar based on the showFull setting\n        if (options.showFull === false) {\n            if (from <= 0 && to >= 1) {\n                scroller.group.hide();\n            }\n            else {\n                scroller.group.show();\n            }\n        }\n        scroller.rendered = true;\n    }\n    /**\n     * Checks if the extremes should be updated in response to a scrollbar\n     * change event.\n     *\n     * @private\n     * @function Highcharts.Scrollbar#shouldUpdateExtremes\n     */\n    shouldUpdateExtremes(eventType) {\n        return (Scrollbar_pick(this.options.liveRedraw, (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).svg &&\n            !(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isTouchDevice &&\n            !this.chart.boosted) ||\n            // Mouseup always should change extremes\n            eventType === 'mouseup' ||\n            eventType === 'touchend' ||\n            // Internal events\n            !Scrollbar_defined(eventType));\n    }\n    trackClick(e) {\n        const scroller = this;\n        const normalizedEvent = scroller.chart.pointer?.normalize(e) || e, range = scroller.to - scroller.from, top = scroller.y + scroller.scrollbarTop, left = scroller.x + scroller.scrollbarLeft;\n        if ((scroller.options.vertical && normalizedEvent.chartY > top) ||\n            (!scroller.options.vertical && normalizedEvent.chartX > left)) {\n            // On the top or on the left side of the track:\n            scroller.updatePosition(scroller.from + range, scroller.to + range);\n        }\n        else {\n            // On the bottom or the right side of the track:\n            scroller.updatePosition(scroller.from - range, scroller.to - range);\n        }\n        Scrollbar_fireEvent(scroller, 'changed', {\n            from: scroller.from,\n            to: scroller.to,\n            trigger: 'scrollbar',\n            DOMEvent: e\n        });\n    }\n    /**\n     * Update the scrollbar with new options\n     *\n     * @private\n     * @function Highcharts.Scrollbar#update\n     * @param  {Highcharts.ScrollbarOptions} options\n     */\n    update(options) {\n        this.destroy();\n        this.init(this.chart.renderer, Scrollbar_merge(true, this.options, options), this.chart);\n    }\n    /**\n     * Update position option in the Scrollbar, with normalized 0-1 scale\n     *\n     * @private\n     * @function Highcharts.Scrollbar#updatePosition\n     * @param  {number} from\n     * @param  {number} to\n     */\n    updatePosition(from, to) {\n        if (to > 1) {\n            from = Scrollbar_correctFloat(1 - Scrollbar_correctFloat(to - from));\n            to = 1;\n        }\n        if (from < 0) {\n            to = Scrollbar_correctFloat(to - from);\n            from = 0;\n        }\n        this.from = from;\n        this.to = to;\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nScrollbar.defaultOptions = Scrollbar_ScrollbarDefaults;\n/* *\n *\n *  Registry\n *\n * */\ndefaultOptions.scrollbar = Scrollbar_merge(true, Scrollbar.defaultOptions, defaultOptions.scrollbar);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Scrollbar_Scrollbar = (Scrollbar);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SVGRenderer\"],\"commonjs\":[\"highcharts\",\"SVGRenderer\"],\"commonjs2\":[\"highcharts\",\"SVGRenderer\"],\"root\":[\"Highcharts\",\"SVGRenderer\"]}\nvar highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_ = __webpack_require__(540);\nvar highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default = /*#__PURE__*/__webpack_require__.n(highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_);\n;// ./code/es-modules/Stock/Navigator/Navigator.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { defaultOptions: Navigator_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { isTouchDevice: Navigator_isTouchDevice } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\n\nconst { prototype: { symbols } } = (highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default());\n\nconst { addEvent: Navigator_addEvent, clamp, correctFloat: Navigator_correctFloat, defined: Navigator_defined, destroyObjectProperties: Navigator_destroyObjectProperties, erase, extend: Navigator_extend, find: Navigator_find, fireEvent: Navigator_fireEvent, isArray, isNumber: Navigator_isNumber, merge: Navigator_merge, pick: Navigator_pick, removeEvent: Navigator_removeEvent, splat } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Finding the min or max of a set of variables where we don't know if they are\n * defined, is a pattern that is repeated several places in Highcharts. Consider\n * making this a global utility method.\n * @private\n */\nfunction numExt(extreme, ...args) {\n    const numbers = [].filter.call(args, Navigator_isNumber);\n    if (numbers.length) {\n        return Math[extreme].apply(0, numbers);\n    }\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The Navigator class\n *\n * @private\n * @class\n * @name Highcharts.Navigator\n *\n * @param {Highcharts.Chart} chart\n *        Chart object\n */\nclass Navigator {\n    /* *\n     *\n     *  Static Properties\n     *\n     * */\n    static compose(ChartClass, AxisClass, SeriesClass) {\n        Navigator_ChartNavigatorComposition.compose(ChartClass, Navigator);\n        Navigator_NavigatorComposition.compose(ChartClass, AxisClass, SeriesClass);\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart) {\n        this.isDirty = false;\n        this.scrollbarHeight = 0;\n        this.init(chart);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Draw one of the handles on the side of the zoomed range in the navigator.\n     *\n     * @private\n     * @function Highcharts.Navigator#drawHandle\n     *\n     * @param {number} x\n     *        The x center for the handle\n     *\n     * @param {number} index\n     *        0 for left and 1 for right\n     *\n     * @param {boolean|undefined} inverted\n     *        Flag for chart.inverted\n     *\n     * @param {string} verb\n     *        Use 'animate' or 'attr'\n     */\n    drawHandle(x, index, inverted, verb) {\n        const navigator = this, height = navigator.navigatorOptions.handles.height;\n        // Place it\n        navigator.handles[index][verb](inverted ? {\n            translateX: Math.round(navigator.left + navigator.height / 2),\n            translateY: Math.round(navigator.top + parseInt(x, 10) + 0.5 - height)\n        } : {\n            translateX: Math.round(navigator.left + parseInt(x, 10)),\n            translateY: Math.round(navigator.top + navigator.height / 2 - height / 2 - 1)\n        });\n    }\n    /**\n     * Render outline around the zoomed range\n     *\n     * @private\n     * @function Highcharts.Navigator#drawOutline\n     *\n     * @param {number} zoomedMin\n     *        in pixels position where zoomed range starts\n     *\n     * @param {number} zoomedMax\n     *        in pixels position where zoomed range ends\n     *\n     * @param {boolean|undefined} inverted\n     *        flag if chart is inverted\n     *\n     * @param {string} verb\n     *        use 'animate' or 'attr'\n     */\n    drawOutline(zoomedMin, zoomedMax, inverted, verb) {\n        const navigator = this, maskInside = navigator.navigatorOptions.maskInside, outlineWidth = navigator.outline.strokeWidth(), halfOutline = outlineWidth / 2, outlineCorrection = (outlineWidth % 2) / 2, // #5800\n        scrollButtonSize = navigator.scrollButtonSize, navigatorSize = navigator.size, navigatorTop = navigator.top, height = navigator.height, lineTop = navigatorTop - halfOutline, lineBtm = navigatorTop + height;\n        let left = navigator.left, verticalMin, path;\n        if (inverted) {\n            verticalMin = navigatorTop + zoomedMax + outlineCorrection;\n            zoomedMax = navigatorTop + zoomedMin + outlineCorrection;\n            path = [\n                [\n                    'M',\n                    left + height,\n                    navigatorTop - scrollButtonSize - outlineCorrection\n                ],\n                // Top right of zoomed range\n                ['L', left + height, verticalMin],\n                ['L', left, verticalMin], // Top left of z.r.\n                ['M', left, zoomedMax], // Bottom left of z.r.\n                ['L', left + height, zoomedMax], // Bottom right of z.r.\n                [\n                    'L',\n                    left + height,\n                    navigatorTop + navigatorSize + scrollButtonSize\n                ]\n            ];\n            if (maskInside) {\n                path.push(\n                // Upper left of zoomed range\n                ['M', left + height, verticalMin - halfOutline], \n                // Upper right of z.r.\n                [\n                    'L',\n                    left + height,\n                    zoomedMax + halfOutline\n                ]);\n            }\n        }\n        else {\n            left -= scrollButtonSize;\n            zoomedMin += left + scrollButtonSize - outlineCorrection;\n            zoomedMax += left + scrollButtonSize - outlineCorrection;\n            path = [\n                // Left\n                ['M', left, lineTop],\n                // Upper left of zoomed range\n                ['L', zoomedMin, lineTop],\n                // Lower left of z.r.\n                ['L', zoomedMin, lineBtm],\n                // Lower right of z.r.\n                ['M', zoomedMax, lineBtm],\n                // Upper right of z.r.\n                ['L', zoomedMax, lineTop],\n                // Right\n                [\n                    'L',\n                    left + navigatorSize + scrollButtonSize * 2,\n                    lineTop\n                ]\n            ];\n            if (maskInside) {\n                path.push(\n                // Upper left of zoomed range\n                ['M', zoomedMin - halfOutline, lineTop], \n                // Upper right of z.r.\n                ['L', zoomedMax + halfOutline, lineTop]);\n            }\n        }\n        navigator.outline[verb]({\n            d: path\n        });\n    }\n    /**\n     * Render outline around the zoomed range\n     *\n     * @private\n     * @function Highcharts.Navigator#drawMasks\n     *\n     * @param {number} zoomedMin\n     *        in pixels position where zoomed range starts\n     *\n     * @param {number} zoomedMax\n     *        in pixels position where zoomed range ends\n     *\n     * @param {boolean|undefined} inverted\n     *        flag if chart is inverted\n     *\n     * @param {string} verb\n     *        use 'animate' or 'attr'\n     */\n    drawMasks(zoomedMin, zoomedMax, inverted, verb) {\n        const navigator = this, left = navigator.left, top = navigator.top, navigatorHeight = navigator.height;\n        let height, width, x, y;\n        // Determine rectangle position & size\n        // According to (non)inverted position:\n        if (inverted) {\n            x = [left, left, left];\n            y = [top, top + zoomedMin, top + zoomedMax];\n            width = [navigatorHeight, navigatorHeight, navigatorHeight];\n            height = [\n                zoomedMin,\n                zoomedMax - zoomedMin,\n                navigator.size - zoomedMax\n            ];\n        }\n        else {\n            x = [left, left + zoomedMin, left + zoomedMax];\n            y = [top, top, top];\n            width = [\n                zoomedMin,\n                zoomedMax - zoomedMin,\n                navigator.size - zoomedMax\n            ];\n            height = [navigatorHeight, navigatorHeight, navigatorHeight];\n        }\n        navigator.shades.forEach((shade, i) => {\n            shade[verb]({\n                x: x[i],\n                y: y[i],\n                width: width[i],\n                height: height[i]\n            });\n        });\n    }\n    /**\n     * Generate and update DOM elements for a navigator:\n     *\n     * - main navigator group\n     *\n     * - all shades\n     *\n     * - outline\n     *\n     * - handles\n     *\n     * @private\n     * @function Highcharts.Navigator#renderElements\n     */\n    renderElements() {\n        const navigator = this, navigatorOptions = navigator.navigatorOptions, maskInside = navigatorOptions.maskInside, chart = navigator.chart, inverted = chart.inverted, renderer = chart.renderer, mouseCursor = {\n            cursor: inverted ? 'ns-resize' : 'ew-resize'\n        }, \n        // Create the main navigator group\n        navigatorGroup = navigator.navigatorGroup ??\n            (navigator.navigatorGroup = renderer\n                .g('navigator')\n                .attr({\n                zIndex: 8,\n                visibility: 'hidden'\n            })\n                .add());\n        // Create masks, each mask will get events and fill:\n        [\n            !maskInside,\n            maskInside,\n            !maskInside\n        ].forEach((hasMask, index) => {\n            const shade = navigator.shades[index] ??\n                (navigator.shades[index] = renderer.rect()\n                    .addClass('highcharts-navigator-mask' +\n                    (index === 1 ? '-inside' : '-outside'))\n                    .add(navigatorGroup));\n            if (!chart.styledMode) {\n                shade.attr({\n                    fill: hasMask ? navigatorOptions.maskFill : 'rgba(0,0,0,0)'\n                });\n                if (index === 1) {\n                    shade.css(mouseCursor);\n                }\n            }\n        });\n        // Create the outline:\n        if (!navigator.outline) {\n            navigator.outline = renderer.path()\n                .addClass('highcharts-navigator-outline')\n                .add(navigatorGroup);\n        }\n        if (!chart.styledMode) {\n            navigator.outline.attr({\n                'stroke-width': navigatorOptions.outlineWidth,\n                stroke: navigatorOptions.outlineColor\n            });\n        }\n        // Create the handlers:\n        if (navigatorOptions.handles?.enabled) {\n            const handlesOptions = navigatorOptions.handles, { height, width } = handlesOptions;\n            [0, 1].forEach((index) => {\n                const symbolName = handlesOptions.symbols[index];\n                if (!navigator.handles[index] ||\n                    navigator.handles[index].symbolUrl !== symbolName) {\n                    // Generate symbol from scratch if we're dealing with an URL\n                    navigator.handles[index]?.destroy();\n                    navigator.handles[index] = renderer.symbol(symbolName, -width / 2 - 1, 0, width, height, handlesOptions);\n                    // Z index is 6 for right handle, 7 for left. Can't be 10,\n                    // because of the tooltip in inverted chart (#2908).\n                    navigator.handles[index].attr({ zIndex: 7 - index })\n                        .addClass('highcharts-navigator-handle ' +\n                        'highcharts-navigator-handle-' +\n                        ['left', 'right'][index]).add(navigatorGroup);\n                    navigator.addMouseEvents();\n                    // If the navigator symbol changed, update its path and name\n                }\n                else if (!navigator.handles[index].isImg &&\n                    navigator.handles[index].symbolName !== symbolName) {\n                    const symbolFn = symbols[symbolName], path = symbolFn.call(symbols, -width / 2 - 1, 0, width, height);\n                    navigator.handles[index].attr({\n                        d: path\n                    });\n                    navigator.handles[index].symbolName = symbolName;\n                }\n                if (chart.inverted) {\n                    navigator.handles[index].attr({\n                        rotation: 90,\n                        rotationOriginX: Math.floor(-width / 2),\n                        rotationOriginY: (height + width) / 2\n                    });\n                }\n                if (!chart.styledMode) {\n                    navigator.handles[index]\n                        .attr({\n                        fill: handlesOptions.backgroundColor,\n                        stroke: handlesOptions.borderColor,\n                        'stroke-width': handlesOptions.lineWidth,\n                        width: handlesOptions.width,\n                        height: handlesOptions.height,\n                        x: -width / 2 - 1,\n                        y: 0\n                    })\n                        .css(mouseCursor);\n                }\n            });\n        }\n    }\n    /**\n     * Update navigator\n     *\n     * @private\n     * @function Highcharts.Navigator#update\n     *\n     * @param {Highcharts.NavigatorOptions} options\n     *        Options to merge in when updating navigator\n     */\n    update(options, redraw = false) {\n        const chart = this.chart, invertedUpdate = chart.options.chart.inverted !==\n            chart.scrollbar?.options.vertical;\n        Navigator_merge(true, chart.options.navigator, options);\n        this.navigatorOptions = chart.options.navigator || {};\n        this.setOpposite();\n        // Revert to destroy/init for navigator/scrollbar enabled toggle\n        if (Navigator_defined(options.enabled) || invertedUpdate) {\n            this.destroy();\n            this.navigatorEnabled = options.enabled || this.navigatorEnabled;\n            return this.init(chart);\n        }\n        if (this.navigatorEnabled) {\n            this.isDirty = true;\n            if (options.adaptToUpdatedData === false) {\n                this.baseSeries.forEach((series) => {\n                    Navigator_removeEvent(series, 'updatedData', this.updatedDataHandler);\n                }, this);\n            }\n            if (options.adaptToUpdatedData) {\n                this.baseSeries.forEach((series) => {\n                    series.eventsToUnbind.push(Navigator_addEvent(series, 'updatedData', this.updatedDataHandler));\n                }, this);\n            }\n            // Update navigator series\n            if (options.series || options.baseSeries) {\n                this.setBaseSeries(void 0, false);\n            }\n            // Update navigator axis\n            if (options.height || options.xAxis || options.yAxis) {\n                this.height = options.height ?? this.height;\n                const offsets = this.getXAxisOffsets();\n                this.xAxis.update({\n                    ...options.xAxis,\n                    offsets,\n                    [chart.inverted ? 'width' : 'height']: this.height,\n                    [chart.inverted ? 'height' : 'width']: void 0\n                }, false);\n                this.yAxis.update({\n                    ...options.yAxis,\n                    [chart.inverted ? 'width' : 'height']: this.height\n                }, false);\n            }\n        }\n        if (redraw) {\n            chart.redraw();\n        }\n    }\n    /**\n     * Render the navigator\n     *\n     * @private\n     * @function Highcharts.Navigator#render\n     * @param {number} min\n     *        X axis value minimum\n     * @param {number} max\n     *        X axis value maximum\n     * @param {number} [pxMin]\n     *        Pixel value minimum\n     * @param {number} [pxMax]\n     *        Pixel value maximum\n     */\n    render(min, max, pxMin, pxMax) {\n        const navigator = this, chart = navigator.chart, xAxis = navigator.xAxis, pointRange = xAxis.pointRange || 0, scrollbarXAxis = xAxis.navigatorAxis.fake ? chart.xAxis[0] : xAxis, navigatorEnabled = navigator.navigatorEnabled, rendered = navigator.rendered, inverted = chart.inverted, minRange = chart.xAxis[0].minRange, maxRange = chart.xAxis[0].options.maxRange, scrollButtonSize = navigator.scrollButtonSize;\n        let navigatorWidth, scrollbarLeft, scrollbarTop, scrollbarHeight = navigator.scrollbarHeight, navigatorSize, verb;\n        // Don't redraw while moving the handles (#4703).\n        if (this.hasDragged && !Navigator_defined(pxMin)) {\n            return;\n        }\n        if (this.isDirty) {\n            // Update DOM navigator elements\n            this.renderElements();\n        }\n        min = Navigator_correctFloat(min - pointRange / 2);\n        max = Navigator_correctFloat(max + pointRange / 2);\n        // Don't render the navigator until we have data (#486, #4202, #5172).\n        if (!Navigator_isNumber(min) || !Navigator_isNumber(max)) {\n            // However, if navigator was already rendered, we may need to resize\n            // it. For example hidden series, but visible navigator (#6022).\n            if (rendered) {\n                pxMin = 0;\n                pxMax = Navigator_pick(xAxis.width, scrollbarXAxis.width);\n            }\n            else {\n                return;\n            }\n        }\n        navigator.left = Navigator_pick(xAxis.left, \n        // In case of scrollbar only, without navigator\n        chart.plotLeft + scrollButtonSize +\n            (inverted ? chart.plotWidth : 0));\n        let zoomedMax = navigator.size = navigatorSize = Navigator_pick(xAxis.len, (inverted ? chart.plotHeight : chart.plotWidth) -\n            2 * scrollButtonSize);\n        if (inverted) {\n            navigatorWidth = scrollbarHeight;\n        }\n        else {\n            navigatorWidth = navigatorSize + 2 * scrollButtonSize;\n        }\n        // Get the pixel position of the handles\n        pxMin = Navigator_pick(pxMin, xAxis.toPixels(min, true));\n        pxMax = Navigator_pick(pxMax, xAxis.toPixels(max, true));\n        // Verify (#1851, #2238)\n        if (!Navigator_isNumber(pxMin) || Math.abs(pxMin) === Infinity) {\n            pxMin = 0;\n            pxMax = navigatorWidth;\n        }\n        // Are we below the minRange? (#2618, #6191)\n        const newMin = xAxis.toValue(pxMin, true), newMax = xAxis.toValue(pxMax, true), currentRange = Math.abs(Navigator_correctFloat(newMax - newMin));\n        if (currentRange < minRange) {\n            if (this.grabbedLeft) {\n                pxMin = xAxis.toPixels(newMax - minRange - pointRange, true);\n            }\n            else if (this.grabbedRight) {\n                pxMax = xAxis.toPixels(newMin + minRange + pointRange, true);\n            }\n        }\n        else if (Navigator_defined(maxRange) &&\n            Navigator_correctFloat(currentRange - pointRange) > maxRange) {\n            if (this.grabbedLeft) {\n                pxMin = xAxis.toPixels(newMax - maxRange - pointRange, true);\n            }\n            else if (this.grabbedRight) {\n                pxMax = xAxis.toPixels(newMin + maxRange + pointRange, true);\n            }\n        }\n        // Handles are allowed to cross, but never exceed the plot area\n        navigator.zoomedMax = clamp(Math.max(pxMin, pxMax), 0, zoomedMax);\n        navigator.zoomedMin = clamp(navigator.fixedWidth ?\n            navigator.zoomedMax - navigator.fixedWidth :\n            Math.min(pxMin, pxMax), 0, zoomedMax);\n        navigator.range = navigator.zoomedMax - navigator.zoomedMin;\n        zoomedMax = Math.round(navigator.zoomedMax);\n        const zoomedMin = Math.round(navigator.zoomedMin);\n        if (navigatorEnabled) {\n            navigator.navigatorGroup.attr({\n                visibility: 'inherit'\n            });\n            // Place elements\n            verb = rendered && !navigator.hasDragged ? 'animate' : 'attr';\n            navigator.drawMasks(zoomedMin, zoomedMax, inverted, verb);\n            navigator.drawOutline(zoomedMin, zoomedMax, inverted, verb);\n            if (navigator.navigatorOptions.handles.enabled) {\n                navigator.drawHandle(zoomedMin, 0, inverted, verb);\n                navigator.drawHandle(zoomedMax, 1, inverted, verb);\n            }\n        }\n        if (navigator.scrollbar) {\n            if (inverted) {\n                scrollbarTop = navigator.top - scrollButtonSize;\n                scrollbarLeft = navigator.left - scrollbarHeight +\n                    (navigatorEnabled || !scrollbarXAxis.opposite ? 0 :\n                        // Multiple axes has offsets:\n                        (scrollbarXAxis.titleOffset || 0) +\n                            // Self margin from the axis.title\n                            scrollbarXAxis.axisTitleMargin);\n                scrollbarHeight = navigatorSize + 2 * scrollButtonSize;\n            }\n            else {\n                scrollbarTop = navigator.top + (navigatorEnabled ?\n                    navigator.height :\n                    -scrollbarHeight);\n                scrollbarLeft = navigator.left - scrollButtonSize;\n            }\n            // Reposition scrollbar\n            navigator.scrollbar.position(scrollbarLeft, scrollbarTop, navigatorWidth, scrollbarHeight);\n            // Keep scale 0-1\n            navigator.scrollbar.setRange(\n            // Use real value, not rounded because range can be very small\n            // (#1716)\n            navigator.zoomedMin / (navigatorSize || 1), navigator.zoomedMax / (navigatorSize || 1));\n        }\n        navigator.rendered = true;\n        this.isDirty = false;\n        Navigator_fireEvent(this, 'afterRender');\n    }\n    /**\n     * Set up the mouse and touch events for the navigator\n     *\n     * @private\n     * @function Highcharts.Navigator#addMouseEvents\n     */\n    addMouseEvents() {\n        const navigator = this, chart = navigator.chart, container = chart.container;\n        let eventsToUnbind = [], mouseMoveHandler, mouseUpHandler;\n        /**\n         * Create mouse events' handlers.\n         * Make them as separate functions to enable wrapping them:\n         */\n        navigator.mouseMoveHandler = mouseMoveHandler = function (e) {\n            navigator.onMouseMove(e);\n        };\n        navigator.mouseUpHandler = mouseUpHandler = function (e) {\n            navigator.onMouseUp(e);\n        };\n        // Add shades and handles mousedown events\n        eventsToUnbind = navigator.getPartsEvents('mousedown');\n        eventsToUnbind.push(\n        // Add mouse move and mouseup events. These are bind to doc/div,\n        // because Navigator.grabbedSomething flags are stored in mousedown\n        // events\n        Navigator_addEvent(chart.renderTo, 'mousemove', mouseMoveHandler), Navigator_addEvent(container.ownerDocument, 'mouseup', mouseUpHandler), \n        // Touch events\n        Navigator_addEvent(chart.renderTo, 'touchmove', mouseMoveHandler), Navigator_addEvent(container.ownerDocument, 'touchend', mouseUpHandler));\n        eventsToUnbind.concat(navigator.getPartsEvents('touchstart'));\n        navigator.eventsToUnbind = eventsToUnbind;\n        // Data events\n        if (navigator.series && navigator.series[0]) {\n            eventsToUnbind.push(Navigator_addEvent(navigator.series[0].xAxis, 'foundExtremes', function () {\n                chart.navigator.modifyNavigatorAxisExtremes();\n            }));\n        }\n    }\n    /**\n     * Generate events for handles and masks\n     *\n     * @private\n     * @function Highcharts.Navigator#getPartsEvents\n     *\n     * @param {string} eventName\n     *        Event name handler, 'mousedown' or 'touchstart'\n     *\n     * @return {Array<Function>}\n     *         An array of functions to remove navigator functions from the\n     *         events again.\n     */\n    getPartsEvents(eventName) {\n        const navigator = this, events = [];\n        ['shades', 'handles'].forEach(function (name) {\n            navigator[name].forEach(function (navigatorItem, index) {\n                events.push(Navigator_addEvent(navigatorItem.element, eventName, function (e) {\n                    navigator[name + 'Mousedown'](e, index);\n                }));\n            });\n        });\n        return events;\n    }\n    /**\n     * Mousedown on a shaded mask, either:\n     *\n     * - will be stored for future drag&drop\n     *\n     * - will directly shift to a new range\n     *\n     * @private\n     * @function Highcharts.Navigator#shadesMousedown\n     *\n     * @param {Highcharts.PointerEventObject} e\n     *        Mouse event\n     *\n     * @param {number} index\n     *        Index of a mask in Navigator.shades array\n     */\n    shadesMousedown(e, index) {\n        e = this.chart.pointer?.normalize(e) || e;\n        const navigator = this, chart = navigator.chart, xAxis = navigator.xAxis, zoomedMin = navigator.zoomedMin, navigatorSize = navigator.size, range = navigator.range;\n        let navigatorPosition = navigator.left, chartX = e.chartX, fixedMax, fixedMin, ext, left;\n        // For inverted chart, swap some options:\n        if (chart.inverted) {\n            chartX = e.chartY;\n            navigatorPosition = navigator.top;\n        }\n        if (index === 1) {\n            // Store information for drag&drop\n            navigator.grabbedCenter = chartX;\n            navigator.fixedWidth = range;\n            navigator.dragOffset = chartX - zoomedMin;\n        }\n        else {\n            // Shift the range by clicking on shaded areas\n            left = chartX - navigatorPosition - range / 2;\n            if (index === 0) {\n                left = Math.max(0, left);\n            }\n            else if (index === 2 && left + range >= navigatorSize) {\n                left = navigatorSize - range;\n                if (navigator.reversedExtremes) {\n                    // #7713\n                    left -= range;\n                    fixedMin = navigator.getUnionExtremes().dataMin;\n                }\n                else {\n                    // #2293, #3543\n                    fixedMax = navigator.getUnionExtremes().dataMax;\n                }\n            }\n            if (left !== zoomedMin) { // It has actually moved\n                navigator.fixedWidth = range; // #1370\n                ext = xAxis.navigatorAxis.toFixedRange(left, left + range, fixedMin, fixedMax);\n                if (Navigator_defined(ext.min)) { // #7411\n                    Navigator_fireEvent(this, 'setRange', {\n                        min: Math.min(ext.min, ext.max),\n                        max: Math.max(ext.min, ext.max),\n                        redraw: true,\n                        eventArguments: {\n                            trigger: 'navigator'\n                        }\n                    });\n                }\n            }\n        }\n    }\n    /**\n     * Mousedown on a handle mask.\n     * Will store necessary information for drag&drop.\n     *\n     * @private\n     * @function Highcharts.Navigator#handlesMousedown\n     * @param {Highcharts.PointerEventObject} e\n     *        Mouse event\n     * @param {number} index\n     *        Index of a handle in Navigator.handles array\n     */\n    handlesMousedown(e, index) {\n        e = this.chart.pointer?.normalize(e) || e;\n        const navigator = this, chart = navigator.chart, baseXAxis = chart.xAxis[0], \n        // For reversed axes, min and max are changed,\n        // so the other extreme should be stored\n        reverse = navigator.reversedExtremes;\n        if (index === 0) {\n            // Grab the left handle\n            navigator.grabbedLeft = true;\n            navigator.otherHandlePos = navigator.zoomedMax;\n            navigator.fixedExtreme = reverse ? baseXAxis.min : baseXAxis.max;\n        }\n        else {\n            // Grab the right handle\n            navigator.grabbedRight = true;\n            navigator.otherHandlePos = navigator.zoomedMin;\n            navigator.fixedExtreme = reverse ? baseXAxis.max : baseXAxis.min;\n        }\n        chart.setFixedRange(void 0);\n    }\n    /**\n     * Mouse move event based on x/y mouse position.\n     *\n     * @private\n     * @function Highcharts.Navigator#onMouseMove\n     *\n     * @param {Highcharts.PointerEventObject} e\n     *        Mouse event\n     */\n    onMouseMove(e) {\n        const navigator = this, chart = navigator.chart, navigatorSize = navigator.navigatorSize, range = navigator.range, dragOffset = navigator.dragOffset, inverted = chart.inverted;\n        let left = navigator.left, chartX;\n        // In iOS, a mousemove event with e.pageX === 0 is fired when holding\n        // the finger down in the center of the scrollbar. This should be\n        // ignored.\n        if (!e.touches || e.touches[0].pageX !== 0) { // #4696\n            e = chart.pointer?.normalize(e) || e;\n            chartX = e.chartX;\n            // Swap some options for inverted chart\n            if (inverted) {\n                left = navigator.top;\n                chartX = e.chartY;\n            }\n            // Drag left handle or top handle\n            if (navigator.grabbedLeft) {\n                navigator.hasDragged = true;\n                navigator.render(0, 0, chartX - left, navigator.otherHandlePos);\n                // Drag right handle or bottom handle\n            }\n            else if (navigator.grabbedRight) {\n                navigator.hasDragged = true;\n                navigator.render(0, 0, navigator.otherHandlePos, chartX - left);\n                // Drag scrollbar or open area in navigator\n            }\n            else if (navigator.grabbedCenter) {\n                navigator.hasDragged = true;\n                if (chartX < dragOffset) { // Outside left\n                    chartX = dragOffset;\n                    // Outside right\n                }\n                else if (chartX >\n                    navigatorSize + dragOffset - range) {\n                    chartX = navigatorSize + dragOffset - range;\n                }\n                navigator.render(0, 0, chartX - dragOffset, chartX - dragOffset + range);\n            }\n            if (navigator.hasDragged &&\n                navigator.scrollbar &&\n                Navigator_pick(navigator.scrollbar.options.liveRedraw, \n                // By default, don't run live redraw on touch\n                // devices or if the chart is in boost.\n                !Navigator_isTouchDevice &&\n                    !this.chart.boosted)) {\n                e.DOMType = e.type;\n                setTimeout(function () {\n                    navigator.onMouseUp(e);\n                }, 0);\n            }\n        }\n    }\n    /**\n     * Mouse up event based on x/y mouse position.\n     *\n     * @private\n     * @function Highcharts.Navigator#onMouseUp\n     * @param {Highcharts.PointerEventObject} e\n     *        Mouse event\n     */\n    onMouseUp(e) {\n        const navigator = this, chart = navigator.chart, xAxis = navigator.xAxis, scrollbar = navigator.scrollbar, DOMEvent = e.DOMEvent || e, inverted = chart.inverted, verb = navigator.rendered && !navigator.hasDragged ?\n            'animate' : 'attr';\n        let zoomedMax, zoomedMin, unionExtremes, fixedMin, fixedMax, ext;\n        if (\n        // MouseUp is called for both, navigator and scrollbar (that order),\n        // which causes calling afterSetExtremes twice. Prevent first call\n        // by checking if scrollbar is going to set new extremes (#6334)\n        (navigator.hasDragged && (!scrollbar || !scrollbar.hasDragged)) ||\n            e.trigger === 'scrollbar') {\n            unionExtremes = navigator.getUnionExtremes();\n            // When dragging one handle, make sure the other one doesn't change\n            if (navigator.zoomedMin === navigator.otherHandlePos) {\n                fixedMin = navigator.fixedExtreme;\n            }\n            else if (navigator.zoomedMax === navigator.otherHandlePos) {\n                fixedMax = navigator.fixedExtreme;\n            }\n            // Snap to right edge (#4076)\n            if (navigator.zoomedMax === navigator.size) {\n                fixedMax = navigator.reversedExtremes ?\n                    unionExtremes.dataMin :\n                    unionExtremes.dataMax;\n            }\n            // Snap to left edge (#7576)\n            if (navigator.zoomedMin === 0) {\n                fixedMin = navigator.reversedExtremes ?\n                    unionExtremes.dataMax :\n                    unionExtremes.dataMin;\n            }\n            ext = xAxis.navigatorAxis.toFixedRange(navigator.zoomedMin, navigator.zoomedMax, fixedMin, fixedMax);\n            if (Navigator_defined(ext.min)) {\n                Navigator_fireEvent(this, 'setRange', {\n                    min: Math.min(ext.min, ext.max),\n                    max: Math.max(ext.min, ext.max),\n                    redraw: true,\n                    animation: navigator.hasDragged ? false : null,\n                    eventArguments: {\n                        trigger: 'navigator',\n                        triggerOp: 'navigator-drag',\n                        DOMEvent: DOMEvent // #1838\n                    }\n                });\n            }\n        }\n        if (e.DOMType !== 'mousemove' &&\n            e.DOMType !== 'touchmove') {\n            navigator.grabbedLeft = navigator.grabbedRight =\n                navigator.grabbedCenter = navigator.fixedWidth =\n                    navigator.fixedExtreme = navigator.otherHandlePos =\n                        navigator.hasDragged = navigator.dragOffset = null;\n        }\n        // Update position of navigator shades, outline and handles (#12573)\n        if (navigator.navigatorEnabled &&\n            Navigator_isNumber(navigator.zoomedMin) &&\n            Navigator_isNumber(navigator.zoomedMax)) {\n            zoomedMin = Math.round(navigator.zoomedMin);\n            zoomedMax = Math.round(navigator.zoomedMax);\n            if (navigator.shades) {\n                navigator.drawMasks(zoomedMin, zoomedMax, inverted, verb);\n            }\n            if (navigator.outline) {\n                navigator.drawOutline(zoomedMin, zoomedMax, inverted, verb);\n            }\n            if (navigator.navigatorOptions.handles.enabled &&\n                Object.keys(navigator.handles).length ===\n                    navigator.handles.length) {\n                navigator.drawHandle(zoomedMin, 0, inverted, verb);\n                navigator.drawHandle(zoomedMax, 1, inverted, verb);\n            }\n        }\n    }\n    /**\n     * Removes the event handlers attached previously with addEvents.\n     *\n     * @private\n     * @function Highcharts.Navigator#removeEvents\n     */\n    removeEvents() {\n        if (this.eventsToUnbind) {\n            this.eventsToUnbind.forEach(function (unbind) {\n                unbind();\n            });\n            this.eventsToUnbind = void 0;\n        }\n        this.removeBaseSeriesEvents();\n    }\n    /**\n     * Remove data events.\n     *\n     * @private\n     * @function Highcharts.Navigator#removeBaseSeriesEvents\n     */\n    removeBaseSeriesEvents() {\n        const baseSeries = this.baseSeries || [];\n        if (this.navigatorEnabled && baseSeries[0]) {\n            if (this.navigatorOptions.adaptToUpdatedData !== false) {\n                baseSeries.forEach(function (series) {\n                    Navigator_removeEvent(series, 'updatedData', this.updatedDataHandler);\n                }, this);\n            }\n            // We only listen for extremes-events on the first baseSeries\n            if (baseSeries[0].xAxis) {\n                Navigator_removeEvent(baseSeries[0].xAxis, 'foundExtremes', this.modifyBaseAxisExtremes);\n            }\n        }\n    }\n    /**\n     * Calculate the navigator xAxis offsets\n     *\n     * @private\n     */\n    getXAxisOffsets() {\n        return (this.chart.inverted ?\n            [this.scrollButtonSize, 0, -this.scrollButtonSize, 0] :\n            [0, -this.scrollButtonSize, 0, this.scrollButtonSize]);\n    }\n    /**\n     * Initialize the Navigator object\n     *\n     * @private\n     * @function Highcharts.Navigator#init\n     */\n    init(chart) {\n        const chartOptions = chart.options, navigatorOptions = chartOptions.navigator || {}, navigatorEnabled = navigatorOptions.enabled, scrollbarOptions = chartOptions.scrollbar || {}, scrollbarEnabled = scrollbarOptions.enabled, height = navigatorEnabled && navigatorOptions.height || 0, scrollbarHeight = scrollbarEnabled && scrollbarOptions.height || 0, scrollButtonSize = scrollbarOptions.buttonsEnabled && scrollbarHeight || 0;\n        this.handles = [];\n        this.shades = [];\n        this.chart = chart;\n        this.setBaseSeries();\n        this.height = height;\n        this.scrollbarHeight = scrollbarHeight;\n        this.scrollButtonSize = scrollButtonSize;\n        this.scrollbarEnabled = scrollbarEnabled;\n        this.navigatorEnabled = navigatorEnabled;\n        this.navigatorOptions = navigatorOptions;\n        this.scrollbarOptions = scrollbarOptions;\n        this.setOpposite();\n        const navigator = this, baseSeries = navigator.baseSeries, xAxisIndex = chart.xAxis.length, yAxisIndex = chart.yAxis.length, baseXaxis = baseSeries && baseSeries[0] && baseSeries[0].xAxis ||\n            chart.xAxis[0] || { options: {} };\n        chart.isDirtyBox = true;\n        if (navigator.navigatorEnabled) {\n            const offsets = this.getXAxisOffsets();\n            // An x axis is required for scrollbar also\n            navigator.xAxis = new (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default())(chart, Navigator_merge({\n                // Inherit base xAxis' break, ordinal options and overscroll\n                breaks: baseXaxis.options.breaks,\n                ordinal: baseXaxis.options.ordinal,\n                overscroll: baseXaxis.options.overscroll\n            }, navigatorOptions.xAxis, {\n                type: 'datetime',\n                yAxis: navigatorOptions.yAxis?.id,\n                index: xAxisIndex,\n                isInternal: true,\n                offset: 0,\n                keepOrdinalPadding: true, // #2436\n                startOnTick: false,\n                endOnTick: false,\n                // Inherit base xAxis' padding when ordinal is false (#16915).\n                minPadding: baseXaxis.options.ordinal ? 0 :\n                    baseXaxis.options.minPadding,\n                maxPadding: baseXaxis.options.ordinal ? 0 :\n                    baseXaxis.options.maxPadding,\n                zoomEnabled: false\n            }, chart.inverted ? {\n                offsets,\n                width: height\n            } : {\n                offsets,\n                height\n            }), 'xAxis');\n            navigator.yAxis = new (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default())(chart, Navigator_merge(navigatorOptions.yAxis, {\n                alignTicks: false,\n                offset: 0,\n                index: yAxisIndex,\n                isInternal: true,\n                reversed: Navigator_pick((navigatorOptions.yAxis &&\n                    navigatorOptions.yAxis.reversed), (chart.yAxis[0] && chart.yAxis[0].reversed), false), // #14060\n                zoomEnabled: false\n            }, chart.inverted ? {\n                width: height\n            } : {\n                height: height\n            }), 'yAxis');\n            // If we have a base series, initialize the navigator series\n            if (baseSeries || navigatorOptions.series.data) {\n                navigator.updateNavigatorSeries(false);\n                // If not, set up an event to listen for added series\n            }\n            else if (chart.series.length === 0) {\n                navigator.unbindRedraw = Navigator_addEvent(chart, 'beforeRedraw', function () {\n                    // We've got one, now add it as base\n                    if (chart.series.length > 0 && !navigator.series) {\n                        navigator.setBaseSeries();\n                        navigator.unbindRedraw(); // Reset\n                    }\n                });\n            }\n            navigator.reversedExtremes = (chart.inverted && !navigator.xAxis.reversed) || (!chart.inverted && navigator.xAxis.reversed);\n            // Render items, so we can bind events to them:\n            navigator.renderElements();\n            // Add mouse events\n            navigator.addMouseEvents();\n            // In case of scrollbar only, fake an x axis to get translation\n        }\n        else {\n            navigator.xAxis = {\n                chart,\n                navigatorAxis: {\n                    fake: true\n                },\n                translate: function (value, reverse) {\n                    const axis = chart.xAxis[0], ext = axis.getExtremes(), scrollTrackWidth = axis.len - 2 * scrollButtonSize, min = numExt('min', axis.options.min, ext.dataMin), valueRange = numExt('max', axis.options.max, ext.dataMax) - min;\n                    return reverse ?\n                        // From pixel to value\n                        (value * valueRange / scrollTrackWidth) + min :\n                        // From value to pixel\n                        scrollTrackWidth * (value - min) / valueRange;\n                },\n                toPixels: function (value) {\n                    return this.translate(value);\n                },\n                toValue: function (value) {\n                    return this.translate(value, true);\n                }\n            };\n            navigator.xAxis.navigatorAxis.axis = navigator.xAxis;\n            navigator.xAxis.navigatorAxis.toFixedRange = (NavigatorAxisComposition.prototype.toFixedRange.bind(navigator.xAxis.navigatorAxis));\n        }\n        // Initialize the scrollbar\n        if (chart.options.scrollbar.enabled) {\n            const options = Navigator_merge(chart.options.scrollbar, { vertical: chart.inverted });\n            if (!Navigator_isNumber(options.margin) && navigator.navigatorEnabled) {\n                options.margin = chart.inverted ? -3 : 3;\n            }\n            chart.scrollbar = navigator.scrollbar = new Scrollbar_Scrollbar(chart.renderer, options, chart);\n            Navigator_addEvent(navigator.scrollbar, 'changed', function (e) {\n                const range = navigator.size, to = range * this.to, from = range * this.from;\n                navigator.hasDragged = navigator.scrollbar.hasDragged;\n                navigator.render(0, 0, from, to);\n                if (this.shouldUpdateExtremes(e.DOMType)) {\n                    setTimeout(function () {\n                        navigator.onMouseUp(e);\n                    });\n                }\n            });\n        }\n        // Add data events\n        navigator.addBaseSeriesEvents();\n        // Add redraw events\n        navigator.addChartEvents();\n    }\n    /**\n     * Set the opposite property on navigator\n     *\n     * @private\n     */\n    setOpposite() {\n        const navigatorOptions = this.navigatorOptions, navigatorEnabled = this.navigatorEnabled, chart = this.chart;\n        this.opposite = Navigator_pick(navigatorOptions.opposite, Boolean(!navigatorEnabled && chart.inverted)); // #6262\n    }\n    /**\n     * Get the union data extremes of the chart - the outer data extremes of the\n     * base X axis and the navigator axis.\n     *\n     * @private\n     * @function Highcharts.Navigator#getUnionExtremes\n     */\n    getUnionExtremes(returnFalseOnNoBaseSeries) {\n        const baseAxis = this.chart.xAxis[0], time = this.chart.time, navAxis = this.xAxis, navAxisOptions = navAxis.options, baseAxisOptions = baseAxis.options;\n        let ret;\n        if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {\n            ret = {\n                dataMin: Navigator_pick(// #4053\n                time.parse(navAxisOptions?.min), numExt('min', time.parse(baseAxisOptions.min), baseAxis.dataMin, navAxis.dataMin, navAxis.min)),\n                dataMax: Navigator_pick(time.parse(navAxisOptions?.max), numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))\n            };\n        }\n        return ret;\n    }\n    /**\n     * Set the base series and update the navigator series from this. With a bit\n     * of modification we should be able to make this an API method to be called\n     * from the outside\n     *\n     * @private\n     * @function Highcharts.Navigator#setBaseSeries\n     * @param {Highcharts.SeriesOptionsType} [baseSeriesOptions]\n     *        Additional series options for a navigator\n     * @param {boolean} [redraw]\n     *        Whether to redraw after update.\n     */\n    setBaseSeries(baseSeriesOptions, redraw) {\n        const chart = this.chart, baseSeries = this.baseSeries = [];\n        baseSeriesOptions = (baseSeriesOptions ||\n            chart.options && chart.options.navigator.baseSeries ||\n            (chart.series.length ?\n                // Find the first non-navigator series (#8430)\n                Navigator_find(chart.series, (s) => (!s.options.isInternal)).index :\n                0));\n        // Iterate through series and add the ones that should be shown in\n        // navigator.\n        (chart.series || []).forEach((series, i) => {\n            if (\n            // Don't include existing nav series\n            !series.options.isInternal &&\n                (series.options.showInNavigator ||\n                    (i === baseSeriesOptions ||\n                        series.options.id === baseSeriesOptions) &&\n                        series.options.showInNavigator !== false)) {\n                baseSeries.push(series);\n            }\n        });\n        // When run after render, this.xAxis already exists\n        if (this.xAxis && !this.xAxis.navigatorAxis.fake) {\n            this.updateNavigatorSeries(true, redraw);\n        }\n    }\n    /**\n     * Update series in the navigator from baseSeries, adding new if does not\n     * exist.\n     *\n     * @private\n     * @function Highcharts.Navigator.updateNavigatorSeries\n     */\n    updateNavigatorSeries(addEvents, redraw) {\n        const navigator = this, chart = navigator.chart, baseSeries = navigator.baseSeries, navSeriesMixin = {\n            enableMouseTracking: false,\n            index: null, // #6162\n            linkedTo: null, // #6734\n            group: 'nav', // For columns\n            padXAxis: false,\n            xAxis: this.navigatorOptions.xAxis?.id,\n            yAxis: this.navigatorOptions.yAxis?.id,\n            showInLegend: false,\n            stacking: void 0, // #4823\n            isInternal: true,\n            states: {\n                inactive: {\n                    opacity: 1\n                }\n            }\n        }, \n        // Remove navigator series that are no longer in the baseSeries\n        navigatorSeries = navigator.series =\n            (navigator.series || []).filter((navSeries) => {\n                const base = navSeries.baseSeries;\n                if (baseSeries.indexOf(base) < 0) { // Not in array\n                    // If there is still a base series connected to this\n                    // series, remove event handler and reference.\n                    if (base) {\n                        Navigator_removeEvent(base, 'updatedData', navigator.updatedDataHandler);\n                        delete base.navigatorSeries;\n                    }\n                    // Kill the nav series. It may already have been\n                    // destroyed (#8715).\n                    if (navSeries.chart) {\n                        navSeries.destroy();\n                    }\n                    return false;\n                }\n                return true;\n            });\n        let baseOptions, mergedNavSeriesOptions, chartNavigatorSeriesOptions = navigator.navigatorOptions.series, baseNavigatorOptions;\n        // Go through each base series and merge the options to create new\n        // series\n        if (baseSeries && baseSeries.length) {\n            baseSeries.forEach((base) => {\n                const linkedNavSeries = base.navigatorSeries, userNavOptions = Navigator_extend(\n                // Grab color and visibility from base as default\n                {\n                    color: base.color,\n                    visible: base.visible\n                }, !isArray(chartNavigatorSeriesOptions) ?\n                    chartNavigatorSeriesOptions :\n                    Navigator_defaultOptions.navigator.series);\n                // Don't update if the series exists in nav and we have disabled\n                // adaptToUpdatedData.\n                if (linkedNavSeries &&\n                    navigator.navigatorOptions.adaptToUpdatedData === false) {\n                    return;\n                }\n                navSeriesMixin.name = 'Navigator ' + baseSeries.length;\n                baseOptions = base.options || {};\n                baseNavigatorOptions = baseOptions.navigatorOptions || {};\n                // The dataLabels options are not merged correctly\n                // if the settings are an array, #13847.\n                userNavOptions.dataLabels = splat(userNavOptions.dataLabels);\n                mergedNavSeriesOptions = Navigator_merge(baseOptions, navSeriesMixin, userNavOptions, baseNavigatorOptions);\n                // Once nav series type is resolved, pick correct pointRange\n                mergedNavSeriesOptions.pointRange = Navigator_pick(\n                // Stricte set pointRange in options\n                userNavOptions.pointRange, baseNavigatorOptions.pointRange, \n                // Fallback to default values, e.g. `null` for column\n                Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line'].pointRange);\n                // Merge data separately. Do a slice to avoid mutating the\n                // navigator options from base series (#4923).\n                const navigatorSeriesData = baseNavigatorOptions.data || userNavOptions.data;\n                navigator.hasNavigatorData =\n                    navigator.hasNavigatorData || !!navigatorSeriesData;\n                mergedNavSeriesOptions.data = (navigatorSeriesData ||\n                    baseOptions.data?.slice(0));\n                // Update or add the series\n                if (linkedNavSeries && linkedNavSeries.options) {\n                    linkedNavSeries.update(mergedNavSeriesOptions, redraw);\n                }\n                else {\n                    base.navigatorSeries = chart.initSeries(mergedNavSeriesOptions);\n                    // Set data on initial run with dataSorting enabled (#20318)\n                    chart.setSortedData();\n                    base.navigatorSeries.baseSeries = base; // Store ref\n                    navigatorSeries.push(base.navigatorSeries);\n                }\n            });\n        }\n        // If user has defined data (and no base series) or explicitly defined\n        // navigator.series as an array, we create these series on top of any\n        // base series.\n        if (chartNavigatorSeriesOptions.data &&\n            !(baseSeries && baseSeries.length) ||\n            isArray(chartNavigatorSeriesOptions)) {\n            navigator.hasNavigatorData = false;\n            // Allow navigator.series to be an array\n            chartNavigatorSeriesOptions =\n                splat(chartNavigatorSeriesOptions);\n            chartNavigatorSeriesOptions.forEach((userSeriesOptions, i) => {\n                navSeriesMixin.name =\n                    'Navigator ' + (navigatorSeries.length + 1);\n                mergedNavSeriesOptions = Navigator_merge(Navigator_defaultOptions.navigator.series, {\n                    // Since we don't have a base series to pull color from,\n                    // try to fake it by using color from series with same\n                    // index. Otherwise pull from the colors array. We need\n                    // an explicit color as otherwise updates will increment\n                    // color counter and we'll get a new color for each\n                    // update of the nav series.\n                    color: chart.series[i] &&\n                        !chart.series[i].options.isInternal &&\n                        chart.series[i].color ||\n                        chart.options.colors[i] ||\n                        chart.options.colors[0]\n                }, navSeriesMixin, userSeriesOptions);\n                mergedNavSeriesOptions.data = userSeriesOptions.data;\n                if (mergedNavSeriesOptions.data) {\n                    navigator.hasNavigatorData = true;\n                    navigatorSeries.push(chart.initSeries(mergedNavSeriesOptions));\n                }\n            });\n        }\n        if (addEvents) {\n            this.addBaseSeriesEvents();\n        }\n    }\n    /**\n     * Add data events.\n     * For example when main series is updated we need to recalculate extremes\n     *\n     * @private\n     * @function Highcharts.Navigator#addBaseSeriesEvent\n     */\n    addBaseSeriesEvents() {\n        const navigator = this, baseSeries = navigator.baseSeries || [];\n        // Bind modified extremes event to first base's xAxis only.\n        // In event of > 1 base-xAxes, the navigator will ignore those.\n        // Adding this multiple times to the same axis is no problem, as\n        // duplicates should be discarded by the browser.\n        if (baseSeries[0] && baseSeries[0].xAxis) {\n            baseSeries[0].eventsToUnbind.push(Navigator_addEvent(baseSeries[0].xAxis, 'foundExtremes', this.modifyBaseAxisExtremes));\n        }\n        baseSeries.forEach((base) => {\n            // Link base series show/hide to navigator series visibility\n            base.eventsToUnbind.push(Navigator_addEvent(base, 'show', function () {\n                if (this.navigatorSeries) {\n                    this.navigatorSeries.setVisible(true, false);\n                }\n            }));\n            base.eventsToUnbind.push(Navigator_addEvent(base, 'hide', function () {\n                if (this.navigatorSeries) {\n                    this.navigatorSeries.setVisible(false, false);\n                }\n            }));\n            // Respond to updated data in the base series, unless explicitly\n            // not adapting to data changes.\n            if (this.navigatorOptions.adaptToUpdatedData !== false) {\n                if (base.xAxis) {\n                    base.eventsToUnbind.push(Navigator_addEvent(base, 'updatedData', this.updatedDataHandler));\n                }\n            }\n            // Handle series removal\n            base.eventsToUnbind.push(Navigator_addEvent(base, 'remove', function () {\n                if (baseSeries) {\n                    erase(baseSeries, base); // #21043\n                }\n                if (this.navigatorSeries && navigator.series) {\n                    erase(navigator.series, this.navigatorSeries);\n                    if (Navigator_defined(this.navigatorSeries.options)) {\n                        this.navigatorSeries.remove(false);\n                    }\n                    delete this.navigatorSeries;\n                }\n            }));\n        });\n    }\n    /**\n     * Get minimum from all base series connected to the navigator\n     * @private\n     * @param {number} currentSeriesMin\n     *        Minium from the current series\n     * @return {number}\n     *         Minimum from all series\n     */\n    getBaseSeriesMin(currentSeriesMin) {\n        return this.baseSeries.reduce(function (min, series) {\n            // #10193\n            return Math.min(min, series.getColumn('x')[0] ?? min);\n        }, currentSeriesMin);\n    }\n    /**\n     * Set the navigator x axis extremes to reflect the total. The navigator\n     * extremes should always be the extremes of the union of all series in the\n     * chart as well as the navigator series.\n     *\n     * @private\n     * @function Highcharts.Navigator#modifyNavigatorAxisExtremes\n     */\n    modifyNavigatorAxisExtremes() {\n        const xAxis = this.xAxis;\n        if (typeof xAxis.getExtremes !== 'undefined') {\n            const unionExtremes = this.getUnionExtremes(true);\n            if (unionExtremes &&\n                (unionExtremes.dataMin !== xAxis.min ||\n                    unionExtremes.dataMax !== xAxis.max)) {\n                xAxis.min = unionExtremes.dataMin;\n                xAxis.max = unionExtremes.dataMax;\n            }\n        }\n    }\n    /**\n     * Hook to modify the base axis extremes with information from the Navigator\n     *\n     * @private\n     * @function Highcharts.Navigator#modifyBaseAxisExtremes\n     */\n    modifyBaseAxisExtremes() {\n        const baseXAxis = this, navigator = baseXAxis.chart.navigator, baseExtremes = baseXAxis.getExtremes(), baseMin = baseExtremes.min, baseMax = baseExtremes.max, baseDataMin = baseExtremes.dataMin, baseDataMax = baseExtremes.dataMax, range = baseMax - baseMin, stickToMin = navigator.stickToMin, stickToMax = navigator.stickToMax, overscroll = Navigator_pick(baseXAxis.ordinal?.convertOverscroll(baseXAxis.options.overscroll), 0), navigatorSeries = navigator.series && navigator.series[0], hasSetExtremes = !!baseXAxis.setExtremes, \n        // When the extremes have been set by range selector button, don't\n        // stick to min or max. The range selector buttons will handle the\n        // extremes. (#5489)\n        unmutable = baseXAxis.eventArgs &&\n            baseXAxis.eventArgs.trigger === 'rangeSelectorButton';\n        let newMax, newMin;\n        if (!unmutable) {\n            // If the zoomed range is already at the min, move it to the right\n            // as new data comes in\n            if (stickToMin) {\n                newMin = baseDataMin;\n                newMax = newMin + range;\n            }\n            // If the zoomed range is already at the max, move it to the right\n            // as new data comes in\n            if (stickToMax) {\n                newMax = baseDataMax + overscroll;\n                // If stickToMin is true, the new min value is set above\n                if (!stickToMin) {\n                    newMin = Math.max(baseDataMin, // Don't go below data extremes (#13184)\n                    newMax - range, navigator.getBaseSeriesMin(navigatorSeries && navigatorSeries.xData ?\n                        navigatorSeries.xData[0] :\n                        -Number.MAX_VALUE));\n                }\n            }\n            // Update the extremes\n            if (hasSetExtremes && (stickToMin || stickToMax)) {\n                if (Navigator_isNumber(newMin)) {\n                    baseXAxis.min = baseXAxis.userMin = newMin;\n                    baseXAxis.max = baseXAxis.userMax = newMax;\n                }\n            }\n        }\n        // Reset\n        navigator.stickToMin =\n            navigator.stickToMax = null;\n    }\n    /**\n     * Handler for updated data on the base series. When data is modified, the\n     * navigator series must reflect it. This is called from the Chart.redraw\n     * function before axis and series extremes are computed.\n     *\n     * @private\n     * @function Highcharts.Navigator#updateDataHandler\n     */\n    updatedDataHandler() {\n        const navigator = this.chart.navigator, baseSeries = this, navigatorSeries = this.navigatorSeries, shouldStickToMax = navigator.reversedExtremes ?\n            Math.round(navigator.zoomedMin) === 0 :\n            Math.round(navigator.zoomedMax) >= Math.round(navigator.size);\n        // If the scrollbar is scrolled all the way to the right, keep right as\n        // new data comes in, unless user set navigator.stickToMax to false.\n        navigator.stickToMax = Navigator_pick(this.chart.options.navigator &&\n            this.chart.options.navigator.stickToMax, shouldStickToMax);\n        navigator.stickToMin = navigator.shouldStickToMin(baseSeries, navigator);\n        // Set the navigator series data to the new data of the base series\n        if (navigatorSeries && !navigator.hasNavigatorData) {\n            navigatorSeries.options.pointStart = baseSeries.getColumn('x')[0];\n            navigatorSeries.setData(baseSeries.options.data, false, null, false); // #5414\n        }\n    }\n    /**\n     * Detect if the zoomed area should stick to the minimum, #14742.\n     *\n     * @private\n     * @function Highcharts.Navigator#shouldStickToMin\n     */\n    shouldStickToMin(baseSeries, navigator) {\n        const xDataMin = navigator.getBaseSeriesMin(baseSeries.getColumn('x')[0]), xAxis = baseSeries.xAxis, max = xAxis.max, min = xAxis.min, range = xAxis.options.range;\n        let stickToMin = true;\n        if (Navigator_isNumber(max) && Navigator_isNumber(min)) {\n            // If range declared, stick to the minimum only if the range\n            // is smaller than the data set range.\n            if (range && max - xDataMin > 0) {\n                stickToMin = max - xDataMin < range;\n            }\n            else {\n                // If the current axis minimum falls outside the new\n                // updated dataset, we must adjust.\n                stickToMin = min <= xDataMin;\n            }\n        }\n        else {\n            stickToMin = false; // #15864\n        }\n        return stickToMin;\n    }\n    /**\n     * Add chart events, like redrawing navigator, when chart requires that.\n     *\n     * @private\n     * @function Highcharts.Navigator#addChartEvents\n     */\n    addChartEvents() {\n        if (!this.eventsToUnbind) {\n            this.eventsToUnbind = [];\n        }\n        this.eventsToUnbind.push(\n        // Move the scrollbar after redraw, like after data updata even if\n        // axes don't redraw\n        Navigator_addEvent(this.chart, 'redraw', function () {\n            const navigator = this.navigator, xAxis = navigator && (navigator.baseSeries &&\n                navigator.baseSeries[0] &&\n                navigator.baseSeries[0].xAxis ||\n                this.xAxis[0]); // #5709, #13114\n            if (xAxis) {\n                navigator.render(xAxis.min, xAxis.max);\n            }\n        }), \n        // Make room for the navigator, can be placed around the chart:\n        Navigator_addEvent(this.chart, 'getMargins', function () {\n            const chart = this, navigator = chart.navigator;\n            let marginName = navigator.opposite ?\n                'plotTop' : 'marginBottom';\n            if (chart.inverted) {\n                marginName = navigator.opposite ?\n                    'marginRight' : 'plotLeft';\n            }\n            chart[marginName] =\n                (chart[marginName] || 0) + (navigator.navigatorEnabled || !chart.inverted ?\n                    navigator.height + navigator.scrollbarHeight :\n                    0) + navigator.navigatorOptions.margin;\n        }), Navigator_addEvent(Navigator, 'setRange', function (e) {\n            this.chart.xAxis[0].setExtremes(e.min, e.max, e.redraw, e.animation, e.eventArguments);\n        }));\n    }\n    /**\n     * Destroys allocated elements.\n     *\n     * @private\n     * @function Highcharts.Navigator#destroy\n     */\n    destroy() {\n        // Disconnect events added in addEvents\n        this.removeEvents();\n        if (this.xAxis) {\n            erase(this.chart.xAxis, this.xAxis);\n            erase(this.chart.axes, this.xAxis);\n        }\n        if (this.yAxis) {\n            erase(this.chart.yAxis, this.yAxis);\n            erase(this.chart.axes, this.yAxis);\n        }\n        // Destroy series\n        (this.series || []).forEach((s) => {\n            if (s.destroy) {\n                s.destroy();\n            }\n        });\n        // Destroy properties\n        [\n            'series', 'xAxis', 'yAxis', 'shades', 'outline', 'scrollbarTrack',\n            'scrollbarRifles', 'scrollbarGroup', 'scrollbar', 'navigatorGroup',\n            'rendered'\n        ].forEach((prop) => {\n            if (this[prop] && this[prop].destroy) {\n                this[prop].destroy();\n            }\n            this[prop] = null;\n        });\n        // Destroy elements in collection\n        [this.handles].forEach((coll) => {\n            Navigator_destroyObjectProperties(coll);\n        });\n        this.navigatorEnabled = false;\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Navigator_Navigator = (Navigator);\n\n;// ./code/es-modules/Accessibility/Components/NavigatorComponent.js\n/* *\n *\n *  (c) 2009-2024 Highsoft AS\n *\n *  Accessibility component for the navigator.\n *\n *  Author: Øystein Moseng\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Imports\n *\n * */\n\n\n\n\n\nconst { animObject: NavigatorComponent_animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { format: NavigatorComponent_format } = (highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default());\n\nconst { clamp: NavigatorComponent_clamp, pick: NavigatorComponent_pick, syncTimeout: NavigatorComponent_syncTimeout } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { getFakeMouseEvent: NavigatorComponent_getFakeMouseEvent } = Utils_HTMLUtilities;\n\nconst { getAxisRangeDescription: NavigatorComponent_getAxisRangeDescription, fireEventOnWrappedOrUnwrappedElement: NavigatorComponent_fireEventOnWrappedOrUnwrappedElement } = Utils_ChartUtilities;\n/**\n * The NavigatorComponent class\n *\n * @private\n * @class\n * @name Highcharts.NavigatorComponent\n */\nclass NavigatorComponent extends Accessibility_AccessibilityComponent {\n    /**\n     * Init the component\n     * @private\n     */\n    init() {\n        const chart = this.chart, component = this;\n        this.announcer = new Utils_Announcer(chart, 'polite');\n        // Update positions after render\n        this.addEvent(Navigator_Navigator, 'afterRender', function () {\n            if (this.chart === component.chart &&\n                this.chart.renderer) {\n                NavigatorComponent_syncTimeout(() => {\n                    component.proxyProvider\n                        .updateGroupProxyElementPositions('navigator');\n                    component.updateHandleValues();\n                }, NavigatorComponent_animObject(NavigatorComponent_pick(this.chart.renderer.globalAnimation, true)).duration);\n            }\n        });\n    }\n    /**\n     * Called on updates\n     * @private\n     */\n    onChartUpdate() {\n        const chart = this.chart, options = chart.options, navigator = options.navigator;\n        if (navigator.enabled && navigator.accessibility?.enabled) {\n            const verbosity = options.accessibility.landmarkVerbosity, groupFormatStr = options.lang\n                .accessibility?.navigator.groupLabel;\n            // We just recreate the group for simplicity. Could consider\n            // updating the existing group if the verbosity has not changed.\n            this.proxyProvider.removeGroup('navigator');\n            this.proxyProvider.addGroup('navigator', 'div', {\n                role: verbosity === 'all' ? 'region' : 'group',\n                'aria-label': NavigatorComponent_format(groupFormatStr, { chart }, chart)\n            });\n            const handleFormatStr = options.lang\n                .accessibility?.navigator.handleLabel;\n            [0, 1].forEach((n) => {\n                const handle = this.getHandleByIx(n);\n                if (handle) {\n                    const proxyEl = this.proxyProvider.addProxyElement('navigator', {\n                        click: handle\n                    }, 'input', {\n                        type: 'range',\n                        'aria-label': NavigatorComponent_format(handleFormatStr, { handleIx: n, chart }, chart)\n                    });\n                    this[n ? 'maxHandleProxy' : 'minHandleProxy'] =\n                        proxyEl.innerElement;\n                    proxyEl.innerElement.style.pointerEvents = 'none';\n                    proxyEl.innerElement.oninput =\n                        () => this.updateNavigator();\n                }\n            });\n            this.updateHandleValues();\n        }\n        else {\n            this.proxyProvider.removeGroup('navigator');\n        }\n    }\n    /**\n     * Get navigation for a navigator handle.\n     * @private\n     * @return {Highcharts.KeyboardNavigationHandler} The module object.\n     */\n    getNavigatorHandleNavigation(handleIx) {\n        const component = this, chart = this.chart, proxyEl = handleIx ? this.maxHandleProxy : this.minHandleProxy, keys = this.keyCodes;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [[\n                    [keys.left, keys.right, keys.up, keys.down],\n                    function (keyCode) {\n                        if (proxyEl) {\n                            const delta = keyCode === keys.left ||\n                                keyCode === keys.up ? -1 : 1;\n                            proxyEl.value = '' + NavigatorComponent_clamp(parseFloat(proxyEl.value) + delta, 0, 100);\n                            component.updateNavigator(() => {\n                                const handle = component.getHandleByIx(handleIx);\n                                if (handle) {\n                                    chart.setFocusToElement(handle, proxyEl);\n                                }\n                            });\n                        }\n                        return this.response.success;\n                    }\n                ]],\n            init: () => {\n                chart.setFocusToElement(this.getHandleByIx(handleIx), proxyEl);\n            },\n            validate: () => !!(this.getHandleByIx(handleIx) && proxyEl &&\n                chart.options.navigator.accessibility?.enabled)\n        });\n    }\n    /**\n     * Get keyboard navigation handlers for this component.\n     * @return {Array<Highcharts.KeyboardNavigationHandler>}\n     *         List of module objects.\n     */\n    getKeyboardNavigation() {\n        return [\n            this.getNavigatorHandleNavigation(0),\n            this.getNavigatorHandleNavigation(1)\n        ];\n    }\n    /**\n     * Remove component traces\n     */\n    destroy() {\n        if (this.updateNavigatorThrottleTimer) {\n            clearTimeout(this.updateNavigatorThrottleTimer);\n        }\n        this.proxyProvider.removeGroup('navigator');\n        if (this.announcer) {\n            this.announcer.destroy();\n        }\n    }\n    /**\n     * Update the value of the handles to match current navigator pos.\n     * @private\n     */\n    updateHandleValues() {\n        const navigator = this.chart.navigator;\n        if (navigator && this.minHandleProxy && this.maxHandleProxy) {\n            const length = navigator.size;\n            this.minHandleProxy.value =\n                '' + Math.round(navigator.zoomedMin / length * 100);\n            this.maxHandleProxy.value =\n                '' + Math.round(navigator.zoomedMax / length * 100);\n        }\n    }\n    /**\n     * Get a navigator handle by its index\n     * @private\n     */\n    getHandleByIx(ix) {\n        const navigator = this.chart.navigator;\n        return navigator && navigator.handles &&\n            navigator.handles[ix];\n    }\n    /**\n     * Update navigator to match changed proxy values.\n     * @private\n     */\n    updateNavigator(beforeAnnounce) {\n        const performUpdate = (beforeAnnounce) => {\n            const chart = this.chart, { navigator, pointer } = chart;\n            if (navigator &&\n                pointer &&\n                this.minHandleProxy &&\n                this.maxHandleProxy) {\n                const chartPos = pointer.getChartPosition(), minNewX = parseFloat(this.minHandleProxy.value) /\n                    100 * navigator.size, maxNewX = parseFloat(this.maxHandleProxy.value) /\n                    100 * navigator.size;\n                // Fire fake events in order for each handle.\n                [\n                    [0, 'mousedown', navigator.zoomedMin],\n                    [0, 'mousemove', minNewX],\n                    [0, 'mouseup', minNewX],\n                    [1, 'mousedown', navigator.zoomedMax],\n                    [1, 'mousemove', maxNewX],\n                    [1, 'mouseup', maxNewX]\n                ].forEach(([handleIx, type, x]) => {\n                    const handle = this.getHandleByIx(handleIx)?.element;\n                    if (handle) {\n                        NavigatorComponent_fireEventOnWrappedOrUnwrappedElement(handle, NavigatorComponent_getFakeMouseEvent(type, {\n                            x: chartPos.left + navigator.left + x,\n                            y: chartPos.top + navigator.top\n                        }, handle));\n                    }\n                });\n                if (beforeAnnounce) {\n                    beforeAnnounce();\n                }\n                // Announce the update\n                const announceFormatStr = chart.options.lang\n                    .accessibility?.navigator.changeAnnouncement, axisRangeDescription = NavigatorComponent_getAxisRangeDescription(chart.xAxis[0]);\n                this.announcer.announce(NavigatorComponent_format(announceFormatStr, { axisRangeDescription, chart }, chart));\n            }\n        };\n        // Throttle updates so as not to reduce performance with\n        // continuous keypress.\n        if (this.updateNavigatorThrottleTimer) {\n            clearTimeout(this.updateNavigatorThrottleTimer);\n        }\n        this.updateNavigatorThrottleTimer = setTimeout(performUpdate.bind(this, beforeAnnounce), 20);\n    }\n}\n/* *\n *\n *  Export Default\n *\n * */\n/* harmony default export */ const Components_NavigatorComponent = (NavigatorComponent);\n\n;// ./code/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Place desriptions on a series and its points.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { getPointAnnotationTexts: SeriesDescriber_getPointAnnotationTexts } = Components_AnnotationsA11y;\n\nconst { getAxisDescription: SeriesDescriber_getAxisDescription, getSeriesFirstPointElement: SeriesDescriber_getSeriesFirstPointElement, getSeriesA11yElement: SeriesDescriber_getSeriesA11yElement, unhideChartElementFromAT: SeriesDescriber_unhideChartElementFromAT } = Utils_ChartUtilities;\n\nconst { format: SeriesDescriber_format, numberFormat } = (highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default());\n\nconst { reverseChildNodes: SeriesDescriber_reverseChildNodes, stripHTMLTagsFromString: SeriesDescriber_stripHTMLTags } = Utils_HTMLUtilities;\n\nconst { find: SeriesDescriber_find, isNumber: SeriesDescriber_isNumber, isString, pick: SeriesDescriber_pick, defined: SeriesDescriber_defined } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable valid-jsdoc */\n/**\n * @private\n */\nfunction findFirstPointWithGraphic(point) {\n    const sourcePointIndex = point.index;\n    if (!point.series || !point.series.data || !SeriesDescriber_defined(sourcePointIndex)) {\n        return null;\n    }\n    return SeriesDescriber_find(point.series.data, function (p) {\n        return !!(p &&\n            typeof p.index !== 'undefined' &&\n            p.index > sourcePointIndex &&\n            p.graphic &&\n            p.graphic.element);\n    }) || null;\n}\n/**\n * Whether or not we should add a mock point element in\n * order to describe a point that has no graphic.\n * @private\n */\nfunction shouldAddMockPoint(point) {\n    // Note: Sunburst series use isNull for hidden points on drilldown.\n    // Ignore these.\n    const series = point.series, chart = series && series.chart, isSunburst = series && series.is('sunburst'), isNull = point.isNull, shouldDescribeNull = chart &&\n        chart\n            .options.accessibility.point.describeNull;\n    return isNull && !isSunburst && shouldDescribeNull;\n}\n/**\n * @private\n */\nfunction makeMockElement(point, pos) {\n    const renderer = point.series.chart.renderer, mock = renderer.rect(pos.x, pos.y, 1, 1);\n    mock.attr({\n        'class': 'highcharts-a11y-mock-point',\n        fill: 'none',\n        opacity: 0,\n        'fill-opacity': 0,\n        'stroke-opacity': 0\n    });\n    return mock;\n}\n/**\n * @private\n */\nfunction addMockPointElement(point) {\n    const series = point.series, firstPointWithGraphic = findFirstPointWithGraphic(point), firstGraphic = firstPointWithGraphic && firstPointWithGraphic.graphic, parentGroup = firstGraphic ?\n        firstGraphic.parentGroup :\n        series.graph || series.group, mockPos = firstPointWithGraphic ? {\n        x: SeriesDescriber_pick(point.plotX, firstPointWithGraphic.plotX, 0),\n        y: SeriesDescriber_pick(point.plotY, firstPointWithGraphic.plotY, 0)\n    } : {\n        x: SeriesDescriber_pick(point.plotX, 0),\n        y: SeriesDescriber_pick(point.plotY, 0)\n    }, mockElement = makeMockElement(point, mockPos);\n    if (parentGroup && parentGroup.element) {\n        point.graphic = mockElement;\n        point.hasMockGraphic = true;\n        mockElement.add(parentGroup);\n        // Move to correct pos in DOM\n        parentGroup.element.insertBefore(mockElement.element, firstGraphic ? firstGraphic.element : null);\n        return mockElement.element;\n    }\n}\n/**\n * @private\n */\nfunction hasMorePointsThanDescriptionThreshold(series) {\n    const chartA11yOptions = series.chart.options.accessibility, threshold = (chartA11yOptions.series.pointDescriptionEnabledThreshold);\n    return !!(threshold !== false &&\n        series.points &&\n        series.points.length >= +threshold);\n}\n/**\n * @private\n */\nfunction shouldSetScreenReaderPropsOnPoints(series) {\n    const seriesA11yOptions = series.options.accessibility || {};\n    return !hasMorePointsThanDescriptionThreshold(series) &&\n        !seriesA11yOptions.exposeAsGroupOnly;\n}\n/**\n * @private\n */\nfunction shouldSetKeyboardNavPropsOnPoints(series) {\n    const chartA11yOptions = series.chart.options.accessibility, seriesNavOptions = chartA11yOptions.keyboardNavigation.seriesNavigation;\n    return !!(series.points && (series.points.length <\n        +seriesNavOptions.pointNavigationEnabledThreshold ||\n        seriesNavOptions.pointNavigationEnabledThreshold === false));\n}\n/**\n * @private\n */\nfunction shouldDescribeSeriesElement(series) {\n    const chart = series.chart, chartOptions = chart.options.chart, chartHas3d = chartOptions.options3d && chartOptions.options3d.enabled, hasMultipleSeries = chart.series.length > 1, describeSingleSeriesOption = chart.options.accessibility.series.describeSingleSeries, exposeAsGroupOnlyOption = (series.options.accessibility || {}).exposeAsGroupOnly, noDescribe3D = chartHas3d && hasMultipleSeries;\n    return !noDescribe3D && (hasMultipleSeries || describeSingleSeriesOption ||\n        exposeAsGroupOnlyOption || hasMorePointsThanDescriptionThreshold(series));\n}\n/**\n * @private\n */\nfunction pointNumberToString(point, value) {\n    const series = point.series, chart = series.chart, a11yPointOptions = chart.options.accessibility.point || {}, seriesA11yPointOptions = series.options.accessibility &&\n        series.options.accessibility.point || {}, tooltipOptions = series.tooltipOptions || {}, lang = chart.options.lang;\n    if (SeriesDescriber_isNumber(value)) {\n        return numberFormat(value, seriesA11yPointOptions.valueDecimals ||\n            a11yPointOptions.valueDecimals ||\n            tooltipOptions.valueDecimals ||\n            -1, lang.decimalPoint, lang.accessibility.thousandsSep || lang.thousandsSep);\n    }\n    return value;\n}\n/**\n * @private\n */\nfunction getSeriesDescriptionText(series) {\n    const seriesA11yOptions = series.options.accessibility || {}, descOpt = seriesA11yOptions.description;\n    return descOpt && series.chart.langFormat('accessibility.series.description', {\n        description: descOpt,\n        series: series\n    }) || '';\n}\n/**\n * @private\n */\nfunction getSeriesAxisDescriptionText(series, axisCollection) {\n    const axis = series[axisCollection];\n    return series.chart.langFormat('accessibility.series.' + axisCollection + 'Description', {\n        name: SeriesDescriber_getAxisDescription(axis),\n        series: series\n    });\n}\n/**\n * Get accessible time description for a point on a datetime axis.\n *\n * @private\n */\nfunction getPointA11yTimeDescription(point) {\n    const series = point.series, chart = series.chart, seriesA11yOptions = series.options.accessibility &&\n        series.options.accessibility.point || {}, a11yOptions = chart.options.accessibility.point || {}, dateXAxis = series.xAxis && series.xAxis.dateTime;\n    if (dateXAxis) {\n        const tooltipDateFormat = dateXAxis.getXDateFormat(point.x || 0, chart.options.tooltip.dateTimeLabelFormats), dateFormat = seriesA11yOptions.dateFormatter &&\n            seriesA11yOptions.dateFormatter(point) ||\n            a11yOptions.dateFormatter && a11yOptions.dateFormatter(point) ||\n            seriesA11yOptions.dateFormat ||\n            a11yOptions.dateFormat ||\n            tooltipDateFormat;\n        return chart.time.dateFormat(dateFormat, point.x || 0, void 0);\n    }\n}\n/**\n * @private\n */\nfunction getPointXDescription(point) {\n    const timeDesc = getPointA11yTimeDescription(point), xAxis = point.series.xAxis || {}, pointCategory = xAxis.categories && SeriesDescriber_defined(point.category) &&\n        ('' + point.category).replace('<br/>', ' '), canUseId = SeriesDescriber_defined(point.id) &&\n        ('' + point.id).indexOf('highcharts-') < 0, fallback = 'x, ' + point.x;\n    return point.name || timeDesc || pointCategory ||\n        (canUseId ? point.id : fallback);\n}\n/**\n * @private\n */\nfunction getPointArrayMapValueDescription(point, prefix, suffix) {\n    const pre = prefix || '', suf = suffix || '', keyToValStr = function (key) {\n        const num = pointNumberToString(point, SeriesDescriber_pick(point[key], point.options[key]));\n        return num !== void 0 ?\n            key + ': ' + pre + num + suf :\n            num;\n    }, pointArrayMap = point.series.pointArrayMap;\n    return pointArrayMap.reduce(function (desc, key) {\n        const propDesc = keyToValStr(key);\n        return propDesc ?\n            (desc + (desc.length ? ', ' : '') + propDesc) :\n            desc;\n    }, '');\n}\n/**\n * @private\n */\nfunction getPointValue(point) {\n    const series = point.series, a11yPointOpts = series.chart.options.accessibility.point || {}, seriesA11yPointOpts = series.chart.options.accessibility &&\n        series.chart.options.accessibility.point || {}, tooltipOptions = series.tooltipOptions || {}, valuePrefix = seriesA11yPointOpts.valuePrefix ||\n        a11yPointOpts.valuePrefix ||\n        tooltipOptions.valuePrefix ||\n        '', valueSuffix = seriesA11yPointOpts.valueSuffix ||\n        a11yPointOpts.valueSuffix ||\n        tooltipOptions.valueSuffix ||\n        '', fallbackKey = (typeof point.value !==\n        'undefined' ?\n        'value' : 'y'), fallbackDesc = pointNumberToString(point, point[fallbackKey]);\n    if (point.isNull) {\n        return series.chart.langFormat('accessibility.series.nullPointValue', {\n            point: point\n        });\n    }\n    if (series.pointArrayMap) {\n        return getPointArrayMapValueDescription(point, valuePrefix, valueSuffix);\n    }\n    return valuePrefix + fallbackDesc + valueSuffix;\n}\n/**\n * Return the description for the annotation(s) connected to a point, or\n * empty string if none.\n *\n * @private\n * @param {Highcharts.Point} point\n * The data point to get the annotation info from.\n * @return {string}\n * Annotation description\n */\nfunction getPointAnnotationDescription(point) {\n    const chart = point.series.chart;\n    const langKey = 'accessibility.series.pointAnnotationsDescription';\n    const annotations = SeriesDescriber_getPointAnnotationTexts(point);\n    const context = { point, annotations };\n    return annotations.length ? chart.langFormat(langKey, context) : '';\n}\n/**\n * Return string with information about point.\n * @private\n */\nfunction getPointValueDescription(point) {\n    const series = point.series, chart = series.chart, seriesA11yOptions = series.options.accessibility, seriesValueDescFormat = seriesA11yOptions && seriesA11yOptions.point &&\n        seriesA11yOptions.point.valueDescriptionFormat, pointValueDescriptionFormat = seriesValueDescFormat ||\n        chart.options.accessibility.point.valueDescriptionFormat, showXDescription = SeriesDescriber_pick(series.xAxis &&\n        series.xAxis.options.accessibility &&\n        series.xAxis.options.accessibility.enabled, !chart.angular && series.type !== 'flowmap'), xDesc = showXDescription ? getPointXDescription(point) : '', context = {\n        point: point,\n        index: SeriesDescriber_defined(point.index) ? (point.index + 1) : '',\n        xDescription: xDesc,\n        value: getPointValue(point),\n        separator: showXDescription ? ', ' : ''\n    };\n    return SeriesDescriber_format(pointValueDescriptionFormat, context, chart);\n}\n/**\n * Return string with information about point.\n * @private\n */\nfunction defaultPointDescriptionFormatter(point) {\n    const series = point.series, shouldExposeSeriesName = series.chart.series.length > 1 ||\n        series.options.name, valText = getPointValueDescription(point), description = point.options && point.options.accessibility &&\n        point.options.accessibility.description, userDescText = description ? ' ' + description : '', seriesNameText = shouldExposeSeriesName ? ' ' + series.name + '.' : '', annotationsDesc = getPointAnnotationDescription(point), pointAnnotationsText = annotationsDesc ? ' ' + annotationsDesc : '';\n    point.accessibility = point.accessibility || {};\n    point.accessibility.valueDescription = valText;\n    return valText + userDescText + seriesNameText + pointAnnotationsText;\n}\n/**\n * Set a11y props on a point element\n * @private\n * @param {Highcharts.Point} point\n * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} pointElement\n */\nfunction setPointScreenReaderAttribs(point, pointElement) {\n    const series = point.series, seriesPointA11yOptions = series.options.accessibility?.point || {}, a11yPointOptions = series.chart.options.accessibility.point || {}, label = SeriesDescriber_stripHTMLTags((isString(seriesPointA11yOptions.descriptionFormat) &&\n        SeriesDescriber_format(seriesPointA11yOptions.descriptionFormat, point, series.chart)) ||\n        seriesPointA11yOptions.descriptionFormatter?.(point) ||\n        (isString(a11yPointOptions.descriptionFormat) &&\n            SeriesDescriber_format(a11yPointOptions.descriptionFormat, point, series.chart)) ||\n        a11yPointOptions.descriptionFormatter?.(point) ||\n        defaultPointDescriptionFormatter(point), series.chart.renderer.forExport);\n    pointElement.setAttribute('role', 'img');\n    pointElement.setAttribute('aria-label', label);\n}\n/**\n * Add accessible info to individual point elements of a series\n * @private\n * @param {Highcharts.Series} series\n */\nfunction describePointsInSeries(series) {\n    const setScreenReaderProps = shouldSetScreenReaderPropsOnPoints(series), setKeyboardProps = shouldSetKeyboardNavPropsOnPoints(series), shouldDescribeNullPoints = series.chart.options.accessibility\n        .point.describeNull;\n    if (setScreenReaderProps || setKeyboardProps) {\n        series.points.forEach((point) => {\n            const pointEl = point.graphic && point.graphic.element ||\n                shouldAddMockPoint(point) && addMockPointElement(point), pointA11yDisabled = (point.options &&\n                point.options.accessibility &&\n                point.options.accessibility.enabled === false);\n            if (pointEl) {\n                if (point.isNull && !shouldDescribeNullPoints) {\n                    pointEl.setAttribute('aria-hidden', true);\n                    return;\n                }\n                // We always set tabindex, as long as we are setting props.\n                // When setting tabindex, also remove default outline to\n                // avoid ugly border on click.\n                pointEl.setAttribute('tabindex', '-1');\n                if (!series.chart.styledMode) {\n                    pointEl.style.outline = 'none';\n                }\n                if (setScreenReaderProps && !pointA11yDisabled) {\n                    setPointScreenReaderAttribs(point, pointEl);\n                }\n                else {\n                    pointEl.setAttribute('aria-hidden', true);\n                }\n            }\n        });\n    }\n}\n/**\n * Return string with information about series.\n * @private\n */\nfunction defaultSeriesDescriptionFormatter(series) {\n    const chart = series.chart, chartTypes = chart.types || [], description = getSeriesDescriptionText(series), shouldDescribeAxis = function (coll) {\n        return chart[coll] && chart[coll].length > 1 && series[coll];\n    }, seriesNumber = series.index + 1, xAxisInfo = getSeriesAxisDescriptionText(series, 'xAxis'), yAxisInfo = getSeriesAxisDescriptionText(series, 'yAxis'), summaryContext = {\n        seriesNumber,\n        series,\n        chart\n    }, combinationSuffix = chartTypes.length > 1 ? 'Combination' : '', summary = chart.langFormat('accessibility.series.summary.' + series.type + combinationSuffix, summaryContext) || chart.langFormat('accessibility.series.summary.default' + combinationSuffix, summaryContext), axisDescription = (shouldDescribeAxis('yAxis') ? ' ' + yAxisInfo + '.' : '') + (shouldDescribeAxis('xAxis') ? ' ' + xAxisInfo + '.' : ''), formatStr = SeriesDescriber_pick(series.options.accessibility &&\n        series.options.accessibility.descriptionFormat, chart.options.accessibility.series.descriptionFormat, '');\n    return SeriesDescriber_format(formatStr, {\n        seriesDescription: summary,\n        authorDescription: (description ? ' ' + description : ''),\n        axisDescription,\n        series,\n        chart,\n        seriesNumber\n    }, void 0);\n}\n/**\n * Set a11y props on a series element\n * @private\n * @param {Highcharts.Series} series\n * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} seriesElement\n */\nfunction describeSeriesElement(series, seriesElement) {\n    const seriesA11yOptions = series.options.accessibility || {}, a11yOptions = series.chart.options.accessibility, landmarkVerbosity = a11yOptions.landmarkVerbosity;\n    // Handle role attribute\n    if (seriesA11yOptions.exposeAsGroupOnly) {\n        seriesElement.setAttribute('role', 'img');\n    }\n    else if (landmarkVerbosity === 'all') {\n        seriesElement.setAttribute('role', 'region');\n    }\n    else {\n        seriesElement.setAttribute('role', 'group');\n    }\n    seriesElement.setAttribute('tabindex', '-1');\n    if (!series.chart.styledMode) {\n        // Don't show browser outline on click, despite tabindex\n        seriesElement.style.outline = 'none';\n    }\n    seriesElement.setAttribute('aria-label', SeriesDescriber_stripHTMLTags(a11yOptions.series.descriptionFormatter &&\n        a11yOptions.series.descriptionFormatter(series) ||\n        defaultSeriesDescriptionFormatter(series), series.chart.renderer.forExport));\n}\n/**\n * Put accessible info on series and points of a series.\n * @param {Highcharts.Series} series The series to add info on.\n */\nfunction describeSeries(series) {\n    const chart = series.chart, firstPointEl = SeriesDescriber_getSeriesFirstPointElement(series), seriesEl = SeriesDescriber_getSeriesA11yElement(series), is3d = chart.is3d && chart.is3d();\n    if (seriesEl) {\n        // For some series types the order of elements do not match the\n        // order of points in series. In that case we have to reverse them\n        // in order for AT to read them out in an understandable order.\n        // Due to z-index issues we cannot do this for 3D charts.\n        if (seriesEl.lastChild === firstPointEl && !is3d) {\n            SeriesDescriber_reverseChildNodes(seriesEl);\n        }\n        describePointsInSeries(series);\n        SeriesDescriber_unhideChartElementFromAT(chart, seriesEl);\n        if (shouldDescribeSeriesElement(series)) {\n            describeSeriesElement(series, seriesEl);\n        }\n        else {\n            seriesEl.removeAttribute('aria-label');\n        }\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst SeriesDescriber = {\n    defaultPointDescriptionFormatter,\n    defaultSeriesDescriptionFormatter,\n    describeSeries\n};\n/* harmony default export */ const SeriesComponent_SeriesDescriber = (SeriesDescriber);\n\n;// ./code/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Handle announcing new data for a chart.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { composed: NewDataAnnouncer_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: NewDataAnnouncer_addEvent, defined: NewDataAnnouncer_defined, pushUnique: NewDataAnnouncer_pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { getChartTitle: NewDataAnnouncer_getChartTitle } = Utils_ChartUtilities;\n\n\nconst { defaultPointDescriptionFormatter: NewDataAnnouncer_defaultPointDescriptionFormatter, defaultSeriesDescriptionFormatter: NewDataAnnouncer_defaultSeriesDescriptionFormatter } = SeriesComponent_SeriesDescriber;\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable valid-jsdoc */\n/**\n * @private\n */\nfunction chartHasAnnounceEnabled(chart) {\n    return !!chart.options.accessibility.announceNewData.enabled;\n}\n/**\n * @private\n */\nfunction findPointInDataArray(point) {\n    const candidates = point.series.data.filter((candidate) => (point.x === candidate.x && point.y === candidate.y));\n    return candidates.length === 1 ? candidates[0] : point;\n}\n/**\n * Get array of unique series from two arrays\n * @private\n */\nfunction getUniqueSeries(arrayA, arrayB) {\n    const uniqueSeries = (arrayA || []).concat(arrayB || []).reduce((acc, cur) => {\n        acc[cur.name + cur.index] = cur;\n        return acc;\n    }, {});\n    return Object\n        .keys(uniqueSeries)\n        .map((ix) => uniqueSeries[ix]);\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n */\nclass NewDataAnnouncer {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart) {\n        this.dirty = {\n            allSeries: {}\n        };\n        this.lastAnnouncementTime = 0;\n        this.chart = chart;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Initialize the new data announcer.\n     * @private\n     */\n    init() {\n        const chart = this.chart;\n        const announceOptions = (chart.options.accessibility.announceNewData);\n        const announceType = announceOptions.interruptUser ?\n            'assertive' : 'polite';\n        this.lastAnnouncementTime = 0;\n        this.dirty = {\n            allSeries: {}\n        };\n        this.eventProvider = new Utils_EventProvider();\n        this.announcer = new Utils_Announcer(chart, announceType);\n        this.addEventListeners();\n    }\n    /**\n     * Remove traces of announcer.\n     * @private\n     */\n    destroy() {\n        this.eventProvider.removeAddedEvents();\n        this.announcer.destroy();\n    }\n    /**\n     * Add event listeners for the announcer\n     * @private\n     */\n    addEventListeners() {\n        const announcer = this, chart = this.chart, e = this.eventProvider;\n        e.addEvent(chart, 'afterApplyDrilldown', function () {\n            announcer.lastAnnouncementTime = 0;\n        });\n        e.addEvent(chart, 'afterAddSeries', function (e) {\n            announcer.onSeriesAdded(e.series);\n        });\n        e.addEvent(chart, 'redraw', function () {\n            announcer.announceDirtyData();\n        });\n    }\n    /**\n     * On new data series added, update dirty list.\n     * @private\n     * @param {Highcharts.Series} series\n     */\n    onSeriesAdded(series) {\n        if (chartHasAnnounceEnabled(this.chart)) {\n            this.dirty.hasDirty = true;\n            this.dirty.allSeries[series.name + series.index] = series;\n            // Add it to newSeries storage unless we already have one\n            this.dirty.newSeries = NewDataAnnouncer_defined(this.dirty.newSeries) ?\n                void 0 : series;\n        }\n    }\n    /**\n     * Gather what we know and announce the data to user.\n     * @private\n     */\n    announceDirtyData() {\n        const chart = this.chart, announcer = this;\n        if (chart.options.accessibility.announceNewData &&\n            this.dirty.hasDirty) {\n            let newPoint = this.dirty.newPoint;\n            // If we have a single new point, see if we can find it in the\n            // data array. Otherwise we can only pass through options to\n            // the description builder, and it is a bit sparse in info.\n            if (newPoint) {\n                newPoint = findPointInDataArray(newPoint);\n            }\n            this.queueAnnouncement(Object\n                .keys(this.dirty.allSeries)\n                .map((ix) => announcer.dirty.allSeries[ix]), this.dirty.newSeries, newPoint);\n            // Reset\n            this.dirty = {\n                allSeries: {}\n            };\n        }\n    }\n    /**\n     * Announce to user that there is new data.\n     * @private\n     * @param {Array<Highcharts.Series>} dirtySeries\n     *          Array of series with new data.\n     * @param {Highcharts.Series} [newSeries]\n     *          If a single new series was added, a reference to this series.\n     * @param {Highcharts.Point} [newPoint]\n     *          If a single point was added, a reference to this point.\n     */\n    queueAnnouncement(dirtySeries, newSeries, newPoint) {\n        const chart = this.chart;\n        const annOptions = chart.options.accessibility.announceNewData;\n        if (annOptions.enabled) {\n            const now = +new Date();\n            const dTime = now - this.lastAnnouncementTime;\n            const time = Math.max(0, annOptions.minAnnounceInterval - dTime);\n            // Add series from previously queued announcement.\n            const allSeries = getUniqueSeries(this.queuedAnnouncement && this.queuedAnnouncement.series, dirtySeries);\n            // Build message and announce\n            const message = this.buildAnnouncementMessage(allSeries, newSeries, newPoint);\n            if (message) {\n                // Is there already one queued?\n                if (this.queuedAnnouncement) {\n                    clearTimeout(this.queuedAnnouncementTimer);\n                }\n                // Build the announcement\n                this.queuedAnnouncement = {\n                    time: now,\n                    message: message,\n                    series: allSeries\n                };\n                // Queue the announcement\n                this.queuedAnnouncementTimer = setTimeout(() => {\n                    if (this && this.announcer) {\n                        this.lastAnnouncementTime = +new Date();\n                        this.announcer.announce(this.queuedAnnouncement.message);\n                        delete this.queuedAnnouncement;\n                        delete this.queuedAnnouncementTimer;\n                    }\n                }, time);\n            }\n        }\n    }\n    /**\n     * Get announcement message for new data.\n     * @private\n     * @param {Array<Highcharts.Series>} dirtySeries\n     *          Array of series with new data.\n     * @param {Highcharts.Series} [newSeries]\n     *          If a single new series was added, a reference to this series.\n     * @param {Highcharts.Point} [newPoint]\n     *          If a single point was added, a reference to this point.\n     *\n     * @return {string|null}\n     * The announcement message to give to user.\n     */\n    buildAnnouncementMessage(dirtySeries, newSeries, newPoint) {\n        const chart = this.chart, annOptions = chart.options.accessibility.announceNewData;\n        // User supplied formatter?\n        if (annOptions.announcementFormatter) {\n            const formatterRes = annOptions.announcementFormatter(dirtySeries, newSeries, newPoint);\n            if (formatterRes !== false) {\n                return formatterRes.length ? formatterRes : null;\n            }\n        }\n        // Default formatter - use lang options\n        const multiple = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).charts && (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).charts.length > 1 ?\n            'Multiple' : 'Single', langKey = newSeries ? 'newSeriesAnnounce' + multiple :\n            newPoint ? 'newPointAnnounce' + multiple : 'newDataAnnounce', chartTitle = NewDataAnnouncer_getChartTitle(chart);\n        return chart.langFormat('accessibility.announceNewData.' + langKey, {\n            chartTitle: chartTitle,\n            seriesDesc: newSeries ?\n                NewDataAnnouncer_defaultSeriesDescriptionFormatter(newSeries) :\n                null,\n            pointDesc: newPoint ?\n                NewDataAnnouncer_defaultPointDescriptionFormatter(newPoint) :\n                null,\n            point: newPoint,\n            series: newSeries\n        });\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (NewDataAnnouncer) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(SeriesClass) {\n        if (NewDataAnnouncer_pushUnique(NewDataAnnouncer_composed, 'A11y.NDA')) {\n            NewDataAnnouncer_addEvent(SeriesClass, 'addPoint', seriesOnAddPoint);\n            NewDataAnnouncer_addEvent(SeriesClass, 'updatedData', seriesOnUpdatedData);\n        }\n    }\n    NewDataAnnouncer.compose = compose;\n    /**\n     * On new point added, update dirty list.\n     * @private\n     * @param {Highcharts.Point} point\n     */\n    function seriesOnAddPoint(e) {\n        const chart = this.chart, newDataAnnouncer = chart.accessibility?.components\n            .series.newDataAnnouncer;\n        if (newDataAnnouncer &&\n            newDataAnnouncer.chart === chart &&\n            chartHasAnnounceEnabled(chart)) {\n            // Add it to newPoint storage unless we already have one\n            newDataAnnouncer.dirty.newPoint = (NewDataAnnouncer_defined(newDataAnnouncer.dirty.newPoint) ?\n                void 0 :\n                e.point);\n        }\n    }\n    /**\n     * On new data in the series, make sure we add it to the dirty list.\n     * @private\n     * @param {Highcharts.Series} series\n     */\n    function seriesOnUpdatedData() {\n        const chart = this.chart, newDataAnnouncer = chart.accessibility?.components\n            .series.newDataAnnouncer;\n        if (newDataAnnouncer &&\n            newDataAnnouncer.chart === chart &&\n            chartHasAnnounceEnabled(chart)) {\n            newDataAnnouncer.dirty.hasDirty = true;\n            newDataAnnouncer.dirty.allSeries[this.name + this.index] = this;\n        }\n    }\n})(NewDataAnnouncer || (NewDataAnnouncer = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const SeriesComponent_NewDataAnnouncer = (NewDataAnnouncer);\n\n;// ./code/es-modules/Accessibility/ProxyElement.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Proxy elements are used to shadow SVG elements in HTML for assistive\n *  technology, such as screen readers or voice input software.\n *\n *  The ProxyElement class represents such an element, and deals with\n *  overlay positioning and mirroring events for the target.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc: ProxyElement_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { attr: ProxyElement_attr, css: ProxyElement_css, merge: ProxyElement_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\nconst { fireEventOnWrappedOrUnwrappedElement: ProxyElement_fireEventOnWrappedOrUnwrappedElement } = Utils_ChartUtilities;\n\nconst { cloneMouseEvent: ProxyElement_cloneMouseEvent, cloneTouchEvent: ProxyElement_cloneTouchEvent, getFakeMouseEvent: ProxyElement_getFakeMouseEvent, removeElement: ProxyElement_removeElement } = Utils_HTMLUtilities;\n/* *\n *\n *  Class\n *\n * */\n/**\n * Represents a proxy element that overlays a target and relays events\n * to its target.\n *\n * @private\n * @class\n */\nclass ProxyElement {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart, target, proxyElementType = 'button', wrapperElementType, attributes) {\n        this.chart = chart;\n        this.target = target;\n        this.eventProvider = new Utils_EventProvider();\n        const innerEl = this.innerElement =\n            ProxyElement_doc.createElement(proxyElementType), wrapperEl = this.element = wrapperElementType ?\n            ProxyElement_doc.createElement(wrapperElementType) : innerEl;\n        if (!chart.styledMode) {\n            this.hideElementVisually(innerEl);\n        }\n        if (wrapperElementType) {\n            if (wrapperElementType === 'li' && !chart.styledMode) {\n                wrapperEl.style.listStyle = 'none';\n            }\n            wrapperEl.appendChild(innerEl);\n            this.element = wrapperEl;\n        }\n        this.updateTarget(target, attributes);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Fake a click event on the target.\n     */\n    click() {\n        const pos = this.getTargetPosition();\n        pos.x += pos.width / 2;\n        pos.y += pos.height / 2;\n        const fakeEventObject = ProxyElement_getFakeMouseEvent('click', pos);\n        ProxyElement_fireEventOnWrappedOrUnwrappedElement(this.target.click, fakeEventObject);\n    }\n    /**\n     * Update the target to be proxied. The position and events are updated to\n     * match the new target.\n     * @param target The new target definition\n     * @param attributes New HTML attributes to apply to the proxy. Set an\n     * attribute to null to remove.\n     */\n    updateTarget(target, attributes) {\n        this.target = target;\n        this.updateCSSClassName();\n        const attrs = attributes || {};\n        Object.keys(attrs).forEach((a) => {\n            if (attrs[a] === null) {\n                delete attrs[a];\n            }\n        });\n        const targetAriaLabel = this.getTargetAttr(target.click, 'aria-label');\n        ProxyElement_attr(this.innerElement, ProxyElement_merge(targetAriaLabel ? {\n            'aria-label': targetAriaLabel\n        } : {}, attrs));\n        this.eventProvider.removeAddedEvents();\n        this.addProxyEventsToElement(this.innerElement, target.click);\n        this.refreshPosition();\n    }\n    /**\n     * Refresh the position of the proxy element to match the current target\n     */\n    refreshPosition() {\n        const bBox = this.getTargetPosition();\n        ProxyElement_css(this.innerElement, {\n            width: (bBox.width || 1) + 'px',\n            height: (bBox.height || 1) + 'px',\n            left: (Math.round(bBox.x) || 0) + 'px',\n            top: (Math.round(bBox.y) || 0) + 'px'\n        });\n    }\n    /**\n     * Remove button from DOM, and clear events.\n     */\n    remove() {\n        this.eventProvider.removeAddedEvents();\n        ProxyElement_removeElement(this.element);\n    }\n    // -------------------------- private ------------------------------------\n    /**\n     * Update the CSS class name to match target\n     */\n    updateCSSClassName() {\n        const stringHasNoTooltip = (s) => (s.indexOf('highcharts-no-tooltip') > -1);\n        const legend = this.chart.legend;\n        const groupDiv = legend.group && legend.group.div;\n        const noTooltipOnGroup = stringHasNoTooltip(groupDiv && groupDiv.className || '');\n        const targetClassName = this.getTargetAttr(this.target.click, 'class') || '';\n        const noTooltipOnTarget = stringHasNoTooltip(targetClassName);\n        this.innerElement.className = noTooltipOnGroup || noTooltipOnTarget ?\n            'highcharts-a11y-proxy-element highcharts-no-tooltip' :\n            'highcharts-a11y-proxy-element';\n    }\n    /**\n     * Mirror events for a proxy element to a target\n     */\n    addProxyEventsToElement(element, target) {\n        [\n            'click', 'touchstart', 'touchend', 'touchcancel', 'touchmove',\n            'mouseover', 'mouseenter', 'mouseleave', 'mouseout'\n        ].forEach((evtType) => {\n            const isTouchEvent = evtType.indexOf('touch') === 0;\n            this.eventProvider.addEvent(element, evtType, (e) => {\n                const clonedEvent = isTouchEvent ?\n                    ProxyElement_cloneTouchEvent(e) :\n                    ProxyElement_cloneMouseEvent(e);\n                if (target) {\n                    ProxyElement_fireEventOnWrappedOrUnwrappedElement(target, clonedEvent);\n                }\n                e.stopPropagation();\n                // #9682, #15318: Touch scrolling didn't work when touching\n                // proxy\n                if (!isTouchEvent) {\n                    e.preventDefault();\n                }\n            }, { passive: false });\n        });\n    }\n    /**\n     * Set visually hidden style on a proxy element\n     */\n    hideElementVisually(el) {\n        ProxyElement_css(el, {\n            borderWidth: 0,\n            backgroundColor: 'transparent',\n            cursor: 'pointer',\n            outline: 'none',\n            opacity: 0.001,\n            filter: 'alpha(opacity=1)',\n            zIndex: 999,\n            overflow: 'hidden',\n            padding: 0,\n            margin: 0,\n            display: 'block',\n            position: 'absolute',\n            '-ms-filter': 'progid:DXImageTransform.Microsoft.Alpha(Opacity=1)'\n        });\n    }\n    /**\n     * Get the position relative to chart container for the target\n     */\n    getTargetPosition() {\n        const clickTarget = this.target.click;\n        // We accept both DOM elements and wrapped elements as click targets.\n        const clickTargetElement = clickTarget.element ?\n            clickTarget.element :\n            clickTarget;\n        const posElement = this.target.visual || clickTargetElement;\n        const chartDiv = this.chart.renderTo, pointer = this.chart.pointer;\n        if (chartDiv && posElement?.getBoundingClientRect && pointer) {\n            const rectEl = posElement.getBoundingClientRect(), chartPos = pointer.getChartPosition();\n            return {\n                x: (rectEl.left - chartPos.left) / chartPos.scaleX,\n                y: (rectEl.top - chartPos.top) / chartPos.scaleY,\n                width: rectEl.right / chartPos.scaleX -\n                    rectEl.left / chartPos.scaleX,\n                height: rectEl.bottom / chartPos.scaleY -\n                    rectEl.top / chartPos.scaleY\n            };\n        }\n        return { x: 0, y: 0, width: 1, height: 1 };\n    }\n    /**\n     * Get an attribute value of a target\n     */\n    getTargetAttr(target, key) {\n        if (target.element) {\n            return target.element.getAttribute(key);\n        }\n        return target.getAttribute(key);\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Accessibility_ProxyElement = (ProxyElement);\n\n;// ./code/es-modules/Accessibility/ProxyProvider.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Proxy elements are used to shadow SVG elements in HTML for assistive\n *  technology, such as screen readers or voice input software.\n *\n *  The ProxyProvider keeps track of all proxy elements of the a11y module,\n *  and updating their order and positioning.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc: ProxyProvider_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { attr: ProxyProvider_attr, css: ProxyProvider_css } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { unhideChartElementFromAT: ProxyProvider_unhideChartElementFromAT } = Utils_ChartUtilities;\n\n\nconst { removeChildNodes: ProxyProvider_removeChildNodes } = Utils_HTMLUtilities;\n\n/* *\n *\n *  Class\n *\n * */\n/**\n * Keeps track of all proxy elements and proxy groups.\n *\n * @private\n * @class\n */\nclass ProxyProvider {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart) {\n        this.chart = chart;\n        this.domElementProvider = new Utils_DOMElementProvider();\n        this.groups = {};\n        this.groupOrder = [];\n        this.beforeChartProxyPosContainer = this.createProxyPosContainer('before');\n        this.afterChartProxyPosContainer = this.createProxyPosContainer('after');\n        this.update();\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable */\n    /**\n     * Add a new proxy element to a group, proxying a target control.\n     */\n    addProxyElement(groupKey, target, proxyElementType = 'button', attributes) {\n        const group = this.groups[groupKey];\n        if (!group) {\n            throw new Error('ProxyProvider.addProxyElement: Invalid group key ' + groupKey);\n        }\n        const wrapperElementType = group.type === 'ul' || group.type === 'ol' ?\n            'li' : void 0, proxy = new Accessibility_ProxyElement(this.chart, target, proxyElementType, wrapperElementType, attributes);\n        group.proxyContainerElement.appendChild(proxy.element);\n        group.proxyElements.push(proxy);\n        return proxy;\n    }\n    /**\n     * Create a group that will contain proxy elements. The group order is\n     * automatically updated according to the last group order keys.\n     *\n     * Returns the added group.\n     */\n    addGroup(groupKey, groupElementType = 'div', attributes) {\n        const existingGroup = this.groups[groupKey];\n        if (existingGroup) {\n            return existingGroup.groupElement;\n        }\n        const proxyContainer = this.domElementProvider\n            .createElement(groupElementType);\n        // If we want to add a role to the group, and still use e.g.\n        // a list group, we need a wrapper div around the proxyContainer.\n        // Used for setting region role on legend.\n        let groupElement;\n        if (attributes && attributes.role && groupElementType !== 'div') {\n            groupElement = this.domElementProvider.createElement('div');\n            groupElement.appendChild(proxyContainer);\n        }\n        else {\n            groupElement = proxyContainer;\n        }\n        groupElement.className = 'highcharts-a11y-proxy-group highcharts-a11y-proxy-group-' +\n            groupKey.replace(/\\W/g, '-');\n        this.groups[groupKey] = {\n            proxyContainerElement: proxyContainer,\n            groupElement,\n            type: groupElementType,\n            proxyElements: []\n        };\n        ProxyProvider_attr(groupElement, attributes || {});\n        if (groupElementType === 'ul') {\n            proxyContainer.setAttribute('role', 'list'); // Needed for webkit\n        }\n        // Add the group to the end by default, and perhaps then we\n        // won't have to reorder the whole set of groups.\n        this.afterChartProxyPosContainer.appendChild(groupElement);\n        this.updateGroupOrder(this.groupOrder);\n        return groupElement;\n    }\n    /**\n     * Update HTML attributes of a group.\n     */\n    updateGroupAttrs(groupKey, attributes) {\n        const group = this.groups[groupKey];\n        if (!group) {\n            throw new Error('ProxyProvider.updateGroupAttrs: Invalid group key ' + groupKey);\n        }\n        ProxyProvider_attr(group.groupElement, attributes);\n    }\n    /**\n     * Reorder the proxy groups.\n     *\n     * The group key \"series\" refers to the chart's data points / <svg> element.\n     * This is so that the keyboardNavigation.order option can be used to\n     * determine the proxy group order.\n     */\n    updateGroupOrder(groupKeys) {\n        // Store so that we can update order when a new group is created\n        this.groupOrder = groupKeys.slice();\n        // Don't unnecessarily reorder, because keyboard focus is lost\n        if (this.isDOMOrderGroupOrder()) {\n            return;\n        }\n        const seriesIx = groupKeys.indexOf('series');\n        const beforeKeys = seriesIx > -1 ? groupKeys.slice(0, seriesIx) : groupKeys;\n        const afterKeys = seriesIx > -1 ? groupKeys.slice(seriesIx + 1) : [];\n        // Store focused element since it will be lost when reordering\n        const activeElement = ProxyProvider_doc.activeElement;\n        // Add groups to correct container\n        ['before', 'after'].forEach((pos) => {\n            const posContainer = this[pos === 'before' ?\n                'beforeChartProxyPosContainer' :\n                'afterChartProxyPosContainer'];\n            const keys = pos === 'before' ? beforeKeys : afterKeys;\n            ProxyProvider_removeChildNodes(posContainer);\n            keys.forEach((groupKey) => {\n                const group = this.groups[groupKey];\n                if (group) {\n                    posContainer.appendChild(group.groupElement);\n                }\n            });\n        });\n        // Attempt to restore focus after reordering, but note that this may\n        // cause screen readers re-announcing the button.\n        if ((this.beforeChartProxyPosContainer.contains(activeElement) ||\n            this.afterChartProxyPosContainer.contains(activeElement)) &&\n            activeElement && activeElement.focus) {\n            activeElement.focus();\n        }\n    }\n    /**\n     * Remove all proxy elements in a group\n     */\n    clearGroup(groupKey) {\n        const group = this.groups[groupKey];\n        if (!group) {\n            throw new Error('ProxyProvider.clearGroup: Invalid group key ' + groupKey);\n        }\n        ProxyProvider_removeChildNodes(group.proxyContainerElement);\n    }\n    /**\n     * Remove a group from the DOM and from the proxy provider's group list.\n     * All child elements are removed.\n     * If the group does not exist, nothing happens.\n     */\n    removeGroup(groupKey) {\n        const group = this.groups[groupKey];\n        if (group) {\n            // Remove detached HTML elements to prevent memory leak (#20329).\n            this.domElementProvider.removeElement(group.groupElement);\n            // Sometimes groupElement is a wrapper around the proxyContainer, so\n            // the real one proxyContainer needs to be removed also.\n            if (group.groupElement !== group.proxyContainerElement) {\n                this.domElementProvider.removeElement(group.proxyContainerElement);\n            }\n            delete this.groups[groupKey];\n        }\n    }\n    /**\n     * Update the position and order of all proxy groups and elements\n     */\n    update() {\n        this.updatePosContainerPositions();\n        this.updateGroupOrder(this.groupOrder);\n        this.updateProxyElementPositions();\n    }\n    /**\n     * Update all proxy element positions\n     */\n    updateProxyElementPositions() {\n        Object.keys(this.groups).forEach(this.updateGroupProxyElementPositions.bind(this));\n    }\n    /**\n     * Update a group's proxy elements' positions.\n     * If the group does not exist, nothing happens.\n     */\n    updateGroupProxyElementPositions(groupKey) {\n        const group = this.groups[groupKey];\n        if (group) {\n            group.proxyElements.forEach((el) => el.refreshPosition());\n        }\n    }\n    /**\n     * Remove all added elements\n     */\n    destroy() {\n        this.domElementProvider.destroyCreatedElements();\n    }\n    // -------------------------- private ------------------------------------\n    /**\n     * Create and return a pos container element (the overall containers for\n     * the proxy groups).\n     */\n    createProxyPosContainer(classNamePostfix) {\n        const el = this.domElementProvider.createElement('div');\n        el.setAttribute('aria-hidden', 'false');\n        el.className = 'highcharts-a11y-proxy-container' + (classNamePostfix ? '-' + classNamePostfix : '');\n        ProxyProvider_css(el, {\n            top: '0',\n            left: '0'\n        });\n        if (!this.chart.styledMode) {\n            el.style.whiteSpace = 'nowrap';\n            el.style.position = 'absolute';\n        }\n        return el;\n    }\n    /**\n     * Get an array of group keys that corresponds to the current group order\n     * in the DOM.\n     */\n    getCurrentGroupOrderInDOM() {\n        const getGroupKeyFromElement = (el) => {\n            const allGroups = Object.keys(this.groups);\n            let i = allGroups.length;\n            while (i--) {\n                const groupKey = allGroups[i];\n                const group = this.groups[groupKey];\n                if (group && el === group.groupElement) {\n                    return groupKey;\n                }\n            }\n        };\n        const getChildrenGroupOrder = (el) => {\n            const childrenOrder = [];\n            const children = el.children;\n            for (let i = 0; i < children.length; ++i) {\n                const groupKey = getGroupKeyFromElement(children[i]);\n                if (groupKey) {\n                    childrenOrder.push(groupKey);\n                }\n            }\n            return childrenOrder;\n        };\n        const before = getChildrenGroupOrder(this.beforeChartProxyPosContainer);\n        const after = getChildrenGroupOrder(this.afterChartProxyPosContainer);\n        before.push('series');\n        return before.concat(after);\n    }\n    /**\n     * Check if the current DOM order matches the current group order, so that\n     * a reordering/update is unnecessary.\n     */\n    isDOMOrderGroupOrder() {\n        const domOrder = this.getCurrentGroupOrderInDOM();\n        const groupOrderWithGroups = this.groupOrder.filter((x) => x === 'series' || !!this.groups[x]);\n        let i = domOrder.length;\n        if (i !== groupOrderWithGroups.length) {\n            return false;\n        }\n        while (i--) {\n            if (domOrder[i] !== groupOrderWithGroups[i]) {\n                return false;\n            }\n        }\n        return true;\n    }\n    /**\n     * Update the DOM positions of the before/after proxy\n     * positioning containers for the groups.\n     */\n    updatePosContainerPositions() {\n        const chart = this.chart;\n        // If exporting, don't add these containers to the DOM.\n        if (chart.renderer.forExport) {\n            return;\n        }\n        const rendererSVGEl = chart.renderer.box;\n        chart.container.insertBefore(this.afterChartProxyPosContainer, rendererSVGEl.nextSibling);\n        chart.container.insertBefore(this.beforeChartProxyPosContainer, rendererSVGEl);\n        ProxyProvider_unhideChartElementFromAT(this.chart, this.afterChartProxyPosContainer);\n        ProxyProvider_unhideChartElementFromAT(this.chart, this.beforeChartProxyPosContainer);\n    }\n}\n/* *\n *\n *  Export Default\n *\n * */\n/* harmony default export */ const Accessibility_ProxyProvider = (ProxyProvider);\n\n;// ./code/es-modules/Accessibility/Components/RangeSelectorComponent.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility component for the range selector.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { unhideChartElementFromAT: RangeSelectorComponent_unhideChartElementFromAT, getAxisRangeDescription: RangeSelectorComponent_getAxisRangeDescription } = Utils_ChartUtilities;\n\n\nconst { addEvent: RangeSelectorComponent_addEvent, attr: RangeSelectorComponent_attr } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Do we want date input navigation\n * @private\n */\nfunction shouldRunInputNavigation(chart) {\n    return Boolean(chart.rangeSelector &&\n        chart.rangeSelector.inputGroup &&\n        chart.rangeSelector.inputGroup.element.style.visibility !== 'hidden' &&\n        chart.options.rangeSelector.inputEnabled !== false &&\n        chart.rangeSelector.minInput &&\n        chart.rangeSelector.maxInput);\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The RangeSelectorComponent class\n *\n * @private\n * @class\n * @name Highcharts.RangeSelectorComponent\n */\nclass RangeSelectorComponent extends Accessibility_AccessibilityComponent {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Init the component\n     * @private\n     */\n    init() {\n        const chart = this.chart;\n        this.announcer = new Utils_Announcer(chart, 'polite');\n    }\n    /**\n     * Called on first render/updates to the chart, including options changes.\n     */\n    onChartUpdate() {\n        const chart = this.chart, component = this, rangeSelector = chart.rangeSelector;\n        if (!rangeSelector) {\n            return;\n        }\n        this.updateSelectorVisibility();\n        this.setDropdownAttrs();\n        if (rangeSelector.buttons &&\n            rangeSelector.buttons.length) {\n            rangeSelector.buttons.forEach((button) => {\n                component.setRangeButtonAttrs(button);\n            });\n        }\n        // Make sure input boxes are accessible and focusable\n        if (rangeSelector.maxInput && rangeSelector.minInput) {\n            ['minInput', 'maxInput'].forEach(function (key, i) {\n                const input = rangeSelector[key];\n                if (input) {\n                    RangeSelectorComponent_unhideChartElementFromAT(chart, input);\n                    component.setRangeInputAttrs(input, 'accessibility.rangeSelector.' + (i ? 'max' : 'min') +\n                        'InputLabel');\n                }\n            });\n        }\n    }\n    /**\n     * Hide buttons from AT when showing dropdown, and vice versa.\n     * @private\n     */\n    updateSelectorVisibility() {\n        const chart = this.chart;\n        const rangeSelector = chart.rangeSelector;\n        const dropdown = (rangeSelector &&\n            rangeSelector.dropdown);\n        const buttons = (rangeSelector &&\n            rangeSelector.buttons ||\n            []);\n        const hideFromAT = (el) => el.setAttribute('aria-hidden', true);\n        if (rangeSelector &&\n            rangeSelector.hasVisibleDropdown &&\n            dropdown) {\n            RangeSelectorComponent_unhideChartElementFromAT(chart, dropdown);\n            buttons.forEach((btn) => hideFromAT(btn.element));\n        }\n        else {\n            if (dropdown) {\n                hideFromAT(dropdown);\n            }\n            buttons.forEach((btn) => RangeSelectorComponent_unhideChartElementFromAT(chart, btn.element));\n        }\n    }\n    /**\n     * Set accessibility related attributes on dropdown element.\n     * @private\n     */\n    setDropdownAttrs() {\n        const chart = this.chart;\n        const dropdown = (chart.rangeSelector &&\n            chart.rangeSelector.dropdown);\n        if (dropdown) {\n            const label = chart.langFormat('accessibility.rangeSelector.dropdownLabel', { rangeTitle: chart.options.lang.rangeSelectorZoom });\n            dropdown.setAttribute('aria-label', label);\n            dropdown.setAttribute('tabindex', -1);\n        }\n    }\n    /**\n     * Set attrs for a range button\n     * @private\n     */\n    setRangeButtonAttrs(button) {\n        RangeSelectorComponent_attr(button.element, {\n            tabindex: -1,\n            role: 'button'\n        });\n    }\n    /**\n     * Set attrs for a date input\n     * @private\n     */\n    setRangeInputAttrs(input, langKey) {\n        const chart = this.chart;\n        RangeSelectorComponent_attr(input, {\n            tabindex: -1,\n            'aria-label': chart.langFormat(langKey, { chart: chart })\n        });\n    }\n    /**\n     * Handle arrow key nav\n     * @private\n     */\n    onButtonNavKbdArrowKey(keyboardNavigationHandler, keyCode) {\n        const response = keyboardNavigationHandler.response, keys = this.keyCodes, chart = this.chart, wrapAround = chart.options.accessibility\n            .keyboardNavigation.wrapAround, direction = (keyCode === keys.left || keyCode === keys.up) ? -1 : 1, didHighlight = chart.highlightRangeSelectorButton(chart.highlightedRangeSelectorItemIx + direction);\n        if (!didHighlight) {\n            if (wrapAround) {\n                keyboardNavigationHandler.init(direction);\n                return response.success;\n            }\n            return response[direction > 0 ? 'next' : 'prev'];\n        }\n        return response.success;\n    }\n    /**\n     * Handle keyboard click\n     * @private\n     */\n    onButtonNavKbdClick(keyboardNavigationHandler) {\n        const response = keyboardNavigationHandler.response, chart = this.chart, wasDisabled = chart.oldRangeSelectorItemState === 3;\n        if (!wasDisabled) {\n            this.fakeClickEvent(chart.rangeSelector.buttons[chart.highlightedRangeSelectorItemIx].element);\n        }\n        return response.success;\n    }\n    /**\n     * Called whenever a range selector button has been clicked, either by\n     * mouse, touch, or kbd/voice/other.\n     * @private\n     */\n    onAfterBtnClick() {\n        const chart = this.chart;\n        const axisRangeDescription = RangeSelectorComponent_getAxisRangeDescription(chart.xAxis[0]);\n        const announcement = chart.langFormat('accessibility.rangeSelector.clickButtonAnnouncement', { chart, axisRangeDescription });\n        if (announcement) {\n            this.announcer.announce(announcement);\n        }\n    }\n    /**\n     * Handle move between input elements with Tab key\n     * @private\n     */\n    onInputKbdMove(direction) {\n        const chart = this.chart;\n        const rangeSel = chart.rangeSelector;\n        const newIx = chart.highlightedInputRangeIx = (chart.highlightedInputRangeIx || 0) + direction;\n        const newIxOutOfRange = newIx > 1 || newIx < 0;\n        if (newIxOutOfRange) {\n            if (chart.accessibility) {\n                // Ignore focus\n                chart.accessibility.keyboardNavigation.exiting = true;\n                chart.accessibility.keyboardNavigation.tabindexContainer\n                    .focus();\n                return chart.accessibility.keyboardNavigation.move(direction);\n            }\n        }\n        else if (rangeSel) {\n            const svgEl = rangeSel[newIx ? 'maxDateBox' : 'minDateBox'];\n            const inputEl = rangeSel[newIx ? 'maxInput' : 'minInput'];\n            if (svgEl && inputEl) {\n                chart.setFocusToElement(svgEl, inputEl);\n            }\n        }\n        return true;\n    }\n    /**\n     * Init date input navigation\n     * @private\n     */\n    onInputNavInit(direction) {\n        const component = this;\n        const chart = this.chart;\n        const buttonIxToHighlight = direction > 0 ? 0 : 1;\n        const rangeSel = chart.rangeSelector;\n        const svgEl = (rangeSel &&\n            rangeSel[buttonIxToHighlight ? 'maxDateBox' : 'minDateBox']);\n        const minInput = (rangeSel && rangeSel.minInput);\n        const maxInput = (rangeSel && rangeSel.maxInput);\n        const inputEl = buttonIxToHighlight ? maxInput : minInput;\n        chart.highlightedInputRangeIx = buttonIxToHighlight;\n        if (svgEl && minInput && maxInput) {\n            chart.setFocusToElement(svgEl, inputEl);\n            // Tab-press with the input focused does not propagate to chart\n            // automatically, so we manually catch and handle it when relevant.\n            if (this.removeInputKeydownHandler) {\n                this.removeInputKeydownHandler();\n            }\n            const keydownHandler = (e) => {\n                const isTab = (e.which || e.keyCode) === this.keyCodes.tab;\n                if (isTab &&\n                    component.onInputKbdMove(e.shiftKey ? -1 : 1)) {\n                    e.preventDefault();\n                    e.stopPropagation();\n                }\n            };\n            const minRemover = RangeSelectorComponent_addEvent(minInput, 'keydown', keydownHandler);\n            const maxRemover = RangeSelectorComponent_addEvent(maxInput, 'keydown', keydownHandler);\n            this.removeInputKeydownHandler = () => {\n                minRemover();\n                maxRemover();\n            };\n        }\n    }\n    /**\n     * Terminate date input nav\n     * @private\n     */\n    onInputNavTerminate() {\n        const rangeSel = (this.chart.rangeSelector || {});\n        if (rangeSel.maxInput) {\n            rangeSel.hideInput('max');\n        }\n        if (rangeSel.minInput) {\n            rangeSel.hideInput('min');\n        }\n        if (this.removeInputKeydownHandler) {\n            this.removeInputKeydownHandler();\n            delete this.removeInputKeydownHandler;\n        }\n    }\n    /**\n     * Init range selector dropdown nav\n     * @private\n     */\n    initDropdownNav() {\n        const chart = this.chart;\n        const rangeSelector = chart.rangeSelector;\n        const dropdown = (rangeSelector && rangeSelector.dropdown);\n        if (rangeSelector && dropdown) {\n            chart.setFocusToElement(rangeSelector.buttonGroup, dropdown);\n            if (this.removeDropdownKeydownHandler) {\n                this.removeDropdownKeydownHandler();\n            }\n            // Tab-press with dropdown focused does not propagate to chart\n            // automatically, so we manually catch and handle it when relevant.\n            this.removeDropdownKeydownHandler = RangeSelectorComponent_addEvent(dropdown, 'keydown', (e) => {\n                const isTab = (e.which || e.keyCode) === this.keyCodes.tab, a11y = chart.accessibility;\n                if (isTab) {\n                    e.preventDefault();\n                    e.stopPropagation();\n                    if (a11y) {\n                        a11y.keyboardNavigation.move(e.shiftKey ? -1 : 1);\n                    }\n                }\n            });\n        }\n    }\n    /**\n     * Get navigation for the range selector buttons.\n     * @private\n     * @return {Highcharts.KeyboardNavigationHandler} The module object.\n     */\n    getRangeSelectorButtonNavigation() {\n        const chart = this.chart;\n        const keys = this.keyCodes;\n        const component = this;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [\n                [\n                    [keys.left, keys.right, keys.up, keys.down],\n                    function (keyCode) {\n                        return component.onButtonNavKbdArrowKey(this, keyCode);\n                    }\n                ],\n                [\n                    [keys.enter, keys.space],\n                    function () {\n                        return component.onButtonNavKbdClick(this);\n                    }\n                ]\n            ],\n            validate: function () {\n                return !!(chart.rangeSelector &&\n                    chart.rangeSelector.buttons &&\n                    chart.rangeSelector.buttons.length);\n            },\n            init: function (direction) {\n                const rangeSelector = chart.rangeSelector;\n                if (rangeSelector && rangeSelector.hasVisibleDropdown) {\n                    component.initDropdownNav();\n                }\n                else if (rangeSelector) {\n                    const lastButtonIx = rangeSelector.buttons.length - 1;\n                    chart.highlightRangeSelectorButton(direction > 0 ? 0 : lastButtonIx);\n                }\n            },\n            terminate: function () {\n                if (component.removeDropdownKeydownHandler) {\n                    component.removeDropdownKeydownHandler();\n                    delete component.removeDropdownKeydownHandler;\n                }\n            }\n        });\n    }\n    /**\n     * Get navigation for the range selector input boxes.\n     * @private\n     * @return {Highcharts.KeyboardNavigationHandler}\n     *         The module object.\n     */\n    getRangeSelectorInputNavigation() {\n        const chart = this.chart;\n        const component = this;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [],\n            validate: function () {\n                return shouldRunInputNavigation(chart);\n            },\n            init: function (direction) {\n                component.onInputNavInit(direction);\n            },\n            terminate: function () {\n                component.onInputNavTerminate();\n            }\n        });\n    }\n    /**\n     * Get keyboard navigation handlers for this component.\n     * @return {Array<Highcharts.KeyboardNavigationHandler>}\n     *         List of module objects.\n     */\n    getKeyboardNavigation() {\n        return [\n            this.getRangeSelectorButtonNavigation(),\n            this.getRangeSelectorInputNavigation()\n        ];\n    }\n    /**\n     * Remove component traces\n     */\n    destroy() {\n        if (this.removeDropdownKeydownHandler) {\n            this.removeDropdownKeydownHandler();\n        }\n        if (this.removeInputKeydownHandler) {\n            this.removeInputKeydownHandler();\n        }\n        if (this.announcer) {\n            this.announcer.destroy();\n        }\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (RangeSelectorComponent) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Highlight range selector button by index.\n     *\n     * @private\n     * @function Highcharts.Chart#highlightRangeSelectorButton\n     */\n    function chartHighlightRangeSelectorButton(ix) {\n        const buttons = (this.rangeSelector &&\n            this.rangeSelector.buttons ||\n            []);\n        const curHighlightedIx = this.highlightedRangeSelectorItemIx;\n        const curSelectedIx = (this.rangeSelector &&\n            this.rangeSelector.selected);\n        // Deselect old\n        if (typeof curHighlightedIx !== 'undefined' &&\n            buttons[curHighlightedIx] &&\n            curHighlightedIx !== curSelectedIx) {\n            buttons[curHighlightedIx].setState(this.oldRangeSelectorItemState || 0);\n        }\n        // Select new\n        this.highlightedRangeSelectorItemIx = ix;\n        if (buttons[ix]) {\n            this.setFocusToElement(buttons[ix].box, buttons[ix].element);\n            if (ix !== curSelectedIx) {\n                this.oldRangeSelectorItemState = buttons[ix].state;\n                buttons[ix].setState(1);\n            }\n            return true;\n        }\n        return false;\n    }\n    /**\n     * Build compositions\n     * @private\n     */\n    function compose(ChartClass, RangeSelectorClass) {\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.highlightRangeSelectorButton) {\n            chartProto.highlightRangeSelectorButton = (chartHighlightRangeSelectorButton);\n            RangeSelectorComponent_addEvent(RangeSelectorClass, 'afterBtnClick', rangeSelectorAfterBtnClick);\n        }\n    }\n    RangeSelectorComponent.compose = compose;\n    /**\n     * Range selector does not have destroy-setup for class instance events - so\n     * we set it on the class and call the component from here.\n     * @private\n     */\n    function rangeSelectorAfterBtnClick() {\n        const a11y = this.chart.accessibility;\n        if (a11y && a11y.components.rangeSelector) {\n            return a11y.components.rangeSelector.onAfterBtnClick();\n        }\n    }\n})(RangeSelectorComponent || (RangeSelectorComponent = {}));\n/* *\n *\n *  Export Default\n *\n * */\n/* harmony default export */ const Components_RangeSelectorComponent = (RangeSelectorComponent);\n\n;// ./code/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Handle forcing series markers.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { composed: ForcedMarkers_composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: ForcedMarkers_addEvent, merge: ForcedMarkers_merge, pushUnique: ForcedMarkers_pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar ForcedMarkersComposition;\n(function (ForcedMarkersComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(SeriesClass) {\n        if (ForcedMarkers_pushUnique(ForcedMarkers_composed, 'A11y.FM')) {\n            ForcedMarkers_addEvent(SeriesClass, 'afterSetOptions', seriesOnAfterSetOptions);\n            ForcedMarkers_addEvent(SeriesClass, 'render', seriesOnRender);\n            ForcedMarkers_addEvent(SeriesClass, 'afterRender', seriesOnAfterRender);\n            ForcedMarkers_addEvent(SeriesClass, 'renderCanvas', seriesOnRenderCanvas);\n        }\n    }\n    ForcedMarkersComposition.compose = compose;\n    /**\n     * @private\n     */\n    function forceZeroOpacityMarkerOptions(options) {\n        ForcedMarkers_merge(true, options, {\n            marker: {\n                enabled: true,\n                states: {\n                    normal: {\n                        opacity: 0\n                    }\n                }\n            }\n        });\n    }\n    /**\n     * @private\n     */\n    function getPointMarkerOpacity(pointOptions) {\n        return pointOptions.marker.states &&\n            pointOptions.marker.states.normal &&\n            pointOptions.marker.states.normal.opacity;\n    }\n    /**\n     * @private\n     */\n    function handleForcePointMarkers(series) {\n        let i = series.points.length;\n        while (i--) {\n            const point = series.points[i];\n            const pointOptions = point.options;\n            const hadForcedMarker = point.hasForcedA11yMarker;\n            delete point.hasForcedA11yMarker;\n            if (pointOptions.marker) {\n                const isStillForcedMarker = hadForcedMarker &&\n                    getPointMarkerOpacity(pointOptions) === 0;\n                if (pointOptions.marker.enabled && !isStillForcedMarker) {\n                    unforcePointMarkerOptions(pointOptions);\n                    point.hasForcedA11yMarker = false;\n                }\n                else if (pointOptions.marker.enabled === false) {\n                    forceZeroOpacityMarkerOptions(pointOptions);\n                    point.hasForcedA11yMarker = true;\n                }\n            }\n        }\n    }\n    /**\n     * @private\n     */\n    function hasIndividualPointMarkerOptions(series) {\n        return !!(series._hasPointMarkers &&\n            series.points &&\n            series.points.length);\n    }\n    /**\n     * @private\n     */\n    function isWithinDescriptionThreshold(series) {\n        const a11yOptions = series.chart.options.accessibility;\n        return series.points.length <\n            a11yOptions.series.pointDescriptionEnabledThreshold ||\n            a11yOptions.series\n                .pointDescriptionEnabledThreshold === false;\n    }\n    /**\n     * Process marker graphics after render\n     * @private\n     */\n    function seriesOnAfterRender() {\n        const series = this;\n        // For styled mode the rendered graphic does not reflect the style\n        // options, and we need to add/remove classes to achieve the same.\n        if (series.chart.styledMode) {\n            if (series.markerGroup) {\n                series.markerGroup[series.a11yMarkersForced ? 'addClass' : 'removeClass']('highcharts-a11y-markers-hidden');\n            }\n            // Do we need to handle individual points?\n            if (hasIndividualPointMarkerOptions(series)) {\n                series.points.forEach((point) => {\n                    if (point.graphic) {\n                        point.graphic[point.hasForcedA11yMarker ?\n                            'addClass' : 'removeClass']('highcharts-a11y-marker-hidden');\n                        point.graphic[point.hasForcedA11yMarker === false ?\n                            'addClass' :\n                            'removeClass']('highcharts-a11y-marker-visible');\n                    }\n                });\n            }\n        }\n    }\n    /**\n     * Keep track of options to reset markers to if no longer forced.\n     * @private\n     */\n    function seriesOnAfterSetOptions(e) {\n        this.resetA11yMarkerOptions = ForcedMarkers_merge(e.options.marker || {}, this.userOptions.marker || {});\n    }\n    /**\n     * Keep track of forcing markers.\n     * @private\n     */\n    function seriesOnRender() {\n        const series = this, options = series.options;\n        if (shouldForceMarkers(series)) {\n            if (options.marker && options.marker.enabled === false) {\n                series.a11yMarkersForced = true;\n                forceZeroOpacityMarkerOptions(series.options);\n            }\n            if (hasIndividualPointMarkerOptions(series)) {\n                handleForcePointMarkers(series);\n            }\n        }\n        else if (series.a11yMarkersForced) {\n            delete series.a11yMarkersForced;\n            unforceSeriesMarkerOptions(series);\n            delete series.resetA11yMarkerOptions;\n        }\n    }\n    /**\n     * @private\n     */\n    function shouldForceMarkers(series) {\n        const chart = series.chart, chartA11yEnabled = chart.options.accessibility.enabled, seriesA11yEnabled = (series.options.accessibility &&\n            series.options.accessibility.enabled) !== false;\n        return (chartA11yEnabled &&\n            seriesA11yEnabled &&\n            isWithinDescriptionThreshold(series));\n    }\n    /**\n     * @private\n     */\n    function unforcePointMarkerOptions(pointOptions) {\n        ForcedMarkers_merge(true, pointOptions.marker, {\n            states: {\n                normal: {\n                    opacity: getPointMarkerOpacity(pointOptions) || 1\n                }\n            }\n        });\n    }\n    /**\n     * Reset markers to normal\n     * @private\n     */\n    function unforceSeriesMarkerOptions(series) {\n        const resetMarkerOptions = series.resetA11yMarkerOptions;\n        if (resetMarkerOptions) {\n            const originalOpacity = resetMarkerOptions.states &&\n                resetMarkerOptions.states.normal &&\n                resetMarkerOptions.states.normal.opacity;\n            // Temporarily set the old marker options to enabled in order to\n            // trigger destruction of the markers in Series.update.\n            if (series.userOptions && series.userOptions.marker) {\n                series.userOptions.marker.enabled = true;\n            }\n            series.update({\n                marker: {\n                    enabled: resetMarkerOptions.enabled,\n                    states: {\n                        normal: { opacity: originalOpacity }\n                    }\n                }\n            });\n        }\n    }\n    /**\n     * Reset markers if series is boosted and had forced markers (#17320).\n     * @private\n     */\n    function seriesOnRenderCanvas() {\n        if (this.boosted && this.a11yMarkersForced) {\n            ForcedMarkers_merge(true, this.options, {\n                marker: {\n                    enabled: false\n                }\n            });\n            delete this.a11yMarkersForced;\n        }\n    }\n})(ForcedMarkersComposition || (ForcedMarkersComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const ForcedMarkers = (ForcedMarkersComposition);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Point\"],\"commonjs\":[\"highcharts\",\"Point\"],\"commonjs2\":[\"highcharts\",\"Point\"],\"root\":[\"Highcharts\",\"Point\"]}\nvar highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_ = __webpack_require__(260);\nvar highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default = /*#__PURE__*/__webpack_require__.n(highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Series\"],\"commonjs\":[\"highcharts\",\"Series\"],\"commonjs2\":[\"highcharts\",\"Series\"],\"root\":[\"Highcharts\",\"Series\"]}\nvar highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_ = __webpack_require__(820);\nvar highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default = /*#__PURE__*/__webpack_require__.n(highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_);\n;// ./code/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Handle keyboard navigation for series.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\n\nconst { seriesTypes: SeriesKeyboardNavigation_seriesTypes } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { doc: SeriesKeyboardNavigation_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { defined: SeriesKeyboardNavigation_defined, fireEvent: SeriesKeyboardNavigation_fireEvent } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { getPointFromXY: SeriesKeyboardNavigation_getPointFromXY, getSeriesFromName: SeriesKeyboardNavigation_getSeriesFromName, scrollAxisToPoint: SeriesKeyboardNavigation_scrollAxisToPoint } = Utils_ChartUtilities;\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable valid-jsdoc */\n/**\n * Get the index of a point in a series. This is needed when using e.g. data\n * grouping.\n *\n * @private\n * @function getPointIndex\n * @param {Highcharts.AccessibilityPoint} point\n * The point to find index of.\n * @return {number|undefined}\n * The index in the series.points array of the point.\n */\nfunction getPointIndex(point) {\n    const index = point.index, points = point.series.points;\n    let i = points.length;\n    if (points[index] !== point) {\n        while (i--) {\n            if (points[i] === point) {\n                return i;\n            }\n        }\n    }\n    else {\n        return index;\n    }\n}\n/**\n * Determine if series navigation should be skipped\n * @private\n */\nfunction isSkipSeries(series) {\n    const a11yOptions = series.chart.options.accessibility, seriesNavOptions = a11yOptions.keyboardNavigation.seriesNavigation, seriesA11yOptions = series.options.accessibility || {}, seriesKbdNavOptions = seriesA11yOptions.keyboardNavigation;\n    return seriesKbdNavOptions && seriesKbdNavOptions.enabled === false ||\n        seriesA11yOptions.enabled === false ||\n        series.options.enableMouseTracking === false || // #8440\n        !series.visible ||\n        // Skip all points in a series where pointNavigationEnabledThreshold is\n        // reached\n        (seriesNavOptions.pointNavigationEnabledThreshold &&\n            +seriesNavOptions.pointNavigationEnabledThreshold <=\n                series.points.length);\n}\n/**\n * Determine if navigation for a point should be skipped\n * @private\n */\nfunction isSkipPoint(point) {\n    const a11yOptions = point.series.chart.options.accessibility;\n    const pointA11yDisabled = (point.options.accessibility &&\n        point.options.accessibility.enabled === false);\n    return point.isNull &&\n        a11yOptions.keyboardNavigation.seriesNavigation.skipNullPoints ||\n        point.visible === false ||\n        point.isInside === false ||\n        pointA11yDisabled ||\n        isSkipSeries(point.series);\n}\n/**\n * Get the first point that is not a skip point in this series.\n * @private\n */\nfunction getFirstValidPointInSeries(series) {\n    const points = series.points || [], len = points.length;\n    for (let i = 0; i < len; ++i) {\n        if (!isSkipPoint(points[i])) {\n            return points[i];\n        }\n    }\n    return null;\n}\n/**\n * Get the first point that is not a skip point in this chart.\n * @private\n */\nfunction getFirstValidPointInChart(chart) {\n    const series = chart.series || [], len = series.length;\n    for (let i = 0; i < len; ++i) {\n        if (!isSkipSeries(series[i])) {\n            const point = getFirstValidPointInSeries(series[i]);\n            if (point) {\n                return point;\n            }\n        }\n    }\n    return null;\n}\n/**\n * @private\n */\nfunction highlightLastValidPointInChart(chart) {\n    const numSeries = chart.series.length;\n    let i = numSeries, res = false;\n    while (i--) {\n        chart.highlightedPoint = chart.series[i].points[chart.series[i].points.length - 1];\n        // Highlight first valid point in the series will also\n        // look backwards. It always starts from currently\n        // highlighted point.\n        res = chart.series[i].highlightNextValidPoint();\n        if (res) {\n            break;\n        }\n    }\n    return res;\n}\n/**\n * After drilling down/up, we need to set focus to the first point for\n * screen readers and keyboard nav.\n * @private\n */\nfunction updateChartFocusAfterDrilling(chart) {\n    const point = getFirstValidPointInChart(chart);\n    if (point) {\n        point.highlight(false); // Do not visually highlight\n    }\n}\n/**\n * Highlight the first point in chart that is not a skip point\n * @private\n */\nfunction highlightFirstValidPointInChart(chart) {\n    delete chart.highlightedPoint;\n    const point = getFirstValidPointInChart(chart);\n    return point ? point.highlight() : false;\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.SeriesKeyboardNavigation\n */\nclass SeriesKeyboardNavigation {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart, keyCodes) {\n        this.keyCodes = keyCodes;\n        this.chart = chart;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * Init the keyboard navigation\n     */\n    init() {\n        const keyboardNavigation = this, chart = this.chart, e = this.eventProvider = new Utils_EventProvider();\n        e.addEvent((highcharts_Series_commonjs_highcharts_Series_commonjs2_highcharts_Series_root_Highcharts_Series_default()), 'destroy', function () {\n            return keyboardNavigation.onSeriesDestroy(this);\n        });\n        e.addEvent(chart, 'afterApplyDrilldown', function () {\n            updateChartFocusAfterDrilling(this);\n        });\n        e.addEvent(chart, 'drilldown', function (e) {\n            const point = e.point, series = point.series;\n            keyboardNavigation.lastDrilledDownPoint = {\n                x: point.x,\n                y: point.y,\n                seriesName: series ? series.name : ''\n            };\n        });\n        e.addEvent(chart, 'drillupall', function () {\n            setTimeout(function () {\n                keyboardNavigation.onDrillupAll();\n            }, 10);\n        });\n        // Heatmaps et al. alter z-index in setState, causing elements\n        // to lose focus\n        e.addEvent((highcharts_Point_commonjs_highcharts_Point_commonjs2_highcharts_Point_root_Highcharts_Point_default()), 'afterSetState', function () {\n            const point = this;\n            const pointEl = point.graphic && point.graphic.element;\n            const focusedElement = SeriesKeyboardNavigation_doc.activeElement;\n            // VO brings focus with it to container, causing series nav to run.\n            // If then navigating with virtual cursor, it is possible to leave\n            // keyboard nav module state on the data points and still activate\n            // proxy buttons.\n            const focusedElClassName = (focusedElement && focusedElement.getAttribute('class'));\n            const isProxyFocused = focusedElClassName &&\n                focusedElClassName.indexOf('highcharts-a11y-proxy-element') > -1;\n            if (chart.highlightedPoint === point &&\n                focusedElement !== pointEl &&\n                !isProxyFocused &&\n                pointEl &&\n                pointEl.focus) {\n                pointEl.focus();\n            }\n        });\n    }\n    /**\n     * After drillup we want to find the point that was drilled down to and\n     * highlight it.\n     * @private\n     */\n    onDrillupAll() {\n        const last = this.lastDrilledDownPoint, chart = this.chart, series = last && SeriesKeyboardNavigation_getSeriesFromName(chart, last.seriesName);\n        let point;\n        if (last && series && SeriesKeyboardNavigation_defined(last.x) && SeriesKeyboardNavigation_defined(last.y)) {\n            point = SeriesKeyboardNavigation_getPointFromXY(series, last.x, last.y);\n        }\n        point = point || getFirstValidPointInChart(chart);\n        // Container focus can be lost on drillup due to deleted elements.\n        if (chart.container) {\n            chart.container.focus();\n        }\n        if (point && point.highlight) {\n            point.highlight(false); // Do not visually highlight\n        }\n    }\n    /**\n     * @private\n     */\n    getKeyboardNavigationHandler() {\n        const keyboardNavigation = this, keys = this.keyCodes, chart = this.chart, inverted = chart.inverted;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [\n                [\n                    inverted ? [keys.up, keys.down] : [keys.left, keys.right],\n                    function (keyCode) {\n                        return keyboardNavigation.onKbdSideways(this, keyCode);\n                    }\n                ],\n                [\n                    inverted ? [keys.left, keys.right] : [keys.up, keys.down],\n                    function (keyCode) {\n                        return keyboardNavigation.onKbdVertical(this, keyCode);\n                    }\n                ],\n                [\n                    [keys.enter, keys.space],\n                    function (keyCode, event) {\n                        const point = chart.highlightedPoint;\n                        if (point) {\n                            const { plotLeft, plotTop } = this.chart, { plotX = 0, plotY = 0 } = point;\n                            event = {\n                                ...event,\n                                chartX: plotLeft + plotX,\n                                chartY: plotTop + plotY,\n                                point: point,\n                                target: point.graphic?.element || event.target\n                            };\n                            SeriesKeyboardNavigation_fireEvent(point.series, 'click', event);\n                            point.firePointEvent('click', event);\n                        }\n                        return this.response.success;\n                    }\n                ],\n                [\n                    [keys.home],\n                    function () {\n                        highlightFirstValidPointInChart(chart);\n                        return this.response.success;\n                    }\n                ],\n                [\n                    [keys.end],\n                    function () {\n                        highlightLastValidPointInChart(chart);\n                        return this.response.success;\n                    }\n                ],\n                [\n                    [keys.pageDown, keys.pageUp],\n                    function (keyCode) {\n                        chart.highlightAdjacentSeries(keyCode === keys.pageDown);\n                        return this.response.success;\n                    }\n                ]\n            ],\n            init: function () {\n                return keyboardNavigation.onHandlerInit(this);\n            },\n            validate: function () {\n                return !!getFirstValidPointInChart(chart);\n            },\n            terminate: function () {\n                return keyboardNavigation.onHandlerTerminate();\n            }\n        });\n    }\n    /**\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} handler\n     * @param {number} keyCode\n     * @return {number}\n     * response\n     */\n    onKbdSideways(handler, keyCode) {\n        const keys = this.keyCodes, isNext = keyCode === keys.right || keyCode === keys.down;\n        return this.attemptHighlightAdjacentPoint(handler, isNext);\n    }\n    /**\n     * When keyboard navigation inits.\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} handler The handler object\n     * @return {number}\n     * response\n     */\n    onHandlerInit(handler) {\n        const chart = this.chart, kbdNavOptions = chart.options.accessibility.keyboardNavigation;\n        if (kbdNavOptions.seriesNavigation.rememberPointFocus &&\n            chart.highlightedPoint) {\n            chart.highlightedPoint.highlight();\n        }\n        else {\n            highlightFirstValidPointInChart(chart);\n        }\n        return handler.response.success;\n    }\n    /**\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} handler\n     * @param {number} keyCode\n     * @return {number}\n     * response\n     */\n    onKbdVertical(handler, keyCode) {\n        const chart = this.chart, keys = this.keyCodes, isNext = keyCode === keys.down || keyCode === keys.right, navOptions = chart.options.accessibility.keyboardNavigation\n            .seriesNavigation;\n        // Handle serialized mode, act like left/right\n        if (navOptions.mode && navOptions.mode === 'serialize') {\n            return this.attemptHighlightAdjacentPoint(handler, isNext);\n        }\n        // Normal mode, move between series\n        const highlightMethod = (chart.highlightedPoint &&\n            chart.highlightedPoint.series.keyboardMoveVertical) ?\n            'highlightAdjacentPointVertical' :\n            'highlightAdjacentSeries';\n        chart[highlightMethod](isNext);\n        return handler.response.success;\n    }\n    /**\n     * @private\n     */\n    onHandlerTerminate() {\n        const chart = this.chart, kbdNavOptions = chart.options.accessibility.keyboardNavigation;\n        if (chart.tooltip) {\n            chart.tooltip.hide(0);\n        }\n        const hoverSeries = (chart.highlightedPoint && chart.highlightedPoint.series);\n        if (hoverSeries && hoverSeries.onMouseOut) {\n            hoverSeries.onMouseOut();\n        }\n        if (chart.highlightedPoint && chart.highlightedPoint.onMouseOut) {\n            chart.highlightedPoint.onMouseOut();\n        }\n        if (!kbdNavOptions.seriesNavigation.rememberPointFocus) {\n            delete chart.highlightedPoint;\n        }\n    }\n    /**\n     * Function that attempts to highlight next/prev point. Handles wrap around.\n     * @private\n     */\n    attemptHighlightAdjacentPoint(handler, directionIsNext) {\n        const chart = this.chart, wrapAround = chart.options.accessibility.keyboardNavigation\n            .wrapAround, highlightSuccessful = chart.highlightAdjacentPoint(directionIsNext);\n        if (!highlightSuccessful) {\n            if (wrapAround && (directionIsNext ?\n                highlightFirstValidPointInChart(chart) :\n                highlightLastValidPointInChart(chart))) {\n                return handler.response.success;\n            }\n            return handler.response[directionIsNext ? 'next' : 'prev'];\n        }\n        return handler.response.success;\n    }\n    /**\n     * @private\n     */\n    onSeriesDestroy(series) {\n        const chart = this.chart, currentHighlightedPointDestroyed = chart.highlightedPoint &&\n            chart.highlightedPoint.series === series;\n        if (currentHighlightedPointDestroyed) {\n            delete chart.highlightedPoint;\n            if (chart.focusElement) {\n                chart.focusElement.removeFocusBorder();\n            }\n        }\n    }\n    /**\n     * @private\n     */\n    destroy() {\n        this.eventProvider.removeAddedEvents();\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (SeriesKeyboardNavigation) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Function to highlight next/previous point in chart.\n     *\n     * @private\n     * @function Highcharts.Chart#highlightAdjacentPoint\n     *\n     * @param {boolean} next\n     * Flag for the direction.\n     *\n     * @return {Highcharts.Point|boolean}\n     * Returns highlighted point on success, false on failure (no adjacent point\n     * to highlight in chosen direction).\n     */\n    function chartHighlightAdjacentPoint(next) {\n        const chart = this, series = chart.series, curPoint = chart.highlightedPoint, curPointIndex = curPoint && getPointIndex(curPoint) || 0, curPoints = curPoint && curPoint.series.points || [], lastSeries = chart.series && chart.series[chart.series.length - 1], lastPoint = lastSeries &&\n            lastSeries.points &&\n            lastSeries.points[lastSeries.points.length - 1];\n        let newSeries, newPoint;\n        // If no points, return false\n        if (!series[0] || !series[0].points) {\n            return false;\n        }\n        if (!curPoint) {\n            // No point is highlighted yet. Try first/last point depending on\n            // move direction\n            newPoint = next ? series[0].points[0] : lastPoint;\n        }\n        else {\n            // We have a highlighted point. Grab next/prev point & series.\n            newSeries = series[curPoint.series.index + (next ? 1 : -1)];\n            newPoint = curPoints[curPointIndex + (next ? 1 : -1)];\n            if (!newPoint && newSeries) {\n                // Done with this series, try next one\n                newPoint = newSeries.points[next ? 0 : newSeries.points.length - 1];\n            }\n            // If there is no adjacent point, we return false\n            if (!newPoint) {\n                return false;\n            }\n        }\n        // Recursively skip points\n        if (isSkipPoint(newPoint)) {\n            // If we skip this whole series, move to the end of the series\n            // before we recurse, just to optimize\n            newSeries = newPoint.series;\n            if (isSkipSeries(newSeries)) {\n                chart.highlightedPoint = next ?\n                    newSeries.points[newSeries.points.length - 1] :\n                    newSeries.points[0];\n            }\n            else {\n                // Otherwise, just move one point\n                chart.highlightedPoint = newPoint;\n            }\n            // Retry\n            return chart.highlightAdjacentPoint(next);\n        }\n        // There is an adjacent point, highlight it\n        return newPoint.highlight();\n    }\n    /**\n     * Highlight the closest point vertically.\n     * @private\n     */\n    function chartHighlightAdjacentPointVertical(down) {\n        const curPoint = this.highlightedPoint;\n        let minDistance = Infinity, bestPoint;\n        if (!SeriesKeyboardNavigation_defined(curPoint.plotX) || !SeriesKeyboardNavigation_defined(curPoint.plotY)) {\n            return false;\n        }\n        this.series.forEach((series) => {\n            if (isSkipSeries(series)) {\n                return;\n            }\n            series.points.forEach((point) => {\n                if (!SeriesKeyboardNavigation_defined(point.plotY) || !SeriesKeyboardNavigation_defined(point.plotX) ||\n                    point === curPoint) {\n                    return;\n                }\n                let yDistance = point.plotY - curPoint.plotY;\n                const width = Math.abs(point.plotX - curPoint.plotX), distance = Math.abs(yDistance) * Math.abs(yDistance) +\n                    width * width * 4; // Weigh horizontal distance highly\n                // Reverse distance number if axis is reversed\n                if (series.yAxis && series.yAxis.reversed) {\n                    yDistance *= -1;\n                }\n                if (yDistance <= 0 && down || yDistance >= 0 && !down ||\n                    distance < 5 || // Points in same spot => infinite loop\n                    isSkipPoint(point)) {\n                    return;\n                }\n                if (distance < minDistance) {\n                    minDistance = distance;\n                    bestPoint = point;\n                }\n            });\n        });\n        return bestPoint ? bestPoint.highlight() : false;\n    }\n    /**\n     * Highlight next/previous series in chart. Returns false if no adjacent\n     * series in the direction, otherwise returns new highlighted point.\n     * @private\n     */\n    function chartHighlightAdjacentSeries(down) {\n        const chart = this, curPoint = chart.highlightedPoint, lastSeries = chart.series && chart.series[chart.series.length - 1], lastPoint = lastSeries && lastSeries.points &&\n            lastSeries.points[lastSeries.points.length - 1];\n        let newSeries, newPoint, adjacentNewPoint;\n        // If no point is highlighted, highlight the first/last point\n        if (!chart.highlightedPoint) {\n            newSeries = down ? (chart.series && chart.series[0]) : lastSeries;\n            newPoint = down ?\n                (newSeries && newSeries.points && newSeries.points[0]) :\n                lastPoint;\n            return newPoint ? newPoint.highlight() : false;\n        }\n        newSeries = (chart.series[curPoint.series.index + (down ? -1 : 1)]);\n        if (!newSeries) {\n            return false;\n        }\n        // We have a new series in this direction, find the right point\n        // Weigh xDistance as counting much higher than Y distance\n        newPoint = getClosestPoint(curPoint, newSeries, 4);\n        if (!newPoint) {\n            return false;\n        }\n        // New series and point exists, but we might want to skip it\n        if (isSkipSeries(newSeries)) {\n            // Skip the series\n            newPoint.highlight();\n            // Try recurse\n            adjacentNewPoint = chart.highlightAdjacentSeries(down);\n            if (!adjacentNewPoint) {\n                // Recurse failed\n                curPoint.highlight();\n                return false;\n            }\n            // Recurse succeeded\n            return adjacentNewPoint;\n        }\n        // Highlight the new point or any first valid point back or forwards\n        // from it\n        newPoint.highlight();\n        return newPoint.series.highlightNextValidPoint();\n    }\n    /**\n     * @private\n     */\n    function compose(ChartClass, PointClass, SeriesClass) {\n        const chartProto = ChartClass.prototype, pointProto = PointClass.prototype, seriesProto = SeriesClass.prototype;\n        if (!chartProto.highlightAdjacentPoint) {\n            chartProto.highlightAdjacentPoint = chartHighlightAdjacentPoint;\n            chartProto.highlightAdjacentPointVertical = (chartHighlightAdjacentPointVertical);\n            chartProto.highlightAdjacentSeries = chartHighlightAdjacentSeries;\n            pointProto.highlight = pointHighlight;\n            /**\n             * Set for which series types it makes sense to move to the closest\n             * point with up/down arrows, and which series types should just\n             * move to next series.\n             * @private\n             */\n            seriesProto.keyboardMoveVertical = true;\n            [\n                'column',\n                'gantt',\n                'pie'\n            ].forEach((type) => {\n                if (SeriesKeyboardNavigation_seriesTypes[type]) {\n                    SeriesKeyboardNavigation_seriesTypes[type].prototype.keyboardMoveVertical = false;\n                }\n            });\n            seriesProto.highlightNextValidPoint = (seriesHighlightNextValidPoint);\n        }\n    }\n    SeriesKeyboardNavigation.compose = compose;\n    /**\n     * Get the point in a series that is closest (in pixel distance) to a\n     * reference point. Optionally supply weight factors for x and y directions.\n     * @private\n     */\n    function getClosestPoint(point, series, xWeight, yWeight) {\n        let minDistance = Infinity, dPoint, minIx, distance, i = series.points.length;\n        const hasUndefinedPosition = (point) => (!(SeriesKeyboardNavigation_defined(point.plotX) && SeriesKeyboardNavigation_defined(point.plotY)));\n        if (hasUndefinedPosition(point)) {\n            return;\n        }\n        while (i--) {\n            dPoint = series.points[i];\n            if (hasUndefinedPosition(dPoint)) {\n                continue;\n            }\n            distance = (point.plotX - dPoint.plotX) *\n                (point.plotX - dPoint.plotX) *\n                (xWeight || 1) +\n                (point.plotY - dPoint.plotY) *\n                    (point.plotY - dPoint.plotY) *\n                    (yWeight || 1);\n            if (distance < minDistance) {\n                minDistance = distance;\n                minIx = i;\n            }\n        }\n        return SeriesKeyboardNavigation_defined(minIx) ? series.points[minIx] : void 0;\n    }\n    /**\n     * Highlights a point (show tooltip, display hover state, focus element).\n     *\n     * @private\n     * @function Highcharts.Point#highlight\n     *\n     * @return {Highcharts.Point}\n     *         This highlighted point.\n     */\n    function pointHighlight(highlightVisually = true) {\n        const chart = this.series.chart, tooltipElement = chart.tooltip?.label?.element;\n        if (!this.isNull && highlightVisually) {\n            this.onMouseOver(); // Show the hover marker and tooltip\n        }\n        else {\n            if (chart.tooltip) {\n                chart.tooltip.hide(0);\n            }\n            // Do not call blur on the element, as it messes up the focus of the\n            // div element of the chart\n        }\n        SeriesKeyboardNavigation_scrollAxisToPoint(this);\n        // We focus only after calling onMouseOver because the state change can\n        // change z-index and mess up the element.\n        if (this.graphic) {\n            chart.setFocusToElement(this.graphic);\n            if (!highlightVisually && chart.focusElement) {\n                chart.focusElement.removeFocusBorder();\n            }\n        }\n        chart.highlightedPoint = this;\n        // Get position of the tooltip.\n        const tooltipTop = tooltipElement?.getBoundingClientRect().top;\n        if (tooltipElement && tooltipTop && tooltipTop < 0) {\n            // Calculate scroll position.\n            const scrollTop = window.scrollY, newScrollTop = scrollTop + tooltipTop;\n            // Scroll window to new position.\n            window.scrollTo({\n                behavior: 'smooth',\n                top: newScrollTop\n            });\n        }\n        return this;\n    }\n    /**\n     * Highlight first valid point in a series. Returns the point if\n     * successfully highlighted, otherwise false. If there is a highlighted\n     * point in the series, use that as starting point.\n     *\n     * @private\n     * @function Highcharts.Series#highlightNextValidPoint\n     */\n    function seriesHighlightNextValidPoint() {\n        const curPoint = this.chart.highlightedPoint, start = (curPoint && curPoint.series) === this ?\n            getPointIndex(curPoint) :\n            0, points = this.points, len = points.length;\n        if (points && len) {\n            for (let i = start; i < len; ++i) {\n                if (!isSkipPoint(points[i])) {\n                    return points[i].highlight();\n                }\n            }\n            for (let j = start; j >= 0; --j) {\n                if (!isSkipPoint(points[j])) {\n                    return points[j].highlight();\n                }\n            }\n        }\n        return false;\n    }\n})(SeriesKeyboardNavigation || (SeriesKeyboardNavigation = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const SeriesComponent_SeriesKeyboardNavigation = (SeriesKeyboardNavigation);\n\n;// ./code/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility component for series and points.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { hideSeriesFromAT: SeriesComponent_hideSeriesFromAT } = Utils_ChartUtilities;\n\n\n\nconst { describeSeries: SeriesComponent_describeSeries } = SeriesComponent_SeriesDescriber;\n\n/* *\n *\n *  Class\n *\n * */\n/**\n * The SeriesComponent class\n *\n * @private\n * @class\n * @name Highcharts.SeriesComponent\n */\nclass SeriesComponent extends Accessibility_AccessibilityComponent {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    /* eslint-disable valid-jsdoc */\n    /**\n     * @private\n     */\n    static compose(ChartClass, PointClass, SeriesClass) {\n        SeriesComponent_NewDataAnnouncer.compose(SeriesClass);\n        ForcedMarkers.compose(SeriesClass);\n        SeriesComponent_SeriesKeyboardNavigation.compose(ChartClass, PointClass, SeriesClass);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Init the component.\n     */\n    init() {\n        this.newDataAnnouncer = new SeriesComponent_NewDataAnnouncer(this.chart);\n        this.newDataAnnouncer.init();\n        this.keyboardNavigation = new SeriesComponent_SeriesKeyboardNavigation(this.chart, this.keyCodes);\n        this.keyboardNavigation.init();\n        this.hideTooltipFromATWhenShown();\n        this.hideSeriesLabelsFromATWhenShown();\n    }\n    /**\n     * @private\n     */\n    hideTooltipFromATWhenShown() {\n        const component = this;\n        if (this.chart.tooltip) {\n            this.addEvent(this.chart.tooltip.constructor, 'refresh', function () {\n                if (this.chart === component.chart &&\n                    this.label &&\n                    this.label.element) {\n                    this.label.element.setAttribute('aria-hidden', true);\n                }\n            });\n        }\n    }\n    /**\n     * @private\n     */\n    hideSeriesLabelsFromATWhenShown() {\n        this.addEvent(this.chart, 'afterDrawSeriesLabels', function () {\n            this.series.forEach(function (series) {\n                if (series.labelBySeries) {\n                    series.labelBySeries.attr('aria-hidden', true);\n                }\n            });\n        });\n    }\n    /**\n     * Called on chart render. It is necessary to do this for render in case\n     * markers change on zoom/pixel density.\n     */\n    onChartRender() {\n        const chart = this.chart;\n        chart.series.forEach(function (series) {\n            const shouldDescribeSeries = (series.options.accessibility &&\n                series.options.accessibility.enabled) !== false &&\n                series.visible && series.getPointsCollection().length !== 0;\n            if (shouldDescribeSeries) {\n                SeriesComponent_describeSeries(series);\n            }\n            else {\n                SeriesComponent_hideSeriesFromAT(series);\n            }\n        });\n    }\n    /**\n     * Get keyboard navigation handler for this component.\n     * @private\n     */\n    getKeyboardNavigation() {\n        return this.keyboardNavigation.getKeyboardNavigationHandler();\n    }\n    /**\n     * Remove traces\n     * @private\n     */\n    destroy() {\n        this.newDataAnnouncer.destroy();\n        this.keyboardNavigation.destroy();\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const SeriesComponent_SeriesComponent = (SeriesComponent);\n\n;// ./code/es-modules/Accessibility/Components/ZoomComponent.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility component for chart zoom.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { unhideChartElementFromAT: ZoomComponent_unhideChartElementFromAT } = Utils_ChartUtilities;\n\nconst { getFakeMouseEvent: ZoomComponent_getFakeMouseEvent } = Utils_HTMLUtilities;\n\n\nconst { attr: ZoomComponent_attr, pick: ZoomComponent_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * @private\n */\nfunction chartHasMapZoom(chart) {\n    return !!((chart.mapView) &&\n        chart.mapNavigation &&\n        chart.mapNavigation.navButtons.length);\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The ZoomComponent class\n *\n * @private\n * @class\n * @name Highcharts.ZoomComponent\n */\nclass ZoomComponent extends Accessibility_AccessibilityComponent {\n    constructor() {\n        /* *\n         *\n         *  Properties\n         *\n         * */\n        super(...arguments);\n        this.focusedMapNavButtonIx = -1;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initialize the component\n     */\n    init() {\n        const component = this, chart = this.chart;\n        this.proxyProvider.addGroup('zoom', 'div');\n        [\n            'afterShowResetZoom', 'afterApplyDrilldown', 'drillupall'\n        ].forEach((eventType) => {\n            component.addEvent(chart, eventType, function () {\n                component.updateProxyOverlays();\n            });\n        });\n    }\n    /**\n     * Called when chart is updated\n     */\n    onChartUpdate() {\n        const chart = this.chart, component = this;\n        // Make map zoom buttons accessible\n        if (chart.mapNavigation) {\n            chart.mapNavigation.navButtons.forEach((button, i) => {\n                ZoomComponent_unhideChartElementFromAT(chart, button.element);\n                component.setMapNavButtonAttrs(button.element, 'accessibility.zoom.mapZoom' + (i ? 'Out' : 'In'));\n            });\n        }\n    }\n    /**\n     * @private\n     * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} button\n     * @param {string} labelFormatKey\n     */\n    setMapNavButtonAttrs(button, labelFormatKey) {\n        const chart = this.chart, label = chart.langFormat(labelFormatKey, { chart: chart });\n        ZoomComponent_attr(button, {\n            tabindex: -1,\n            role: 'button',\n            'aria-label': label\n        });\n    }\n    /**\n     * Update the proxy overlays on every new render to ensure positions are\n     * correct.\n     */\n    onChartRender() {\n        this.updateProxyOverlays();\n    }\n    /**\n     * Update proxy overlays, recreating the buttons.\n     */\n    updateProxyOverlays() {\n        const chart = this.chart;\n        // Always start with a clean slate\n        this.proxyProvider.clearGroup('zoom');\n        if (chart.resetZoomButton) {\n            this.createZoomProxyButton(chart.resetZoomButton, 'resetZoomProxyButton', chart.langFormat('accessibility.zoom.resetZoomButton', { chart: chart }));\n        }\n        if (chart.drillUpButton &&\n            chart.breadcrumbs &&\n            chart.breadcrumbs.list) {\n            const lastBreadcrumb = chart.breadcrumbs.list[chart.breadcrumbs.list.length - 1];\n            this.createZoomProxyButton(chart.drillUpButton, 'drillUpProxyButton', chart.langFormat('accessibility.drillUpButton', {\n                chart: chart,\n                buttonText: chart.breadcrumbs.getButtonText(lastBreadcrumb)\n            }));\n        }\n    }\n    /**\n     * @private\n     * @param {Highcharts.SVGElement} buttonEl\n     * @param {string} buttonProp\n     * @param {string} label\n     */\n    createZoomProxyButton(buttonEl, buttonProp, label) {\n        this[buttonProp] = this.proxyProvider.addProxyElement('zoom', {\n            click: buttonEl\n        }, 'button', {\n            'aria-label': label,\n            tabindex: -1\n        });\n    }\n    /**\n     * Get keyboard navigation handler for map zoom.\n     * @private\n     * @return {Highcharts.KeyboardNavigationHandler} The module object\n     */\n    getMapZoomNavigation() {\n        const keys = this.keyCodes, chart = this.chart, component = this;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [\n                [\n                    [keys.up, keys.down, keys.left, keys.right],\n                    function (keyCode) {\n                        return component.onMapKbdArrow(this, keyCode);\n                    }\n                ],\n                [\n                    [keys.tab],\n                    function (_keyCode, e) {\n                        return component.onMapKbdTab(this, e);\n                    }\n                ],\n                [\n                    [keys.space, keys.enter],\n                    function () {\n                        return component.onMapKbdClick(this);\n                    }\n                ]\n            ],\n            validate: function () {\n                return chartHasMapZoom(chart);\n            },\n            init: function (direction) {\n                return component.onMapNavInit(direction);\n            }\n        });\n    }\n    /**\n     * Arrow key panning for maps.\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler The handler context.\n     * @param {number} keyCode Key pressed.\n     * @return {number} Response code\n     */\n    onMapKbdArrow(keyboardNavigationHandler, keyCode) {\n        const chart = this.chart, keys = this.keyCodes, target = chart.container, isY = keyCode === keys.up || keyCode === keys.down, stepDirection = (keyCode === keys.left || keyCode === keys.up) ?\n            1 : -1, granularity = 10, diff = (isY ? chart.plotHeight : chart.plotWidth) /\n            granularity * stepDirection, \n        // Randomize since same mousedown coords twice is ignored in MapView\n        r = Math.random() * 10, startPos = {\n            x: target.offsetLeft + chart.plotLeft + chart.plotWidth / 2 + r,\n            y: target.offsetTop + chart.plotTop + chart.plotHeight / 2 + r\n        }, endPos = isY ? { x: startPos.x, y: startPos.y + diff } :\n            { x: startPos.x + diff, y: startPos.y };\n        [\n            ZoomComponent_getFakeMouseEvent('mousedown', startPos),\n            ZoomComponent_getFakeMouseEvent('mousemove', endPos),\n            ZoomComponent_getFakeMouseEvent('mouseup', endPos)\n        ].forEach((e) => target.dispatchEvent(e));\n        return keyboardNavigationHandler.response.success;\n    }\n    /**\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler\n     * @param {global.KeyboardEvent} event\n     * @return {number} Response code\n     */\n    onMapKbdTab(keyboardNavigationHandler, event) {\n        const chart = this.chart;\n        const response = keyboardNavigationHandler.response;\n        const isBackwards = event.shiftKey;\n        const isMoveOutOfRange = isBackwards && !this.focusedMapNavButtonIx ||\n            !isBackwards && this.focusedMapNavButtonIx;\n        // Deselect old\n        chart.mapNavigation.navButtons[this.focusedMapNavButtonIx].setState(0);\n        if (isMoveOutOfRange) {\n            if (chart.mapView) {\n                chart.mapView.zoomBy(); // Reset zoom\n            }\n            return response[isBackwards ? 'prev' : 'next'];\n        }\n        // Select other button\n        this.focusedMapNavButtonIx += isBackwards ? -1 : 1;\n        const button = chart.mapNavigation.navButtons[this.focusedMapNavButtonIx];\n        chart.setFocusToElement(button.box, button.element);\n        button.setState(2);\n        return response.success;\n    }\n    /**\n     * Called on map button click.\n     * @private\n     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler The handler context object\n     * @return {number} Response code\n     */\n    onMapKbdClick(keyboardNavigationHandler) {\n        const el = this.chart.mapNavigation.navButtons[this.focusedMapNavButtonIx].element;\n        this.fakeClickEvent(el);\n        return keyboardNavigationHandler.response.success;\n    }\n    /**\n     * @private\n     * @param {number} direction\n     */\n    onMapNavInit(direction) {\n        const chart = this.chart, zoomIn = chart.mapNavigation.navButtons[0], zoomOut = chart.mapNavigation.navButtons[1], initialButton = direction > 0 ? zoomIn : zoomOut;\n        chart.setFocusToElement(initialButton.box, initialButton.element);\n        initialButton.setState(2);\n        this.focusedMapNavButtonIx = direction > 0 ? 0 : 1;\n    }\n    /**\n     * Get keyboard navigation handler for a simple chart button. Provide the\n     * button reference for the chart, and a function to call on click.\n     *\n     * @private\n     * @param {string} buttonProp The property on chart referencing the button.\n     * @return {Highcharts.KeyboardNavigationHandler} The module object\n     */\n    simpleButtonNavigation(buttonProp, proxyProp, onClick) {\n        const keys = this.keyCodes, component = this, chart = this.chart;\n        return new Accessibility_KeyboardNavigationHandler(chart, {\n            keyCodeMap: [\n                [\n                    [keys.tab, keys.up, keys.down, keys.left, keys.right],\n                    function (keyCode, e) {\n                        const isBackwards = (keyCode === keys.tab && e.shiftKey ||\n                            keyCode === keys.left ||\n                            keyCode === keys.up);\n                        // Arrow/tab => just move\n                        return this.response[isBackwards ? 'prev' : 'next'];\n                    }\n                ],\n                [\n                    [keys.space, keys.enter],\n                    function () {\n                        const res = onClick(this, chart);\n                        return ZoomComponent_pick(res, this.response.success);\n                    }\n                ]\n            ],\n            validate: function () {\n                const hasButton = (chart[buttonProp] &&\n                    chart[buttonProp].box &&\n                    component[proxyProp].innerElement);\n                return hasButton;\n            },\n            init: function () {\n                chart.setFocusToElement(chart[buttonProp].box, component[proxyProp].innerElement);\n            }\n        });\n    }\n    /**\n     * Get keyboard navigation handlers for this component.\n     * @return {Array<Highcharts.KeyboardNavigationHandler>}\n     *         List of module objects\n     */\n    getKeyboardNavigation() {\n        return [\n            this.simpleButtonNavigation('resetZoomButton', 'resetZoomProxyButton', function (_handler, chart) {\n                chart.zoomOut();\n            }),\n            this.simpleButtonNavigation('drillUpButton', 'drillUpProxyButton', function (handler, chart) {\n                chart.drillUp();\n                return handler.response.prev;\n            }),\n            this.getMapZoomNavigation()\n        ];\n    }\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Components_ZoomComponent = (ZoomComponent);\n\n;// ./code/es-modules/Accessibility/HighContrastMode.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Handling for Windows High Contrast Mode.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { doc: HighContrastMode_doc, isMS, win: HighContrastMode_win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Detect WHCM in the browser.\n *\n * @function Highcharts#isHighContrastModeActive\n * @private\n * @return {boolean} Returns true if the browser is in High Contrast mode.\n */\nfunction isHighContrastModeActive() {\n    // Use media query on Edge, but not on IE\n    const isEdge = /(Edg)/.test(HighContrastMode_win.navigator.userAgent);\n    if (HighContrastMode_win.matchMedia && isEdge) {\n        return HighContrastMode_win.matchMedia('(-ms-high-contrast: active)').matches;\n    }\n    // Test BG image for IE\n    if (isMS && HighContrastMode_win.getComputedStyle) {\n        const testDiv = HighContrastMode_doc.createElement('div');\n        const imageSrc = 'data:image/gif;base64,' +\n            'R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';\n        testDiv.style.backgroundImage = `url(${imageSrc})`; // #13071\n        HighContrastMode_doc.body.appendChild(testDiv);\n        const bi = (testDiv.currentStyle ||\n            HighContrastMode_win.getComputedStyle(testDiv)).backgroundImage;\n        HighContrastMode_doc.body.removeChild(testDiv);\n        return bi === 'none';\n    }\n    // Other browsers use the forced-colors standard\n    return HighContrastMode_win.matchMedia && HighContrastMode_win.matchMedia('(forced-colors: active)').matches;\n}\n/**\n * Force high contrast theme for the chart. The default theme is defined in\n * a separate file.\n *\n * @function Highcharts#setHighContrastTheme\n * @private\n * @param {Highcharts.AccessibilityChart} chart The chart to set the theme of.\n * @return {void}\n */\nfunction setHighContrastTheme(chart) {\n    // We might want to add additional functionality here in the future for\n    // storing the old state so that we can reset the theme if HC mode is\n    // disabled. For now, the user will have to reload the page.\n    chart.highContrastModeActive = true;\n    // Apply theme to chart\n    const theme = (chart.options.accessibility.highContrastTheme);\n    chart.update(theme, false);\n    const hasCustomColors = theme.colors?.length > 1;\n    // Force series colors (plotOptions is not enough)\n    chart.series.forEach(function (s) {\n        const plotOpts = theme.plotOptions[s.type] || {};\n        const fillColor = hasCustomColors && s.colorIndex !== void 0 ?\n            theme.colors[s.colorIndex] :\n            plotOpts.color || 'window';\n        const seriesOptions = {\n            color: plotOpts.color || 'windowText',\n            colors: hasCustomColors ?\n                theme.colors : [plotOpts.color || 'windowText'],\n            borderColor: plotOpts.borderColor || 'window',\n            fillColor\n        };\n        s.update(seriesOptions, false);\n        if (s.points) {\n            // Force point colors if existing\n            s.points.forEach(function (p) {\n                if (p.options && p.options.color) {\n                    p.update({\n                        color: plotOpts.color || 'windowText',\n                        borderColor: plotOpts.borderColor || 'window'\n                    }, false);\n                }\n            });\n        }\n    });\n    // The redraw for each series and after is required for 3D pie\n    // (workaround)\n    chart.redraw();\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst whcm = {\n    isHighContrastModeActive,\n    setHighContrastTheme\n};\n/* harmony default export */ const HighContrastMode = (whcm);\n\n;// ./code/es-modules/Accessibility/HighContrastTheme.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Default theme for Windows High Contrast Mode.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\nconst theme = {\n    chart: {\n        backgroundColor: 'window'\n    },\n    title: {\n        style: {\n            color: 'windowText'\n        }\n    },\n    subtitle: {\n        style: {\n            color: 'windowText'\n        }\n    },\n    colorAxis: {\n        minColor: 'windowText',\n        maxColor: 'windowText',\n        stops: [],\n        dataClasses: []\n    },\n    colors: ['windowText'],\n    xAxis: {\n        gridLineColor: 'windowText',\n        labels: {\n            style: {\n                color: 'windowText'\n            }\n        },\n        lineColor: 'windowText',\n        minorGridLineColor: 'windowText',\n        tickColor: 'windowText',\n        title: {\n            style: {\n                color: 'windowText'\n            }\n        }\n    },\n    yAxis: {\n        gridLineColor: 'windowText',\n        labels: {\n            style: {\n                color: 'windowText'\n            }\n        },\n        lineColor: 'windowText',\n        minorGridLineColor: 'windowText',\n        tickColor: 'windowText',\n        title: {\n            style: {\n                color: 'windowText'\n            }\n        }\n    },\n    tooltip: {\n        backgroundColor: 'window',\n        borderColor: 'windowText',\n        style: {\n            color: 'windowText'\n        }\n    },\n    plotOptions: {\n        series: {\n            lineColor: 'windowText',\n            fillColor: 'window',\n            borderColor: 'windowText',\n            edgeColor: 'windowText',\n            borderWidth: 1,\n            dataLabels: {\n                connectorColor: 'windowText',\n                color: 'windowText',\n                style: {\n                    color: 'windowText',\n                    textOutline: 'none'\n                }\n            },\n            marker: {\n                lineColor: 'windowText',\n                fillColor: 'windowText'\n            }\n        },\n        pie: {\n            color: 'window',\n            colors: ['window'],\n            borderColor: 'windowText',\n            borderWidth: 1\n        },\n        boxplot: {\n            fillColor: 'window'\n        },\n        candlestick: {\n            lineColor: 'windowText',\n            fillColor: 'window'\n        },\n        errorbar: {\n            fillColor: 'window'\n        }\n    },\n    legend: {\n        backgroundColor: 'window',\n        itemStyle: {\n            color: 'windowText'\n        },\n        itemHoverStyle: {\n            color: 'windowText'\n        },\n        itemHiddenStyle: {\n            color: '#555'\n        },\n        title: {\n            style: {\n                color: 'windowText'\n            }\n        }\n    },\n    credits: {\n        style: {\n            color: 'windowText'\n        }\n    },\n    drilldown: {\n        activeAxisLabelStyle: {\n            color: 'windowText'\n        },\n        activeDataLabelStyle: {\n            color: 'windowText'\n        }\n    },\n    navigation: {\n        buttonOptions: {\n            symbolStroke: 'windowText',\n            theme: {\n                fill: 'window'\n            }\n        }\n    },\n    rangeSelector: {\n        buttonTheme: {\n            fill: 'window',\n            stroke: 'windowText',\n            style: {\n                color: 'windowText'\n            },\n            states: {\n                hover: {\n                    fill: 'window',\n                    stroke: 'windowText',\n                    style: {\n                        color: 'windowText'\n                    }\n                },\n                select: {\n                    fill: '#444',\n                    stroke: 'windowText',\n                    style: {\n                        color: 'windowText'\n                    }\n                }\n            }\n        },\n        inputBoxBorderColor: 'windowText',\n        inputStyle: {\n            backgroundColor: 'window',\n            color: 'windowText'\n        },\n        labelStyle: {\n            color: 'windowText'\n        }\n    },\n    navigator: {\n        handles: {\n            backgroundColor: 'window',\n            borderColor: 'windowText'\n        },\n        outlineColor: 'windowText',\n        maskFill: 'transparent',\n        series: {\n            color: 'windowText',\n            lineColor: 'windowText'\n        },\n        xAxis: {\n            gridLineColor: 'windowText'\n        }\n    },\n    scrollbar: {\n        barBackgroundColor: '#444',\n        barBorderColor: 'windowText',\n        buttonArrowColor: 'windowText',\n        buttonBackgroundColor: 'window',\n        buttonBorderColor: 'windowText',\n        rifleColor: 'windowText',\n        trackBackgroundColor: 'window',\n        trackBorderColor: 'windowText'\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const HighContrastTheme = (theme);\n\n;// ./code/es-modules/Accessibility/Options/A11yDefaults.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Default options for accessibility.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Formatter callback for the accessibility announcement.\n *\n * @callback Highcharts.AccessibilityAnnouncementFormatter\n *\n * @param {Array<Highcharts.Series>} updatedSeries\n * Array of all series that received updates. If an announcement is already\n * queued, the series that received updates for that announcement are also\n * included in this array.\n *\n * @param {Highcharts.Series} [addedSeries]\n * This is provided if {@link Highcharts.Chart#addSeries} was called, and there\n * is a new series. In that case, this argument is a reference to the new\n * series.\n *\n * @param {Highcharts.Point} [addedPoint]\n * This is provided if {@link Highcharts.Series#addPoint} was called, and there\n * is a new point. In that case, this argument is a reference to the new point.\n *\n * @return {false|string}\n * The function should return a string with the text to announce to the user.\n * Return empty string to not announce anything. Return `false` to use the\n * default announcement format.\n */\n/**\n * @interface Highcharts.PointAccessibilityOptionsObject\n */ /**\n* Provide a description of the data point, announced to screen readers.\n* @name Highcharts.PointAccessibilityOptionsObject#description\n* @type {string|undefined}\n* @requires modules/accessibility\n* @since 7.1.0\n*/ /**\n* Enable or disable exposing the point to assistive technology\n* @name Highcharts.PointAccessibilityOptionsObject#enabled\n* @type {boolean|undefined}\n* @requires modules/accessibility\n* @since 9.0.1\n*/\n/* *\n * @interface Highcharts.PointOptionsObject in parts/Point.ts\n */ /**\n* @name Highcharts.PointOptionsObject#accessibility\n* @type {Highcharts.PointAccessibilityOptionsObject|undefined}\n* @requires modules/accessibility\n* @since 7.1.0\n*/\n/**\n * @callback Highcharts.ScreenReaderClickCallbackFunction\n *\n * @param {global.MouseEvent} evt\n *        Mouse click event\n *\n * @return {void}\n */\n/**\n * Creates a formatted string for the screen reader module.\n *\n * @callback Highcharts.ScreenReaderFormatterCallbackFunction<T>\n *\n * @param {T} context\n *        Context to format\n *\n * @return {string}\n *         Formatted string for the screen reader module.\n */\nconst Options = {\n    /**\n     * Options for configuring accessibility for the chart. Requires the\n     * [accessibility module](https://code.highcharts.com/modules/accessibility.js)\n     * to be loaded. For a description of the module and information\n     * on its features, see\n     * [Highcharts Accessibility](https://www.highcharts.com/docs/accessibility/accessibility-module).\n     *\n     * @since        5.0.0\n     * @requires     modules/accessibility\n     * @optionparent accessibility\n     */\n    accessibility: {\n        /**\n         * Enable accessibility functionality for the chart. For more\n         * information on how to include these features, and why this is\n         * recommended, see [Highcharts Accessibility](https://www.highcharts.com/docs/accessibility/accessibility-module).\n         *\n         * Highcharts will by default emit a warning to the console if\n         * the [accessibility module](https://code.highcharts.com/modules/accessibility.js)\n         * is not loaded. Setting this option to `false` will override\n         * and silence the warning.\n         *\n         * Once the module is loaded, setting this option to `false`\n         * will disable the module for this chart.\n         *\n         * @since 5.0.0\n         */\n        enabled: true,\n        /**\n         * Accessibility options for the screen reader information sections\n         * added before and after the chart.\n         *\n         * @since 8.0.0\n         */\n        screenReaderSection: {\n            /**\n             * Function to run upon clicking the \"View as Data Table\" link in\n             * the screen reader region.\n             *\n             * By default Highcharts will insert and set focus to a data table\n             * representation of the chart.\n             *\n             * @type      {Highcharts.ScreenReaderClickCallbackFunction}\n             * @since 8.0.0\n             * @apioption accessibility.screenReaderSection.onViewDataTableClick\n             */\n            /**\n             * Function to run upon clicking the \"Play as sound\" button in\n             * the screen reader region.\n             *\n             * By default Highcharts will call the `chart.sonify` function.\n             *\n             * @type      {Highcharts.ScreenReaderClickCallbackFunction}\n             * @since 8.0.1\n             * @apioption accessibility.screenReaderSection.onPlayAsSoundClick\n             */\n            /**\n             * A formatter function to create the HTML contents of the hidden\n             * screen reader information region before the chart. Receives one\n             * argument, `chart`, referring to the chart object. Should return a\n             * string with the HTML content of the region. By default this\n             * returns an automatic description of the chart based on\n             * [beforeChartFormat](#accessibility.screenReaderSection.beforeChartFormat).\n             *\n             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Chart>}\n             * @since 8.0.0\n             * @apioption accessibility.screenReaderSection.beforeChartFormatter\n             */\n            /**\n             * Format for the screen reader information region before the chart.\n             * Supported HTML tags are `<h1-6>`, `<p>`, `<div>`, `<a>`, `<ul>`,\n             * `<ol>`, `<li>`, and `<button>`. Attributes are not supported,\n             * except for id on `<div>`, `<a>`, and `<button>`. Id is required\n             * on `<a>` and `<button>` in the format `<tag id=\"abcd\">`. Numbers,\n             * lower- and uppercase letters, \"-\" and \"#\" are valid characters in\n             * IDs.\n             *\n             * The headingTagName is an auto-detected heading (h1-h6) that\n             * corresponds to the heading level below the previous heading in\n             * the DOM.\n             *\n             * Set to empty string to remove the region altogether.\n             *\n             * @since 8.0.0\n             */\n            beforeChartFormat: '<{headingTagName}>{chartTitle}</{headingTagName}>' +\n                '<div>{typeDescription}</div>' +\n                '<div>{chartSubtitle}</div>' +\n                '<div>{chartLongdesc}</div>' +\n                '<div>{playAsSoundButton}</div>' +\n                '<div>{viewTableButton}</div>' +\n                '<div>{xAxisDescription}</div>' +\n                '<div>{yAxisDescription}</div>' +\n                '<div>{annotationsTitle}{annotationsList}</div>',\n            /**\n             * A formatter function to create the HTML contents of the hidden\n             * screen reader information region after the chart. Analogous to\n             * [beforeChartFormatter](#accessibility.screenReaderSection.beforeChartFormatter).\n             *\n             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Chart>}\n             * @since 8.0.0\n             * @apioption accessibility.screenReaderSection.afterChartFormatter\n             */\n            /**\n             * Format for the screen reader information region after the chart.\n             * Analogous to [beforeChartFormat](#accessibility.screenReaderSection.beforeChartFormat).\n             *\n             * @since 8.0.0\n             */\n            afterChartFormat: '{endOfChartMarker}',\n            /**\n             * Date format to use to describe range of datetime axes.\n             *\n             * For an overview of the replacement codes, see\n             * [dateFormat](/class-reference/Highcharts.Time#dateFormat).\n             *\n             * @see [point.dateFormat](#accessibility.point.dateFormat)\n             *\n             * @since 8.0.0\n             */\n            axisRangeDateFormat: '%Y-%m-%d %H:%M:%S'\n        },\n        /**\n         * Accessibility options global to all data series. Individual series\n         * can also have specific [accessibility options](#plotOptions.series.accessibility)\n         * set.\n         *\n         * @since 8.0.0\n         */\n        series: {\n            /**\n             * Formatter function to use instead of the default for series\n             * descriptions. Receives one argument, `series`, referring to the\n             * series to describe. Should return a string with the description\n             * of the series for a screen reader user. If `false` is returned,\n             * the default formatter will be used for that series.\n             *\n             * @see [series.descriptionFormat](#accessibility.series.descriptionFormat)\n             * @see [series.description](#plotOptions.series.description)\n             *\n             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Series>}\n             * @since 8.0.0\n             * @apioption accessibility.series.descriptionFormatter\n             */\n            /**\n             * Format to use for describing the data series group to assistive\n             * technology - including screen readers.\n             *\n             * The series context and its subproperties are available under the\n             * variable `{series}`, for example `{series.name}` for the series\n             * name, and `{series.points.length}` for the number of data points.\n             *\n             * The chart context and its subproperties are available under the\n             * variable `{chart}`, for example `{chart.series.length}` for the\n             * number of series in the chart.\n             *\n             * `{seriesDescription}` refers to the automatic description of the\n             * series type and number of points added by Highcharts by default.\n             * `{authorDescription}` refers to the description added in\n             * [series.description](#plotOptions.series.description) if one is\n             * present. `{axisDescription}` refers to the description added if\n             * the chart has multiple X or Y axes.\n             *\n             * Note that if [series.descriptionFormatter](#accessibility.series.descriptionFormatter)\n             * is declared it will take precedence, and this option will be\n             * overridden.\n             *\n             * @sample highcharts/accessibility/advanced-accessible\n             *  Accessible low-medium-high chart\n             *\n             * @type      {string}\n             * @since 10.1.0\n             */\n            descriptionFormat: '{seriesDescription}{authorDescription}{axisDescription}',\n            /**\n             * Whether or not to add series descriptions to charts with a single\n             * series.\n             *\n             * @since 8.0.0\n             */\n            describeSingleSeries: false,\n            /**\n             * When a series contains more points than this, we no longer expose\n             * information about individual points to screen readers.\n             * Note that the keyboard navigation remains functional, but points\n             * won't have accessible descriptions unless handled separately.\n             *\n             * Set to `false` to disable.\n             *\n             * @type  {boolean|number}\n             * @since 8.0.0\n             */\n            pointDescriptionEnabledThreshold: 200\n        },\n        /**\n         * Options for descriptions of individual data points.\n         *\n         * @since 8.0.0\n         */\n        point: {\n            /**\n             * Date format to use for points on datetime axes when describing\n             * them to screen reader users.\n             *\n             * Defaults to the same format as in tooltip.\n             *\n             * For an overview of the replacement codes, see\n             * [dateFormat](/class-reference/Highcharts.Time#dateFormat).\n             *\n             * @see [dateFormatter](#accessibility.point.dateFormatter)\n             *\n             * @type      {string}\n             * @since 8.0.0\n             * @apioption accessibility.point.dateFormat\n             */\n            /**\n             * Formatter function to determine the date/time format used with\n             * points on datetime axes when describing them to screen reader\n             * users. Receives one argument, `point`, referring to the point\n             * to describe. Should return a date format string compatible with\n             * [dateFormat](/class-reference/Highcharts.Time#dateFormat).\n             *\n             * @see [dateFormat](#accessibility.point.dateFormat)\n             *\n             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}\n             * @since 8.0.0\n             * @apioption accessibility.point.dateFormatter\n             */\n            /**\n             * Prefix to add to the values in the point descriptions. Uses\n             * [tooltip.valuePrefix](#tooltip.valuePrefix) if not defined.\n             *\n             * @type        {string}\n             * @since 8.0.0\n             * @apioption   accessibility.point.valuePrefix\n             */\n            /**\n             * Suffix to add to the values in the point descriptions. Uses\n             * [tooltip.valueSuffix](#tooltip.valueSuffix) if not defined.\n             *\n             * @type        {string}\n             * @since 8.0.0\n             * @apioption   accessibility.point.valueSuffix\n             */\n            /**\n             * Decimals to use for the values in the point descriptions. Uses\n             * [tooltip.valueDecimals](#tooltip.valueDecimals) if not defined.\n             *\n             * @type        {number}\n             * @since 8.0.0\n             * @apioption   accessibility.point.valueDecimals\n             */\n            /**\n             * A [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)\n             * to use instead of the default for point descriptions.\n             *\n             * The context of the format string is the point instance.\n             *\n             * As opposed to [accessibility.point.valueDescriptionFormat](#accessibility.point.valueDescriptionFormat),\n             * this option replaces the whole description.\n             *\n             * @type      {string}\n             * @since 11.1.0\n             * @sample highcharts/demo/advanced-accessible\n             *      Description format\n             * @apioption accessibility.point.descriptionFormat\n             */\n            /**\n             * Formatter function to use instead of the default for point\n             * descriptions.\n             *\n             * Receives one argument, `point`, referring to the point to\n             * describe. Should return a string with the description of the\n             * point for a screen reader user. If `false` is returned, the\n             * default formatter will be used for that point.\n             *\n             * Note: Prefer using [accessibility.point.valueDescriptionFormat](#accessibility.point.valueDescriptionFormat)\n             * instead if possible, as default functionality such as describing\n             * annotations will be preserved.\n             *\n             * @see [accessibility.point.valueDescriptionFormat](#accessibility.point.valueDescriptionFormat)\n             * @see [point.accessibility.description](#series.line.data.accessibility.description)\n             *\n             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}\n             * @since 8.0.0\n             * @apioption accessibility.point.descriptionFormatter\n             */\n            /**\n             * Format to use for describing the values of data points\n             * to assistive technology - including screen readers.\n             * The point context is available as `{point}`.\n             *\n             * Other available context variables include `{index}`, `{value}`, and `{xDescription}`.\n             *\n             * Additionally, the series name, annotation info, and\n             * description added in `point.accessibility.description`\n             * is added by default if relevant. To override this, use the\n             * [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)\n             * option.\n             *\n             * @see [point.accessibility.description](#series.line.data.accessibility.description)\n             * @see [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)\n             *\n             * @type      {string}\n             * @since 8.0.1\n             */\n            valueDescriptionFormat: '{xDescription}{separator}{value}.',\n            /**\n             * Whether or not to describe points with the value `null` to\n             * assistive technology, such as screen readers.\n             *\n             * @sample {highmaps} maps/demo/all-areas-as-null\n             *         Accessible map with null points\n             *\n             * @type      {boolean}\n             * @since 10.1.0\n             */\n            describeNull: true\n        },\n        /**\n         * Amount of landmarks/regions to create for screen reader users. More\n         * landmarks can make navigation with screen readers easier, but can\n         * be distracting if there are lots of charts on the page. Three modes\n         * are available:\n         *  - `all`: Adds regions for all series, legend, information\n         *      region.\n         *  - `one`: Adds a single landmark per chart.\n         *  - `disabled`: No landmarks are added.\n         *\n         * @since 7.1.0\n         * @validvalue [\"all\", \"one\", \"disabled\"]\n         */\n        landmarkVerbosity: 'all',\n        /**\n         * Link the chart to an HTML element describing the contents of the\n         * chart.\n         *\n         * It is always recommended to describe charts using visible text, to\n         * improve SEO as well as accessibility for users with disabilities.\n         * This option lets an HTML element with a description be linked to the\n         * chart, so that screen reader users can connect the two.\n         *\n         * By setting this option to a string, Highcharts runs the string as an\n         * HTML selector query on the entire document. If there is only a single\n         * match, this element is linked to the chart. The content of the linked\n         * element will be included in the chart description for screen reader\n         * users.\n         *\n         * By default, the chart looks for an adjacent sibling element with the\n         * `highcharts-description` class.\n         *\n         * The feature can be disabled by setting the option to an empty string,\n         * or overridden by providing the\n         * [accessibility.description](#accessibility.description) option.\n         * Alternatively, the HTML element to link can be passed in directly as\n         * an HTML node.\n         *\n         * If you need the description to be part of the exported image,\n         * consider using the [caption](#caption) feature.\n         *\n         * If you need the description to be hidden visually, use the\n         * [accessibility.description](#accessibility.description) option.\n         *\n         * @see [caption](#caption)\n         * @see [description](#accessibility.description)\n         * @see [typeDescription](#accessibility.typeDescription)\n         *\n         * @sample highcharts/accessibility/accessible-line\n         *         Accessible line chart\n         *\n         * @type  {string|Highcharts.HTMLDOMElement}\n         * @since 8.0.0\n         */\n        linkedDescription: '*[data-highcharts-chart=\"{index}\"] + .highcharts-description', // eslint-disable-line\n        /**\n         * A hook for adding custom components to the accessibility module.\n         * Should be an object mapping component names to instances of classes\n         * inheriting from the Highcharts.AccessibilityComponent base class.\n         * Remember to add the component to the\n         * [keyboardNavigation.order](#accessibility.keyboardNavigation.order)\n         * for the keyboard navigation to be usable.\n         *\n         * @sample highcharts/accessibility/custom-component\n         *         Custom accessibility component\n         *\n         * @type      {*}\n         * @since     7.1.0\n         * @apioption accessibility.customComponents\n         */\n        /**\n         * Theme to apply to the chart when Windows High Contrast Mode is\n         * detected. By default, a high contrast theme matching the high\n         * contrast system colors is used.\n         *\n         * @type      {*}\n         * @since     7.1.3\n         * @apioption accessibility.highContrastTheme\n         */\n        /**\n         * Controls how [highContrastTheme](#accessibility.highContrastTheme)\n         * is applied.\n         *\n         * The default option is `auto`, which applies the high contrast theme\n         * the user's system has a high contrast theme active.\n         *\n         * @since 11.4.0\n         */\n        highContrastMode: 'auto',\n        /**\n         * A text description of the chart.\n         *\n         * **Note: Prefer using [linkedDescription](#accessibility.linkedDescription)\n         * or [caption](#caption.text) instead.**\n         *\n         * If the Accessibility module is loaded, this option is included by\n         * default as a long description of the chart in the hidden screen\n         * reader information region.\n         *\n         * Note: Since Highcharts now supports captions and linked descriptions,\n         * it is preferred to define the description using those methods, as a\n         * visible caption/description benefits all users. If the\n         * `accessibility.description` option is defined, the linked description\n         * is ignored, and the caption is hidden from screen reader users.\n         *\n         * @see [linkedDescription](#accessibility.linkedDescription)\n         * @see [caption](#caption)\n         * @see [typeDescription](#accessibility.typeDescription)\n         *\n         * @type      {string}\n         * @since     5.0.0\n         * @apioption accessibility.description\n         */\n        /**\n         * A text description of the chart type.\n         *\n         * If the Accessibility module is loaded, this will be included in the\n         * description of the chart in the screen reader information region.\n         *\n         * Highcharts will by default attempt to guess the chart type, but for\n         * more complex charts it is recommended to specify this property for\n         * clarity.\n         *\n         * @type      {string}\n         * @since     5.0.0\n         * @apioption accessibility.typeDescription\n         */\n        /**\n         * Options for keyboard navigation.\n         *\n         * @declare Highcharts.KeyboardNavigationOptionsObject\n         * @since   5.0.0\n         */\n        keyboardNavigation: {\n            /**\n             * Enable keyboard navigation for the chart.\n             *\n             * @since 5.0.0\n             */\n            enabled: true,\n            /**\n             * Options for the focus border drawn around elements while\n             * navigating through them.\n             *\n             * @sample highcharts/accessibility/custom-focus\n             *         Custom focus ring\n             *\n             * @declare Highcharts.KeyboardNavigationFocusBorderOptionsObject\n             * @since   6.0.3\n             */\n            focusBorder: {\n                /**\n                 * Enable/disable focus border for chart.\n                 *\n                 * @since 6.0.3\n                 */\n                enabled: true,\n                /**\n                 * Hide the browser's default focus indicator.\n                 *\n                 * @since 6.0.4\n                 */\n                hideBrowserFocusOutline: true,\n                /**\n                 * Style options for the focus border drawn around elements\n                 * while navigating through them. Note that some browsers in\n                 * addition draw their own borders for focused elements. These\n                 * automatic borders cannot be styled by Highcharts.\n                 *\n                 * In styled mode, the border is given the\n                 * `.highcharts-focus-border` class.\n                 *\n                 * @type    {Highcharts.CSSObject}\n                 * @since   6.0.3\n                 */\n                style: {\n                    /** @internal */\n                    color: \"#334eff\" /* Palette.highlightColor80 */,\n                    /** @internal */\n                    lineWidth: 2,\n                    /** @internal */\n                    borderRadius: 3\n                },\n                /**\n                 * Focus border margin around the elements.\n                 *\n                 * @since 6.0.3\n                 */\n                margin: 2\n            },\n            /**\n             * Order of tab navigation in the chart. Determines which elements\n             * are tabbed to first. Available elements are: `series`, `zoom`,\n             * `rangeSelector`, `navigator`, `chartMenu`, `legend` and `container`.\n             * In addition, any custom components can be added here. Adding\n             * `container` first in order will make the keyboard focus stop on\n             * the chart container first, requiring the user to tab again to\n             * enter the chart.\n             *\n             * @type  {Array<string>}\n             * @since 7.1.0\n             */\n            order: [\n                'series', 'zoom', 'rangeSelector',\n                'navigator', 'legend', 'chartMenu'\n            ],\n            /**\n             * Whether or not to wrap around when reaching the end of arrow-key\n             * navigation for an element in the chart.\n             * @since 7.1.0\n             */\n            wrapAround: true,\n            /**\n             * Options for the keyboard navigation of data points and series.\n             *\n             * @declare Highcharts.KeyboardNavigationSeriesNavigationOptionsObject\n             * @since 8.0.0\n             */\n            seriesNavigation: {\n                /**\n                 * Set the keyboard navigation mode for the chart. Can be\n                 * \"normal\" or \"serialize\". In normal mode, left/right arrow\n                 * keys move between points in a series, while up/down arrow\n                 * keys move between series. Up/down navigation acts\n                 * intelligently to figure out which series makes sense to move\n                 * to from any given point.\n                 *\n                 * In \"serialize\" mode, points are instead navigated as a single\n                 * list. Left/right behaves as in \"normal\" mode. Up/down arrow\n                 * keys will behave like left/right. This can be useful for\n                 * unifying navigation behavior with/without screen readers\n                 * enabled.\n                 *\n                 * @type       {string}\n                 * @default    normal\n                 * @since 8.0.0\n                 * @validvalue [\"normal\", \"serialize\"]\n                 * @apioption  accessibility.keyboardNavigation.seriesNavigation.mode\n                 */\n                /**\n                 * Skip null points when navigating through points with the\n                 * keyboard.\n                 *\n                 * @since 8.0.0\n                 */\n                skipNullPoints: true,\n                /**\n                 * When a series contains more points than this, we no longer\n                 * allow keyboard navigation for it.\n                 *\n                 * Set to `false` to disable.\n                 *\n                 * @type  {boolean|number}\n                 * @since 8.0.0\n                 */\n                pointNavigationEnabledThreshold: false,\n                /**\n                 * Remember which point was focused even after navigating away\n                 * from the series, so that when navigating back to the series\n                 * you start at the last focused point.\n                 *\n                 * @type  {boolean}\n                 * @since 10.1.0\n                 */\n                rememberPointFocus: false\n            }\n        },\n        /**\n         * Options for announcing new data to screen reader users. Useful\n         * for dynamic data applications and drilldown.\n         *\n         * Keep in mind that frequent announcements will not be useful to\n         * users, as they won't have time to explore the new data. For these\n         * applications, consider making snapshots of the data accessible, and\n         * do the announcements in batches.\n         *\n         * @declare Highcharts.AccessibilityAnnounceNewDataOptionsObject\n         * @since   7.1.0\n         */\n        announceNewData: {\n            /**\n             * Optional formatter callback for the announcement. Receives\n             * up to three arguments. The first argument is always an array\n             * of all series that received updates. If an announcement is\n             * already queued, the series that received updates for that\n             * announcement are also included in this array. The second\n             * argument is provided if `chart.addSeries` was called, and\n             * there is a new series. In that case, this argument is a\n             * reference to the new series. The third argument, similarly,\n             * is provided if `series.addPoint` was called, and there is a\n             * new point. In that case, this argument is a reference to the\n             * new point.\n             *\n             * The function should return a string with the text to announce\n             * to the user. Return empty string to not announce anything.\n             * Return `false` to use the default announcement format.\n             *\n             * @sample highcharts/accessibility/custom-dynamic\n             *         High priority live alerts\n             *\n             * @type      {Highcharts.AccessibilityAnnouncementFormatter}\n             * @apioption accessibility.announceNewData.announcementFormatter\n             */\n            /**\n             * Enable announcing new data to screen reader users\n             * @sample highcharts/accessibility/accessible-dynamic\n             *         Dynamic data accessible\n             */\n            enabled: false,\n            /**\n             * Minimum interval between announcements in milliseconds. If\n             * new data arrives before this amount of time has passed, it is\n             * queued for announcement. If another new data event happens\n             * while an announcement is queued, the queued announcement is\n             * dropped, and the latest announcement is queued instead. Set\n             * to 0 to allow all announcements, but be warned that frequent\n             * announcements are disturbing to users.\n             */\n            minAnnounceInterval: 5000,\n            /**\n             * Choose whether or not the announcements should interrupt the\n             * screen reader. If not enabled, the user will be notified once\n             * idle. It is recommended not to enable this setting unless\n             * there is a specific reason to do so.\n             */\n            interruptUser: false\n        }\n    },\n    /**\n     * Accessibility options for a data point.\n     *\n     * @declare   Highcharts.PointAccessibilityOptionsObject\n     * @since     7.1.0\n     * @apioption series.line.data.accessibility\n     */\n    /**\n     * Provide a description of the data point, announced to screen readers.\n     *\n     * @type      {string}\n     * @since     7.1.0\n     * @apioption series.line.data.accessibility.description\n     */\n    /**\n     * Set to false to disable accessibility functionality for a specific point.\n     * The point will not be included in keyboard navigation, and will not be\n     * exposed to assistive technology.\n     *\n     * @type      {boolean}\n     * @since 9.0.1\n     * @apioption series.line.data.accessibility.enabled\n     */\n    /**\n     * Accessibility options for a series.\n     *\n     * @declare    Highcharts.SeriesAccessibilityOptionsObject\n     * @since      7.1.0\n     * @requires   modules/accessibility\n     * @apioption  plotOptions.series.accessibility\n     */\n    /**\n     * Enable/disable accessibility functionality for a specific series.\n     *\n     * @type       {boolean}\n     * @since      7.1.0\n     * @apioption  plotOptions.series.accessibility.enabled\n     */\n    /**\n     * Provide a description of the series, announced to screen readers.\n     *\n     * @type       {string}\n     * @since      7.1.0\n     * @apioption  plotOptions.series.accessibility.description\n     */\n    /**\n     * Format to use for describing the data series group to assistive\n     * technology - including screen readers.\n     *\n     * @see [series.descriptionFormat](#accessibility.series.descriptionFormat)\n     * @type       {string}\n     * @since 11.0.0\n     * @apioption  plotOptions.series.accessibility.descriptionFormat\n     */\n    /**\n     * Expose only the series element to screen readers, not its points.\n     *\n     * @type       {boolean}\n     * @since      7.1.0\n     * @apioption  plotOptions.series.accessibility.exposeAsGroupOnly\n     */\n    /**\n     * Point accessibility options for a series.\n     *\n     * @extends    accessibility.point\n     * @since 9.3.0\n     * @requires   modules/accessibility\n     * @apioption  plotOptions.series.accessibility.point\n     */\n    /**\n     * Formatter function to use instead of the default for point\n     * descriptions. Same as `accessibility.point.descriptionFormatter`, but\n     * applies to a series instead of the whole chart.\n     *\n     * Note: Prefer using [accessibility.point.valueDescriptionFormat](#plotOptions.series.accessibility.point.valueDescriptionFormat)\n     * instead if possible, as default functionality such as describing\n     * annotations will be preserved.\n     *\n     * @see [accessibility.point.valueDescriptionFormat](#plotOptions.series.accessibility.point.valueDescriptionFormat)\n     * @see [point.accessibility.description](#series.line.data.accessibility.description)\n     * @see [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)\n     *\n     * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}\n     * @since 9.3.0\n     * @apioption plotOptions.series.accessibility.point.descriptionFormatter\n     */\n    /**\n     * Keyboard navigation for a series\n     *\n     * @declare    Highcharts.SeriesAccessibilityKeyboardNavigationOptionsObject\n     * @since      7.1.0\n     * @apioption  plotOptions.series.accessibility.keyboardNavigation\n     */\n    /**\n     * Enable/disable keyboard navigation support for a specific series.\n     *\n     * @type       {boolean}\n     * @since      7.1.0\n     * @apioption  plotOptions.series.accessibility.keyboardNavigation.enabled\n     */\n    /**\n     * Accessibility options for an annotation label.\n     *\n     * @declare    Highcharts.AnnotationLabelAccessibilityOptionsObject\n     * @since 8.0.1\n     * @requires   modules/accessibility\n     * @apioption  annotations.labelOptions.accessibility\n     */\n    /**\n     * Description of an annotation label for screen readers and other assistive\n     * technology.\n     *\n     * @type       {string}\n     * @since 8.0.1\n     * @apioption  annotations.labelOptions.accessibility.description\n     */\n    /**\n     * Accessibility options for an axis. Requires the accessibility module.\n     *\n     * @declare    Highcharts.AxisAccessibilityOptionsObject\n     * @since      7.1.0\n     * @requires   modules/accessibility\n     * @apioption  xAxis.accessibility\n     */\n    /**\n     * Enable axis accessibility features, including axis information in the\n     * screen reader information region. If this is disabled on the xAxis, the\n     * x values are not exposed to screen readers for the individual data points\n     * by default.\n     *\n     * @type       {boolean}\n     * @since      7.1.0\n     * @apioption  xAxis.accessibility.enabled\n     */\n    /**\n     * Description for an axis to expose to screen reader users.\n     *\n     * @type       {string}\n     * @since      7.1.0\n     * @apioption  xAxis.accessibility.description\n     */\n    /**\n     * Range description for an axis. Overrides the default range description.\n     * Set to empty to disable range description for this axis.\n     *\n     * @type       {string}\n     * @since      7.1.0\n     * @apioption  xAxis.accessibility.rangeDescription\n     */\n    /**\n     * @optionparent legend\n     */\n    legend: {\n        /**\n         * Accessibility options for the legend. Requires the Accessibility\n         * module.\n         *\n         * @since     7.1.0\n         * @requires  modules/accessibility\n         */\n        accessibility: {\n            /**\n             * Enable accessibility support for the legend.\n             *\n             * @since  7.1.0\n             */\n            enabled: true,\n            /**\n             * Options for keyboard navigation for the legend.\n             *\n             * @since     7.1.0\n             * @requires  modules/accessibility\n             */\n            keyboardNavigation: {\n                /**\n                 * Enable keyboard navigation for the legend.\n                 *\n                 * @see [accessibility.keyboardNavigation](#accessibility.keyboardNavigation.enabled)\n                 *\n                 * @since  7.1.0\n                 */\n                enabled: true\n            }\n        }\n    },\n    /**\n     * @optionparent exporting\n     */\n    exporting: {\n        /**\n         * Accessibility options for the exporting menu. Requires the\n         * Accessibility module.\n         *\n         * @since    7.1.0\n         * @requires modules/accessibility\n         */\n        accessibility: {\n            /**\n             * Enable accessibility support for the export menu.\n             *\n             * @since 7.1.0\n             */\n            enabled: true\n        }\n    },\n    /**\n     * @optionparent navigator\n     */\n    navigator: {\n        /**\n         * Accessibility options for the navigator. Requires the\n         * Accessibility module.\n         *\n         * @since 11.2.0\n         * @requires modules/accessibility\n         */\n        accessibility: {\n            /**\n             * Enable accessibility support for the navigator.\n             *\n             * @since 11.2.0\n             */\n            enabled: true\n        }\n    }\n};\n/* harmony default export */ const A11yDefaults = (Options);\n\n;// ./code/es-modules/Accessibility/Options/LangDefaults.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Default lang/i18n options for accessibility.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\nconst langOptions = {\n    /**\n     * Configure the accessibility strings in the chart. Requires the\n     * [accessibility module](https://code.highcharts.com/modules/accessibility.js)\n     * to be loaded. For a description of the module and information on its\n     * features, see\n     * [Highcharts Accessibility](https://www.highcharts.com/docs/chart-concepts/accessibility).\n     *\n     * The lang options use [Format Strings](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#format-strings)\n     * with variables that are replaced at run time. These variables should be\n     * used when available, to avoid duplicating text that is defined elsewhere.\n     *\n     * For more dynamic control over the accessibility functionality, see\n     * [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter),\n     * [accessibility.series.descriptionFormatter](#accessibility.series.descriptionFormatter),\n     * and\n     * [accessibility.screenReaderSection.beforeChartFormatter](#accessibility.screenReaderSection.beforeChartFormatter).\n     *\n     * @since        6.0.6\n     * @optionparent lang.accessibility\n     */\n    accessibility: {\n        /**\n         * @deprecated 10.2.1\n         * @type       {string}\n         * @apioption  lang.accessibility.resetZoomButton\n         */\n        /**\n         * Default title of the chart for assistive technology, for charts\n         * without a chart title.\n         */\n        defaultChartTitle: 'Chart',\n        /**\n         * Accessible label for the chart container HTML element.\n         * `{title}` refers to the chart title.\n         */\n        chartContainerLabel: '{title}. Highcharts interactive chart.',\n        /**\n         * Accessible label for the chart SVG element.\n         * `{chartTitle}` refers to the chart title.\n         */\n        svgContainerLabel: 'Interactive chart',\n        /**\n         * Accessible label for the drill-up button.\n         * `{buttonText}` refers to the visual text on the button.\n         */\n        drillUpButton: '{buttonText}',\n        /**\n         * Accessible label for the chart credits.\n         * `{creditsStr}` refers to the visual text in the credits.\n         */\n        credits: 'Chart credits: {creditsStr}',\n        /**\n         * Thousands separator to use when formatting numbers for screen\n         * readers. Note that many screen readers will not handle space as a\n         * thousands separator, and will consider \"11 700\" as two numbers.\n         *\n         * Set to `null` to use the separator defined in\n         * [lang.thousandsSep](lang.thousandsSep).\n         *\n         * @since 7.1.0\n         */\n        thousandsSep: ',',\n        /**\n         * Title element text for the chart SVG element. Leave this\n         * empty to disable adding the title element. Browsers will display\n         * this content when hovering over elements in the chart. Assistive\n         * technology may use this element to label the chart.\n         *\n         * @since 6.0.8\n         */\n        svgContainerTitle: '',\n        /**\n         * Set a label on the container wrapping the SVG.\n         *\n         * @see [chartContainerLabel](#lang.accessibility.chartContainerLabel)\n         *\n         * @since 8.0.0\n         */\n        graphicContainerLabel: '',\n        /**\n         * Language options for the screen reader information sections added\n         * before and after the charts.\n         *\n         * @since 8.0.0\n         */\n        screenReaderSection: {\n            beforeRegionLabel: '',\n            afterRegionLabel: '',\n            /**\n             * Language options for annotation descriptions.\n             *\n             * @since 8.0.1\n             */\n            annotations: {\n                heading: 'Chart annotations summary',\n                descriptionSinglePoint: ('{annotationText}. Related to {annotationPoint}'),\n                descriptionMultiplePoints: ('{annotationText}. Related to {annotationPoint}' +\n                    '{#each additionalAnnotationPoints}' +\n                    ', also related to {this}' +\n                    '{/each}'),\n                descriptionNoPoints: '{annotationText}'\n            },\n            /**\n             * Label for the end of the chart. Announced by screen readers.\n             *\n             * @since 8.0.0\n             */\n            endOfChartMarker: 'End of interactive chart.'\n        },\n        /**\n         * Language options for sonification.\n         *\n         * @since 8.0.1\n         */\n        sonification: {\n            playAsSoundButtonText: 'Play as sound, {chartTitle}',\n            playAsSoundClickAnnouncement: 'Play'\n        },\n        /**\n         * Language options for accessibility of the legend.\n         *\n         * @since 8.0.0\n         */\n        legend: {\n            /**\n             * Accessible label for the legend, for charts where there is no\n             * legend title defined.\n             */\n            legendLabelNoTitle: 'Toggle series visibility, {chartTitle}',\n            /**\n             * Accessible label for the legend, for charts where there is a\n             * legend title defined. `{legendTitle}` refers to the visual text\n             * in the legend title.\n             */\n            legendLabel: 'Chart legend: {legendTitle}',\n            /**\n             * Accessible label for individual legend items. `{itemName}` refers\n             * to the visual text in the legend for that item.\n             */\n            legendItem: 'Show {itemName}'\n        },\n        /**\n         * Chart and map zoom accessibility language options.\n         *\n         * @since 8.0.0\n         */\n        zoom: {\n            mapZoomIn: 'Zoom chart',\n            mapZoomOut: 'Zoom out chart',\n            resetZoomButton: 'Reset zoom'\n        },\n        /**\n         * Range selector language options for accessibility.\n         *\n         * @since 8.0.0\n         */\n        rangeSelector: {\n            dropdownLabel: '{rangeTitle}',\n            minInputLabel: 'Select start date.',\n            maxInputLabel: 'Select end date.',\n            clickButtonAnnouncement: 'Viewing {axisRangeDescription}'\n        },\n        /**\n         * Navigator language options for accessibility.\n         *\n         * @since 11.2.0\n         */\n        navigator: {\n            /**\n             * Label for the navigator handles.\n             *\n             * Receives `handleIx` and `chart` as context.\n             * `handleIx` refers to the index of the navigator handle.\n             */\n            handleLabel: '{#eq handleIx 0}Start, percent{else}End, percent{/eq}',\n            /**\n             * Label for the navigator region.\n             *\n             * Receives `chart` as context.\n             */\n            groupLabel: 'Axis zoom',\n            /**\n             * Announcement for assistive technology when navigator values\n             * are changed.\n             *\n             * Receives `axisRangeDescription` and `chart` as context.\n             * `axisRangeDescription` corresponds to the range description\n             * defined in [lang.accessibility.axis](#lang.accessibility.axis)\n             */\n            changeAnnouncement: '{axisRangeDescription}'\n        },\n        /**\n         * Accessibility language options for the data table.\n         *\n         * @since 8.0.0\n         */\n        table: {\n            viewAsDataTableButtonText: 'View as data table, {chartTitle}',\n            tableSummary: 'Table representation of chart.'\n        },\n        /**\n         * Default announcement for new data in charts. If addPoint or\n         * addSeries is used, and only one series/point is added, the\n         * `newPointAnnounce` and `newSeriesAnnounce` strings are used.\n         * The `...Single` versions will be used if there is only one chart\n         * on the page, and the `...Multiple` versions will be used if there\n         * are multiple charts on the page. For all other new data events,\n         * the `newDataAnnounce` string will be used.\n         *\n         * @since 7.1.0\n         */\n        announceNewData: {\n            newDataAnnounce: 'Updated data for chart {chartTitle}',\n            newSeriesAnnounceSingle: 'New data series: {seriesDesc}',\n            newPointAnnounceSingle: 'New data point: {pointDesc}',\n            newSeriesAnnounceMultiple: 'New data series in chart {chartTitle}: {seriesDesc}',\n            newPointAnnounceMultiple: 'New data point in chart {chartTitle}: {pointDesc}'\n        },\n        /**\n         * Descriptions of lesser known series types. The relevant\n         * description is added to the screen reader information region\n         * when these series types are used.\n         *\n         * @since 6.0.6\n         */\n        seriesTypeDescriptions: {\n            boxplot: 'Box plot charts are typically used to display ' +\n                'groups of statistical data. Each data point in the ' +\n                'chart can have up to 5 values: minimum, lower quartile, ' +\n                'median, upper quartile, and maximum.',\n            arearange: 'Arearange charts are line charts displaying a ' +\n                'range between a lower and higher value for each point.',\n            areasplinerange: 'These charts are line charts displaying a ' +\n                'range between a lower and higher value for each point.',\n            bubble: 'Bubble charts are scatter charts where each data ' +\n                'point also has a size value.',\n            columnrange: 'Columnrange charts are column charts ' +\n                'displaying a range between a lower and higher value for ' +\n                'each point.',\n            errorbar: 'Errorbar series are used to display the ' +\n                'variability of the data.',\n            funnel: 'Funnel charts are used to display reduction of data ' +\n                'in stages.',\n            pyramid: 'Pyramid charts consist of a single pyramid with ' +\n                'item heights corresponding to each point value.',\n            waterfall: 'A waterfall chart is a column chart where each ' +\n                'column contributes towards a total end value.'\n        },\n        /**\n         * Chart type description strings. This is added to the chart\n         * information region.\n         *\n         * If there is only a single series type used in the chart, we use\n         * the format string for the series type, or default if missing.\n         * There is one format string for cases where there is only a single\n         * series in the chart, and one for multiple series of the same\n         * type.\n         *\n         * @since 6.0.6\n         */\n        chartTypes: {\n            /* eslint-disable max-len */\n            emptyChart: 'Empty chart',\n            mapTypeDescription: 'Map of {mapTitle} with {numSeries} data series.',\n            unknownMap: 'Map of unspecified region with {numSeries} data series.',\n            combinationChart: 'Combination chart with {numSeries} data series.',\n            defaultSingle: 'Chart with {numPoints} data ' +\n                '{#eq numPoints 1}point{else}points{/eq}.',\n            defaultMultiple: 'Chart with {numSeries} data series.',\n            splineSingle: 'Line chart with {numPoints} data ' +\n                '{#eq numPoints 1}point{else}points{/eq}.',\n            splineMultiple: 'Line chart with {numSeries} lines.',\n            lineSingle: 'Line chart with {numPoints} data ' +\n                '{#eq numPoints 1}point{else}points{/eq}.',\n            lineMultiple: 'Line chart with {numSeries} lines.',\n            columnSingle: 'Bar chart with {numPoints} ' +\n                '{#eq numPoints 1}bar{else}bars{/eq}.',\n            columnMultiple: 'Bar chart with {numSeries} data series.',\n            barSingle: 'Bar chart with {numPoints} ' +\n                '{#eq numPoints 1}bar{else}bars{/eq}.',\n            barMultiple: 'Bar chart with {numSeries} data series.',\n            pieSingle: 'Pie chart with {numPoints} ' +\n                '{#eq numPoints 1}slice{else}slices{/eq}.',\n            pieMultiple: 'Pie chart with {numSeries} pies.',\n            scatterSingle: 'Scatter chart with {numPoints} ' +\n                '{#eq numPoints 1}point{else}points{/eq}.',\n            scatterMultiple: 'Scatter chart with {numSeries} data series.',\n            boxplotSingle: 'Boxplot with {numPoints} ' +\n                '{#eq numPoints 1}box{else}boxes{/eq}.',\n            boxplotMultiple: 'Boxplot with {numSeries} data series.',\n            bubbleSingle: 'Bubble chart with {numPoints} ' +\n                '{#eq numPoints 1}bubbles{else}bubble{/eq}.',\n            bubbleMultiple: 'Bubble chart with {numSeries} data series.'\n        }, /* eslint-enable max-len */\n        /**\n         * Axis description format strings.\n         *\n         * @since 6.0.6\n         */\n        axis: {\n            /* eslint-disable max-len */\n            xAxisDescriptionSingular: 'The chart has 1 X axis displaying {names[0]}. {ranges[0]}',\n            xAxisDescriptionPlural: 'The chart has {numAxes} X axes displaying {#each names}{#unless @first},{/unless}{#if @last} and{/if} {this}{/each}.',\n            yAxisDescriptionSingular: 'The chart has 1 Y axis displaying {names[0]}. {ranges[0]}',\n            yAxisDescriptionPlural: 'The chart has {numAxes} Y axes displaying {#each names}{#unless @first},{/unless}{#if @last} and{/if} {this}{/each}.',\n            timeRangeDays: 'Data range: {range} days.',\n            timeRangeHours: 'Data range: {range} hours.',\n            timeRangeMinutes: 'Data range: {range} minutes.',\n            timeRangeSeconds: 'Data range: {range} seconds.',\n            rangeFromTo: 'Data ranges from {rangeFrom} to {rangeTo}.',\n            rangeCategories: 'Data range: {numCategories} categories.'\n        }, /* eslint-enable max-len */\n        /**\n         * Exporting menu format strings for accessibility module.\n         *\n         * @since 6.0.6\n         */\n        exporting: {\n            chartMenuLabel: 'Chart menu',\n            menuButtonLabel: 'View chart menu, {chartTitle}'\n        },\n        /**\n         * Lang configuration for different series types. For more dynamic\n         * control over the series element descriptions, see\n         * [accessibility.seriesDescriptionFormatter](#accessibility.seriesDescriptionFormatter).\n         *\n         * @since 6.0.6\n         */\n        series: {\n            /**\n             * Lang configuration for the series main summary. Each series\n             * type has two modes:\n             *\n             * 1. This series type is the only series type used in the\n             *    chart\n             *\n             * 2. This is a combination chart with multiple series types\n             *\n             * If a definition does not exist for the specific series type\n             * and mode, the 'default' lang definitions are used.\n             *\n             * Chart and its subproperties can be accessed with the `{chart}` variable.\n             * The series and its subproperties can be accessed with the `{series}` variable.\n             *\n             * The series index (starting from 1) can be accessed with the `{seriesNumber}` variable.\n             *\n             * @since 6.0.6\n             */\n            summary: {\n                /* eslint-disable max-len */\n                'default': '{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.',\n                defaultCombination: '{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.',\n                line: '{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.',\n                lineCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.',\n                spline: '{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.',\n                splineCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.',\n                column: '{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.',\n                columnCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.',\n                bar: '{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.',\n                barCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.',\n                pie: '{series.name}, pie {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}slice{else}slices{/eq}.',\n                pieCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Pie with {series.points.length} {#eq series.points.length 1}slice{else}slices{/eq}.',\n                scatter: '{series.name}, scatter plot {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}point{else}points{/eq}.',\n                scatterCombination: '{series.name}, series {seriesNumber} of {chart.series.length}, scatter plot with {series.points.length} {#eq series.points.length 1}point{else}points{/eq}.',\n                boxplot: '{series.name}, boxplot {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}box{else}boxes{/eq}.',\n                boxplotCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Boxplot with {series.points.length} {#eq series.points.length 1}box{else}boxes{/eq}.',\n                bubble: '{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.',\n                bubbleCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.',\n                map: '{series.name}, map {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}area{else}areas{/eq}.',\n                mapCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Map with {series.points.length} {#eq series.points.length 1}area{else}areas{/eq}.',\n                mapline: '{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.',\n                maplineCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.',\n                mapbubble: '{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.',\n                mapbubbleCombination: '{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.'\n            }, /* eslint-enable max-len */\n            /**\n             * User supplied description text. This is added in the point\n             * comment description by default if present.\n             *\n             * `{description}` refers to the value given in\n             * [point.accessibility.description](#series.line.data.accessibility.description).\n             *\n             * @since 6.0.6\n             */\n            description: '{description}',\n            /**\n             * X-axis description for series if there are multiple xAxes in\n             * the chart.\n             *\n             * @since 6.0.6\n             */\n            xAxisDescription: 'X axis, {name}',\n            /**\n             * Y-axis description for series if there are multiple yAxes in\n             * the chart.\n             *\n             * @since 6.0.6\n             */\n            yAxisDescription: 'Y axis, {name}',\n            /**\n             * Description for the value of null points.\n             *\n             * @since 8.0.0\n             */\n            nullPointValue: 'No value',\n            /**\n             * Description for annotations on a point, as it is made available\n             * to assistive technology.\n             *\n             * @since 8.0.1\n             */\n            pointAnnotationsDescription: '{#each annotations}' +\n                'Annotation: {this}{/each}'\n        }\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const LangDefaults = (langOptions);\n\n;// ./code/es-modules/Accessibility/Options/DeprecatedOptions.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Default options for accessibility.\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n/* eslint-disable max-len */\n/*\n *  List of deprecated options:\n *\n *  chart.description -> accessibility.description\n *  chart.typeDescription -> accessibility.typeDescription\n *  series.description -> series.accessibility.description\n *  series.exposeElementToA11y -> series.accessibility.exposeAsGroupOnly\n *  series.pointDescriptionFormatter ->\n *      series.accessibility.pointDescriptionFormatter\n *  series.accessibility.pointDescriptionFormatter ->\n *      series.accessibility.point.descriptionFormatter\n *  series.skipKeyboardNavigation ->\n *      series.accessibility.keyboardNavigation.enabled\n *  point.description -> point.accessibility.description !!!! WARNING: No longer deprecated and handled, removed for HC8.\n *  axis.description -> axis.accessibility.description\n *\n *  accessibility.pointDateFormat -> accessibility.point.dateFormat\n *  accessibility.addTableShortcut -> Handled by screenReaderSection.beforeChartFormat\n *  accessibility.pointDateFormatter -> accessibility.point.dateFormatter\n *  accessibility.pointDescriptionFormatter -> accessibility.point.descriptionFormatter\n *  accessibility.pointDescriptionThreshold -> accessibility.series.pointDescriptionEnabledThreshold\n *  accessibility.pointNavigationThreshold -> accessibility.keyboardNavigation.seriesNavigation.pointNavigationEnabledThreshold\n *  accessibility.pointValueDecimals -> accessibility.point.valueDecimals\n *  accessibility.pointValuePrefix -> accessibility.point.valuePrefix\n *  accessibility.pointValueSuffix -> accessibility.point.valueSuffix\n *  accessibility.screenReaderSectionFormatter -> accessibility.screenReaderSection.beforeChartFormatter\n *  accessibility.describeSingleSeries -> accessibility.series.describeSingleSeries\n *  accessibility.seriesDescriptionFormatter -> accessibility.series.descriptionFormatter\n *  accessibility.onTableAnchorClick -> accessibility.screenReaderSection.onViewDataTableClick\n *  accessibility.axisRangeDateFormat -> accessibility.screenReaderSection.axisRangeDateFormat\n *  accessibility.keyboardNavigation.skipNullPoints -> accessibility.keyboardNavigation.seriesNavigation.skipNullPoints\n *  accessibility.keyboardNavigation.mode -> accessibility.keyboardNavigation.seriesNavigation.mode\n *\n *  lang.accessibility.chartHeading -> no longer used, remove\n *  lang.accessibility.legendItem -> lang.accessibility.legend.legendItem\n *  lang.accessibility.legendLabel -> lang.accessibility.legend.legendLabel\n *  lang.accessibility.mapZoomIn -> lang.accessibility.zoom.mapZoomIn\n *  lang.accessibility.mapZoomOut -> lang.accessibility.zoom.mapZoomOut\n *  lang.accessibility.resetZoomButton -> lang.accessibility.zoom.resetZoomButton\n *  lang.accessibility.screenReaderRegionLabel -> lang.accessibility.screenReaderSection.beforeRegionLabel\n *  lang.accessibility.rangeSelectorButton -> lang.accessibility.rangeSelector.buttonText\n *  lang.accessibility.rangeSelectorMaxInput -> lang.accessibility.rangeSelector.maxInputLabel\n *  lang.accessibility.rangeSelectorMinInput -> lang.accessibility.rangeSelector.minInputLabel\n *  lang.accessibility.svgContainerEnd -> lang.accessibility.screenReaderSection.endOfChartMarker\n *  lang.accessibility.viewAsDataTable -> lang.accessibility.table.viewAsDataTableButtonText\n *  lang.accessibility.tableSummary -> lang.accessibility.table.tableSummary\n *\n */\n/* eslint-enable max-len */\n\n\nconst { error, pick: DeprecatedOptions_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/* eslint-disable valid-jsdoc */\n/**\n * Set a new option on a root prop, where the option is defined as an array of\n * suboptions.\n * @private\n * @param root\n * @param {Array<string>} optionAsArray\n * @param {*} val\n * @return {void}\n */\nfunction traverseSetOption(root, optionAsArray, val) {\n    let opt = root, prop, i = 0;\n    for (; i < optionAsArray.length - 1; ++i) {\n        prop = optionAsArray[i];\n        opt = opt[prop] = DeprecatedOptions_pick(opt[prop], {});\n    }\n    opt[optionAsArray[optionAsArray.length - 1]] = val;\n}\n/**\n * If we have a clear root option node for old and new options and a mapping\n * between, we can use this generic function for the copy and warn logic.\n */\nfunction deprecateFromOptionsMap(chart, rootOldAsArray, rootNewAsArray, mapToNewOptions) {\n    /**\n     * @private\n     */\n    function getChildProp(root, propAsArray) {\n        return propAsArray.reduce(function (acc, cur) {\n            return acc[cur];\n        }, root);\n    }\n    const rootOld = getChildProp(chart.options, rootOldAsArray), rootNew = getChildProp(chart.options, rootNewAsArray);\n    Object.keys(mapToNewOptions).forEach(function (oldOptionKey) {\n        const val = rootOld[oldOptionKey];\n        if (typeof val !== 'undefined') {\n            traverseSetOption(rootNew, mapToNewOptions[oldOptionKey], val);\n            error(32, false, chart, {\n                [rootOldAsArray.join('.') + '.' + oldOptionKey]: (rootNewAsArray.join('.') + '.' +\n                    mapToNewOptions[oldOptionKey].join('.'))\n            });\n        }\n    });\n}\n/**\n * @private\n */\nfunction copyDeprecatedChartOptions(chart) {\n    const chartOptions = chart.options.chart, a11yOptions = chart.options.accessibility || {};\n    ['description', 'typeDescription'].forEach(function (prop) {\n        if (chartOptions[prop]) {\n            a11yOptions[prop] = chartOptions[prop];\n            error(32, false, chart, { [`chart.${prop}`]: `use accessibility.${prop}` });\n        }\n    });\n}\n/**\n * @private\n */\nfunction copyDeprecatedAxisOptions(chart) {\n    chart.axes.forEach(function (axis) {\n        const opts = axis.options;\n        if (opts && opts.description) {\n            opts.accessibility = opts.accessibility || {};\n            opts.accessibility.description = opts.description;\n            error(32, false, chart, {\n                'axis.description': 'use axis.accessibility.description'\n            });\n        }\n    });\n}\n/**\n * @private\n */\nfunction copyDeprecatedSeriesOptions(chart) {\n    // Map of deprecated series options. New options are defined as\n    // arrays of paths under series.options.\n    const oldToNewSeriesOptions = {\n        description: ['accessibility', 'description'],\n        exposeElementToA11y: ['accessibility', 'exposeAsGroupOnly'],\n        pointDescriptionFormatter: [\n            'accessibility', 'point', 'descriptionFormatter'\n        ],\n        skipKeyboardNavigation: [\n            'accessibility', 'keyboardNavigation', 'enabled'\n        ],\n        'accessibility.pointDescriptionFormatter': [\n            'accessibility', 'point', 'descriptionFormatter'\n        ]\n    };\n    chart.series.forEach(function (series) {\n        // Handle series wide options\n        Object.keys(oldToNewSeriesOptions).forEach(function (oldOption) {\n            let optionVal = series.options[oldOption];\n            // Special case\n            if (oldOption === 'accessibility.pointDescriptionFormatter') {\n                optionVal = (series.options.accessibility &&\n                    series.options.accessibility\n                        .pointDescriptionFormatter);\n            }\n            if (typeof optionVal !== 'undefined') {\n                // Set the new option\n                traverseSetOption(series.options, oldToNewSeriesOptions[oldOption], \n                // Note that skipKeyboardNavigation has inverted option\n                // value, since we set enabled rather than disabled\n                oldOption === 'skipKeyboardNavigation' ?\n                    !optionVal : optionVal);\n                error(32, false, chart, {\n                    [`series.${oldOption}`]: ('series.' +\n                        oldToNewSeriesOptions[oldOption].join('.'))\n                });\n            }\n        });\n    });\n}\n/**\n * @private\n */\nfunction copyDeprecatedTopLevelAccessibilityOptions(chart) {\n    deprecateFromOptionsMap(chart, ['accessibility'], ['accessibility'], {\n        pointDateFormat: ['point', 'dateFormat'],\n        pointDateFormatter: ['point', 'dateFormatter'],\n        pointDescriptionFormatter: ['point', 'descriptionFormatter'],\n        pointDescriptionThreshold: [\n            'series',\n            'pointDescriptionEnabledThreshold'\n        ],\n        pointNavigationThreshold: [\n            'keyboardNavigation', 'seriesNavigation',\n            'pointNavigationEnabledThreshold'\n        ],\n        pointValueDecimals: ['point', 'valueDecimals'],\n        pointValuePrefix: ['point', 'valuePrefix'],\n        pointValueSuffix: ['point', 'valueSuffix'],\n        screenReaderSectionFormatter: [\n            'screenReaderSection',\n            'beforeChartFormatter'\n        ],\n        describeSingleSeries: ['series', 'describeSingleSeries'],\n        seriesDescriptionFormatter: ['series', 'descriptionFormatter'],\n        onTableAnchorClick: ['screenReaderSection', 'onViewDataTableClick'],\n        axisRangeDateFormat: ['screenReaderSection', 'axisRangeDateFormat']\n    });\n}\n/**\n * @private\n */\nfunction copyDeprecatedKeyboardNavigationOptions(chart) {\n    deprecateFromOptionsMap(chart, ['accessibility', 'keyboardNavigation'], ['accessibility', 'keyboardNavigation', 'seriesNavigation'], {\n        skipNullPoints: ['skipNullPoints'],\n        mode: ['mode']\n    });\n}\n/**\n * @private\n */\nfunction copyDeprecatedLangOptions(chart) {\n    deprecateFromOptionsMap(chart, ['lang', 'accessibility'], ['lang', 'accessibility'], {\n        legendItem: ['legend', 'legendItem'],\n        legendLabel: ['legend', 'legendLabel'],\n        mapZoomIn: ['zoom', 'mapZoomIn'],\n        mapZoomOut: ['zoom', 'mapZoomOut'],\n        resetZoomButton: ['zoom', 'resetZoomButton'],\n        screenReaderRegionLabel: [\n            'screenReaderSection',\n            'beforeRegionLabel'\n        ],\n        rangeSelectorButton: ['rangeSelector', 'buttonText'],\n        rangeSelectorMaxInput: ['rangeSelector', 'maxInputLabel'],\n        rangeSelectorMinInput: ['rangeSelector', 'minInputLabel'],\n        svgContainerEnd: ['screenReaderSection', 'endOfChartMarker'],\n        viewAsDataTable: ['table', 'viewAsDataTableButtonText'],\n        tableSummary: ['table', 'tableSummary']\n    });\n}\n/**\n * Copy options that are deprecated over to new options. Logs warnings to\n * console if deprecated options are used.\n *\n * @private\n */\nfunction copyDeprecatedOptions(chart) {\n    copyDeprecatedChartOptions(chart);\n    copyDeprecatedAxisOptions(chart);\n    if (chart.series) {\n        copyDeprecatedSeriesOptions(chart);\n    }\n    copyDeprecatedTopLevelAccessibilityOptions(chart);\n    copyDeprecatedKeyboardNavigationOptions(chart);\n    copyDeprecatedLangOptions(chart);\n}\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const DeprecatedOptions = (copyDeprecatedOptions);\n\n;// ./code/es-modules/Accessibility/Accessibility.js\n/* *\n *\n *  (c) 2009-2024 Øystein Moseng\n *\n *  Accessibility module for Highcharts\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { defaultOptions: Accessibility_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { doc: Accessibility_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: Accessibility_addEvent, extend: Accessibility_extend, fireEvent: Accessibility_fireEvent, merge: Accessibility_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { removeElement: Accessibility_removeElement } = Utils_HTMLUtilities;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* *\n *\n *  Class\n *\n * */\n/**\n * The Accessibility class\n *\n * @private\n * @requires modules/accessibility\n *\n * @class\n * @name Highcharts.Accessibility\n *\n * @param {Highcharts.Chart} chart\n * Chart object\n */\nclass Accessibility {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart) {\n        this.init(chart);\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Initialize the accessibility class\n     * @private\n     * @param {Highcharts.Chart} chart\n     *        Chart object\n     */\n    init(chart) {\n        this.chart = chart;\n        // Abort on old browsers\n        if (!Accessibility_doc.addEventListener) {\n            this.zombie = true;\n            this.components = {};\n            chart.renderTo.setAttribute('aria-hidden', true);\n            return;\n        }\n        // Copy over any deprecated options that are used. We could do this on\n        // every update, but it is probably not needed.\n        DeprecatedOptions(chart);\n        this.proxyProvider = new Accessibility_ProxyProvider(this.chart);\n        this.initComponents();\n        this.keyboardNavigation = new Accessibility_KeyboardNavigation(chart, this.components);\n    }\n    /**\n     * @private\n     */\n    initComponents() {\n        const chart = this.chart;\n        const proxyProvider = this.proxyProvider;\n        const a11yOptions = chart.options.accessibility;\n        this.components = {\n            container: new Components_ContainerComponent(),\n            infoRegions: new Components_InfoRegionsComponent(),\n            legend: new Components_LegendComponent(),\n            chartMenu: new Components_MenuComponent(),\n            rangeSelector: new Components_RangeSelectorComponent(),\n            series: new SeriesComponent_SeriesComponent(),\n            zoom: new Components_ZoomComponent(),\n            navigator: new Components_NavigatorComponent()\n        };\n        if (a11yOptions.customComponents) {\n            Accessibility_extend(this.components, a11yOptions.customComponents);\n        }\n        const components = this.components;\n        this.getComponentOrder().forEach(function (componentName) {\n            components[componentName].initBase(chart, proxyProvider);\n            components[componentName].init();\n        });\n    }\n    /**\n     * Get order to update components in.\n     * @private\n     */\n    getComponentOrder() {\n        if (!this.components) {\n            return []; // For zombie accessibility object on old browsers\n        }\n        if (!this.components.series) {\n            return Object.keys(this.components);\n        }\n        const componentsExceptSeries = Object.keys(this.components)\n            .filter((c) => c !== 'series');\n        // Update series first, so that other components can read accessibility\n        // info on points.\n        return ['series'].concat(componentsExceptSeries);\n    }\n    /**\n     * Update all components.\n     */\n    update() {\n        const components = this.components, chart = this.chart, a11yOptions = chart.options.accessibility;\n        Accessibility_fireEvent(chart, 'beforeA11yUpdate');\n        // Update the chart type list as this is used by multiple modules\n        chart.types = this.getChartTypes();\n        // Update proxies. We don't update proxy positions since most likely we\n        // need to recreate the proxies on update.\n        const kbdNavOrder = a11yOptions.keyboardNavigation.order;\n        this.proxyProvider.updateGroupOrder(kbdNavOrder);\n        // Update markup\n        this.getComponentOrder().forEach(function (componentName) {\n            components[componentName].onChartUpdate();\n            Accessibility_fireEvent(chart, 'afterA11yComponentUpdate', {\n                name: componentName,\n                component: components[componentName]\n            });\n        });\n        // Update keyboard navigation\n        this.keyboardNavigation.update(kbdNavOrder);\n        // Handle high contrast mode\n        // Should only be applied once, and not if explicitly disabled\n        if (!chart.highContrastModeActive &&\n            a11yOptions.highContrastMode !== false && (HighContrastMode.isHighContrastModeActive() ||\n            a11yOptions.highContrastMode === true)) {\n            HighContrastMode.setHighContrastTheme(chart);\n        }\n        Accessibility_fireEvent(chart, 'afterA11yUpdate', {\n            accessibility: this\n        });\n    }\n    /**\n     * Destroy all elements.\n     */\n    destroy() {\n        const chart = this.chart || {};\n        // Destroy components\n        const components = this.components;\n        Object.keys(components).forEach(function (componentName) {\n            components[componentName].destroy();\n            components[componentName].destroyBase();\n        });\n        // Destroy proxy provider\n        if (this.proxyProvider) {\n            this.proxyProvider.destroy();\n        }\n        // Remove announcer container\n        if (chart.announcerContainer) {\n            Accessibility_removeElement(chart.announcerContainer);\n        }\n        // Kill keyboard nav\n        if (this.keyboardNavigation) {\n            this.keyboardNavigation.destroy();\n        }\n        // Hide container from screen readers if it exists\n        if (chart.renderTo) {\n            chart.renderTo.setAttribute('aria-hidden', true);\n        }\n        // Remove focus border if it exists\n        if (chart.focusElement) {\n            chart.focusElement.removeFocusBorder();\n        }\n    }\n    /**\n     * Return a list of the types of series we have in the chart.\n     * @private\n     */\n    getChartTypes() {\n        const types = {};\n        this.chart.series.forEach(function (series) {\n            types[series.type] = 1;\n        });\n        return Object.keys(types);\n    }\n}\n/* *\n *\n *  Class Namespace\n *\n * */\n(function (Accessibility) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Constants\n     *\n     * */\n    Accessibility.i18nFormat = A11yI18n.i18nFormat;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Destroy with chart.\n     * @private\n     */\n    function chartOnDestroy() {\n        if (this.accessibility) {\n            this.accessibility.destroy();\n        }\n    }\n    /**\n     * Handle updates to the module and send render updates to components.\n     * @private\n     */\n    function chartOnRender() {\n        // Update/destroy\n        if (this.a11yDirty && this.renderTo) {\n            delete this.a11yDirty;\n            this.updateA11yEnabled();\n        }\n        const a11y = this.accessibility;\n        if (a11y && !a11y.zombie) {\n            a11y.proxyProvider.updateProxyElementPositions();\n            a11y.getComponentOrder().forEach(function (componentName) {\n                a11y.components[componentName].onChartRender();\n            });\n        }\n    }\n    /**\n     * Update with chart/series/point updates.\n     * @private\n     */\n    function chartOnUpdate(e) {\n        // Merge new options\n        const newOptions = e.options.accessibility;\n        if (newOptions) {\n            // Handle custom component updating specifically\n            if (newOptions.customComponents) {\n                this.options.accessibility.customComponents =\n                    newOptions.customComponents;\n                delete newOptions.customComponents;\n            }\n            Accessibility_merge(true, this.options.accessibility, newOptions);\n            // Recreate from scratch\n            if (this.accessibility && this.accessibility.destroy) {\n                this.accessibility.destroy();\n                delete this.accessibility;\n            }\n        }\n        // Mark dirty for update\n        this.a11yDirty = true;\n    }\n    /**\n     * @private\n     */\n    function chartUpdateA11yEnabled() {\n        let a11y = this.accessibility;\n        const accessibilityOptions = this.options.accessibility, svg = this.renderer.boxWrapper.element, title = this.title;\n        if (accessibilityOptions && accessibilityOptions.enabled) {\n            if (a11y && !a11y.zombie) {\n                a11y.update();\n            }\n            else {\n                this.accessibility = a11y = new Accessibility(this);\n                if (a11y && !a11y.zombie) {\n                    a11y.update();\n                }\n                // If a11y has been disabled, and is now enabled\n                if (svg.getAttribute('role') === 'img') {\n                    svg.removeAttribute('role');\n                }\n            }\n        }\n        else if (a11y) {\n            // Destroy if after update we have a11y and it is disabled\n            if (a11y.destroy) {\n                a11y.destroy();\n            }\n            delete this.accessibility;\n        }\n        else {\n            // If a11y has been disabled dynamically or is disabled\n            this.renderTo.setAttribute('role', 'img');\n            this.renderTo.setAttribute('aria-hidden', false);\n            this.renderTo.setAttribute('aria-label', ((title && title.element.textContent) || '').replace(/</g, '&lt;'));\n            svg.setAttribute('aria-hidden', true);\n            const description = document.getElementsByClassName('highcharts-description')[0];\n            if (description) {\n                description.setAttribute('aria-hidden', false);\n                description.classList.remove('highcharts-linked-description');\n            }\n        }\n    }\n    /**\n     * @private\n     */\n    function compose(ChartClass, LegendClass, PointClass, SeriesClass, SVGElementClass, RangeSelectorClass) {\n        // Ordered:\n        Accessibility_KeyboardNavigation.compose(ChartClass);\n        SeriesComponent_NewDataAnnouncer.compose(SeriesClass);\n        Components_LegendComponent.compose(ChartClass, LegendClass);\n        Components_MenuComponent.compose(ChartClass);\n        SeriesComponent_SeriesComponent.compose(ChartClass, PointClass, SeriesClass);\n        A11yI18n.compose(ChartClass);\n        FocusBorder.compose(ChartClass, SVGElementClass);\n        // RangeSelector\n        if (RangeSelectorClass) {\n            Components_RangeSelectorComponent.compose(ChartClass, RangeSelectorClass);\n        }\n        const chartProto = ChartClass.prototype;\n        if (!chartProto.updateA11yEnabled) {\n            chartProto.updateA11yEnabled = chartUpdateA11yEnabled;\n            Accessibility_addEvent(ChartClass, 'destroy', chartOnDestroy);\n            Accessibility_addEvent(ChartClass, 'render', chartOnRender);\n            Accessibility_addEvent(ChartClass, 'update', chartOnUpdate);\n            // Mark dirty for update\n            ['addSeries', 'init'].forEach((event) => {\n                Accessibility_addEvent(ChartClass, event, function () {\n                    this.a11yDirty = true;\n                });\n            });\n            // Direct updates (events happen after render)\n            ['afterApplyDrilldown', 'drillupall'].forEach((event) => {\n                Accessibility_addEvent(ChartClass, event, function chartOnAfterDrilldown() {\n                    const a11y = this.accessibility;\n                    if (a11y && !a11y.zombie) {\n                        a11y.update();\n                    }\n                });\n            });\n            Accessibility_addEvent(PointClass, 'update', pointOnUpdate);\n            // Mark dirty for update\n            ['update', 'updatedData', 'remove'].forEach((event) => {\n                Accessibility_addEvent(SeriesClass, event, function () {\n                    if (this.chart.accessibility) {\n                        this.chart.a11yDirty = true;\n                    }\n                });\n            });\n        }\n    }\n    Accessibility.compose = compose;\n    /**\n     * Mark dirty for update.\n     * @private\n     */\n    function pointOnUpdate() {\n        if (this.series.chart.accessibility) {\n            this.series.chart.a11yDirty = true;\n        }\n    }\n})(Accessibility || (Accessibility = {}));\n/* *\n *\n *  Registry\n *\n * */\n// Add default options\nAccessibility_merge(true, Accessibility_defaultOptions, A11yDefaults, {\n    accessibility: {\n        highContrastTheme: HighContrastTheme\n    },\n    lang: LangDefaults\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Accessibility_Accessibility = (Accessibility);\n\n;// ./code/es-modules/masters/modules/accessibility.src.js\n\n\n\n\n\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n// Classes\nG.i18nFormat = Accessibility_Accessibility.i18nFormat;\nG.A11yChartUtilities = Utils_ChartUtilities;\nG.A11yHTMLUtilities = Utils_HTMLUtilities;\nG.AccessibilityComponent = Accessibility_AccessibilityComponent;\nG.KeyboardNavigationHandler = Accessibility_KeyboardNavigationHandler;\nG.SeriesAccessibilityDescriber = SeriesComponent_SeriesDescriber;\n// Compositions\nAccessibility_Accessibility.compose(G.Chart, G.Legend, G.Point, G.Series, G.SVGElement, G.RangeSelector);\n/* harmony default export */ const accessibility_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/pattern-fill\n * @requires highcharts\n *\n * Module for adding patterns and images as point fills.\n *\n * (c) 2010-2024 Highsoft AS\n * Author: Torstein Hønsi, Øystein Moseng\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/pattern-fill\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/pattern-fill\"] = factory(root[\"_Highcharts\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ pattern_fill_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n;// ./code/es-modules/Extensions/PatternFill.js\n/* *\n *\n *  Module for using patterns or images as point fills.\n *\n *  (c) 2010-2024 Highsoft AS\n *  Author: Torstein Hønsi, Øystein Moseng\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { getOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent, defined, erase, extend, merge, pick, removeEvent, wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Constants\n *\n * */\nconst patterns = createPatterns();\n/* *\n *\n *  Functions\n *\n * */\n/** @private */\nfunction compose(ChartClass, SeriesClass, SVGRendererClass) {\n    const PointClass = SeriesClass.prototype.pointClass, pointProto = PointClass.prototype;\n    if (!pointProto.calculatePatternDimensions) {\n        addEvent(ChartClass, 'endResize', onChartEndResize);\n        addEvent(ChartClass, 'redraw', onChartRedraw);\n        extend(pointProto, {\n            calculatePatternDimensions: pointCalculatePatternDimensions\n        });\n        addEvent(PointClass, 'afterInit', onPointAfterInit);\n        addEvent(SeriesClass, 'render', onSeriesRender);\n        wrap(SeriesClass.prototype, 'getColor', wrapSeriesGetColor);\n        // Pattern scale corrections\n        addEvent(SeriesClass, 'afterRender', onPatternScaleCorrection);\n        addEvent(SeriesClass, 'mapZoomComplete', onPatternScaleCorrection);\n        extend(SVGRendererClass.prototype, {\n            addPattern: rendererAddPattern\n        });\n        addEvent(SVGRendererClass, 'complexColor', onRendererComplexColor);\n    }\n}\n/**\n * Add the predefined patterns.\n * @private\n */\nfunction createPatterns() {\n    const patterns = [], colors = getOptions().colors;\n    // Start with subtle patterns\n    let i = 0;\n    for (const pattern of [\n        'M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5',\n        'M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5',\n        'M 2 0 L 2 5 M 4 0 L 4 5',\n        'M 0 2 L 5 2 M 0 4 L 5 4',\n        'M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5'\n    ]) {\n        patterns.push({\n            path: pattern,\n            color: colors[i++],\n            width: 5,\n            height: 5,\n            patternTransform: 'scale(1.4 1.4)'\n        });\n    }\n    // Then add the more drastic ones\n    i = 5;\n    for (const pattern of [\n        'M 0 0 L 5 10 L 10 0',\n        'M 3 3 L 8 3 L 8 8 L 3 8 Z',\n        'M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0',\n        'M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11',\n        'M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9'\n    ]) {\n        patterns.push({\n            path: pattern,\n            color: colors[i],\n            width: 10,\n            height: 10\n        });\n        i = i + 5;\n    }\n    return patterns;\n}\n/**\n * Utility function to compute a hash value from an object. Modified Java\n * String.hashCode implementation in JS. Use the preSeed parameter to add an\n * additional seeding step.\n *\n * @private\n * @function hashFromObject\n *\n * @param {Object} obj\n *        The javascript object to compute the hash from.\n *\n * @param {boolean} [preSeed=false]\n *        Add an optional preSeed stage.\n *\n * @return {string}\n *         The computed hash.\n */\nfunction hashFromObject(obj, preSeed) {\n    const str = JSON.stringify(obj), strLen = str.length || 0;\n    let hash = 0, i = 0, char, seedStep;\n    if (preSeed) {\n        seedStep = Math.max(Math.floor(strLen / 500), 1);\n        for (let a = 0; a < strLen; a += seedStep) {\n            hash += str.charCodeAt(a);\n        }\n        hash = hash & hash;\n    }\n    for (; i < strLen; ++i) {\n        char = str.charCodeAt(i);\n        hash = ((hash << 5) - hash) + char;\n        hash = hash & hash;\n    }\n    return hash.toString(16).replace('-', '1');\n}\n/**\n * When animation is used, we have to recalculate pattern dimensions after\n * resize, as the bounding boxes are not available until then.\n * @private\n */\nfunction onChartEndResize() {\n    if (this.renderer &&\n        (this.renderer.defIds || []).filter((id) => (id &&\n            id.indexOf &&\n            id.indexOf('highcharts-pattern-') === 0)).length) {\n        // We have non-default patterns to fix. Find them by looping through\n        // all points.\n        for (const series of this.series) {\n            if (series.visible) {\n                for (const point of series.points) {\n                    const colorOptions = point.options && point.options.color;\n                    if (colorOptions &&\n                        colorOptions.pattern) {\n                        colorOptions.pattern\n                            ._width = 'defer';\n                        colorOptions.pattern\n                            ._height = 'defer';\n                    }\n                }\n            }\n        }\n        // Redraw without animation\n        this.redraw(false);\n    }\n}\n/**\n * Add a garbage collector to delete old patterns with autogenerated hashes that\n * are no longer being referenced.\n * @private\n */\nfunction onChartRedraw() {\n    const usedIds = {}, renderer = this.renderer, \n    // Get the autocomputed patterns - these are the ones we might delete\n    patterns = (renderer.defIds || []).filter((pattern) => (pattern.indexOf &&\n        pattern.indexOf('highcharts-pattern-') === 0));\n    if (patterns.length) {\n        // Look through the DOM for usage of the patterns. This can be points,\n        // series, tooltips etc.\n        [].forEach.call(this.renderTo.querySelectorAll('[color^=\"url(\"], [fill^=\"url(\"], [stroke^=\"url(\"]'), (node) => {\n            const id = node.getAttribute('fill') ||\n                node.getAttribute('color') ||\n                node.getAttribute('stroke');\n            if (id) {\n                const sanitizedId = id\n                    .replace(renderer.url, '')\n                    .replace('url(#', '')\n                    .replace(')', '');\n                usedIds[sanitizedId] = true;\n            }\n        });\n        // Loop through the patterns that exist and see if they are used\n        for (const id of patterns) {\n            if (!usedIds[id]) {\n                // Remove id from used id list\n                erase(renderer.defIds, id);\n                // Remove pattern element\n                if (renderer.patternElements[id]) {\n                    renderer.patternElements[id].destroy();\n                    delete renderer.patternElements[id];\n                }\n            }\n        }\n    }\n}\n/**\n * Merge series color options to points.\n * @private\n */\nfunction onPointAfterInit() {\n    const point = this, colorOptions = point.options.color;\n    // Only do this if we have defined a specific color on this point. Otherwise\n    // we will end up trying to re-add the series color for each point.\n    if (colorOptions && colorOptions.pattern) {\n        // Move path definition to object, allows for merge with series path\n        // definition\n        if (typeof colorOptions.pattern.path === 'string') {\n            colorOptions.pattern.path = {\n                d: colorOptions.pattern.path\n            };\n        }\n        // Merge with series options\n        point.color = point.options.color = merge(point.series.options.color, colorOptions);\n    }\n}\n/**\n * Add functionality to SVG renderer to handle patterns as complex colors.\n * @private\n */\nfunction onRendererComplexColor(args) {\n    const color = args.args[0], prop = args.args[1], element = args.args[2], chartIndex = (this.chartIndex || 0);\n    let pattern = color.pattern, value = \"#333333\" /* Palette.neutralColor80 */;\n    // Handle patternIndex\n    if (typeof color.patternIndex !== 'undefined' && patterns) {\n        pattern = patterns[color.patternIndex];\n    }\n    // Skip and call default if there is no pattern\n    if (!pattern) {\n        return true;\n    }\n    // We have a pattern.\n    if (pattern.image ||\n        typeof pattern.path === 'string' ||\n        pattern.path && pattern.path.d) {\n        // Real pattern. Add it and set the color value to be a reference.\n        // Force Hash-based IDs for legend items, as they are drawn before\n        // point render, meaning they are drawn before autocalculated image\n        // width/heights. We don't want them to highjack the width/height for\n        // this ID if it is defined by users.\n        let forceHashId = element.parentNode &&\n            element.parentNode.getAttribute('class');\n        forceHashId = forceHashId &&\n            forceHashId.indexOf('highcharts-legend') > -1;\n        // If we don't have a width/height yet, handle it. Try faking a point\n        // and running the algorithm again.\n        if (pattern._width === 'defer' || pattern._height === 'defer') {\n            pointCalculatePatternDimensions.call({ graphic: { element: element } }, pattern);\n        }\n        // If we don't have an explicit ID, compute a hash from the\n        // definition and use that as the ID. This ensures that points with\n        // the same pattern definition reuse existing pattern elements by\n        // default. We combine two hashes, the second with an additional\n        // preSeed algorithm, to minimize collision probability.\n        if (forceHashId || !pattern.id) {\n            // Make a copy so we don't accidentally edit options when setting ID\n            pattern = merge({}, pattern);\n            pattern.id = 'highcharts-pattern-' + chartIndex + '-' +\n                hashFromObject(pattern) + hashFromObject(pattern, true);\n        }\n        // Add it. This function does nothing if an element with this ID\n        // already exists.\n        this.addPattern(pattern, !this.forExport && pick(pattern.animation, this.globalAnimation, { duration: 100 }));\n        value = `url(${this.url}#${pattern.id + (this.forExport ? '-export' : '')})`;\n    }\n    else {\n        // Not a full pattern definition, just add color\n        value = pattern.color || value;\n    }\n    // Set the fill/stroke prop on the element\n    element.setAttribute(prop, value);\n    // Allow the color to be concatenated into tooltips formatters etc.\n    color.toString = function () {\n        return value;\n    };\n    // Skip default handler\n    return false;\n}\n/**\n * Calculate pattern dimensions on points that have their own pattern.\n * @private\n */\nfunction onSeriesRender() {\n    const isResizing = this.chart.isResizing;\n    if (this.isDirtyData || isResizing || !this.chart.hasRendered) {\n        for (const point of this.points) {\n            const colorOptions = point.options && point.options.color;\n            if (colorOptions &&\n                colorOptions.pattern) {\n                // For most points we want to recalculate the dimensions on\n                // render, where we have the shape args and bbox. But if we\n                // are resizing and don't have the shape args, defer it, since\n                // the bounding box is still not resized.\n                if (isResizing &&\n                    !(point.shapeArgs &&\n                        point.shapeArgs.width &&\n                        point.shapeArgs.height)) {\n                    colorOptions\n                        .pattern._width = 'defer';\n                    colorOptions\n                        .pattern._height = 'defer';\n                }\n                else {\n                    point.calculatePatternDimensions(colorOptions.pattern);\n                }\n            }\n        }\n    }\n}\n/**\n * Set dimensions on pattern from point. This function will set internal\n * pattern._width/_height properties if width and height are not both already\n * set. We only do this on image patterns. The _width/_height properties are set\n * to the size of the bounding box of the point, optionally taking aspect ratio\n * into account. If only one of width or height are supplied as options, the\n * undefined option is calculated as above.\n *\n * @private\n * @function Highcharts.Point#calculatePatternDimensions\n *\n * @param {Highcharts.PatternOptionsObject} pattern\n *        The pattern to set dimensions on.\n *\n * @return {void}\n *\n * @requires modules/pattern-fill\n */\nfunction pointCalculatePatternDimensions(pattern) {\n    if (pattern.width && pattern.height) {\n        return;\n    }\n    const bBox = this.graphic && (this.graphic.getBBox &&\n        this.graphic.getBBox(true) ||\n        this.graphic.element &&\n            this.graphic.element.getBBox()) || {}, shapeArgs = this.shapeArgs;\n    // Prefer using shapeArgs, as it is animation agnostic\n    if (shapeArgs) {\n        bBox.width = shapeArgs.width || bBox.width;\n        bBox.height = shapeArgs.height || bBox.height;\n        bBox.x = shapeArgs.x || bBox.x;\n        bBox.y = shapeArgs.y || bBox.y;\n    }\n    // For images we stretch to bounding box\n    if (pattern.image) {\n        // If we do not have a bounding box at this point, simply add a defer\n        // key and pick this up in the fillSetter handler, where the bounding\n        // box should exist.\n        if (!bBox.width || !bBox.height) {\n            pattern._width = 'defer';\n            pattern._height = 'defer';\n            // Mark the pattern to be flipped later if upside down (#16810)\n            const scaleY = this.series.chart.mapView &&\n                this.series.chart.mapView.getSVGTransform().scaleY;\n            if (defined(scaleY) && scaleY < 0) {\n                pattern._inverted = true;\n            }\n            return;\n        }\n        // Handle aspect ratio filling\n        if (pattern.aspectRatio) {\n            bBox.aspectRatio = bBox.width / bBox.height;\n            if (pattern.aspectRatio > bBox.aspectRatio) {\n                // Height of bBox will determine width\n                bBox.aspectWidth = bBox.height * pattern.aspectRatio;\n            }\n            else {\n                // Width of bBox will determine height\n                bBox.aspectHeight = bBox.width / pattern.aspectRatio;\n            }\n        }\n        // We set the width/height on internal properties to differentiate\n        // between the options set by a user and by this function.\n        pattern._width = pattern.width ||\n            Math.ceil(bBox.aspectWidth || bBox.width);\n        pattern._height = pattern.height ||\n            Math.ceil(bBox.aspectHeight || bBox.height);\n    }\n    // Set x/y accordingly, centering if using aspect ratio, otherwise adjusting\n    // so bounding box corner is 0,0 of pattern.\n    if (!pattern.width) {\n        pattern._x = pattern.x || 0;\n        pattern._x += bBox.x - Math.round(bBox.aspectWidth ?\n            Math.abs(bBox.aspectWidth - bBox.width) / 2 :\n            0);\n    }\n    if (!pattern.height) {\n        pattern._y = pattern.y || 0;\n        pattern._y += bBox.y - Math.round(bBox.aspectHeight ?\n            Math.abs(bBox.aspectHeight - bBox.height) / 2 :\n            0);\n    }\n}\n/**\n * Add a pattern to the renderer.\n *\n * @private\n * @function Highcharts.SVGRenderer#addPattern\n *\n * @param {Highcharts.PatternObject} options\n * The pattern options.\n *\n * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n * The animation options.\n *\n * @return {Highcharts.SVGElement|undefined}\n * The added pattern. Undefined if the pattern already exists.\n *\n * @requires modules/pattern-fill\n */\nfunction rendererAddPattern(options, animation) {\n    const animate = pick(animation, true), animationOptions = animObject(animate), color = options.color || \"#333333\" /* Palette.neutralColor80 */, defaultSize = 32, height = options.height ||\n        (typeof options._height === 'number' ? options._height : 0) ||\n        defaultSize, rect = (fill) => this\n        .rect(0, 0, width, height)\n        .attr({ fill })\n        .add(pattern), width = options.width ||\n        (typeof options._width === 'number' ? options._width : 0) ||\n        defaultSize;\n    let attribs, id = options.id, path;\n    if (!id) {\n        this.idCounter = this.idCounter || 0;\n        id = ('highcharts-pattern-' +\n            this.idCounter +\n            '-' +\n            (this.chartIndex || 0));\n        ++this.idCounter;\n    }\n    if (this.forExport) {\n        id += '-export';\n    }\n    // Do nothing if ID already exists\n    this.defIds = this.defIds || [];\n    if (this.defIds.indexOf(id) > -1) {\n        return;\n    }\n    // Store ID in list to avoid duplicates\n    this.defIds.push(id);\n    // Calculate pattern element attributes\n    const attrs = {\n        id: id,\n        patternUnits: 'userSpaceOnUse',\n        patternContentUnits: options.patternContentUnits || 'userSpaceOnUse',\n        width: width,\n        height: height,\n        x: options._x || options.x || 0,\n        y: options._y || options.y || 0\n    };\n    if (options._inverted) {\n        attrs.patternTransform = 'scale(1, -1)'; // (#16810)\n        if (options.patternTransform) {\n            options.patternTransform += ' scale(1, -1)';\n        }\n    }\n    if (options.patternTransform) {\n        attrs.patternTransform = options.patternTransform;\n    }\n    const pattern = this.createElement('pattern').attr(attrs).add(this.defs);\n    // Set id on the SVGRenderer object\n    pattern.id = id;\n    // Use an SVG path for the pattern\n    if (options.path) {\n        path = highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default().isObject(options.path) ?\n            options.path :\n            { d: options.path };\n        // The background\n        if (options.backgroundColor) {\n            rect(options.backgroundColor);\n        }\n        // The pattern\n        attribs = {\n            'd': path.d\n        };\n        if (!this.styledMode) {\n            attribs.stroke = path.stroke || color;\n            attribs['stroke-width'] = pick(path.strokeWidth, 2);\n            attribs.fill = path.fill || 'none';\n        }\n        if (path.transform) {\n            attribs.transform = path.transform;\n        }\n        this.createElement('path').attr(attribs).add(pattern);\n        pattern.color = color;\n        // Image pattern\n    }\n    else if (options.image) {\n        if (animate) {\n            this.image(options.image, 0, 0, width, height, function () {\n                // Onload\n                this.animate({\n                    opacity: pick(options.opacity, 1)\n                }, animationOptions);\n                removeEvent(this.element, 'load');\n            }).attr({ opacity: 0 }).add(pattern);\n        }\n        else {\n            this.image(options.image, 0, 0, width, height).add(pattern);\n        }\n    }\n    // For non-animated patterns, set opacity now\n    if (!(options.image && animate) && typeof options.opacity !== 'undefined') {\n        [].forEach.call(pattern.element.childNodes, (child) => {\n            child.setAttribute('opacity', options.opacity);\n        });\n    }\n    // Store for future reference\n    this.patternElements = this.patternElements || {};\n    this.patternElements[id] = pattern;\n    return pattern;\n}\n/**\n * Make sure we have a series color.\n * @private\n */\nfunction wrapSeriesGetColor(proceed) {\n    const oldColor = this.options.color;\n    // Temporarily remove color options to get defaults\n    if (oldColor &&\n        oldColor.pattern &&\n        !oldColor.pattern.color) {\n        delete this.options.color;\n        // Get default\n        proceed.apply(this, [].slice.call(arguments, 1));\n        // Replace with old, but add default color\n        oldColor.pattern.color =\n            this.color;\n        this.color = this.options.color = oldColor;\n    }\n    else {\n        // We have a color, no need to do anything special\n        proceed.apply(this, [].slice.call(arguments, 1));\n    }\n}\n/**\n * Scale patterns inversely to the series it's used in.\n * Maintains a visual (1,1) scale regardless of size.\n * @private\n */\nfunction onPatternScaleCorrection() {\n    const series = this;\n    // If not a series used in a map chart, skip it.\n    if (!series.chart?.mapView) {\n        return;\n    }\n    const chart = series.chart, renderer = chart.renderer, patterns = renderer.patternElements;\n    // Only scale if we have patterns to scale.\n    if (renderer.defIds?.length && patterns) {\n        // Filter for points which have patterns that don't use images assigned\n        // and has a group scale available.\n        series.points.filter(function (p) {\n            const point = p;\n            // No graphic we can fetch id from, filter out this point.\n            if (!point.graphic) {\n                return false;\n            }\n            return (point.graphic.element.hasAttribute('fill') ||\n                point.graphic.element.hasAttribute('color') ||\n                point.graphic.element.hasAttribute('stroke')) &&\n                !point.options.color?.pattern?.image &&\n                !!point.group?.scaleX &&\n                !!point.group?.scaleY;\n        })\n            // Map up pattern id's and their scales.\n            .map(function (p) {\n            const point = p;\n            // Parse the id from the graphic element of the point.\n            const id = (point.graphic?.element.getAttribute('fill') ||\n                point.graphic?.element.getAttribute('color') ||\n                point.graphic?.element.getAttribute('stroke') || '')\n                .replace(renderer.url, '')\n                .replace('url(#', '')\n                .replace(')', '');\n            return {\n                id,\n                x: point.group?.scaleX || 1,\n                y: point.group?.scaleY || 1\n            };\n        })\n            // Filter out colors and other non-patterns, as well as duplicates.\n            .filter(function (pointInfo, index, arr) {\n            return pointInfo.id !== '' &&\n                pointInfo.id.indexOf('highcharts-pattern-') !== -1 &&\n                !arr.some(function (otherInfo, otherIndex) {\n                    return otherInfo.id === pointInfo.id && otherIndex < index;\n                });\n        })\n            .forEach(function (pointInfo) {\n            const id = pointInfo.id;\n            patterns[id].scaleX = 1 / pointInfo.x;\n            patterns[id].scaleY = 1 / pointInfo.y;\n            patterns[id].updateTransform('patternTransform');\n        });\n    }\n}\n/* *\n *\n *  Export\n *\n * */\nconst PatternFill = {\n    compose,\n    patterns\n};\n/* harmony default export */ const Extensions_PatternFill = (PatternFill);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Pattern options\n *\n * @interface Highcharts.PatternOptionsObject\n */ /**\n* Background color for the pattern if a `path` is set (not images).\n* @name Highcharts.PatternOptionsObject#backgroundColor\n* @type {Highcharts.ColorString|undefined}\n*/ /**\n* URL to an image to use as the pattern.\n* @name Highcharts.PatternOptionsObject#image\n* @type {string|undefined}\n*/ /**\n* Width of the pattern. For images this is automatically set to the width of\n* the element bounding box if not supplied. For non-image patterns the default\n* is 32px. Note that automatic resizing of image patterns to fill a bounding\n* box dynamically is only supported for patterns with an automatically\n* calculated ID.\n* @name Highcharts.PatternOptionsObject#width\n* @type {number|undefined}\n*/ /**\n* Analogous to pattern.width.\n* @name Highcharts.PatternOptionsObject#height\n* @type {number|undefined}\n*/ /**\n* For automatically calculated width and height on images, it is possible to\n* set an aspect ratio. The image will be zoomed to fill the bounding box,\n* maintaining the aspect ratio defined.\n* @name Highcharts.PatternOptionsObject#aspectRatio\n* @type {number|undefined}\n*/ /**\n* Horizontal offset of the pattern. Defaults to 0.\n* @name Highcharts.PatternOptionsObject#x\n* @type {number|undefined}\n*/ /**\n* Vertical offset of the pattern. Defaults to 0.\n* @name Highcharts.PatternOptionsObject#y\n* @type {number|undefined}\n*/ /**\n* Either an SVG path as string, or an object. As an object, supply the path\n* string in the `path.d` property. Other supported properties are standard SVG\n* attributes like `path.stroke` and `path.fill`. If a path is supplied for the\n* pattern, the `image` property is ignored.\n* @name Highcharts.PatternOptionsObject#path\n* @type {string|Highcharts.SVGAttributes|undefined}\n*/ /**\n* SVG `patternTransform` to apply to the entire pattern.\n* @name Highcharts.PatternOptionsObject#patternTransform\n* @type {string|undefined}\n* @see [patternTransform demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/series/pattern-fill-transform)\n*/ /**\n* Pattern color, used as default path stroke.\n* @name Highcharts.PatternOptionsObject#color\n* @type {Highcharts.ColorString|undefined}\n*/ /**\n* Opacity of the pattern as a float value from 0 to 1.\n* @name Highcharts.PatternOptionsObject#opacity\n* @type {number|undefined}\n*/ /**\n* ID to assign to the pattern. This is automatically computed if not added, and\n* identical patterns are reused. To refer to an existing pattern for a\n* Highcharts color, use `color: \"url(#pattern-id)\"`.\n* @name Highcharts.PatternOptionsObject#id\n* @type {string|undefined}\n*/\n/**\n * Holds a pattern definition.\n *\n * @sample highcharts/series/pattern-fill-area/\n *         Define a custom path pattern\n * @sample highcharts/series/pattern-fill-pie/\n *         Default patterns and a custom image pattern\n * @sample maps/demo/pattern-fill-map/\n *         Custom images on map\n *\n * @example\n * // Pattern used as a color option\n * color: {\n *     pattern: {\n *            path: {\n *                 d: 'M 3 3 L 8 3 L 8 8 Z',\n *                fill: '#102045'\n *            },\n *            width: 12,\n *            height: 12,\n *            color: '#907000',\n *            opacity: 0.5\n *     }\n * }\n *\n * @interface Highcharts.PatternObject\n */ /**\n* Pattern options\n* @name Highcharts.PatternObject#pattern\n* @type {Highcharts.PatternOptionsObject}\n*/ /**\n* Animation options for the image pattern loading.\n* @name Highcharts.PatternObject#animation\n* @type {boolean|Partial<Highcharts.AnimationOptionsObject>|undefined}\n*/ /**\n* Optionally an index referencing which pattern to use. Highcharts adds\n* 10 default patterns to the `Highcharts.patterns` array. Additional\n* pattern definitions can be pushed to this array if desired. This option\n* is an index into this array.\n* @name Highcharts.PatternObject#patternIndex\n* @type {number|undefined}\n*/\n''; // Keeps doclets above in transpiled file\n\n;// ./code/es-modules/masters/modules/pattern-fill.src.js\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nG.patterns = Extensions_PatternFill.patterns;\nExtensions_PatternFill.compose(G.Chart, G.Series, G.SVGRenderer);\n/* harmony default export */ const pattern_fill_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highcharts JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/drilldown\n * @requires highcharts\n *\n * Highcharts Drilldown module\n *\n * Author: Torstein Honsi\n * License: www.highcharts.com/license\n *\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Templating\"], root[\"_Highcharts\"][\"Color\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/drilldown\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"Templating\"],amd1[\"Color\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/drilldown\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"Templating\"], root[\"_Highcharts\"][\"Color\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"Templating\"], root[\"Highcharts\"][\"Color\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__984__, __WEBPACK_EXTERNAL_MODULE__620__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 620:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__620__;\n\n/***/ }),\n\n/***/ 984:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__984__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ drilldown_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n;// ./code/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js\n/* *\n *\n *  Highcharts Breadcrumbs module\n *\n *  Authors: Grzegorz Blachlinski, Karol Kolodziej\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  Constants\n *\n * */\n/**\n * @optionparent lang\n */\nconst lang = {\n    /**\n     * @since   10.0.0\n     * @product highcharts highmaps\n     *\n     * @private\n     */\n    mainBreadcrumb: 'Main'\n};\n/**\n * Options for breadcrumbs. Breadcrumbs general options are defined in\n * `navigation.breadcrumbs`. Specific options for drilldown are set in\n * `drilldown.breadcrumbs` and for tree-like series traversing, in\n * `plotOptions[series].breadcrumbs`.\n *\n * @since        10.0.0\n * @product      highcharts\n * @optionparent navigation.breadcrumbs\n */\nconst options = {\n    /**\n     * A collection of attributes for the buttons. The object takes SVG\n     * attributes like `fill`, `stroke`, `stroke-width`, as well as `style`,\n     * a collection of CSS properties for the text.\n     *\n     * The object can also be extended with states, so you can set\n     * presentational options for `hover`, `select` or `disabled` button\n     * states.\n     *\n     * @sample {highcharts} highcharts/breadcrumbs/single-button\n     *         Themed, single button\n     *\n     * @type    {Highcharts.SVGAttributes}\n     * @since   10.0.0\n     * @product highcharts\n     */\n    buttonTheme: {\n        /** @ignore */\n        fill: 'none',\n        /** @ignore */\n        height: 18,\n        /** @ignore */\n        padding: 2,\n        /** @ignore */\n        'stroke-width': 0,\n        /** @ignore */\n        zIndex: 7,\n        /** @ignore */\n        states: {\n            select: {\n                fill: 'none'\n            }\n        },\n        style: {\n            color: \"#334eff\" /* Palette.highlightColor80 */\n        }\n    },\n    /**\n     * The default padding for each button and separator in each direction.\n     *\n     * @type  {number}\n     * @since 10.0.0\n     */\n    buttonSpacing: 5,\n    /**\n     * Fires when clicking on the breadcrumbs button. Two arguments are\n     * passed to the function. First breadcrumb button as an SVG element.\n     * Second is the breadcrumbs class, containing reference to the chart,\n     * series etc.\n     *\n     * ```js\n     * click: function(button, breadcrumbs) {\n     *   console.log(button);\n     * }\n     * ```\n     *\n     * Return false to stop default buttons click action.\n     *\n     * @type      {Highcharts.BreadcrumbsClickCallbackFunction}\n     * @since     10.0.0\n     * @apioption navigation.breadcrumbs.events.click\n     */\n    /**\n     * When the breadcrumbs are floating, the plot area will not move to\n     * make space for it. By default, the chart will not make space for the\n     * buttons. This property won't work when positioned in the middle.\n     *\n     * @sample highcharts/breadcrumbs/single-button\n     *         Floating button\n     *\n     * @type  {boolean}\n     * @since 10.0.0\n     */\n    floating: false,\n    /**\n     * A format string for the breadcrumbs button. Variables are enclosed by\n     * curly brackets. Available values are passed in the declared point\n     * options.\n     *\n     * @type      {string|undefined}\n     * @since 10.0.0\n     * @default   undefined\n     * @sample {highcharts} highcharts/breadcrumbs/format Display custom\n     *          values in breadcrumb button.\n     */\n    format: void 0,\n    /**\n     * Callback function to format the breadcrumb text from scratch.\n     *\n     * @type      {Highcharts.BreadcrumbsFormatterCallbackFunction}\n     * @since     10.0.0\n     * @default   undefined\n     * @apioption navigation.breadcrumbs.formatter\n     */\n    /**\n     * What box to align the button to. Can be either `plotBox` or\n     * `spacingBox`.\n     *\n     * @type    {Highcharts.ButtonRelativeToValue}\n     * @default plotBox\n     * @since   10.0.0\n     * @product highcharts highmaps\n     */\n    relativeTo: 'plotBox',\n    /**\n     * Whether to reverse the order of buttons. This is common in Arabic\n     * and Hebrew.\n     *\n     * @sample {highcharts} highcharts/breadcrumbs/rtl\n     *         Breadcrumbs in RTL\n     *\n     * @type  {boolean}\n     * @since 10.2.0\n     */\n    rtl: false,\n    /**\n     * Positioning for the button row. The breadcrumbs buttons will be\n     * aligned properly for the default chart layout (title,  subtitle,\n     * legend, range selector) for the custom chart layout set the position\n     * properties.\n     *\n     * @sample  {highcharts} highcharts/breadcrumbs/single-button\n     *          Single, right aligned button\n     *\n     * @type    {Highcharts.BreadcrumbsAlignOptions}\n     * @since   10.0.0\n     * @product highcharts highmaps\n     */\n    position: {\n        /**\n         * Horizontal alignment of the breadcrumbs buttons.\n         *\n         * @type {Highcharts.AlignValue}\n         */\n        align: 'left',\n        /**\n         * Vertical alignment of the breadcrumbs buttons.\n         *\n         * @type {Highcharts.VerticalAlignValue}\n         */\n        verticalAlign: 'top',\n        /**\n         * The X offset of the breadcrumbs button group.\n         *\n         * @type {number}\n         */\n        x: 0,\n        /**\n         * The Y offset of the breadcrumbs button group. When `undefined`,\n         * and `floating` is `false`, the `y` position is adapted so that\n         * the breadcrumbs are rendered outside the target area.\n         *\n         * @type {number|undefined}\n         */\n        y: void 0\n    },\n    /**\n     * Options object for Breadcrumbs separator.\n     *\n     * @since 10.0.0\n     */\n    separator: {\n        /**\n         * @type    {string}\n         * @since   10.0.0\n         * @product highcharts\n         */\n        text: '/',\n        /**\n         * CSS styles for the breadcrumbs separator.\n         *\n         * In styled mode, the breadcrumbs separators are styled by the\n         * `.highcharts-separator` rule with its different states.\n         *  @type  {Highcharts.CSSObject}\n         *  @since 10.0.0\n         */\n        style: {\n            color: \"#666666\" /* Palette.neutralColor60 */,\n            fontSize: '0.8em'\n        }\n    },\n    /**\n     * Show full path or only a single button.\n     *\n     * @sample {highcharts} highcharts/breadcrumbs/single-button\n     *         Single, styled button\n     *\n     * @type  {boolean}\n     * @since 10.0.0\n     */\n    showFullPath: true,\n    /**\n     * CSS styles for all breadcrumbs.\n     *\n     * In styled mode, the breadcrumbs buttons are styled by the\n     * `.highcharts-breadcrumbs-buttons .highcharts-button` rule with its\n     * different states.\n     *\n     * @type  {Highcharts.SVGAttributes}\n     * @since 10.0.0\n     */\n    style: {},\n    /**\n     * Whether to use HTML to render the breadcrumbs items texts.\n     *\n     * @type  {boolean}\n     * @since 10.0.0\n     */\n    useHTML: false,\n    /**\n     * The z index of the breadcrumbs group.\n     *\n     * @type  {number}\n     * @since 10.0.0\n     */\n    zIndex: 7\n};\n/* *\n *\n *  Default Export\n *\n * */\nconst BreadcrumbsDefaults = {\n    lang,\n    options\n};\n/* harmony default export */ const Breadcrumbs_BreadcrumbsDefaults = (BreadcrumbsDefaults);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Templating\"],\"commonjs\":[\"highcharts\",\"Templating\"],\"commonjs2\":[\"highcharts\",\"Templating\"],\"root\":[\"Highcharts\",\"Templating\"]}\nvar highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_ = __webpack_require__(984);\nvar highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default = /*#__PURE__*/__webpack_require__.n(highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_);\n;// ./code/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js\n/* *\n *\n *  Highcharts Breadcrumbs module\n *\n *  Authors: Grzegorz Blachlinski, Karol Kolodziej\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { format } = (highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default());\n\nconst { composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent, defined, extend, fireEvent, isString, merge, objectEach, pick, pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Shift the drillUpButton to make the space for resetZoomButton, #8095.\n * @private\n */\nfunction onChartAfterShowResetZoom() {\n    const chart = this;\n    if (chart.breadcrumbs) {\n        const bbox = chart.resetZoomButton &&\n            chart.resetZoomButton.getBBox(), breadcrumbsOptions = chart.breadcrumbs.options;\n        if (bbox &&\n            breadcrumbsOptions.position.align === 'right' &&\n            breadcrumbsOptions.relativeTo === 'plotBox') {\n            chart.breadcrumbs.alignBreadcrumbsGroup(-bbox.width - breadcrumbsOptions.buttonSpacing);\n        }\n    }\n}\n/**\n * Remove resize/afterSetExtremes at chart destroy.\n * @private\n */\nfunction onChartDestroy() {\n    if (this.breadcrumbs) {\n        this.breadcrumbs.destroy();\n        this.breadcrumbs = void 0;\n    }\n}\n/**\n * Logic for making space for the buttons above the plot area\n * @private\n */\nfunction onChartGetMargins() {\n    const breadcrumbs = this.breadcrumbs;\n    if (breadcrumbs &&\n        !breadcrumbs.options.floating &&\n        breadcrumbs.level) {\n        const breadcrumbsOptions = breadcrumbs.options, buttonTheme = breadcrumbsOptions.buttonTheme, breadcrumbsHeight = ((buttonTheme.height || 0) +\n            2 * (buttonTheme.padding || 0) +\n            breadcrumbsOptions.buttonSpacing), verticalAlign = breadcrumbsOptions.position.verticalAlign;\n        if (verticalAlign === 'bottom') {\n            this.marginBottom = (this.marginBottom || 0) + breadcrumbsHeight;\n            breadcrumbs.yOffset = breadcrumbsHeight;\n        }\n        else if (verticalAlign !== 'middle') {\n            this.plotTop += breadcrumbsHeight;\n            breadcrumbs.yOffset = -breadcrumbsHeight;\n        }\n        else {\n            breadcrumbs.yOffset = void 0;\n        }\n    }\n}\n/**\n * @private\n */\nfunction onChartRedraw() {\n    this.breadcrumbs && this.breadcrumbs.redraw();\n}\n/**\n * After zooming out, shift the drillUpButton to the previous position, #8095.\n * @private\n */\nfunction onChartSelection(event) {\n    if (event.resetSelection === true &&\n        this.breadcrumbs) {\n        this.breadcrumbs.alignBreadcrumbsGroup();\n    }\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * The Breadcrumbs class\n *\n * @private\n * @class\n * @name Highcharts.Breadcrumbs\n *\n * @param {Highcharts.Chart} chart\n *        Chart object\n * @param {Highcharts.Options} userOptions\n *        User options\n */\nclass Breadcrumbs {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    static compose(ChartClass, highchartsDefaultOptions) {\n        if (pushUnique(composed, 'Breadcrumbs')) {\n            addEvent(ChartClass, 'destroy', onChartDestroy);\n            addEvent(ChartClass, 'afterShowResetZoom', onChartAfterShowResetZoom);\n            addEvent(ChartClass, 'getMargins', onChartGetMargins);\n            addEvent(ChartClass, 'redraw', onChartRedraw);\n            addEvent(ChartClass, 'selection', onChartSelection);\n            // Add language support.\n            extend(highchartsDefaultOptions.lang, Breadcrumbs_BreadcrumbsDefaults.lang);\n        }\n    }\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart, userOptions) {\n        this.elementList = {};\n        this.isDirty = true;\n        this.level = 0;\n        this.list = [];\n        const chartOptions = merge(chart.options.drilldown &&\n            chart.options.drilldown.drillUpButton, Breadcrumbs.defaultOptions, chart.options.navigation && chart.options.navigation.breadcrumbs, userOptions);\n        this.chart = chart;\n        this.options = chartOptions || {};\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Update Breadcrumbs properties, like level and list.\n     *\n     * @function Highcharts.Breadcrumbs#updateProperties\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    updateProperties(list) {\n        this.setList(list);\n        this.setLevel();\n        this.isDirty = true;\n    }\n    /**\n     * Set breadcrumbs list.\n     * @function Highcharts.Breadcrumbs#setList\n     *\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     * @param {Highcharts.BreadcrumbsOptions} list\n     *        Breadcrumbs list.\n     */\n    setList(list) {\n        this.list = list;\n    }\n    /**\n     * Calculate level on which chart currently is.\n     *\n     * @function Highcharts.Breadcrumbs#setLevel\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    setLevel() {\n        this.level = this.list.length && this.list.length - 1;\n    }\n    /**\n     * Get Breadcrumbs level\n     *\n     * @function Highcharts.Breadcrumbs#getLevel\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    getLevel() {\n        return this.level;\n    }\n    /**\n     * Default button text formatter.\n     *\n     * @function Highcharts.Breadcrumbs#getButtonText\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     * @param {Highcharts.Breadcrumbs} breadcrumb\n     *        Breadcrumb.\n     * @return {string}\n     *         Formatted text.\n     */\n    getButtonText(breadcrumb) {\n        const breadcrumbs = this, chart = breadcrumbs.chart, breadcrumbsOptions = breadcrumbs.options, lang = chart.options.lang, textFormat = pick(breadcrumbsOptions.format, breadcrumbsOptions.showFullPath ?\n            '{level.name}' : '← {level.name}'), defaultText = lang && pick(lang.drillUpText, lang.mainBreadcrumb);\n        let returnText = breadcrumbsOptions.formatter &&\n            breadcrumbsOptions.formatter(breadcrumb) ||\n            format(textFormat, { level: breadcrumb.levelOptions }, chart) || '';\n        if (((isString(returnText) &&\n            !returnText.length) ||\n            returnText === '← ') &&\n            defined(defaultText)) {\n            returnText = !breadcrumbsOptions.showFullPath ?\n                '← ' + defaultText :\n                defaultText;\n        }\n        return returnText;\n    }\n    /**\n     * Redraw.\n     *\n     * @function Highcharts.Breadcrumbs#redraw\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    redraw() {\n        if (this.isDirty) {\n            this.render();\n        }\n        if (this.group) {\n            this.group.align();\n        }\n        this.isDirty = false;\n    }\n    /**\n     * Create a group, then draw breadcrumbs together with the separators.\n     *\n     * @function Highcharts.Breadcrumbs#render\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    render() {\n        const breadcrumbs = this, chart = breadcrumbs.chart, breadcrumbsOptions = breadcrumbs.options;\n        // A main group for the breadcrumbs.\n        if (!breadcrumbs.group && breadcrumbsOptions) {\n            breadcrumbs.group = chart.renderer\n                .g('breadcrumbs-group')\n                .addClass('highcharts-no-tooltip highcharts-breadcrumbs')\n                .attr({\n                zIndex: breadcrumbsOptions.zIndex\n            })\n                .add();\n        }\n        // Draw breadcrumbs.\n        if (breadcrumbsOptions.showFullPath) {\n            this.renderFullPathButtons();\n        }\n        else {\n            this.renderSingleButton();\n        }\n        this.alignBreadcrumbsGroup();\n    }\n    /**\n     * Draw breadcrumbs together with the separators.\n     *\n     * @function Highcharts.Breadcrumbs#renderFullPathButtons\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    renderFullPathButtons() {\n        // Make sure that only one type of button is visible.\n        this.destroySingleButton();\n        this.resetElementListState();\n        this.updateListElements();\n        this.destroyListElements();\n    }\n    /**\n     * Render Single button - when showFullPath is not used. The button is\n     * similar to the old drillUpButton\n     *\n     * @function Highcharts.Breadcrumbs#renderSingleButton\n     * @param {Highcharts.Breadcrumbs} this Breadcrumbs class.\n     */\n    renderSingleButton() {\n        const breadcrumbs = this, chart = breadcrumbs.chart, list = breadcrumbs.list, breadcrumbsOptions = breadcrumbs.options, buttonSpacing = breadcrumbsOptions.buttonSpacing;\n        // Make sure that only one type of button is visible.\n        this.destroyListElements();\n        // Draw breadcrumbs. Initial position for calculating the breadcrumbs\n        // group.\n        const posX = breadcrumbs.group ?\n            breadcrumbs.group.getBBox().width :\n            buttonSpacing, posY = buttonSpacing;\n        const previousBreadcrumb = list[list.length - 2];\n        if (!chart.drillUpButton && (this.level > 0)) {\n            chart.drillUpButton = breadcrumbs.renderButton(previousBreadcrumb, posX, posY);\n        }\n        else if (chart.drillUpButton) {\n            if (this.level > 0) {\n                // Update button.\n                this.updateSingleButton();\n            }\n            else {\n                this.destroySingleButton();\n            }\n        }\n    }\n    /**\n     * Update group position based on align and it's width.\n     *\n     * @function Highcharts.Breadcrumbs#renderSingleButton\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    alignBreadcrumbsGroup(xOffset) {\n        const breadcrumbs = this;\n        if (breadcrumbs.group) {\n            const breadcrumbsOptions = breadcrumbs.options, buttonTheme = breadcrumbsOptions.buttonTheme, positionOptions = breadcrumbsOptions.position, alignTo = (breadcrumbsOptions.relativeTo === 'chart' ||\n                breadcrumbsOptions.relativeTo === 'spacingBox' ?\n                void 0 :\n                'plotBox'), bBox = breadcrumbs.group.getBBox(), additionalSpace = 2 * (buttonTheme.padding || 0) +\n                breadcrumbsOptions.buttonSpacing;\n            // Store positionOptions\n            positionOptions.width = bBox.width + additionalSpace;\n            positionOptions.height = bBox.height + additionalSpace;\n            const newPositions = merge(positionOptions);\n            // Add x offset if specified.\n            if (xOffset) {\n                newPositions.x += xOffset;\n            }\n            if (breadcrumbs.options.rtl) {\n                newPositions.x += positionOptions.width;\n            }\n            newPositions.y = pick(newPositions.y, this.yOffset, 0);\n            breadcrumbs.group.align(newPositions, true, alignTo);\n        }\n    }\n    /**\n     * Render a button.\n     *\n     * @function Highcharts.Breadcrumbs#renderButton\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     * @param {Highcharts.Breadcrumbs} breadcrumb\n     *        Current breadcrumb\n     * @param {Highcharts.Breadcrumbs} posX\n     *        Initial horizontal position\n     * @param {Highcharts.Breadcrumbs} posY\n     *        Initial vertical position\n     * @return {SVGElement|void}\n     *        Returns the SVG button\n     */\n    renderButton(breadcrumb, posX, posY) {\n        const breadcrumbs = this, chart = this.chart, breadcrumbsOptions = breadcrumbs.options, buttonTheme = merge(breadcrumbsOptions.buttonTheme);\n        const button = chart.renderer\n            .button(breadcrumbs.getButtonText(breadcrumb), posX, posY, function (e) {\n            // Extract events from button object and call\n            const buttonEvents = breadcrumbsOptions.events &&\n                breadcrumbsOptions.events.click;\n            let callDefaultEvent;\n            if (buttonEvents) {\n                callDefaultEvent = buttonEvents.call(breadcrumbs, e, breadcrumb);\n            }\n            // (difference in behaviour of showFullPath and drillUp)\n            if (callDefaultEvent !== false) {\n                // For single button we are not going to the button\n                // level, but the one level up\n                if (!breadcrumbsOptions.showFullPath) {\n                    e.newLevel = breadcrumbs.level - 1;\n                }\n                else {\n                    e.newLevel = breadcrumb.level;\n                }\n                fireEvent(breadcrumbs, 'up', e);\n            }\n        }, buttonTheme)\n            .addClass('highcharts-breadcrumbs-button')\n            .add(breadcrumbs.group);\n        if (!chart.styledMode) {\n            button.attr(breadcrumbsOptions.style);\n        }\n        return button;\n    }\n    /**\n     * Render a separator.\n     *\n     * @function Highcharts.Breadcrumbs#renderSeparator\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     * @param {Highcharts.Breadcrumbs} posX\n     *        Initial horizontal position\n     * @param {Highcharts.Breadcrumbs} posY\n     *        Initial vertical position\n     * @return {Highcharts.SVGElement}\n     *        Returns the SVG button\n     */\n    renderSeparator(posX, posY) {\n        const breadcrumbs = this, chart = this.chart, breadcrumbsOptions = breadcrumbs.options, separatorOptions = breadcrumbsOptions.separator;\n        const separator = chart.renderer\n            .label(separatorOptions.text, posX, posY, void 0, void 0, void 0, false)\n            .addClass('highcharts-breadcrumbs-separator')\n            .add(breadcrumbs.group);\n        if (!chart.styledMode) {\n            separator.css(separatorOptions.style);\n        }\n        return separator;\n    }\n    /**\n     * Update.\n     * @function Highcharts.Breadcrumbs#update\n     *\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     * @param {Highcharts.BreadcrumbsOptions} options\n     *        Breadcrumbs class.\n     * @param {boolean} redraw\n     *        Redraw flag\n     */\n    update(options) {\n        merge(true, this.options, options);\n        this.destroy();\n        this.isDirty = true;\n    }\n    /**\n     * Update button text when the showFullPath set to false.\n     * @function Highcharts.Breadcrumbs#updateSingleButton\n     *\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    updateSingleButton() {\n        const chart = this.chart, currentBreadcrumb = this.list[this.level - 1];\n        if (chart.drillUpButton) {\n            chart.drillUpButton.attr({\n                text: this.getButtonText(currentBreadcrumb)\n            });\n        }\n    }\n    /**\n     * Destroy the chosen breadcrumbs group\n     *\n     * @function Highcharts.Breadcrumbs#destroy\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    destroy() {\n        this.destroySingleButton();\n        // Destroy elements one by one. It's necessary because\n        // g().destroy() does not remove added HTML\n        this.destroyListElements(true);\n        // Then, destroy the group itself.\n        if (this.group) {\n            this.group.destroy();\n        }\n        this.group = void 0;\n    }\n    /**\n     * Destroy the elements' buttons and separators.\n     *\n     * @function Highcharts.Breadcrumbs#destroyListElements\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    destroyListElements(force) {\n        const elementList = this.elementList;\n        objectEach(elementList, (element, level) => {\n            if (force ||\n                !elementList[level].updated) {\n                element = elementList[level];\n                element.button && element.button.destroy();\n                element.separator && element.separator.destroy();\n                delete element.button;\n                delete element.separator;\n                delete elementList[level];\n            }\n        });\n        if (force) {\n            this.elementList = {};\n        }\n    }\n    /**\n     * Destroy the single button if exists.\n     *\n     * @function Highcharts.Breadcrumbs#destroySingleButton\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    destroySingleButton() {\n        if (this.chart.drillUpButton) {\n            this.chart.drillUpButton.destroy();\n            this.chart.drillUpButton = void 0;\n        }\n    }\n    /**\n     * Reset state for all buttons in elementList.\n     *\n     * @function Highcharts.Breadcrumbs#resetElementListState\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    resetElementListState() {\n        objectEach(this.elementList, (element) => {\n            element.updated = false;\n        });\n    }\n    /**\n     * Update rendered elements inside the elementList.\n     *\n     * @function Highcharts.Breadcrumbs#updateListElements\n     *\n     * @param {Highcharts.Breadcrumbs} this\n     *        Breadcrumbs class.\n     */\n    updateListElements() {\n        const breadcrumbs = this, elementList = breadcrumbs.elementList, buttonSpacing = breadcrumbs.options.buttonSpacing, posY = buttonSpacing, list = breadcrumbs.list, rtl = breadcrumbs.options.rtl, rtlFactor = rtl ? -1 : 1, updateXPosition = function (element, spacing) {\n            return rtlFactor * element.getBBox().width +\n                rtlFactor * spacing;\n        }, adjustToRTL = function (element, posX, posY) {\n            element.translate(posX - element.getBBox().width, posY);\n        };\n        // Initial position for calculating the breadcrumbs group.\n        let posX = breadcrumbs.group ?\n            updateXPosition(breadcrumbs.group, buttonSpacing) :\n            buttonSpacing, currentBreadcrumb, breadcrumb;\n        for (let i = 0, iEnd = list.length; i < iEnd; ++i) {\n            const isLast = i === iEnd - 1;\n            let button, separator;\n            breadcrumb = list[i];\n            if (elementList[breadcrumb.level]) {\n                currentBreadcrumb = elementList[breadcrumb.level];\n                button = currentBreadcrumb.button;\n                // Render a separator if it was not created before.\n                if (!currentBreadcrumb.separator &&\n                    !isLast) {\n                    // Add spacing for the next separator\n                    posX += rtlFactor * buttonSpacing;\n                    currentBreadcrumb.separator =\n                        breadcrumbs.renderSeparator(posX, posY);\n                    if (rtl) {\n                        adjustToRTL(currentBreadcrumb.separator, posX, posY);\n                    }\n                    posX += updateXPosition(currentBreadcrumb.separator, buttonSpacing);\n                }\n                else if (currentBreadcrumb.separator &&\n                    isLast) {\n                    currentBreadcrumb.separator.destroy();\n                    delete currentBreadcrumb.separator;\n                }\n                elementList[breadcrumb.level].updated = true;\n            }\n            else {\n                // Render a button.\n                button = breadcrumbs.renderButton(breadcrumb, posX, posY);\n                if (rtl) {\n                    adjustToRTL(button, posX, posY);\n                }\n                posX += updateXPosition(button, buttonSpacing);\n                // Render a separator.\n                if (!isLast) {\n                    separator = breadcrumbs.renderSeparator(posX, posY);\n                    if (rtl) {\n                        adjustToRTL(separator, posX, posY);\n                    }\n                    posX += updateXPosition(separator, buttonSpacing);\n                }\n                elementList[breadcrumb.level] = {\n                    button,\n                    separator,\n                    updated: true\n                };\n            }\n            if (button) {\n                button.setState(isLast ? 2 : 0);\n            }\n        }\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nBreadcrumbs.defaultOptions = Breadcrumbs_BreadcrumbsDefaults.options;\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Breadcrumbs_Breadcrumbs = (Breadcrumbs);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Callback function to react on button clicks.\n *\n * @callback Highcharts.BreadcrumbsClickCallbackFunction\n *\n * @param {Highcharts.Event} event\n * Event.\n *\n * @param {Highcharts.BreadcrumbOptions} options\n * Breadcrumb options.\n *\n * @param {global.Event} e\n * Event arguments.\n */\n/**\n * Callback function to format the breadcrumb text from scratch.\n *\n * @callback Highcharts.BreadcrumbsFormatterCallbackFunction\n *\n * @param {Highcharts.Event} event\n * Event.\n *\n * @param {Highcharts.BreadcrumbOptions} options\n * Breadcrumb options.\n *\n * @return {string}\n * Formatted text or false\n */\n/**\n * Options for the one breadcrumb.\n *\n * @interface Highcharts.BreadcrumbOptions\n */\n/**\n * Level connected to a specific breadcrumb.\n * @name Highcharts.BreadcrumbOptions#level\n * @type {number}\n */\n/**\n * Options for series or point connected to a specific breadcrumb.\n * @name Highcharts.BreadcrumbOptions#levelOptions\n * @type {SeriesOptions|PointOptionsObject}\n */\n/**\n * Options for aligning breadcrumbs group.\n *\n * @interface Highcharts.BreadcrumbsAlignOptions\n */\n/**\n * Align of a Breadcrumb group.\n * @default right\n * @name Highcharts.BreadcrumbsAlignOptions#align\n * @type {AlignValue}\n */\n/**\n * Vertical align of a Breadcrumb group.\n * @default top\n * @name Highcharts.BreadcrumbsAlignOptions#verticalAlign\n * @type {VerticalAlignValue}\n */\n/**\n * X offset of a Breadcrumbs group.\n * @name Highcharts.BreadcrumbsAlignOptions#x\n * @type {number}\n */\n/**\n * Y offset of a Breadcrumbs group.\n * @name Highcharts.BreadcrumbsAlignOptions#y\n * @type {number}\n */\n/**\n * Options for all breadcrumbs.\n *\n * @interface Highcharts.BreadcrumbsOptions\n */\n/**\n * Button theme.\n * @name Highcharts.BreadcrumbsOptions#buttonTheme\n * @type { SVGAttributes | undefined }\n */\n(''); // Keeps doclets above in JS file\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Color\"],\"commonjs\":[\"highcharts\",\"Color\"],\"commonjs2\":[\"highcharts\",\"Color\"],\"root\":[\"Highcharts\",\"Color\"]}\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_ = __webpack_require__(620);\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default = /*#__PURE__*/__webpack_require__.n(highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_);\n;// ./code/es-modules/Extensions/Drilldown/DrilldownDefaults.js\n/* *\n *\n *  Highcharts Drilldown module\n *\n *  Author: Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * Options for drill down, the concept of inspecting increasingly high\n * resolution data through clicking on chart items like columns or pie slices.\n *\n * The drilldown feature requires the drilldown.js file to be loaded,\n * found in the modules directory of the download package, or online at\n * [code.highcharts.com/modules/drilldown.js\n * ](https://code.highcharts.com/modules/drilldown.js).\n *\n * @sample {highcharts} highcharts/series-organization/drilldown\n *         Organization chart drilldown\n *\n * @product      highcharts highmaps\n * @requires     modules/drilldown\n * @optionparent drilldown\n */\nconst DrilldownDefaults = {\n    /**\n     * When this option is false, clicking a single point will drill down\n     * all points in the same category, equivalent to clicking the X axis\n     * label.\n     *\n     * @sample {highcharts} highcharts/drilldown/allowpointdrilldown-false/\n     *         Don't allow point drilldown\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since     4.1.7\n     * @product   highcharts\n     * @apioption drilldown.allowPointDrilldown\n     */\n    /**\n     * Options for the breadcrumbs, the navigation at the top leading the way\n     * up through the drilldown levels.\n     *\n     * @since 10.0.0\n     * @product   highcharts highmaps\n     * @extends   navigation.breadcrumbs\n     * @optionparent drilldown.breadcrumbs\n     */\n    /**\n     * An array of series configurations for the drill down. Each series\n     * configuration uses the same syntax as the [series](#series) option set.\n     * These drilldown series are hidden by default. The drilldown series is\n     * linked to the parent series' point by its `id`.\n     *\n     * @type      {Array<Highcharts.SeriesOptionsType>}\n     * @since     3.0.8\n     * @product   highcharts highmaps\n     * @apioption drilldown.series\n     */\n    /**\n     * Additional styles to apply to the X axis label for a point that\n     * has drilldown data. By default it is underlined and blue to invite\n     * to interaction.\n     *\n     * In styled mode, active label styles can be set with the\n     * `.highcharts-drilldown-axis-label` class.\n     *\n     * @sample {highcharts} highcharts/drilldown/labels/\n     *         Label styles\n     *\n     * @type    {Highcharts.CSSObject}\n     * @default { \"cursor\": \"pointer\", \"color\": \"#003399\", \"fontWeight\": \"bold\", \"textDecoration\": \"underline\" }\n     * @since   3.0.8\n     * @product highcharts highmaps\n     */\n    activeAxisLabelStyle: {\n        /** @ignore-option */\n        cursor: 'pointer',\n        /** @ignore-option */\n        color: \"#0022ff\" /* Palette.highlightColor100 */,\n        /** @ignore-option */\n        fontWeight: 'bold',\n        /** @ignore-option */\n        textDecoration: 'underline'\n    },\n    /**\n     * Additional styles to apply to the data label of a point that has\n     * drilldown data. By default it is underlined and blue to invite to\n     * interaction.\n     *\n     * In styled mode, active data label styles can be applied with the\n     * `.highcharts-drilldown-data-label` class.\n     *\n     * @sample {highcharts} highcharts/drilldown/labels/\n     *         Label styles\n     *\n     * @type    {Highcharts.CSSObject}\n     * @default { \"cursor\": \"pointer\", \"color\": \"#003399\", \"fontWeight\": \"bold\", \"textDecoration\": \"underline\" }\n     * @since   3.0.8\n     * @product highcharts highmaps\n     */\n    activeDataLabelStyle: {\n        cursor: 'pointer',\n        color: \"#0022ff\" /* Palette.highlightColor100 */,\n        fontWeight: 'bold',\n        textDecoration: 'underline'\n    },\n    /**\n     * Set the animation for all drilldown animations. Animation of a drilldown\n     * occurs when drilling between a column point and a column series,\n     * or a pie slice and a full pie series. Drilldown can still be used\n     * between series and points of different types, but animation will\n     * not occur.\n     *\n     * The animation can either be set as a boolean or a configuration\n     * object. If `true`, it will use the 'swing' jQuery easing and a duration\n     * of 500 ms. If used as a configuration object, the following properties\n     * are supported:\n     *\n     * - `duration`: The duration of the animation in milliseconds.\n     *\n     * - `easing`: A string reference to an easing function set on the `Math`\n     *   object. See\n     *   [the easing demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-animation-easing/).\n     *\n     * @type    {boolean|Highcharts.AnimationOptionsObject}\n     * @since   3.0.8\n     * @product highcharts highmaps\n     */\n    animation: {\n        /** @ignore-option */\n        duration: 500\n    },\n    /**\n     *\n     * Options for the drill up button that appears when drilling down on a\n     * series. The text for the button is defined in\n     * [lang.drillUpText](#lang.drillUpText).\n     *\n     * This option is deprecated since 9.3.2, use `drilldown.breadcrumbs`\n     * instead.\n     *\n     * @sample highcharts/breadcrumbs/single-button\n     *         Breadcrumbs set up like a legacy button\n     * @sample {highcharts} highcharts/drilldown/drillupbutton/ Drill up button\n     * @sample {highmaps} highcharts/drilldown/drillupbutton/ Drill up button\n     *\n     * @since   3.0.8\n     * @product highcharts highmaps\n     *\n     * @deprecated\n     */\n    drillUpButton: {\n        /**\n         * What box to align the button to. Can be either `plotBox` or\n         * `spacingBox`.\n         *\n         * @type       {Highcharts.ButtonRelativeToValue}\n         * @default    plotBox\n         * @since      3.0.8\n         * @product    highcharts highmaps\n         * @apioption  drilldown.drillUpButton.relativeTo\n         */\n        /**\n         * A collection of attributes for the button. The object takes SVG\n         * attributes like `fill`, `stroke`, `stroke-width` or `r`, the border\n         * radius. The theme also supports `style`, a collection of CSS\n         * properties for the text. Equivalent attributes for the hover state\n         * are given in `theme.states.hover`.\n         *\n         * In styled mode, drill-up button styles can be applied with the\n         * `.highcharts-drillup-button` class.\n         *\n         * @sample {highcharts} highcharts/drilldown/drillupbutton/\n         *         Button theming\n         * @sample {highmaps} highcharts/drilldown/drillupbutton/\n         *         Button theming\n         *\n         * @type      {Object}\n         * @since     3.0.8\n         * @product   highcharts highmaps\n         * @apioption drilldown.drillUpButton.theme\n         */\n        /**\n         * Positioning options for the button within the `relativeTo` box.\n         * Available properties are `x`, `y`, `align` and `verticalAlign`.\n         *\n         * @type    {Highcharts.AlignObject}\n         * @since   3.0.8\n         * @product highcharts highmaps\n         */\n        position: {\n            /**\n             * Vertical alignment of the button.\n             *\n             * @type      {Highcharts.VerticalAlignValue}\n             * @default   top\n             * @product   highcharts highmaps\n             * @apioption drilldown.drillUpButton.position.verticalAlign\n             */\n            /**\n             * Horizontal alignment.\n             *\n             * @type {Highcharts.AlignValue}\n             */\n            align: 'right',\n            /**\n             * The X offset of the button.\n             */\n            x: -10,\n            /**\n             * The Y offset of the button.\n             */\n            y: 10\n        }\n    },\n    /**\n     * Enable or disable zooming into a region of clicked map point you want to\n     * drill into. If mapZooming is set to false the drilldown/drillup\n     * animations only fade in/fade out without zooming to a specific map point.\n     *\n     * @sample    maps/demo/map-drilldown-preloaded/\n     *            Map drilldown without async maps loading\n     *\n     * @type      {boolean}\n     * @default   true\n     * @since 11.0.0\n     * @product   highmaps\n     * @apioption drilldown.mapZooming\n     */\n    mapZooming: true\n};\n/**\n * Fires when a drilldown point is clicked, before the new series is added. This\n * event is also utilized for async drilldown, where the seriesOptions are not\n * added by option, but rather loaded async. Note that when clicking a category\n * label to trigger multiple series drilldown, one `drilldown` event is\n * triggered per point in the category.\n *\n * Event arguments:\n *\n * - `category`: If a category label was clicked, which index.\n *\n * - `originalEvent`: The original browser event (usually click) that triggered\n *   the drilldown.\n *\n * - `point`: The originating point.\n *\n * - `points`: If a category label was clicked, this array holds all points\n *   corresponding to the category.\n *\n * - `seriesOptions`: Options for the new series.\n *\n * @sample {highcharts} highcharts/drilldown/async/\n *         Async drilldown\n *\n * @type      {Highcharts.DrilldownCallbackFunction}\n * @since     3.0.8\n * @product   highcharts highmaps\n * @context   Highcharts.Chart\n * @requires  modules/drilldown\n * @apioption chart.events.drilldown\n */\n/**\n * Fires when drilling up from a drilldown series.\n *\n * @type      {Highcharts.DrillupCallbackFunction}\n * @since     3.0.8\n * @product   highcharts highmaps\n * @context   Highcharts.Chart\n * @requires  modules/drilldown\n * @apioption chart.events.drillup\n */\n/**\n * In a chart with multiple drilldown series, this event fires after all the\n * series have been drilled up.\n *\n * @type      {Highcharts.DrillupAllCallbackFunction}\n * @since     4.2.4\n * @product   highcharts highmaps\n * @context   Highcharts.Chart\n * @requires  modules/drilldown\n * @apioption chart.events.drillupall\n */\n/**\n * The `id` of a series in the [drilldown.series](#drilldown.series) array to\n * use for a drilldown for this point.\n *\n * @sample {highcharts} highcharts/drilldown/basic/\n *         Basic drilldown\n *\n * @type      {string}\n * @since     3.0.8\n * @product   highcharts\n * @requires  modules/drilldown\n * @apioption series.line.data.drilldown\n */\n/**\n * The text for the button that appears when drilling down, linking back\n * to the parent series. The parent series' name is inserted for\n * `{series.name}`.\n *\n * @deprecated\n * @since    3.0.8\n * @product  highcharts highmaps\n * @requires modules/drilldown\n * @apioption lang.drillUpText\n */\n''; // Keep doclets above detached in JS file\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Drilldown_DrilldownDefaults = (DrilldownDefaults);\n\n;// ./code/es-modules/Extensions/Drilldown/DrilldownSeries.js\n/* *\n *\n *  Highcharts Drilldown module\n *\n *  Author: Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { addEvent: DrilldownSeries_addEvent, extend: DrilldownSeries_extend, fireEvent: DrilldownSeries_fireEvent, merge: DrilldownSeries_merge, pick: DrilldownSeries_pick, syncTimeout } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/** @private */\nfunction applyCursorCSS(element, cursor, addClass, styledMode) {\n    element[addClass ? 'addClass' : 'removeClass']('highcharts-drilldown-point');\n    if (!styledMode) {\n        element.css({ cursor: cursor });\n    }\n}\n/** @private */\nfunction columnAnimateDrilldown(init) {\n    const series = this, chart = series.chart, drilldownLevels = chart.drilldownLevels, animationOptions = animObject((chart.options.drilldown || {}).animation), xAxis = this.xAxis, styledMode = chart.styledMode;\n    if (!init) {\n        let animateFrom;\n        (drilldownLevels || []).forEach((level) => {\n            if (series.options._ddSeriesId ===\n                level.lowerSeriesOptions._ddSeriesId) {\n                animateFrom = level.shapeArgs;\n                if (!styledMode && animateFrom) {\n                    // Add the point colors to animate from\n                    animateFrom.fill = level.color;\n                }\n            }\n        });\n        animateFrom.x += DrilldownSeries_pick(xAxis.oldPos, xAxis.pos) - xAxis.pos;\n        series.points.forEach((point) => {\n            const animateTo = point.shapeArgs;\n            if (!styledMode) {\n                // Add the point colors to animate to\n                animateTo.fill = point.color;\n            }\n            if (point.graphic) {\n                point.graphic\n                    .attr(animateFrom)\n                    .animate(DrilldownSeries_extend(point.shapeArgs, { fill: point.color || series.color }), animationOptions);\n            }\n        });\n        if (chart.drilldown) {\n            chart.drilldown.fadeInGroup(this.dataLabelsGroup);\n        }\n        // Reset to prototype\n        delete this.animate;\n    }\n}\n/**\n * When drilling up, pull out the individual point graphics from the lower\n * series and animate them into the origin point in the upper series.\n *\n * @private\n * @function Highcharts.ColumnSeries#animateDrillupFrom\n * @param {Highcharts.DrilldownLevelObject} level\n *        Level container\n * @return {void}\n */\nfunction columnAnimateDrillupFrom(level) {\n    const series = this, animationOptions = animObject((series.chart.options.drilldown || {}).animation);\n    // Cancel mouse events on the series group (#2787)\n    (series.trackerGroups || []).forEach((key) => {\n        // We don't always have dataLabelsGroup\n        if (series[key]) {\n            series[key].on('mouseover');\n        }\n    });\n    let group = series.group;\n    // For 3d column series all columns are added to one group\n    // so we should not delete the whole group. #5297\n    const removeGroup = group !== series.chart.columnGroup;\n    if (removeGroup) {\n        delete series.group;\n    }\n    this.points.forEach((point) => {\n        const graphic = point.graphic, animateTo = level.shapeArgs;\n        if (graphic && animateTo) {\n            const complete = () => {\n                graphic.destroy();\n                if (group && removeGroup) {\n                    group = group.destroy();\n                }\n            };\n            delete point.graphic;\n            if (!series.chart.styledMode) {\n                animateTo.fill = level.color;\n            }\n            if (animationOptions.duration) {\n                graphic.animate(animateTo, DrilldownSeries_merge(animationOptions, { complete: complete }));\n            }\n            else {\n                graphic.attr(animateTo);\n                complete();\n            }\n        }\n    });\n}\n/**\n * When drilling up, keep the upper series invisible until the lower series has\n * moved into place.\n *\n * @private\n * @function Highcharts.ColumnSeries#animateDrillupTo\n * @param {boolean} [init=false]\n * Whether to initialize animation\n */\nfunction columnAnimateDrillupTo(init) {\n    const series = this, level = series.drilldownLevel;\n    if (!init) {\n        // First hide all items before animating in again\n        series.points.forEach((point) => {\n            const dataLabel = point.dataLabel;\n            if (point.graphic) { // #3407\n                point.graphic.hide();\n            }\n            if (dataLabel) {\n                // The data label is initially hidden, make sure it is not faded\n                // in (#6127)\n                dataLabel.hidden = dataLabel.attr('visibility') === 'hidden';\n                if (!dataLabel.hidden) {\n                    dataLabel.hide();\n                    dataLabel.connector?.hide();\n                }\n            }\n        });\n        // Do dummy animation on first point to get to complete\n        syncTimeout(() => {\n            if (series.points) { // May be destroyed in the meantime, #3389\n                // Unable to drillup with nodes, #13711\n                let pointsWithNodes = [];\n                series.data.forEach((el) => {\n                    pointsWithNodes.push(el);\n                });\n                if (series.nodes) {\n                    pointsWithNodes = pointsWithNodes.concat(series.nodes);\n                }\n                pointsWithNodes.forEach((point, i) => {\n                    // Fade in other points\n                    const verb = i === (level && level.pointIndex) ? 'show' : 'fadeIn', inherit = verb === 'show' ? true : void 0, dataLabel = point.dataLabel;\n                    if (point.graphic && // #3407\n                        point.visible // Don't show if invisible (#18303)\n                    ) {\n                        point.graphic[verb](inherit);\n                    }\n                    if (dataLabel && !dataLabel.hidden) { // #6127\n                        dataLabel.fadeIn(); // #7384\n                        dataLabel.connector?.fadeIn();\n                    }\n                });\n            }\n        }, Math.max(series.chart.options.drilldown.animation.duration - 50, 0));\n        // Reset to prototype\n        delete this.animate;\n    }\n}\n/** @private */\nfunction compose(SeriesClass, seriesTypes) {\n    const PointClass = SeriesClass.prototype.pointClass, pointProto = PointClass.prototype;\n    if (!pointProto.doDrilldown) {\n        const { column: ColumnSeriesClass, map: MapSeriesClass, pie: PieSeriesClass } = seriesTypes;\n        DrilldownSeries_addEvent(PointClass, 'afterInit', onPointAfterInit);\n        DrilldownSeries_addEvent(PointClass, 'afterSetState', onPointAfterSetState);\n        DrilldownSeries_addEvent(PointClass, 'update', onPointUpdate);\n        pointProto.doDrilldown = pointDoDrilldown;\n        pointProto.runDrilldown = pointRunDrilldown;\n        DrilldownSeries_addEvent(SeriesClass, 'afterDrawDataLabels', onSeriesAfterDrawDataLabels);\n        DrilldownSeries_addEvent(SeriesClass, 'afterDrawTracker', onSeriesAfterDrawTracker);\n        if (ColumnSeriesClass) {\n            const columnProto = ColumnSeriesClass.prototype;\n            columnProto.animateDrilldown = columnAnimateDrilldown;\n            columnProto.animateDrillupFrom = columnAnimateDrillupFrom;\n            columnProto.animateDrillupTo = columnAnimateDrillupTo;\n        }\n        if (MapSeriesClass) {\n            const mapProto = MapSeriesClass.prototype;\n            mapProto.animateDrilldown = mapAnimateDrilldown;\n            mapProto.animateDrillupFrom = mapAnimateDrillupFrom;\n            mapProto.animateDrillupTo = mapAnimateDrillupTo;\n        }\n        if (PieSeriesClass) {\n            const pieProto = PieSeriesClass.prototype;\n            pieProto.animateDrilldown = pieAnimateDrilldown;\n            pieProto.animateDrillupFrom = columnAnimateDrillupFrom;\n            pieProto.animateDrillupTo = columnAnimateDrillupTo;\n        }\n    }\n}\n/**\n * Animate in the new series.\n * @private\n */\nfunction mapAnimateDrilldown(init) {\n    const series = this, chart = series.chart, group = series.group;\n    if (chart &&\n        group &&\n        series.options &&\n        chart.options.drilldown &&\n        chart.options.drilldown.animation) {\n        // Initialize the animation\n        if (init && chart.mapView) {\n            group.attr({\n                opacity: 0.01\n            });\n            chart.mapView.allowTransformAnimation = false;\n            // Stop duplicating and overriding animations\n            series.options.inactiveOtherPoints = true;\n            series.options.enableMouseTracking = false;\n            // Run the animation\n        }\n        else {\n            group.animate({\n                opacity: 1\n            }, chart.options.drilldown.animation, () => {\n                if (series.options) {\n                    series.options.inactiveOtherPoints = false;\n                    series.options.enableMouseTracking =\n                        DrilldownSeries_pick((series.userOptions &&\n                            series.userOptions.enableMouseTracking), true);\n                }\n            });\n            if (chart.drilldown) {\n                chart.drilldown.fadeInGroup(this.dataLabelsGroup);\n            }\n        }\n    }\n}\n/**\n * When drilling up, pull out the individual point graphics from the\n * lower series and animate them into the origin point in the upper\n * series.\n * @private\n */\nfunction mapAnimateDrillupFrom() {\n    const series = this, chart = series.chart;\n    if (chart && chart.mapView) {\n        chart.mapView.allowTransformAnimation = false;\n    }\n    // Stop duplicating and overriding animations\n    if (series.options) {\n        series.options.inactiveOtherPoints = true;\n    }\n}\n/**\n * When drilling up, keep the upper series invisible until the lower\n * series has moved into place.\n * @private\n */\nfunction mapAnimateDrillupTo(init) {\n    const series = this, chart = series.chart, group = series.group;\n    if (chart && group) {\n        // Initialize the animation\n        if (init) {\n            group.attr({\n                opacity: 0.01\n            });\n            // Stop duplicating and overriding animations\n            if (series.options) {\n                series.options.inactiveOtherPoints = true;\n            }\n            // Run the animation\n        }\n        else {\n            group.animate({ opacity: 1 }, (chart.options.drilldown || {}).animation);\n            if (chart.drilldown) {\n                chart.drilldown.fadeInGroup(series.dataLabelsGroup);\n            }\n        }\n    }\n}\n/**\n * On initialization of each point, identify its label and make it clickable.\n * Also, provide a list of points associated to that label.\n * @private\n */\nfunction onPointAfterInit() {\n    const point = this;\n    if (point.drilldown && !point.unbindDrilldownClick) {\n        // Add the click event to the point\n        point.unbindDrilldownClick = DrilldownSeries_addEvent(point, 'click', onPointClick);\n    }\n    return point;\n}\n/** @private */\nfunction onPointAfterSetState() {\n    const point = this, series = point.series, styledMode = series.chart.styledMode;\n    if (point.drilldown && series.halo && point.state === 'hover') {\n        applyCursorCSS(series.halo, 'pointer', true, styledMode);\n    }\n    else if (series.halo) {\n        applyCursorCSS(series.halo, 'auto', false, styledMode);\n    }\n}\n/** @private */\nfunction onPointClick(e) {\n    const point = this, series = point.series;\n    if (series.xAxis &&\n        (series.chart.options.drilldown || {}).allowPointDrilldown ===\n            false) {\n        // #5822, x changed\n        series.xAxis.drilldownCategory(point.x, e);\n    }\n    else {\n        point.runDrilldown(void 0, void 0, e);\n    }\n}\n/** @private */\nfunction onPointUpdate(e) {\n    const point = this, options = e.options || {};\n    if (options.drilldown && !point.unbindDrilldownClick) {\n        // Add the click event to the point\n        point.unbindDrilldownClick = DrilldownSeries_addEvent(point, 'click', onPointClick);\n    }\n    else if (!options.drilldown &&\n        options.drilldown !== void 0 &&\n        point.unbindDrilldownClick) {\n        point.unbindDrilldownClick = point.unbindDrilldownClick();\n    }\n}\n/** @private */\nfunction onSeriesAfterDrawDataLabels() {\n    const series = this, chart = series.chart, css = chart.options.drilldown.activeDataLabelStyle, renderer = chart.renderer, styledMode = chart.styledMode;\n    for (const point of series.points) {\n        const dataLabelsOptions = point.options.dataLabels, pointCSS = DrilldownSeries_pick(point.dlOptions, dataLabelsOptions && dataLabelsOptions.style, {});\n        if (point.drilldown && point.dataLabel) {\n            if (css.color === 'contrast' && !styledMode) {\n                pointCSS.color = renderer.getContrast(point.color || series.color);\n            }\n            if (dataLabelsOptions && dataLabelsOptions.color) {\n                pointCSS.color = dataLabelsOptions.color;\n            }\n            point.dataLabel\n                .addClass('highcharts-drilldown-data-label');\n            if (!styledMode) {\n                point.dataLabel\n                    .css(css)\n                    .css(pointCSS);\n            }\n        }\n    }\n}\n/**\n * Mark the trackers with a pointer.\n * @private\n */\nfunction onSeriesAfterDrawTracker() {\n    const series = this, styledMode = series.chart.styledMode;\n    for (const point of series.points) {\n        if (point.drilldown && point.graphic) {\n            applyCursorCSS(point.graphic, 'pointer', true, styledMode);\n        }\n    }\n}\n/** @private */\nfunction pieAnimateDrilldown(init) {\n    const series = this, chart = series.chart, points = series.points, level = chart.drilldownLevels[chart.drilldownLevels.length - 1], animationOptions = chart.options.drilldown.animation;\n    if (series.is('item')) {\n        animationOptions.duration = 0;\n    }\n    // Unable to drill down in the horizontal item series #13372\n    if (series.center) {\n        const animateFrom = level.shapeArgs, start = animateFrom.start, angle = animateFrom.end - start, startAngle = angle / series.points.length, styledMode = chart.styledMode;\n        if (!init) {\n            let animateTo, point;\n            for (let i = 0, iEnd = points.length; i < iEnd; ++i) {\n                point = points[i];\n                animateTo = point.shapeArgs;\n                if (!styledMode) {\n                    animateFrom.fill = level.color;\n                    animateTo.fill = point.color;\n                }\n                if (point.graphic) {\n                    point.graphic.attr(DrilldownSeries_merge(animateFrom, {\n                        start: start + i * startAngle,\n                        end: start + (i + 1) * startAngle\n                    }))[animationOptions ? 'animate' : 'attr'](animateTo, animationOptions);\n                }\n            }\n            if (chart.drilldown) {\n                chart.drilldown.fadeInGroup(series.dataLabelsGroup);\n            }\n            // Reset to prototype\n            delete series.animate;\n        }\n    }\n}\n/**\n * Perform drilldown on a point instance. The [drilldown](https://api.highcharts.com/highcharts/series.line.data.drilldown)\n * property must be set on the point options.\n *\n * To drill down multiple points in the same category, use\n * `Axis.drilldownCategory` instead.\n *\n * @requires  modules/drilldown\n *\n * @function Highcharts.Point#doDrilldown\n *\n * @sample {highcharts} highcharts/drilldown/programmatic\n *         Programmatic drilldown\n */\nfunction pointDoDrilldown() {\n    this.runDrilldown();\n}\n/** @private */\nfunction pointRunDrilldown(holdRedraw, category, originalEvent) {\n    const point = this, series = point.series, chart = series.chart, drilldown = chart.options.drilldown || {};\n    let i = (drilldown.series || []).length, seriesOptions;\n    if (!chart.ddDupes) {\n        chart.ddDupes = [];\n    }\n    // Reset the color and symbol counters after every drilldown. (#19134)\n    chart.colorCounter = chart.symbolCounter = 0;\n    while (i-- && !seriesOptions) {\n        if (drilldown.series &&\n            drilldown.series[i].id === point.drilldown &&\n            point.drilldown &&\n            chart.ddDupes.indexOf(point.drilldown) === -1) {\n            seriesOptions = drilldown.series[i];\n            chart.ddDupes.push(point.drilldown);\n        }\n    }\n    // Fire the event. If seriesOptions is undefined, the implementer can check\n    // for seriesOptions, and call addSeriesAsDrilldown async if necessary.\n    DrilldownSeries_fireEvent(chart, 'drilldown', {\n        point,\n        seriesOptions: seriesOptions,\n        category: category,\n        originalEvent: originalEvent,\n        points: (typeof category !== 'undefined' &&\n            series.xAxis.getDDPoints(category).slice(0))\n    }, (e) => {\n        const chart = e.point.series && e.point.series.chart, seriesOptions = e.seriesOptions;\n        if (chart && seriesOptions) {\n            if (holdRedraw) {\n                chart.addSingleSeriesAsDrilldown(e.point, seriesOptions);\n            }\n            else {\n                chart.addSeriesAsDrilldown(e.point, seriesOptions);\n            }\n        }\n    });\n}\n/* *\n *\n *  Default Export\n *\n * */\nconst DrilldownSeries = {\n    compose\n};\n/* harmony default export */ const Drilldown_DrilldownSeries = (DrilldownSeries);\n\n;// ./code/es-modules/Extensions/Drilldown/Drilldown.js\n/* *\n *\n *  Highcharts Drilldown module\n *\n *  Author: Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { animObject: Drilldown_animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\n\n\nconst { addEvent: Drilldown_addEvent, defined: Drilldown_defined, diffObjects, extend: Drilldown_extend, fireEvent: Drilldown_fireEvent, merge: Drilldown_merge, objectEach: Drilldown_objectEach, pick: Drilldown_pick, removeEvent, syncTimeout: Drilldown_syncTimeout } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Variables\n *\n * */\nlet ddSeriesId = 1;\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Drill down to a given category. This is the same as clicking on an axis\n * label. If multiple series with drilldown are present, all will drill down to\n * the given category.\n *\n * See also `Point.doDrilldown` for drilling down on a single point instance.\n *\n * @function Highcharts.Axis#drilldownCategory\n *\n * @sample {highcharts} highcharts/drilldown/programmatic\n *         Programmatic drilldown\n *\n * @param {number} x\n *        The index of the category\n * @param {global.MouseEvent} [originalEvent]\n *        The original event, used internally.\n */\nfunction axisDrilldownCategory(x, originalEvent) {\n    this.getDDPoints(x).forEach(function (point) {\n        if (point &&\n            point.series &&\n            point.series.visible &&\n            point.runDrilldown) { // #3197\n            point.runDrilldown(true, x, originalEvent);\n        }\n    });\n    this.chart.applyDrilldown();\n}\n/**\n * Return drillable points for this specific X value.\n *\n * @private\n * @function Highcharts.Axis#getDDPoints\n * @param {number} x\n *        Tick position\n * @return {Array<(false|Highcharts.Point)>}\n *         Drillable points\n */\nfunction axisGetDDPoints(x) {\n    return (this.ddPoints && this.ddPoints[x] || []);\n}\n/**\n * This method creates an array of arrays containing a level number\n * with the corresponding series/point.\n *\n * @private\n * @param {Highcharts.Chart} chart\n *        Highcharts Chart object.\n * @return {Array<Breadcrumbs.BreadcrumbOptions>}\n * List for Highcharts Breadcrumbs.\n */\nfunction createBreadcrumbsList(chart) {\n    const list = [], drilldownLevels = chart.drilldownLevels;\n    // The list is based on drilldown levels from the chart object\n    if (drilldownLevels && drilldownLevels.length) {\n        // Add the initial series as the first element.\n        if (!list[0]) {\n            list.push({\n                level: 0,\n                levelOptions: drilldownLevels[0].seriesOptions\n            });\n        }\n        drilldownLevels.forEach(function (level) {\n            const lastBreadcrumb = list[list.length - 1];\n            // If level is already added to breadcrumbs list,\n            // don't add it again- drilling categories\n            // + 1 because of the wrong levels numeration\n            // in drilldownLevels array.\n            if (level.levelNumber + 1 > lastBreadcrumb.level) {\n                list.push({\n                    level: level.levelNumber + 1,\n                    levelOptions: Drilldown_merge({\n                        name: level.lowerSeries.name\n                    }, level.pointOptions)\n                });\n            }\n        });\n    }\n    return list;\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n */\nclass ChartAdditions {\n    /* *\n     *\n     *  Constructor\n     *\n     * */\n    constructor(chart) {\n        this.chart = chart;\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Add a series to the chart as drilldown from a specific point in the\n     * parent series. This method is used for async drilldown, when clicking a\n     * point in a series should result in loading and displaying a more\n     * high-resolution series. When not async, the setup is simpler using the\n     * [drilldown.series](https://api.highcharts.com/highcharts/drilldown.series)\n     * options structure.\n     *\n     * @sample highcharts/drilldown/async/\n     *         Async drilldown\n     *\n     * @function Highcharts.Chart#addSeriesAsDrilldown\n     *\n     * @param {Highcharts.Point} point\n     * The point from which the drilldown will start.\n     *\n     * @param {Highcharts.SeriesOptionsType} options\n     * The series options for the new, detailed series.\n     */\n    addSeriesAsDrilldown(point, options) {\n        const chart = (this.chart ||\n            this);\n        Drilldown_fireEvent(this, 'addSeriesAsDrilldown', { seriesOptions: options });\n        if (chart.mapView) {\n            // Stop hovering while drilling down\n            point.series.isDrilling = true;\n            chart.series.forEach((series) => {\n                // Stop duplicating and overriding animations\n                series.options.inactiveOtherPoints = true;\n                // Hide and disable dataLabels\n                series.dataLabelsGroup?.destroy();\n                delete series.dataLabelsGroup;\n            });\n            // #18925 map zooming is not working with geoJSON maps\n            if (chart.options.drilldown &&\n                !chart.mapView.projection.hasGeoProjection &&\n                Drilldown_DrilldownDefaults) {\n                const userDrilldown = diffObjects(chart.options.drilldown, Drilldown_DrilldownDefaults);\n                // Set mapZooming to false if user didn't set any in chart\n                // config\n                if (!Drilldown_defined(userDrilldown.mapZooming)) {\n                    chart.options.drilldown.mapZooming = false;\n                }\n            }\n            if (chart.options.drilldown &&\n                chart.options.drilldown.animation &&\n                chart.options.drilldown.mapZooming) {\n                // First zoomTo then crossfade series\n                chart.mapView.allowTransformAnimation = true;\n                const animOptions = Drilldown_animObject(chart.options.drilldown.animation);\n                if (typeof animOptions !== 'boolean') {\n                    const userComplete = animOptions.complete, drilldownComplete = function (obj) {\n                        if (obj && obj.applyDrilldown && chart.mapView) {\n                            chart\n                                .addSingleSeriesAsDrilldown(point, options);\n                            chart.applyDrilldown();\n                            chart.mapView.allowTransformAnimation = false;\n                        }\n                    };\n                    animOptions.complete =\n                        function () {\n                            if (userComplete) {\n                                userComplete.apply(this, arguments);\n                            }\n                            drilldownComplete.apply(this, arguments);\n                        };\n                }\n                point.zoomTo(animOptions);\n            }\n            else {\n                chart.addSingleSeriesAsDrilldown(point, options);\n                chart.applyDrilldown();\n            }\n        }\n        else {\n            chart.addSingleSeriesAsDrilldown(point, options);\n            chart.applyDrilldown();\n        }\n    }\n    /** @private */\n    addSingleSeriesAsDrilldown(point, ddOptions) {\n        const chart = (this.chart ||\n            this), oldSeries = point.series, xAxis = oldSeries.xAxis, yAxis = oldSeries.yAxis, colorProp = chart.styledMode ?\n            { colorIndex: Drilldown_pick(point.colorIndex, oldSeries.colorIndex) } :\n            { color: point.color || oldSeries.color }, levelNumber = oldSeries.options._levelNumber || 0;\n        if (!chart.drilldownLevels) {\n            chart.drilldownLevels = [];\n        }\n        ddOptions = Drilldown_extend(Drilldown_extend({\n            _ddSeriesId: ddSeriesId++\n        }, colorProp), ddOptions);\n        let levelSeries = [], levelSeriesOptions = [], last;\n        // See if we can reuse the registered series from last run\n        last = chart.drilldownLevels[chart.drilldownLevels.length - 1];\n        if (last && last.levelNumber !== levelNumber) {\n            last = void 0;\n        }\n        // Record options for all current series\n        oldSeries.chart.series.forEach((series) => {\n            if (series.xAxis === xAxis) {\n                series.options._ddSeriesId =\n                    series.options._ddSeriesId || ddSeriesId++;\n                series.options.colorIndex = series.colorIndex;\n                series.options._levelNumber =\n                    series.options._levelNumber || levelNumber; // #3182\n                if (last) {\n                    levelSeries = last.levelSeries;\n                    levelSeriesOptions = last.levelSeriesOptions;\n                }\n                else {\n                    levelSeries.push(series);\n                    // (#10597)\n                    series.purgedOptions = Drilldown_merge({\n                        _ddSeriesId: series.options._ddSeriesId,\n                        _levelNumber: series.options._levelNumber,\n                        selected: series.options.selected\n                    }, series.userOptions);\n                    levelSeriesOptions.push(series.purgedOptions);\n                }\n            }\n        });\n        // Add a record of properties for each drilldown level\n        const level = Drilldown_extend({\n            levelNumber: levelNumber,\n            seriesOptions: oldSeries.options,\n            seriesPurgedOptions: oldSeries.purgedOptions,\n            levelSeriesOptions: levelSeriesOptions,\n            levelSeries: levelSeries,\n            shapeArgs: point.shapeArgs,\n            // No graphic in line series with markers disabled\n            bBox: point.graphic ? point.graphic.getBBox() : {},\n            color: point.isNull ?\n                highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default().parse(colorProp.color).setOpacity(0).get() :\n                colorProp.color,\n            lowerSeriesOptions: ddOptions,\n            pointOptions: point.options,\n            pointIndex: point.index,\n            oldExtremes: {\n                xMin: xAxis && xAxis.userMin,\n                xMax: xAxis && xAxis.userMax,\n                yMin: yAxis && yAxis.userMin,\n                yMax: yAxis && yAxis.userMax\n            },\n            resetZoomButton: last && last.levelNumber === levelNumber ?\n                void 0 : chart.resetZoomButton\n        }, colorProp);\n        // Push it to the lookup array\n        chart.drilldownLevels.push(level);\n        // Reset names to prevent extending (#6704)\n        if (xAxis && xAxis.names) {\n            xAxis.names.length = 0;\n        }\n        const newSeries = level.lowerSeries = chart.addSeries(ddOptions, false);\n        newSeries.options._levelNumber = levelNumber + 1;\n        if (xAxis) {\n            xAxis.oldPos = xAxis.pos;\n            xAxis.userMin = xAxis.userMax = null;\n            yAxis.userMin = yAxis.userMax = null;\n        }\n        newSeries.isDrilling = true;\n        // Run fancy cross-animation on supported and equal types\n        if (oldSeries.type === newSeries.type) {\n            newSeries.animate = (newSeries.animateDrilldown || noop);\n            newSeries.options.animation = true;\n        }\n    }\n    applyDrilldown() {\n        const chart = (this.chart ||\n            this), drilldownLevels = chart.drilldownLevels;\n        let levelToRemove;\n        if (drilldownLevels && drilldownLevels.length > 0) {\n            // #3352, async loading\n            levelToRemove =\n                drilldownLevels[drilldownLevels.length - 1].levelNumber;\n            chart.hasCartesianSeries = drilldownLevels.some((level) => level.lowerSeries.isCartesian // #19725\n            );\n            (chart.drilldownLevels || []).forEach((level) => {\n                if (chart.mapView &&\n                    chart.options.drilldown &&\n                    chart.options.drilldown.mapZooming) {\n                    chart.redraw();\n                    level.lowerSeries.isDrilling = false;\n                    chart.mapView.fitToBounds(level.lowerSeries.bounds);\n                    level.lowerSeries.isDrilling = true;\n                }\n                if (level.levelNumber === levelToRemove) {\n                    level.levelSeries.forEach((series) => {\n                        // Not removed, not added as part of a multi-series\n                        // drilldown\n                        if (!chart.mapView) {\n                            if (series.options &&\n                                series.options._levelNumber === levelToRemove) {\n                                series.remove(false);\n                            }\n                            // Deal with asonchrynous removing of map series\n                            // after zooming into\n                        }\n                        else if (series.options &&\n                            series.options._levelNumber === levelToRemove &&\n                            series.group) {\n                            let animOptions = {};\n                            if (chart.options.drilldown) {\n                                animOptions = chart.options.drilldown.animation;\n                            }\n                            series.group.animate({\n                                opacity: 0\n                            }, animOptions, () => {\n                                series.remove(false);\n                                // If it is the last series\n                                if (!(level.levelSeries.filter((el) => Object.keys(el).length)).length) {\n                                    // We have a reset zoom button. Hide it and\n                                    // detach it from the chart. It is\n                                    // preserved to the layer config above.\n                                    if (chart.resetZoomButton) {\n                                        chart.resetZoomButton.hide();\n                                        delete chart.resetZoomButton;\n                                    }\n                                    chart.pointer?.reset();\n                                    Drilldown_fireEvent(chart, 'afterDrilldown');\n                                    if (chart.mapView) {\n                                        chart.series.forEach((series) => {\n                                            series.isDirtyData = true;\n                                            series.isDrilling = false;\n                                        });\n                                        chart.mapView\n                                            .fitToBounds(void 0, void 0);\n                                        chart.mapView.allowTransformAnimation =\n                                            true; // #20857\n                                    }\n                                    Drilldown_fireEvent(chart, 'afterApplyDrilldown');\n                                }\n                            });\n                        }\n                    });\n                }\n            });\n        }\n        if (!chart.mapView) {\n            // We have a reset zoom button. Hide it and detach it from the\n            // chart. It is preserved to the layer config above.\n            if (chart.resetZoomButton) {\n                chart.resetZoomButton.hide();\n                delete chart.resetZoomButton;\n            }\n            chart.pointer?.reset();\n            Drilldown_fireEvent(chart, 'afterDrilldown');\n            // Axes shouldn't be visible after drilling into non-cartesian\n            // (#19725)\n            if (!chart.hasCartesianSeries) {\n                chart.axes.forEach((axis) => {\n                    axis.destroy(true);\n                    axis.init(chart, Drilldown_merge(axis.userOptions, axis.options));\n                });\n            }\n            chart.redraw();\n            Drilldown_fireEvent(chart, 'afterApplyDrilldown');\n        }\n    }\n    /**\n     * When the chart is drilled down to a child series, calling\n     * `chart.drillUp()` will drill up to the parent series.\n     *\n     * @requires  modules/drilldown\n     *\n     * @function Highcharts.Chart#drillUp\n     *\n     * @sample {highcharts} highcharts/drilldown/programmatic\n     *         Programmatic drilldown\n     */\n    drillUp(isMultipleDrillUp) {\n        const chart = (this.chart ||\n            this);\n        if (!chart.drilldownLevels || chart.drilldownLevels.length === 0) {\n            return;\n        }\n        Drilldown_fireEvent(chart, 'beforeDrillUp');\n        const drilldownLevels = chart.drilldownLevels, levelNumber = drilldownLevels[drilldownLevels.length - 1].levelNumber, chartSeries = chart.series, drilldownLevelsNumber = chart.drilldownLevels.length, addSeries = (seriesOptions, oldSeries) => {\n            let addedSeries;\n            chartSeries.forEach((series) => {\n                if (series.options._ddSeriesId ===\n                    seriesOptions._ddSeriesId) {\n                    addedSeries = series;\n                }\n            });\n            addedSeries =\n                addedSeries || chart.addSeries(seriesOptions, false);\n            if (addedSeries.type === oldSeries.type &&\n                addedSeries.animateDrillupTo) {\n                addedSeries.animate = addedSeries.animateDrillupTo;\n            }\n            if (seriesOptions === level.seriesPurgedOptions) {\n                return addedSeries;\n            }\n        }, removeSeries = (oldSeries) => {\n            oldSeries.remove(false);\n            chart.series.forEach((series) => {\n                // Ensures to redraw series to get correct colors\n                if (series.colorAxis) {\n                    series.isDirtyData = true;\n                }\n                series.options.inactiveOtherPoints = false;\n            });\n            chart.redraw();\n        };\n        let i = drilldownLevels.length, seriesI, level, oldExtremes;\n        // Reset symbol and color counters after every drill-up. (#19134)\n        chart.symbolCounter = chart.colorCounter = 0;\n        while (i--) {\n            let oldSeries, newSeries;\n            level = drilldownLevels[i];\n            if (level.levelNumber === levelNumber) {\n                drilldownLevels.pop();\n                // Get the lower series by reference or id\n                oldSeries = level.lowerSeries;\n                if (!oldSeries.chart) { // #2786\n                    seriesI = chartSeries.length; // #2919\n                    while (seriesI--) {\n                        if (chartSeries[seriesI].options.id ===\n                            level.lowerSeriesOptions.id &&\n                            chartSeries[seriesI].options._levelNumber ===\n                                levelNumber + 1) { // #3867\n                            oldSeries = chartSeries[seriesI];\n                            break;\n                        }\n                    }\n                }\n                // Overcome problems with minRange (#2898)\n                oldSeries.dataTable.setColumn('x', []);\n                // Reset the names to start new series from the beginning.\n                // Do it once to preserve names when multiple\n                // series are added for the same axis, #16135.\n                if (oldSeries.xAxis &&\n                    oldSeries.xAxis.names &&\n                    (drilldownLevelsNumber === 0 ||\n                        i === drilldownLevelsNumber - 1)) {\n                    oldSeries.xAxis.names.length = 0;\n                }\n                level.levelSeriesOptions.forEach((el) => {\n                    const addedSeries = addSeries(el, oldSeries);\n                    if (addedSeries) {\n                        newSeries = addedSeries;\n                    }\n                });\n                Drilldown_fireEvent(chart, 'drillup', {\n                    seriesOptions: level.seriesPurgedOptions ||\n                        level.seriesOptions\n                });\n                if (newSeries) {\n                    if (newSeries.type === oldSeries.type) {\n                        newSeries.drilldownLevel = level;\n                        newSeries.options.animation =\n                            chart.options.drilldown.animation;\n                        // #2919\n                        if (oldSeries.animateDrillupFrom && oldSeries.chart) {\n                            oldSeries.animateDrillupFrom(level);\n                        }\n                    }\n                    newSeries.options._levelNumber = levelNumber;\n                }\n                const seriesToRemove = oldSeries;\n                // Cannot access variable changed in loop\n                if (!chart.mapView) {\n                    seriesToRemove.remove(false);\n                }\n                // Reset the zoom level of the upper series\n                if (newSeries && newSeries.xAxis) {\n                    oldExtremes = level.oldExtremes;\n                    newSeries.xAxis.setExtremes(oldExtremes.xMin, oldExtremes.xMax, false);\n                    newSeries.yAxis.setExtremes(oldExtremes.yMin, oldExtremes.yMax, false);\n                }\n                // We have a resetZoomButton tucked away for this level. Attatch\n                // it to the chart and show it.\n                if (level.resetZoomButton) {\n                    chart.resetZoomButton = level.resetZoomButton;\n                }\n                if (!chart.mapView) {\n                    Drilldown_fireEvent(chart, 'afterDrillUp');\n                }\n                else {\n                    const shouldAnimate = level.levelNumber === levelNumber &&\n                        isMultipleDrillUp, zoomingDrill = chart.options.drilldown &&\n                        chart.options.drilldown.animation &&\n                        chart.options.drilldown.mapZooming;\n                    if (shouldAnimate) {\n                        oldSeries.remove(false);\n                    }\n                    else {\n                        // Hide and disable dataLabels\n                        if (oldSeries.dataLabelsGroup) {\n                            oldSeries.dataLabelsGroup.destroy();\n                            delete oldSeries.dataLabelsGroup;\n                        }\n                        if (chart.mapView && newSeries) {\n                            if (zoomingDrill) {\n                                // Stop hovering while drilling down\n                                oldSeries.isDrilling = true;\n                                newSeries.isDrilling = true;\n                                chart.redraw(false);\n                                // Fit to previous bounds\n                                chart.mapView.fitToBounds(oldSeries.bounds, void 0, true, false);\n                            }\n                            chart.mapView.allowTransformAnimation = true;\n                            Drilldown_fireEvent(chart, 'afterDrillUp', {\n                                seriesOptions: newSeries ? newSeries.userOptions : void 0\n                            });\n                            if (zoomingDrill) {\n                                // Fit to natural bounds\n                                chart.mapView.setView(void 0, Drilldown_pick(chart.mapView.minZoom, 1), true, {\n                                    complete: function () {\n                                        // Fire it only on complete in this\n                                        // place (once)\n                                        if (Object.prototype.hasOwnProperty\n                                            .call(this, 'complete')) {\n                                            removeSeries(oldSeries);\n                                        }\n                                    }\n                                });\n                                newSeries._hasTracking = false;\n                            }\n                            else {\n                                // When user don't want to zoom into region only\n                                // fade out\n                                chart.mapView.allowTransformAnimation = false;\n                                if (oldSeries.group) {\n                                    oldSeries.group.animate({\n                                        opacity: 0\n                                    }, chart.options.drilldown.animation, () => {\n                                        removeSeries(oldSeries);\n                                        if (chart.mapView) {\n                                            chart.mapView\n                                                .allowTransformAnimation = true;\n                                        }\n                                    });\n                                }\n                                else {\n                                    removeSeries(oldSeries);\n                                    chart.mapView\n                                        .allowTransformAnimation = true;\n                                }\n                            }\n                            newSeries.isDrilling = false;\n                        }\n                    }\n                }\n            }\n        }\n        if (!chart.mapView) {\n            chart.redraw();\n        }\n        if (chart.ddDupes) {\n            chart.ddDupes.length = 0; // #3315\n        } // #8324\n        // Fire a once-off event after all series have been\n        // drilled up (#5158)\n        Drilldown_fireEvent(chart, 'drillupall');\n    }\n    /**\n     * A function to fade in a group. First, the element is being hidden, then,\n     * using `opactiy`, is faded in. Used for example by `dataLabelsGroup` where\n     * simple SVGElement.fadeIn() is not enough, because of other features (e.g.\n     * InactiveState) using `opacity` to fadeIn/fadeOut.\n     *\n     * @requires modules/drilldown\n     *\n     * @private\n     * @param {SVGElement} [group]\n     *        The SVG element to be faded in.\n     */\n    fadeInGroup(group) {\n        const chart = this.chart, animationOptions = Drilldown_animObject(chart.options.drilldown.animation);\n        if (group) {\n            group.hide();\n            Drilldown_syncTimeout(() => {\n                // Make sure neither group nor chart were destroyed\n                if (group && group.added) {\n                    group.fadeIn();\n                }\n            }, Math.max(animationOptions.duration - 50, 0));\n        }\n    }\n    /**\n     * Update function to be called internally from Chart.update (#7600, #12855)\n     * @private\n     */\n    update(options, redraw) {\n        const chart = this.chart;\n        Drilldown_merge(true, chart.options.drilldown, options);\n        if (Drilldown_pick(redraw, true)) {\n            chart.redraw();\n        }\n    }\n}\n/* *\n *\n *  Composition\n *\n * */\nvar Drilldown;\n(function (Drilldown) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /** @private */\n    function compose(AxisClass, ChartClass, highchartsDefaultOptions, SeriesClass, seriesTypes, SVGRendererClass, TickClass) {\n        Drilldown_DrilldownSeries.compose(SeriesClass, seriesTypes);\n        const DrilldownChart = ChartClass, chartProto = DrilldownChart.prototype;\n        if (!chartProto.drillUp) {\n            const SVGElementClass = SVGRendererClass.prototype.Element, addonProto = ChartAdditions.prototype, axisProto = AxisClass.prototype, elementProto = SVGElementClass.prototype, tickProto = TickClass.prototype;\n            axisProto.drilldownCategory = axisDrilldownCategory;\n            axisProto.getDDPoints = axisGetDDPoints;\n            Breadcrumbs_Breadcrumbs.compose(ChartClass, highchartsDefaultOptions);\n            Drilldown_addEvent(Breadcrumbs_Breadcrumbs, 'up', onBreadcrumbsUp);\n            chartProto.addSeriesAsDrilldown = addonProto.addSeriesAsDrilldown;\n            chartProto.addSingleSeriesAsDrilldown =\n                addonProto.addSingleSeriesAsDrilldown;\n            chartProto.applyDrilldown = addonProto.applyDrilldown;\n            chartProto.drillUp = addonProto.drillUp;\n            Drilldown_addEvent(DrilldownChart, 'afterDrilldown', onChartAfterDrilldown);\n            Drilldown_addEvent(DrilldownChart, 'afterDrillUp', onChartAfterDrillUp);\n            Drilldown_addEvent(DrilldownChart, 'afterInit', onChartAfterInit);\n            Drilldown_addEvent(DrilldownChart, 'drillup', onChartDrillup);\n            Drilldown_addEvent(DrilldownChart, 'drillupall', onChartDrillupall);\n            Drilldown_addEvent(DrilldownChart, 'render', onChartRender);\n            Drilldown_addEvent(DrilldownChart, 'update', onChartUpdate);\n            highchartsDefaultOptions.drilldown = Drilldown_DrilldownDefaults;\n            elementProto.fadeIn = svgElementFadeIn;\n            tickProto.drillable = tickDrillable;\n        }\n    }\n    Drilldown.compose = compose;\n    /** @private */\n    function onBreadcrumbsUp(e) {\n        const chart = this.chart, drillUpsNumber = this.getLevel() - e.newLevel;\n        let isMultipleDrillUp = drillUpsNumber > 1;\n        for (let i = 0; i < drillUpsNumber; i++) {\n            if (i === drillUpsNumber - 1) {\n                isMultipleDrillUp = false;\n            }\n            chart.drillUp(isMultipleDrillUp);\n        }\n    }\n    /** @private */\n    function onChartAfterDrilldown() {\n        const chart = this, drilldownOptions = chart.options.drilldown, breadcrumbsOptions = drilldownOptions && drilldownOptions.breadcrumbs;\n        if (!chart.breadcrumbs) {\n            chart.breadcrumbs = new Breadcrumbs_Breadcrumbs(chart, breadcrumbsOptions);\n        }\n        chart.breadcrumbs.updateProperties(createBreadcrumbsList(chart));\n    }\n    /** @private */\n    function onChartAfterDrillUp() {\n        const chart = this;\n        if (chart.breadcrumbs) {\n            chart.breadcrumbs.updateProperties(createBreadcrumbsList(chart));\n        }\n    }\n    /**\n     * Add update function to be called internally from Chart.update (#7600,\n     * #12855)\n     * @private\n     */\n    function onChartAfterInit() {\n        this.drilldown = new ChartAdditions(this);\n    }\n    /** @private */\n    function onChartDrillup() {\n        const chart = this;\n        if (chart.resetZoomButton) {\n            chart.resetZoomButton = chart.resetZoomButton.destroy();\n        }\n    }\n    /** @private */\n    function onChartDrillupall() {\n        const chart = this;\n        if (chart.resetZoomButton) {\n            chart.showResetZoom();\n        }\n    }\n    /** @private */\n    function onChartRender() {\n        (this.xAxis || []).forEach((axis) => {\n            axis.ddPoints = {};\n            axis.series.forEach((series) => {\n                const xData = series.getColumn('x'), points = series.points;\n                for (let i = 0, iEnd = xData.length, p; i < iEnd; i++) {\n                    p = series.options.data[i];\n                    // The `drilldown` property can only be set on an array or an\n                    // object\n                    if (typeof p !== 'number') {\n                        // Convert array to object (#8008)\n                        p = series.pointClass.prototype.optionsToObject\n                            .call({ series: series }, p);\n                        if (p.drilldown) {\n                            if (!axis.ddPoints[xData[i]]) {\n                                axis.ddPoints[xData[i]] = [];\n                            }\n                            const index = i - (series.cropStart || 0);\n                            axis.ddPoints[xData[i]].push(points && index >= 0 && index < points.length ?\n                                points[index] :\n                                true);\n                        }\n                    }\n                }\n            });\n            // Add drillability to ticks, and always keep it drillability\n            // updated (#3951)\n            Drilldown_objectEach(axis.ticks, (tick) => tick.drillable());\n        });\n    }\n    /** @private */\n    function onChartUpdate(e) {\n        const breadcrumbs = this.breadcrumbs, breadcrumbOptions = e.options.drilldown && e.options.drilldown.breadcrumbs;\n        if (breadcrumbs && breadcrumbOptions) {\n            breadcrumbs.update(breadcrumbOptions);\n        }\n    }\n    /**\n     * A general fadeIn method.\n     *\n     * @requires modules/drilldown\n     *\n     * @function Highcharts.SVGElement#fadeIn\n     *\n     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]\n     * The animation options for the element fade.\n     */\n    function svgElementFadeIn(animation) {\n        const elem = this;\n        elem\n            .attr({\n            opacity: 0.1,\n            visibility: 'inherit'\n        })\n            .animate({\n            opacity: Drilldown_pick(elem.newOpacity, 1) // `newOpacity` used in maps\n        }, animation || {\n            duration: 250\n        });\n    }\n    /**\n     * Make a tick label drillable, or remove drilling on update.\n     * @private\n     */\n    function tickDrillable() {\n        const pos = this.pos, label = this.label, axis = this.axis, isDrillable = axis.coll === 'xAxis' && axis.getDDPoints, ddPointsX = isDrillable && axis.getDDPoints(pos), styledMode = axis.chart.styledMode;\n        if (isDrillable) {\n            if (label && ddPointsX && ddPointsX.length) {\n                label.drillable = true;\n                if (!label.basicStyles && !styledMode) {\n                    label.basicStyles = Drilldown_merge(label.styles);\n                }\n                label.addClass('highcharts-drilldown-axis-label');\n                // #12656 - avoid duplicate of attach event\n                if (label.removeOnDrillableClick) {\n                    removeEvent(label.element, 'click');\n                }\n                label.removeOnDrillableClick = Drilldown_addEvent(label.element, 'click', function (e) {\n                    e.preventDefault();\n                    axis.drilldownCategory(pos, e);\n                });\n                if (!styledMode && axis.chart.options.drilldown) {\n                    label.css(axis.chart.options.drilldown.activeAxisLabelStyle || {});\n                }\n            }\n            else if (label &&\n                label.drillable && label.removeOnDrillableClick) {\n                if (!styledMode) {\n                    label.styles = {}; // Reset for full overwrite of styles\n                    label.element.removeAttribute('style'); // #17933\n                    label.css(label.basicStyles);\n                }\n                label.removeOnDrillableClick(); // #3806\n                label.removeClass('highcharts-drilldown-axis-label');\n            }\n        }\n    }\n})(Drilldown || (Drilldown = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Drilldown_Drilldown = (Drilldown);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * Gets fired when a drilldown point is clicked, before the new series is added.\n * Note that when clicking a category label to trigger multiple series\n * drilldown, one `drilldown` event is triggered per point in the category.\n *\n * @callback Highcharts.DrilldownCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart where the event occurs.\n *\n * @param {Highcharts.DrilldownEventObject} e\n *        The drilldown event.\n */\n/**\n * The event arguments when a drilldown point is clicked.\n *\n * @interface Highcharts.DrilldownEventObject\n */ /**\n* If a category label was clicked, which index.\n* @name Highcharts.DrilldownEventObject#category\n* @type {number|undefined}\n*/ /**\n* The original browser event (usually click) that triggered the drilldown.\n* @name Highcharts.DrilldownEventObject#originalEvent\n* @type {global.Event|undefined}\n*/ /**\n* Prevents the default behaviour of the event.\n* @name Highcharts.DrilldownEventObject#preventDefault\n* @type {Function}\n*/ /**\n* The originating point.\n* @name Highcharts.DrilldownEventObject#point\n* @type {Highcharts.Point}\n*/ /**\n* If a category label was clicked, this array holds all points corresponding to\n* the category. Otherwise it is set to false.\n* @name Highcharts.DrilldownEventObject#points\n* @type {boolean|Array<Highcharts.Point>|undefined}\n*/ /**\n* Options for the new series. If the event is utilized for async drilldown, the\n* seriesOptions are not added, but rather loaded async.\n* @name Highcharts.DrilldownEventObject#seriesOptions\n* @type {Highcharts.SeriesOptionsType|undefined}\n*/ /**\n* The event target.\n* @name Highcharts.DrilldownEventObject#target\n* @type {Highcharts.Chart}\n*/ /**\n* The event type.\n* @name Highcharts.DrilldownEventObject#type\n* @type {\"drilldown\"}\n*/\n/**\n * This gets fired after all the series have been drilled up. This is especially\n * usefull in a chart with multiple drilldown series.\n *\n * @callback Highcharts.DrillupAllCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart where the event occurs.\n *\n * @param {Highcharts.DrillupAllEventObject} e\n *        The final drillup event.\n */\n/**\n * The event arguments when all the series have been drilled up.\n *\n * @interface Highcharts.DrillupAllEventObject\n */ /**\n* Prevents the default behaviour of the event.\n* @name Highcharts.DrillupAllEventObject#preventDefault\n* @type {Function}\n*/ /**\n* The event target.\n* @name Highcharts.DrillupAllEventObject#target\n* @type {Highcharts.Chart}\n*/ /**\n* The event type.\n* @name Highcharts.DrillupAllEventObject#type\n* @type {\"drillupall\"}\n*/\n/**\n * Gets fired when drilling up from a drilldown series.\n *\n * @callback Highcharts.DrillupCallbackFunction\n *\n * @param {Highcharts.Chart} this\n *        The chart where the event occurs.\n *\n * @param {Highcharts.DrillupEventObject} e\n *        The drillup event.\n */\n/**\n * The event arguments when drilling up from a drilldown series.\n *\n * @interface Highcharts.DrillupEventObject\n */ /**\n* Prevents the default behaviour of the event.\n* @name Highcharts.DrillupEventObject#preventDefault\n* @type {Function}\n*/ /**\n* Options for the new series.\n* @name Highcharts.DrillupEventObject#seriesOptions\n* @type {Highcharts.SeriesOptionsType|undefined}\n*/ /**\n* The event target.\n* @name Highcharts.DrillupEventObject#target\n* @type {Highcharts.Chart}\n*/ /**\n* The event type.\n* @name Highcharts.DrillupEventObject#type\n* @type {\"drillup\"}\n*/\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/masters/modules/drilldown.src.js\n\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nG.Breadcrumbs = G.Breadcrumbs || Breadcrumbs_Breadcrumbs;\nDrilldown_Drilldown.compose(G.Axis, G.Chart, G.defaultOptions, G.Series, G.seriesTypes, G.SVGRenderer, G.Tick);\n/* harmony default export */ const drilldown_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","/**\n * @license Highmaps JS v12.1.2 (2024-12-21)\n * @module highcharts/modules/tilemap\n * @requires highcharts\n * @requires highcharts/modules/map\n *\n * Tilemap module\n *\n * (c) 2010-2024 Highsoft AS\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"Color\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/tilemap\", [\"highcharts/highcharts\"], function (amd1) {return factory(amd1,amd1[\"SeriesRegistry\"],amd1[\"Color\"]);});\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/tilemap\"] = factory(root[\"_Highcharts\"], root[\"_Highcharts\"][\"SeriesRegistry\"], root[\"_Highcharts\"][\"Color\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"SeriesRegistry\"], root[\"Highcharts\"][\"Color\"]);\n})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__620__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 620:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__620__;\n\n/***/ }),\n\n/***/ 512:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 944:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  \"default\": () => (/* binding */ tilemap_src)\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Color\"],\"commonjs\":[\"highcharts\",\"Color\"],\"commonjs2\":[\"highcharts\",\"Color\"],\"root\":[\"Highcharts\",\"Color\"]}\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_ = __webpack_require__(620);\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default = /*#__PURE__*/__webpack_require__.n(highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_);\n;// ./code/es-modules/Core/Axis/Color/ColorAxisComposition.js\n/* *\n *\n *  (c) 2010-2024 Torstein Honsi\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { parse: color } = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default());\n\nconst { addEvent, extend, merge, pick, splat } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Composition\n *\n * */\nvar ColorAxisComposition;\n(function (ColorAxisComposition) {\n    /* *\n     *\n     *  Declarations\n     *\n     * */\n    /* *\n     *\n     *  Variables\n     *\n     * */\n    let ColorAxisConstructor;\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     */\n    function compose(ColorAxisClass, ChartClass, FxClass, LegendClass, SeriesClass) {\n        const chartProto = ChartClass.prototype, fxProto = FxClass.prototype, seriesProto = SeriesClass.prototype;\n        if (!chartProto.collectionsWithUpdate.includes('colorAxis')) {\n            ColorAxisConstructor = ColorAxisClass;\n            chartProto.collectionsWithUpdate.push('colorAxis');\n            chartProto.collectionsWithInit.colorAxis = [\n                chartProto.addColorAxis\n            ];\n            addEvent(ChartClass, 'afterCreateAxes', onChartAfterCreateAxes);\n            wrapChartCreateAxis(ChartClass);\n            fxProto.fillSetter = wrapFxFillSetter;\n            fxProto.strokeSetter = wrapFxStrokeSetter;\n            addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);\n            addEvent(LegendClass, 'afterColorizeItem', onLegendAfterColorizeItem);\n            addEvent(LegendClass, 'afterUpdate', onLegendAfterUpdate);\n            extend(seriesProto, {\n                optionalAxis: 'colorAxis',\n                translateColors: seriesTranslateColors\n            });\n            extend(seriesProto.pointClass.prototype, {\n                setVisible: pointSetVisible\n            });\n            addEvent(SeriesClass, 'afterTranslate', onSeriesAfterTranslate, { order: 1 });\n            addEvent(SeriesClass, 'bindAxes', onSeriesBindAxes);\n        }\n    }\n    ColorAxisComposition.compose = compose;\n    /**\n     * Extend the chart createAxes method to also make the color axis.\n     * @private\n     */\n    function onChartAfterCreateAxes() {\n        const { userOptions } = this;\n        this.colorAxis = [];\n        // If a `colorAxis` config is present in the user options (not in a\n        // theme), instanciate it.\n        if (userOptions.colorAxis) {\n            userOptions.colorAxis = splat(userOptions.colorAxis);\n            userOptions.colorAxis.map((axisOptions) => (new ColorAxisConstructor(this, axisOptions)));\n        }\n    }\n    /**\n     * Add the color axis. This also removes the axis' own series to prevent\n     * them from showing up individually.\n     * @private\n     */\n    function onLegendAfterGetAllItems(e) {\n        const colorAxes = this.chart.colorAxis || [], destroyItem = (item) => {\n            const i = e.allItems.indexOf(item);\n            if (i !== -1) {\n                // #15436\n                this.destroyItem(e.allItems[i]);\n                e.allItems.splice(i, 1);\n            }\n        };\n        let colorAxisItems = [], options, i;\n        colorAxes.forEach(function (colorAxis) {\n            options = colorAxis.options;\n            if (options && options.showInLegend) {\n                // Data classes\n                if (options.dataClasses && options.visible) {\n                    colorAxisItems = colorAxisItems.concat(colorAxis.getDataClassLegendSymbols());\n                    // Gradient legend\n                }\n                else if (options.visible) {\n                    // Add this axis on top\n                    colorAxisItems.push(colorAxis);\n                }\n                // If dataClasses are defined or showInLegend option is not set\n                // to true, do not add color axis' series to legend.\n                colorAxis.series.forEach(function (series) {\n                    if (!series.options.showInLegend || options.dataClasses) {\n                        if (series.options.legendType === 'point') {\n                            series.points.forEach(function (point) {\n                                destroyItem(point);\n                            });\n                        }\n                        else {\n                            destroyItem(series);\n                        }\n                    }\n                });\n            }\n        });\n        i = colorAxisItems.length;\n        while (i--) {\n            e.allItems.unshift(colorAxisItems[i]);\n        }\n    }\n    /**\n     * @private\n     */\n    function onLegendAfterColorizeItem(e) {\n        if (e.visible && e.item.legendColor) {\n            e.item.legendItem.symbol.attr({\n                fill: e.item.legendColor\n            });\n        }\n    }\n    /**\n     * Updates in the legend need to be reflected in the color axis. (#6888)\n     * @private\n     */\n    function onLegendAfterUpdate(e) {\n        this.chart.colorAxis?.forEach((colorAxis) => {\n            colorAxis.update({}, e.redraw);\n        });\n    }\n    /**\n     * Calculate and set colors for points.\n     * @private\n     */\n    function onSeriesAfterTranslate() {\n        if (this.chart.colorAxis &&\n            this.chart.colorAxis.length ||\n            this.colorAttribs) {\n            this.translateColors();\n        }\n    }\n    /**\n     * Add colorAxis to series axisTypes.\n     * @private\n     */\n    function onSeriesBindAxes() {\n        const axisTypes = this.axisTypes;\n        if (!axisTypes) {\n            this.axisTypes = ['colorAxis'];\n        }\n        else if (axisTypes.indexOf('colorAxis') === -1) {\n            axisTypes.push('colorAxis');\n        }\n    }\n    /**\n     * Set the visibility of a single point\n     * @private\n     * @function Highcharts.colorPointMixin.setVisible\n     * @param {boolean} visible\n     */\n    function pointSetVisible(vis) {\n        const point = this, method = vis ? 'show' : 'hide';\n        point.visible = point.options.visible = Boolean(vis);\n        // Show and hide associated elements\n        ['graphic', 'dataLabel'].forEach(function (key) {\n            if (point[key]) {\n                point[key][method]();\n            }\n        });\n        this.series.buildKDTree(); // Rebuild kdtree #13195\n    }\n    ColorAxisComposition.pointSetVisible = pointSetVisible;\n    /**\n     * In choropleth maps, the color is a result of the value, so this needs\n     * translation too\n     * @private\n     * @function Highcharts.colorSeriesMixin.translateColors\n     */\n    function seriesTranslateColors() {\n        const series = this, points = this.getPointsCollection(), // #17945\n        nullColor = this.options.nullColor, colorAxis = this.colorAxis, colorKey = this.colorKey;\n        points.forEach((point) => {\n            const value = point.getNestedProperty(colorKey), color = point.options.color || (point.isNull || point.value === null ?\n                nullColor :\n                (colorAxis && typeof value !== 'undefined') ?\n                    colorAxis.toColor(value, point) :\n                    point.color || series.color);\n            if (color && point.color !== color) {\n                point.color = color;\n                if (series.options.legendType === 'point' &&\n                    point.legendItem &&\n                    point.legendItem.label) {\n                    series.chart.legend.colorizeItem(point, point.visible);\n                }\n            }\n        });\n    }\n    /**\n     * @private\n     */\n    function wrapChartCreateAxis(ChartClass) {\n        const superCreateAxis = ChartClass.prototype.createAxis;\n        ChartClass.prototype.createAxis = function (type, options) {\n            const chart = this;\n            if (type !== 'colorAxis') {\n                return superCreateAxis.apply(chart, arguments);\n            }\n            const axis = new ColorAxisConstructor(chart, merge(options.axis, {\n                index: chart[type].length,\n                isX: false\n            }));\n            chart.isDirtyLegend = true;\n            // Clear before 'bindAxes' (#11924)\n            chart.axes.forEach((axis) => {\n                axis.series = [];\n            });\n            chart.series.forEach((series) => {\n                series.bindAxes();\n                series.isDirtyData = true;\n            });\n            if (pick(options.redraw, true)) {\n                chart.redraw(options.animation);\n            }\n            return axis;\n        };\n    }\n    /**\n     * Handle animation of the color attributes directly.\n     * @private\n     */\n    function wrapFxFillSetter() {\n        this.elem.attr('fill', color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n    }\n    /**\n     * Handle animation of the color attributes directly.\n     * @private\n     */\n    function wrapFxStrokeSetter() {\n        this.elem.attr('stroke', color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n    }\n})(ColorAxisComposition || (ColorAxisComposition = {}));\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Color_ColorAxisComposition = (ColorAxisComposition);\n\n;// ./code/es-modules/Series/Tilemap/TilemapPoint.js\n/* *\n *\n *  Tilemaps module\n *\n *  (c) 2010-2024 Highsoft AS\n *  Author: Øystein Moseng\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\n\nconst { series: { prototype: { pointClass: Point } }, seriesTypes: { heatmap: { prototype: { pointClass: HeatmapPoint } } } } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default());\n\nconst { extend: TilemapPoint_extend } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Class\n *\n * */\nclass TilemapPoint extends HeatmapPoint {\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * @private\n     * @function Highcharts.Point#haloPath\n     */\n    haloPath() {\n        return this.series.tileShape.haloPath.apply(this, arguments);\n    }\n}\nTilemapPoint_extend(TilemapPoint.prototype, {\n    setState: Point.prototype.setState,\n    setVisible: Color_ColorAxisComposition.pointSetVisible\n});\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Tilemap_TilemapPoint = (TilemapPoint);\n\n;// ./code/es-modules/Series/Tilemap/TilemapSeriesDefaults.js\n/* *\n *\n *  Tilemaps module\n *\n *  (c) 2010-2024 Highsoft AS\n *  Author: Øystein Moseng\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n *  API Options\n *\n * */\n/**\n * A tilemap series is a type of heatmap where the tile shapes are\n * configurable.\n *\n * @sample highcharts/demo/honeycomb-usa/\n *         Honeycomb tilemap, USA\n * @sample maps/plotoptions/honeycomb-brazil/\n *         Honeycomb tilemap, Brazil\n * @sample maps/plotoptions/honeycomb-china/\n *         Honeycomb tilemap, China\n * @sample maps/plotoptions/honeycomb-europe/\n *         Honeycomb tilemap, Europe\n * @sample maps/demo/circlemap-africa/\n *         Circlemap tilemap, Africa\n * @sample maps/demo/diamondmap\n *         Diamondmap tilemap\n *\n * @extends      plotOptions.heatmap\n * @since        6.0.0\n * @excluding    jitter, joinBy, shadow, allAreas, mapData, marker, data,\n *               dataSorting, boostThreshold, boostBlending\n * @product      highcharts highmaps\n * @requires     modules/tilemap\n * @optionparent plotOptions.tilemap\n */\nconst TilemapSeriesDefaults = {\n    // Remove marker from tilemap default options, as it was before\n    // heatmap refactoring.\n    marker: null,\n    states: {\n        hover: {\n            halo: {\n                enabled: true,\n                size: 2,\n                opacity: 0.5,\n                attributes: {\n                    zIndex: 3\n                }\n            }\n        }\n    },\n    /**\n     * The padding between points in the tilemap.\n     *\n     * @sample maps/plotoptions/tilemap-pointpadding\n     *         Point padding on tiles\n     */\n    pointPadding: 2,\n    /**\n     * The column size - how many X axis units each column in the tilemap\n     * should span. Works as in [Heatmaps](#plotOptions.heatmap.colsize).\n     *\n     * @sample {highcharts} maps/demo/heatmap/\n     *         One day\n     * @sample {highmaps} maps/demo/heatmap/\n     *         One day\n     *\n     * @type      {number}\n     * @default   1\n     * @product   highcharts highmaps\n     * @apioption plotOptions.tilemap.colsize\n     */\n    /**\n     * The row size - how many Y axis units each tilemap row should span.\n     * Analogous to [colsize](#plotOptions.tilemap.colsize).\n     *\n     * @sample {highcharts} maps/demo/heatmap/\n     *         1 by default\n     * @sample {highmaps} maps/demo/heatmap/\n     *         1 by default\n     *\n     * @type      {number}\n     * @default   1\n     * @product   highcharts highmaps\n     * @apioption plotOptions.tilemap.rowsize\n     */\n    /**\n     * The shape of the tiles in the tilemap. Possible values are `hexagon`,\n     * `circle`, `diamond`, and `square`.\n     *\n     * @sample maps/demo/circlemap-africa\n     *         Circular tile shapes\n     * @sample maps/demo/diamondmap\n     *         Diamond tile shapes\n     *\n     * @type {Highcharts.TilemapShapeValue}\n     */\n    tileShape: 'hexagon'\n};\n/**\n * A `tilemap` series. If the [type](#series.tilemap.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends   series,plotOptions.tilemap\n * @excluding allAreas, dataParser, dataURL, joinBy, mapData, marker,\n *            pointRange, shadow, stack, dataSorting, boostThreshold,\n *            boostBlending\n * @product   highcharts highmaps\n * @requires  modules/tilemap\n * @apioption series.tilemap\n */\n/**\n * An array of data points for the series. For the `tilemap` series\n * type, points can be given in the following ways:\n *\n * 1. An array of arrays with 3 or 2 values. In this case, the values correspond\n *    to `x,y,value`. If the first value is a string, it is applied as the name\n *    of the point, and the `x` value is inferred. The `x` value can also be\n *    omitted, in which case the inner arrays should be of length 2\\. Then the\n *    `x` value is automatically calculated, either starting at 0 and\n *    incremented by 1, or from `pointStart` and `pointInterval` given in the\n *    series options.\n *    ```js\n *    data: [\n *        [0, 9, 7],\n *        [1, 10, 4],\n *        [2, 6, 3]\n *    ]\n *    ```\n *\n * 2. An array of objects with named values. The objects are point configuration\n *    objects as seen below. If the total number of data points exceeds the\n *    series' [turboThreshold](#series.tilemap.turboThreshold), this option is\n *    not available.\n *    ```js\n *    data: [{\n *        x: 1,\n *        y: 3,\n *        value: 10,\n *        name: \"Point2\",\n *        color: \"#00FF00\"\n *    }, {\n *        x: 1,\n *        y: 7,\n *        value: 10,\n *        name: \"Point1\",\n *        color: \"#FF00FF\"\n *    }]\n *    ```\n *\n * Note that for some [tileShapes](#plotOptions.tilemap.tileShape) the grid\n * coordinates are offset.\n *\n * @sample maps/series/tilemap-gridoffset\n *         Offset grid coordinates\n * @sample {highcharts} highcharts/series/data-array-of-arrays/\n *         Arrays of numeric x and y\n * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/\n *         Arrays of datetime x and y\n * @sample {highcharts} highcharts/series/data-array-of-name-value/\n *         Arrays of point.name and y\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n *         Config objects\n *\n * @type      {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}\n * @extends   series.heatmap.data\n * @excluding marker\n * @product   highcharts highmaps\n * @apioption series.tilemap.data\n */\n/**\n * The color of the point. In tilemaps the point color is rarely set\n * explicitly, as we use the color to denote the `value`. Options for\n * this are set in the [colorAxis](#colorAxis) configuration.\n *\n * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product   highcharts highmaps\n * @apioption series.tilemap.data.color\n */\n/**\n * The x coordinate of the point.\n *\n * Note that for some [tileShapes](#plotOptions.tilemap.tileShape) the grid\n * coordinates are offset.\n *\n * @sample maps/series/tilemap-gridoffset\n *         Offset grid coordinates\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.tilemap.data.x\n */\n/**\n * The y coordinate of the point.\n *\n * Note that for some [tileShapes](#plotOptions.tilemap.tileShape) the grid\n * coordinates are offset.\n *\n * @sample maps/series/tilemap-gridoffset\n *         Offset grid coordinates\n *\n * @type      {number}\n * @product   highcharts highmaps\n * @apioption series.tilemap.data.y\n */\n''; // Keeps doclets above detached\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Tilemap_TilemapSeriesDefaults = (TilemapSeriesDefaults);\n\n;// ./code/es-modules/Series/Tilemap/TilemapShapes.js\n/* *\n *\n *  Tilemaps module\n *\n *  (c) 2010-2024 Highsoft AS\n *  Author: Øystein Moseng\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { heatmap: HeatmapSeries, scatter: ScatterSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\nconst { clamp, pick: TilemapShapes_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Utility func to get padding definition from tile size division\n * @private\n */\nfunction tilePaddingFromTileSize(series, xDiv, yDiv) {\n    const options = series.options;\n    return {\n        xPad: (options.colsize || 1) / -xDiv,\n        yPad: (options.rowsize || 1) / -yDiv\n    };\n}\n/* *\n *\n *  Registry\n *\n * */\n/**\n * Map of shape types.\n * @private\n */\nconst TilemapShapes = {\n    // Hexagon shape type.\n    hexagon: {\n        alignDataLabel: ScatterSeries.prototype.alignDataLabel,\n        getSeriesPadding: function (series) {\n            return tilePaddingFromTileSize(series, 3, 2);\n        },\n        haloPath: function (size) {\n            if (!size) {\n                return [];\n            }\n            const hexagon = this.tileEdges;\n            return [\n                ['M', hexagon.x2 - size, hexagon.y1 + size],\n                ['L', hexagon.x3 + size, hexagon.y1 + size],\n                ['L', hexagon.x4 + size * 1.5, hexagon.y2],\n                ['L', hexagon.x3 + size, hexagon.y3 - size],\n                ['L', hexagon.x2 - size, hexagon.y3 - size],\n                ['L', hexagon.x1 - size * 1.5, hexagon.y2],\n                ['Z']\n            ];\n        },\n        translate: function () {\n            const series = this, options = series.options, xAxis = series.xAxis, yAxis = series.yAxis, seriesPointPadding = options.pointPadding || 0, xPad = (options.colsize || 1) / 3, yPad = (options.rowsize || 1) / 2;\n            let yShift;\n            series.generatePoints();\n            for (const point of series.points) {\n                let x1 = clamp(Math.floor(xAxis.len -\n                    xAxis.translate(point.x - xPad * 2, 0, 1, 0, 1)), -xAxis.len, 2 * xAxis.len), x2 = clamp(Math.floor(xAxis.len -\n                    xAxis.translate(point.x - xPad, 0, 1, 0, 1)), -xAxis.len, 2 * xAxis.len), x3 = clamp(Math.floor(xAxis.len -\n                    xAxis.translate(point.x + xPad, 0, 1, 0, 1)), -xAxis.len, 2 * xAxis.len), x4 = clamp(Math.floor(xAxis.len -\n                    xAxis.translate(point.x + xPad * 2, 0, 1, 0, 1)), -xAxis.len, 2 * xAxis.len), y1 = clamp(Math.floor(yAxis.translate(point.y - yPad, 0, 1, 0, 1)), -yAxis.len, 2 * yAxis.len), y2 = clamp(Math.floor(yAxis.translate(point.y, 0, 1, 0, 1)), -yAxis.len, 2 * yAxis.len), y3 = clamp(Math.floor(yAxis.translate(point.y + yPad, 0, 1, 0, 1)), -yAxis.len, 2 * yAxis.len);\n                const pointPadding = point.pointPadding ?? seriesPointPadding, \n                // We calculate the point padding of the midpoints to\n                // preserve the angles of the shape.\n                midPointPadding = pointPadding *\n                    Math.abs(x2 - x1) / Math.abs(y3 - y2), xMidPadding = xAxis.reversed ?\n                    -midPointPadding : midPointPadding, xPointPadding = xAxis.reversed ?\n                    -pointPadding : pointPadding, yPointPadding = yAxis.reversed ?\n                    -pointPadding : pointPadding;\n                // Shift y-values for every second grid column\n                if (point.x % 2) {\n                    yShift = yShift || Math.round(Math.abs(y3 - y1) / 2) *\n                        // We have to reverse the shift for reversed y-axes\n                        (yAxis.reversed ? -1 : 1);\n                    y1 += yShift;\n                    y2 += yShift;\n                    y3 += yShift;\n                }\n                // Set plotX and plotY for use in K-D-Tree and more\n                point.plotX = point.clientX = (x2 + x3) / 2;\n                point.plotY = y2;\n                // Apply point padding to translated coordinates\n                x1 += xMidPadding + xPointPadding;\n                x2 += xPointPadding;\n                x3 -= xPointPadding;\n                x4 -= xMidPadding + xPointPadding;\n                y1 -= yPointPadding;\n                y3 += yPointPadding;\n                // Store points for halo creation\n                point.tileEdges = {\n                    x1: x1, x2: x2, x3: x3, x4: x4, y1: y1, y2: y2, y3: y3\n                };\n                // Finally set the shape for this point\n                point.shapeType = 'path';\n                point.shapeArgs = {\n                    d: [\n                        ['M', x2, y1],\n                        ['L', x3, y1],\n                        ['L', x4, y2],\n                        ['L', x3, y3],\n                        ['L', x2, y3],\n                        ['L', x1, y2],\n                        ['Z']\n                    ]\n                };\n            }\n            series.translateColors();\n        }\n    },\n    // Diamond shape type.\n    diamond: {\n        alignDataLabel: ScatterSeries.prototype.alignDataLabel,\n        getSeriesPadding: function (series) {\n            return tilePaddingFromTileSize(series, 2, 2);\n        },\n        haloPath: function (size) {\n            if (!size) {\n                return [];\n            }\n            const diamond = this.tileEdges;\n            return [\n                ['M', diamond.x2, diamond.y1 + size],\n                ['L', diamond.x3 + size, diamond.y2],\n                ['L', diamond.x2, diamond.y3 - size],\n                ['L', diamond.x1 - size, diamond.y2],\n                ['Z']\n            ];\n        },\n        translate: function () {\n            const series = this, options = series.options, xAxis = series.xAxis, yAxis = series.yAxis, seriesPointPadding = options.pointPadding || 0, xPad = (options.colsize || 1), yPad = (options.rowsize || 1) / 2;\n            let yShift;\n            series.generatePoints();\n            for (const point of series.points) {\n                let x1 = clamp(Math.round(xAxis.len -\n                    xAxis.translate(point.x - xPad, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), x3 = clamp(Math.round(xAxis.len -\n                    xAxis.translate(point.x + xPad, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), y1 = clamp(Math.round(yAxis.translate(point.y - yPad, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len), y2 = clamp(Math.round(yAxis.translate(point.y, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len), y3 = clamp(Math.round(yAxis.translate(point.y + yPad, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len);\n                const x2 = clamp(Math.round(xAxis.len -\n                    xAxis.translate(point.x, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), pointPadding = TilemapShapes_pick(point.pointPadding, seriesPointPadding), \n                // We calculate the point padding of the midpoints to\n                // preserve the angles of the shape.\n                midPointPadding = pointPadding *\n                    Math.abs(x2 - x1) / Math.abs(y3 - y2), xPointPadding = xAxis.reversed ?\n                    -midPointPadding : midPointPadding, yPointPadding = yAxis.reversed ?\n                    -pointPadding : pointPadding;\n                // Shift y-values for every second grid column\n                // We have to reverse the shift for reversed y-axes\n                if (point.x % 2) {\n                    yShift = Math.abs(y3 - y1) / 2 * (yAxis.reversed ? -1 : 1);\n                    y1 += yShift;\n                    y2 += yShift;\n                    y3 += yShift;\n                }\n                // Set plotX and plotY for use in K-D-Tree and more\n                point.plotX = point.clientX = x2;\n                point.plotY = y2;\n                // Apply point padding to translated coordinates\n                x1 += xPointPadding;\n                x3 -= xPointPadding;\n                y1 -= yPointPadding;\n                y3 += yPointPadding;\n                // Store points for halo creation\n                point.tileEdges = {\n                    x1: x1, x2: x2, x3: x3, y1: y1, y2: y2, y3: y3\n                };\n                // Set this point's shape parameters\n                point.shapeType = 'path';\n                point.shapeArgs = {\n                    d: [\n                        ['M', x2, y1],\n                        ['L', x3, y2],\n                        ['L', x2, y3],\n                        ['L', x1, y2],\n                        ['Z']\n                    ]\n                };\n            }\n            series.translateColors();\n        }\n    },\n    // Circle shape type.\n    circle: {\n        alignDataLabel: ScatterSeries.prototype.alignDataLabel,\n        getSeriesPadding: function (series) {\n            return tilePaddingFromTileSize(series, 2, 2);\n        },\n        haloPath: function (size) {\n            return ScatterSeries.prototype.pointClass.prototype.haloPath\n                .call(this, size + (size && this.radius));\n        },\n        translate: function () {\n            const series = this, options = series.options, xAxis = series.xAxis, yAxis = series.yAxis, seriesPointPadding = options.pointPadding || 0, yRadius = (options.rowsize || 1) / 2, colsize = (options.colsize || 1);\n            let colsizePx, yRadiusPx, xRadiusPx, radius, forceNextRadiusCompute = false;\n            series.generatePoints();\n            for (const point of series.points) {\n                const x = clamp(Math.round(xAxis.len -\n                    xAxis.translate(point.x, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len);\n                let pointPadding = seriesPointPadding, hasPerPointPadding = false, y = clamp(Math.round(yAxis.translate(point.y, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len);\n                // If there is point padding defined on a single point, add it\n                if (typeof point.pointPadding !== 'undefined') {\n                    pointPadding = point.pointPadding;\n                    hasPerPointPadding = true;\n                    forceNextRadiusCompute = true;\n                }\n                // Find radius if not found already.\n                // Use the smallest one (x vs y) to avoid overlap.\n                // Note that the radius will be recomputed for each series.\n                // Ideal (max) x radius is dependent on y radius:\n                /*\n                                * (circle 2)\n\n                                        * (circle 3)\n                                        |    yRadiusPx\n                    (circle 1)    *-------|\n                                 colsizePx\n\n                    The distance between circle 1 and 3 (and circle 2 and 3) is\n                    2r, which is the hypotenuse of the triangle created by\n                    colsizePx and yRadiusPx. If the distance between circle 2\n                    and circle 1 is less than 2r, we use half of that distance\n                    instead (yRadiusPx).\n                */\n                if (!radius || forceNextRadiusCompute) {\n                    colsizePx = Math.abs(clamp(Math.floor(xAxis.len -\n                        xAxis.translate(point.x + colsize, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len) - x);\n                    yRadiusPx = Math.abs(clamp(Math.floor(yAxis.translate(point.y + yRadius, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len) - y);\n                    xRadiusPx = Math.floor(Math.sqrt((colsizePx * colsizePx + yRadiusPx * yRadiusPx)) / 2);\n                    radius = Math.min(colsizePx, xRadiusPx, yRadiusPx) - pointPadding;\n                    // If we have per point padding we need to always compute\n                    // the radius for this point and the next. If we used to\n                    // have per point padding but don't anymore, don't force\n                    // compute next radius.\n                    if (forceNextRadiusCompute && !hasPerPointPadding) {\n                        forceNextRadiusCompute = false;\n                    }\n                }\n                // Shift y-values for every second grid column.\n                // Note that we always use the optimal y axis radius for this.\n                // Also note: We have to reverse the shift for reversed y-axes.\n                if (point.x % 2) {\n                    y += yRadiusPx * (yAxis.reversed ? -1 : 1);\n                }\n                // Set plotX and plotY for use in K-D-Tree and more\n                point.plotX = point.clientX = x;\n                point.plotY = y;\n                // Save radius for halo\n                point.radius = radius;\n                // Set this point's shape parameters\n                point.shapeType = 'circle';\n                point.shapeArgs = {\n                    x: x,\n                    y: y,\n                    r: radius\n                };\n            }\n            series.translateColors();\n        }\n    },\n    // Square shape type.\n    square: {\n        alignDataLabel: HeatmapSeries.prototype.alignDataLabel,\n        translate: HeatmapSeries.prototype.translate,\n        getSeriesPadding: noop,\n        haloPath: HeatmapSeries.prototype.pointClass.prototype.haloPath\n    }\n};\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Tilemap_TilemapShapes = (TilemapShapes);\n\n;// ./code/es-modules/Series/Tilemap/TilemapSeries.js\n/* *\n *\n *  Tilemaps module\n *\n *  (c) 2010-2024 Highsoft AS\n *  Author: Øystein Moseng\n *\n *  License: www.highcharts.com/license\n *\n *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nconst { composed, noop: TilemapSeries_noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n\nconst { column: ColumnSeries, heatmap: TilemapSeries_HeatmapSeries, scatter: TilemapSeries_ScatterSeries } = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes;\n\n\n\n\nconst { addEvent: TilemapSeries_addEvent, extend: TilemapSeries_extend, merge: TilemapSeries_merge, pushUnique } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\n/* *\n *\n *  Functions\n *\n * */\n/**\n * Extension to add pixel padding for series. Uses getSeriesPixelPadding on each\n * series and adds the largest padding required. If no series has this function\n * defined, we add nothing.\n * @private\n */\nfunction onAxisAfterSetAxisTranslation() {\n    if (this.recomputingForTilemap || this.coll === 'colorAxis') {\n        return;\n    }\n    const axis = this, \n    // Find which series' padding to use\n    seriesPadding = axis.series\n        .map(function (series) {\n        return series.getSeriesPixelPadding &&\n            series.getSeriesPixelPadding(axis);\n    })\n        .reduce(function (a, b) {\n        return (a && a.padding) > (b && b.padding) ?\n            a :\n            b;\n    }, void 0) ||\n        {\n            padding: 0,\n            axisLengthFactor: 1\n        }, lengthPadding = Math.round(seriesPadding.padding * seriesPadding.axisLengthFactor);\n    // Don't waste time on this if we're not adding extra padding\n    if (seriesPadding.padding) {\n        // Recompute translation with new axis length now (minus padding)\n        axis.len -= lengthPadding;\n        axis.recomputingForTilemap = true;\n        axis.setAxisTranslation();\n        delete axis.recomputingForTilemap;\n        axis.minPixelPadding += seriesPadding.padding;\n        axis.len += lengthPadding;\n    }\n}\n/* *\n *\n *  Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.tilemap\n *\n * @augments Highcharts.Series\n */\nclass TilemapSeries extends TilemapSeries_HeatmapSeries {\n    /* *\n     *\n     *  Static Functions\n     *\n     * */\n    static compose(AxisClass) {\n        if (pushUnique(composed, 'TilemapSeries')) {\n            TilemapSeries_addEvent(AxisClass, 'afterSetAxisTranslation', onAxisAfterSetAxisTranslation);\n        }\n    }\n    /* *\n     *\n     *  Functions\n     *\n     * */\n    /**\n     * Use the shape's defined data label alignment function.\n     * @private\n     */\n    alignDataLabel() {\n        return this.tileShape.alignDataLabel.apply(this, arguments);\n    }\n    drawPoints() {\n        // In styled mode, use CSS, otherwise the fill used in the style\n        // sheet will take precedence over the fill attribute.\n        ColumnSeries.prototype.drawPoints.call(this);\n        for (const point of this.points) {\n            if (point.graphic) {\n                point.graphic[this.chart.styledMode ? 'css' : 'animate'](this.colorAttribs(point));\n            }\n        }\n    }\n    /**\n     * Get metrics for padding of axis for this series.\n     * @private\n     */\n    getSeriesPixelPadding(axis) {\n        const isX = axis.isXAxis, padding = this.tileShape.getSeriesPadding(this);\n        // If the shape type does not require padding, return no-op padding\n        if (!padding) {\n            return {\n                padding: 0,\n                axisLengthFactor: 1\n            };\n        }\n        // Use translate to compute how far outside the points we\n        // draw, and use this difference as padding.\n        const coord1 = Math.round(axis.translate(isX ?\n            padding.xPad * 2 :\n            padding.yPad, 0, 1, 0, 1));\n        const coord2 = Math.round(axis.translate(isX ? padding.xPad : 0, 0, 1, 0, 1));\n        return {\n            padding: (axis.single ? // If there is only one tick adjust padding #18647\n                Math.abs(coord1 - coord2) / 2 :\n                Math.abs(coord1 - coord2)) || 0,\n            // Offset the yAxis length to compensate for shift. Setting the\n            // length factor to 2 would add the same margin to max as min.\n            // Now we only add a slight bit of the min margin to max, as we\n            // don't actually draw outside the max bounds. For the xAxis we\n            // draw outside on both sides so we add the same margin to min\n            // and max.\n            axisLengthFactor: isX ? 2 : 1.1\n        };\n    }\n    /**\n     * Set tile shape object on series.\n     * @private\n     */\n    setOptions() {\n        // Call original function\n        const ret = super.setOptions.apply(this, arguments);\n        this.tileShape = Tilemap_TilemapShapes[ret.tileShape];\n        return ret;\n    }\n    /**\n     * Use translate from tileShape.\n     * @private\n     */\n    translate() {\n        return this.tileShape.translate.apply(this, arguments);\n    }\n}\n/* *\n *\n *  Static Properties\n *\n * */\nTilemapSeries.defaultOptions = TilemapSeries_merge(TilemapSeries_HeatmapSeries.defaultOptions, Tilemap_TilemapSeriesDefaults);\nTilemapSeries_extend(TilemapSeries.prototype, {\n    // Revert the noop on getSymbol.\n    getSymbol: TilemapSeries_noop,\n    // Use drawPoints, markerAttribs, pointAttribs methods from the old\n    // heatmap implementation.\n    // TODO: Consider standardizing heatmap and tilemap into more\n    // consistent form.\n    markerAttribs: TilemapSeries_ScatterSeries.prototype.markerAttribs,\n    pointAttribs: ColumnSeries.prototype.pointAttribs,\n    pointClass: Tilemap_TilemapPoint\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('tilemap', TilemapSeries);\n/* *\n *\n *  Default Export\n *\n * */\n/* harmony default export */ const Tilemap_TilemapSeries = (TilemapSeries);\n/* *\n *\n *  API Declarations\n *\n * */\n/**\n * @typedef {\"circle\"|\"diamond\"|\"hexagon\"|\"square\"} Highcharts.TilemapShapeValue\n */\n''; // Keeps doclets above in JS file\n\n;// ./code/es-modules/masters/modules/tilemap.src.js\n\n\n\n\nconst G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nTilemap_TilemapSeries.compose(G.Axis);\n/* harmony default export */ const tilemap_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","(function(exports) {\n  'use strict';\n\n  /**\n   * Sets up much of the functionality necessary to create the beeswarm plot. Many parameters (line, xBasis, xPadding,\n   * maxPointsPerLine, color) are used to determine the characteristics of the beeswarm plot.\n   * @param line takes the points that will be manipulated into a beeswarm plot\n   * @param xBasis takes the basis for x\n   * @param xPadding takes the desired amount of padding between each point regarding x-coordinates\n   * @param maxPointsPerLine takes the maximum amount of points allowed per line\n   * @param color takes any number of colors used for coloring data points on the beeswarm plots\n   * @returns {Array} an array of beeswarm points with x,y coordinates are returned\n   */\n  function prepareLine(line, xBasis, xPadding, maxPointsPerLine, color) {\n    var result = [];\n    var x, i, len;\n    for (var start = 0; start < line.length; start += maxPointsPerLine) {\n      x = 0;\n      len = Math.min(maxPointsPerLine, line.length - start);\n      for (i = 0; i < len; i++) {\n        x = x > 0 ? x - i : x + i;\n        result.push({\n          x: x * xPadding + xBasis,\n          y: line[start + i],\n          color: color\n        });\n      }\n    }\n    return result;\n  }\n\n  exports.beeSwarmData = function beeSwarmDataVarroa(series, yPadding, xPadding, maxPointsPerLine, colors) {\n    return series.reduce(function (result, data, x) {\n      return result.concat(beeSwarm(data, x, xPadding, yPadding, maxPointsPerLine, colors[x % colors.length]));\n    }, []);\n  }\n\n  /**\n   * Calls prepareLine function to process and return all data necessary for beeswarm plots in highcharts.\n   * @param series takes a 2d array of data to turn into beeswarm plot x,y coordinates\n   * @param xBasis takes the basis for x\n   * @param xPadding takes the desired amount of padding between each point regarding x-coordinates\n   * @param yPadding takes the desired amount of padding between each point regarding y-coordinates\n   * @param maxPointsPerLine takes the maximum amount of points allowed per line\n   * @param color takes any number of colors used for coloring data points on the beeswarm plots\n   * @returns {*[]} a variable length array of all beeswarm x,y coordinates necessary for creating a highchart.\n   */\n  var beeSwarm = function beeSwarm(series, xBasis, xPadding, yPadding, maxPointsPerLine, color) {\n    series.sort();\n    var p;\n    var line = [];\n    var swarm = [];\n    var y = series[0] + yPadding;\n    for (var i = 0; i < series.length; i++) {\n      p = series[i];\n      if (p > y) {\n        swarm = swarm.concat(prepareLine(line, xBasis, xPadding, maxPointsPerLine, color));\n        y = p + yPadding;\n        line = [];\n      }\n      line.push(p);\n    }\n    return swarm.concat(prepareLine(line, xBasis, xPadding, maxPointsPerLine, color));\n  }\n\n  /**\n   * Calculates y units to pass into beeSwarm yPadding argument.\n   * @param yMin takes the minimum y value\n   * @param yMax takes the maximum y value\n   * @param pxMin takes the minimum pixel value\n   * @param pxMax takes the maximum pixel value\n   * @param pointRadius takes the point radius\n   */\n  exports.calculateYPadding = function calculateYPadding(yMin, yMax, pxMin, pxMax, pointDiameter) {\n    var yUnits = (pointDiameter - pxMin) * ((yMax - yMin)/(pxMax - pxMin)) + yMin;\n    return yUnits;\n  }\n\n  exports.parseTimeSeriesXDates = function parseAllDates(twoDArray) {\n    for (var i = 0; i < twoDArray.length; i++) {\n      twoDArray[i][0] = Date.parse(twoDArray[i][0])\n    }\n    return twoDArray\n  }\n\n})(window.ReportTools = {});\n"],"mappings":";;;;AAAA,SAASA,eAAeC,GACtBC,SAASC,OACPC,OAAOC,sBAAwB,IAAMJ,EAAO,UAChD,CCACG,OAAOE,UAAU,SAASC,EAAEC,EAAEC,GAAG,SAASC,EAAEH,GAAGI,EAAEC,QAAQL,CAAC,CAAiD,SAASM,EAAEN,EAAEC,GAAG,cAAcD,IAAIC,CAAC,CAAgK,IAAgLM,EAA4gBC,EAA9qBC,EAAE,CAAC,EAAOC,EAAET,EAAEU,gBAAgBC,EAAE,YAAYC,EAAEZ,EAAEa,cAAcF,GAAGR,EAAES,EAAEE,MAAsBC,EAAE,4BAA4BC,MAAM,KAAKC,EAAE,CAAC,EAAYC,EAAE,GAAGC,EAAED,EAAEE,MAAQC,EAAE,SAAStB,EAAEE,EAAEqB,EAAEd,GAAG,IAAIe,EAAEX,EAAET,EAAEqB,EAAEC,EAAEzB,EAAEa,cAAc,OAAOE,EAAEf,EAAE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mBtnG,EAAKuH,WAE9B,GAAI+/F,EAAkB,CAClB,MAAM//F,EAAa,CAAC,EACpB,GAAGolC,QAAQ/vC,KAAK0qG,GAAmBC,IACX,eAAhBA,EAAOnmG,KACPimG,EAAQlsG,MAAQ6qG,GAAIK,WAAWkB,EAAOriG,OAGtCqC,EAAWggG,EAAOnmG,MAAQmmG,EAAOriG,KACrC,IAEJmiG,EAAQ9/F,WAAaA,CACzB,CAEA,GAAIvH,EAAK0J,WAAWzI,OAAQ,CACxB,MAAM6U,EAAW,GACjB,GAAG62B,QAAQ/vC,KAAKoD,EAAK0J,YAAa89F,IAC9BL,EAAiBK,EAAW1xF,EAAS,IAErCA,EAAS7U,SACTomG,EAAQvxF,SAAWA,EAE3B,CACAsxF,EAAMzpG,KAAK0pG,EAAQ,EAGvB,MADA,GAAG16D,QAAQ/vC,KAAKqD,EAAIlE,KAAK2N,YAAa89F,GAAcL,EAAiBK,EAAWvkF,KACzEA,CACX,EAsBJ+iF,GAAInjB,kBAAoB,CACpB,MACA,gBACA,mBACA,gBACA,gBACA,cACA,aACA,kBACA,YACA,eACA,gBACA,uBACA,gBACA,QACA,YACA,QACA,UACA,KACA,KACA,IACA,KACA,KACA,WACA,OACA,cACA,cACA,gBACA,SACA,OACA,KACA,KACA,MACA,eACA,cACA,SACA,UACA,WACA,SACA,UACA,cACA,eACA,eACA,IACA,SACA,OACA,OACA,OACA,QACA,QACA,MACA,cACA,eACA,SACA,iBACA,eACA,QACA,cACA,SACA,UACA,UACA,SACA,WACA,aACA,cACA,aACA,aACA,QACA,OACA,SACA,QACA,IACA,KACA,KACA,aACA,IACA,KACA,KACA,UAiBJmjB,GAAIG,kBAAoB,CACpB,WACA,UACA,UACA,IACA,MACA,KACA,KAgBJH,GAAIgB,YAAc,CACd,IACA,OACA,IACA,KACA,SACA,UACA,SACA,WACA,OACA,KACA,OACA,MACA,KACA,KACA,KACA,sBACA,cACA,eACA,UACA,UACA,UACA,UACA,UACA,iBACA,eACA,WACA,UAC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