Hacked By AnonymousFox
{"version":3,"sources":["<anon>"],"sourcesContent":["/**\n * @license Highcharts JS v12.1.2 (2025-01-09)\n * Organization chart series type\n * @module highcharts/modules/organization\n * @requires highcharts\n * @requires highcharts/modules/sankey\n *\n * (c) 2019-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(require(\"highcharts\"), require(\"highcharts\")[\"SeriesRegistry\"], require(\"highcharts\")[\"SVGElement\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/organization\", [[\"highcharts/highcharts\"], [\"highcharts/highcharts\",\"SeriesRegistry\"], [\"highcharts/highcharts\",\"SVGElement\"]], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/organization\"] = factory(require(\"highcharts\"), require(\"highcharts\")[\"SeriesRegistry\"], require(\"highcharts\")[\"SVGElement\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"SeriesRegistry\"], root[\"Highcharts\"][\"SVGElement\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__28__) {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 28:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__28__;\n\n/***/ }),\n\n/***/ 512:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 944:\n/***/ (function(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!function() {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = function(module) {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\tfunction() { return module['default']; } :\n/******/ \t\t\t\tfunction() { return 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!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(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!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return 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\": function() { return /* binding */ organization_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;// ./code/es5/es-modules/Series/Organization/OrganizationPoint.js\n/* *\n *\n * Organization chart module\n *\n * (c) 2018-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d,\n b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d,\n b) { d.__proto__ = b; }) ||\n function (d,\n b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\nvar SankeyPointClass = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.sankey.prototype.pointClass;\n\nvar defined = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).defined, find = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).find, pick = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).pick;\n/* *\n *\n * Functions\n *\n * */\n/**\n * Get columns offset including all sibling and cousins etc.\n * @private\n */\nfunction getOffset(node) {\n var offset = node.linksFrom.length;\n node.linksFrom.forEach(function (link) {\n if (link.id === link.toNode.linksTo[0].id) {\n // Node has children, that hangs directly from it:\n offset += getOffset(link.toNode);\n }\n else {\n // If the node hangs from multiple parents, and this is not\n // the last one, ignore it:\n offset--;\n }\n });\n return offset;\n}\n/* *\n *\n * Class\n *\n * */\nvar OrganizationPoint = /** @class */ (function (_super) {\n __extends(OrganizationPoint, _super);\n /* *\n *\n * Functions\n *\n * */\n function OrganizationPoint(series, options, x) {\n var _this = _super.call(this,\n series,\n options,\n x) || this;\n if (!_this.isNode) {\n _this.dataLabelOnNull = true;\n _this.formatPrefix = 'link';\n }\n return _this;\n }\n /**\n * All nodes in an org chart are equal width.\n * @private\n */\n OrganizationPoint.prototype.getSum = function () {\n return 1;\n };\n /**\n * Set node.column for hanging layout\n * @private\n */\n OrganizationPoint.prototype.setNodeColumn = function () {\n _super.prototype.setNodeColumn.call(this);\n var node = this,\n fromNode = node.getFromNode().fromNode;\n // Hanging layout\n if (\n // Not defined by user\n !defined(node.options.column) &&\n // Has links to\n node.linksTo.length !== 0 &&\n // And parent uses hanging layout\n fromNode &&\n fromNode.options.layout === 'hanging') {\n var i_1 = -1,\n link = void 0;\n // Default all children of the hanging node\n // to have hanging layout\n node.options.layout = pick(node.options.layout, 'hanging');\n node.hangsFrom = fromNode;\n find(fromNode.linksFrom, function (link, index) {\n var found = link.toNode === node;\n if (found) {\n i_1 = index;\n }\n return found;\n });\n // For all siblings' children (recursively)\n // increase the column offset to prevent overlapping\n for (var j = 0; j < fromNode.linksFrom.length; ++j) {\n link = fromNode.linksFrom[j];\n if (link.toNode.id === node.id) {\n // Break\n j = fromNode.linksFrom.length;\n }\n else {\n i_1 += getOffset(link.toNode);\n }\n }\n node.column = (node.column || 0) + i_1;\n }\n };\n return OrganizationPoint;\n}(SankeyPointClass));\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var Organization_OrganizationPoint = (OrganizationPoint);\n\n;// ./code/es5/es-modules/Series/Organization/OrganizationSeriesDefaults.js\n/* *\n *\n * Organization chart module\n *\n * (c) 2018-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 organization chart is a diagram that shows the structure of an\n * organization and the relationships and relative ranks of its parts and\n * positions.\n *\n * @sample highcharts/demo/organization-chart/\n * Organization chart\n * @sample highcharts/series-organization/horizontal/\n * Horizontal organization chart\n * @sample highcharts/series-organization/borderless\n * Borderless design\n * @sample highcharts/series-organization/center-layout\n * Centered layout\n *\n * @extends plotOptions.sankey\n * @excluding allowPointSelect, curveFactor, dataSorting\n * @since 7.1.0\n * @product highcharts\n * @requires modules/organization\n * @optionparent plotOptions.organization\n */\nvar OrganizationSeriesDefaults = {\n /**\n * The border color of the node cards.\n *\n * @type {Highcharts.ColorString}\n */\n borderColor: \"#666666\" /* Palette.neutralColor60 */,\n /**\n * The border radius of the node cards.\n *\n * @private\n */\n borderRadius: 3,\n /**\n * Radius for the rounded corners of the links between nodes. This\n * option is now deprecated, and moved to\n * [link.radius](#plotOptions.organization.link.radius).\n *\n * @sample highcharts/series-organization/link-options\n * Square links\n *\n * @deprecated\n * @apioption series.organization.linkRadius\n */\n /**\n * Link Styling options\n * @since 10.3.0\n * @product highcharts\n */\n link: {\n /**\n * Modifier of the shape of the curved link. Works best for values\n * between 0 and 1, where 0 is a straight line, and 1 is a shape\n * close to the default one.\n *\n * @default 0.5\n * @type {number}\n * @since 10.3.0\n * @product highcharts\n * @apioption series.organization.link.offset\n */\n /**\n * The color of the links between nodes.\n *\n * @type {Highcharts.ColorString}\n */\n color: \"#666666\" /* Palette.neutralColor60 */,\n /**\n * The line width of the links connecting nodes, in pixels.\n *\n * @sample highcharts/series-organization/link-options\n * Square links\n */\n lineWidth: 1,\n /**\n * Radius for the rounded corners of the links between nodes.\n * Works for `default` link type.\n *\n * @sample highcharts/series-organization/link-options\n * Square links\n */\n radius: 10,\n /**\n * Type of the link shape.\n *\n * @sample highcharts/series-organization/different-link-types\n * Different link types\n *\n * @declare Highcharts.OrganizationLinkTypeValue\n * @type {'default' | 'curved' | 'straight'}\n * @default 'default'\n * @product highcharts\n */\n type: 'default'\n },\n borderWidth: 1,\n /**\n * @declare Highcharts.SeriesOrganizationDataLabelsOptionsObject\n *\n * @private\n */\n dataLabels: {\n /* eslint-disable valid-jsdoc */\n /**\n * A callback for defining the format for _nodes_ in the\n * organization chart. The `nodeFormat` option takes precedence\n * over `nodeFormatter`.\n *\n * In an organization chart, the `nodeFormatter` is a quite complex\n * function of the available options, striving for a good default\n * layout of cards with or without images. In organization chart,\n * the data labels come with `useHTML` set to true, meaning they\n * will be rendered as true HTML above the SVG.\n *\n * @sample highcharts/series-organization/datalabels-nodeformatter\n * Modify the default label format output\n *\n * @type {Highcharts.SeriesSankeyDataLabelsFormatterCallbackFunction}\n * @since 6.0.2\n */\n nodeFormatter: function () {\n var outerStyle = {\n width: '100%',\n height: '100%',\n display: 'flex',\n 'flex-direction': 'row',\n 'align-items': 'center',\n 'justify-content': 'center'\n },\n imageStyle = {\n 'max-height': '100%',\n 'border-radius': '50%'\n },\n innerStyle = {\n width: '100%',\n padding: 0,\n 'text-align': 'center',\n 'white-space': 'normal'\n },\n nameStyle = {\n margin: 0\n },\n titleStyle = {\n margin: 0\n },\n descriptionStyle = {\n opacity: 0.75,\n margin: '5px'\n };\n // eslint-disable-next-line valid-jsdoc\n /**\n * @private\n */\n function styleAttr(style) {\n return Object.keys(style).reduce(function (str, key) {\n return str + key + ':' + style[key] + ';';\n }, 'style=\"') + '\"';\n }\n var _a = this.point,\n description = _a.description,\n image = _a.image,\n title = _a.title;\n if (image) {\n imageStyle['max-width'] = '30%';\n innerStyle.width = '70%';\n }\n // PhantomJS doesn't support flex, roll back to absolute\n // positioning\n if (this.series.chart.renderer.forExport) {\n outerStyle.display = 'block';\n innerStyle.position = 'absolute';\n innerStyle.left = image ? '30%' : 0;\n innerStyle.top = 0;\n }\n var html = '<div ' + styleAttr(outerStyle) + '>';\n if (image) {\n html += '<img src=\"' + image + '\" ' +\n styleAttr(imageStyle) + '>';\n }\n html += '<div ' + styleAttr(innerStyle) + '>';\n if (this.point.name) {\n html += '<h4 ' + styleAttr(nameStyle) + '>' +\n this.point.name + '</h4>';\n }\n if (title) {\n html += '<p ' + styleAttr(titleStyle) + '>' +\n (title || '') + '</p>';\n }\n if (description) {\n html += '<p ' + styleAttr(descriptionStyle) + '>' +\n description + '</p>';\n }\n html += '</div>' +\n '</div>';\n return html;\n },\n /* eslint-enable valid-jsdoc */\n style: {\n /** @internal */\n fontWeight: 'normal',\n /** @internal */\n fontSize: '0.9em',\n /** @internal */\n textAlign: 'left'\n },\n useHTML: true,\n linkTextPath: {\n attributes: {\n startOffset: '95%',\n textAnchor: 'end'\n }\n }\n },\n /**\n * The indentation in pixels of hanging nodes, nodes which parent has\n * [layout](#series.organization.nodes.layout) set to `hanging`.\n *\n * @private\n */\n hangingIndent: 20,\n /**\n * Defines the indentation of a `hanging` layout parent's children.\n * Possible options:\n *\n * - `inherit` (default): Only the first child adds the indentation,\n * children of a child with indentation inherit the indentation.\n * - `cumulative`: All children of a child with indentation add its\n * own indent. The option may cause overlapping of nodes.\n * Then use `shrink` option:\n * - `shrink`: Nodes shrink by the\n * [hangingIndent](#plotOptions.organization.hangingIndent)\n * value until they reach the\n * [minNodeLength](#plotOptions.organization.minNodeLength).\n *\n * @sample highcharts/series-organization/hanging-cumulative\n * Every indent increases the indentation\n *\n * @sample highcharts/series-organization/hanging-shrink\n * Every indent decreases the nodes' width\n *\n * @type {Highcharts.OrganizationHangingIndentTranslationValue}\n * @since 10.0.0\n * @default inherit\n *\n * @private\n */\n hangingIndentTranslation: 'inherit',\n /**\n * Whether links connecting hanging nodes should be drawn on the left\n * or right side. Useful for RTL layouts.\n * **Note:** Only effects inverted charts (vertical layout).\n *\n * @sample highcharts/series-organization/hanging-side\n * Nodes hanging from right side.\n *\n * @type {'left'|'right'}\n * @since 11.3.0\n * @default 'left'\n */\n hangingSide: 'left',\n /**\n *\n * The color of the links between nodes. This option is moved to\n * [link.color](#plotOptions.organization.link.color).\n *\n * @type {Highcharts.ColorString}\n * @deprecated\n * @apioption series.organization.linkColor\n * @private\n */\n /**\n * The line width of the links connecting nodes, in pixels. This option\n * is now deprecated and moved to the\n * [link.radius](#plotOptions.organization.link.lineWidth).\n *\n * @sample highcharts/series-organization/link-options\n * Square links\n *\n * @deprecated\n * @apioption series.organization.linkLineWidth\n * @private\n */\n /**\n * In a horizontal chart, the minimum width of the **hanging** nodes\n * only, in pixels. In a vertical chart, the minimum height of the\n * **haning** nodes only, in pixels too.\n *\n * Note: Used only when\n * [hangingIndentTranslation](#plotOptions.organization.hangingIndentTranslation)\n * is set to `shrink`.\n *\n * @see [nodeWidth](#plotOptions.organization.nodeWidth)\n *\n * @private\n */\n minNodeLength: 10,\n /**\n * In a horizontal chart, the width of the nodes in pixels. Note that\n * most organization charts are inverted (vertical), so the name of this\n * option is counterintuitive.\n *\n * @see [minNodeLength](#plotOptions.organization.minNodeLength)\n *\n * @private\n */\n nodeWidth: 50,\n tooltip: {\n nodeFormat: '{point.name}<br>{point.title}<br>{point.description}'\n }\n};\n/**\n * An `organization` series. If the [type](#series.organization.type) option is\n * not specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends series,plotOptions.organization\n * @exclude dataSorting, boostThreshold, boostBlending\n * @product highcharts\n * @requires modules/sankey\n * @requires modules/organization\n * @apioption series.organization\n */\n/**\n * @type {Highcharts.SeriesOrganizationDataLabelsOptionsObject|Array<Highcharts.SeriesOrganizationDataLabelsOptionsObject>}\n * @product highcharts\n * @apioption series.organization.data.dataLabels\n */\n/**\n * A collection of options for the individual nodes. The nodes in an org chart\n * are auto-generated instances of `Highcharts.Point`, but options can be\n * applied here and linked by the `id`.\n *\n * @extends series.sankey.nodes\n * @type {Array<*>}\n * @product highcharts\n * @apioption series.organization.nodes\n */\n/**\n * Individual data label for each node. The options are the same as\n * the ones for [series.organization.dataLabels](#series.organization.dataLabels).\n *\n * @type {Highcharts.SeriesOrganizationDataLabelsOptionsObject|Array<Highcharts.SeriesOrganizationDataLabelsOptionsObject>}\n *\n * @apioption series.organization.nodes.dataLabels\n */\n/**\n * The job description for the node card, will be inserted by the default\n * `dataLabel.nodeFormatter`.\n *\n * @sample highcharts/demo/organization-chart\n * Org chart with job descriptions\n *\n * @type {string}\n * @product highcharts\n * @apioption series.organization.nodes.description\n */\n/**\n * An image for the node card, will be inserted by the default\n * `dataLabel.nodeFormatter`.\n *\n * @sample highcharts/demo/organization-chart\n * Org chart with images\n *\n * @type {string}\n * @product highcharts\n * @apioption series.organization.nodes.image\n */\n/**\n * The format string specifying what to show for *links* in the\n * organization chart.\n *\n * Best to use with [`linkTextPath`](#series.organization.dataLabels.linkTextPath) enabled.\n *\n * @sample highcharts/series-organization/link-labels\n * Organization chart with link labels\n *\n * @type {string}\n * @product highcharts\n * @apioption series.organization.dataLabels.linkFormat\n * @since 11.0.0\n */\n/**\n * Callback to format data labels for _links_ in the\n * organization chart. The `linkFormat` option takes\n * precedence over the `linkFormatter`.\n *\n * @type {OrganizationDataLabelsFormatterCallbackFunction}\n * @product highcharts\n * @apioption series.organization.dataLabels.linkFormatter\n * @since 11.0.0\n */\n/**\n * Options for a _link_ label text which should follow link\n * connection.\n *\n * @sample highcharts/series-organization/link-labels\n * Organization chart with link labels\n *\n * @type { DataLabelTextPathOptions }\n * @product highcharts\n * @apioption series.organization.dataLabels.linkTextPath\n * @since 11.0.0\n */\n/**\n * Layout for the node's children. If `hanging`, this node's children will hang\n * below their parent, allowing a tighter packing of nodes in the diagram.\n *\n * Note: Since version 10.0.0, the `hanging` layout is set by default for\n * children of a parent using `hanging` layout.\n *\n * @sample highcharts/demo/organization-chart\n * Hanging layout\n *\n * @type {Highcharts.SeriesOrganizationNodesLayoutValue}\n * @default normal\n * @product highcharts\n * @apioption series.organization.nodes.layout\n */\n/**\n * The job title for the node card, will be inserted by the default\n * `dataLabel.nodeFormatter`.\n *\n * @sample highcharts/demo/organization-chart\n * Org chart with job titles\n *\n * @type {string}\n * @product highcharts\n * @apioption series.organization.nodes.title\n */\n/**\n * An array of data points for the series. For the `organization` series\n * type, points can be given in the following way:\n *\n * 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.area.turboThreshold),\n * this option is not available.\n *\n * ```js\n * data: [{\n * from: 'Category1',\n * to: 'Category2',\n * weight: 2\n * }, {\n * from: 'Category1',\n * to: 'Category3',\n * weight: 5\n * }]\n * ```\n *\n * @type {Array<*>}\n * @extends series.sankey.data\n * @product highcharts\n * @apioption series.organization.data\n */\n''; // Keeps doclets above in JS file\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var Organization_OrganizationSeriesDefaults = (OrganizationSeriesDefaults);\n\n;// ./code/es5/es-modules/Series/PathUtilities.js\n/* *\n *\n * (c) 2010-2024 Pawel Lysy\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\nvar getLinkPath = {\n 'default': getDefaultPath,\n straight: getStraightPath,\n curved: getCurvedPath\n};\n/**\n *\n */\nfunction getDefaultPath(pathParams) {\n var x1 = pathParams.x1,\n y1 = pathParams.y1,\n x2 = pathParams.x2,\n y2 = pathParams.y2,\n _a = pathParams.width,\n width = _a === void 0 ? 0 : _a,\n _b = pathParams.inverted,\n inverted = _b === void 0 ? false : _b,\n radius = pathParams.radius,\n parentVisible = pathParams.parentVisible;\n var path = [\n ['M',\n x1,\n y1],\n ['L',\n x1,\n y1],\n ['C',\n x1,\n y1,\n x1,\n y2,\n x1,\n y2],\n ['L',\n x1,\n y2],\n ['C',\n x1,\n y1,\n x1,\n y2,\n x1,\n y2],\n ['L',\n x1,\n y2]\n ];\n return parentVisible ?\n applyRadius([\n ['M', x1, y1],\n ['L', x1 + width * (inverted ? -0.5 : 0.5), y1],\n ['L', x1 + width * (inverted ? -0.5 : 0.5), y2],\n ['L', x2, y2]\n ], radius) :\n path;\n}\n/**\n *\n */\nfunction getStraightPath(pathParams) {\n var x1 = pathParams.x1,\n y1 = pathParams.y1,\n x2 = pathParams.x2,\n y2 = pathParams.y2,\n _a = pathParams.width,\n width = _a === void 0 ? 0 : _a,\n _b = pathParams.inverted,\n inverted = _b === void 0 ? false : _b,\n parentVisible = pathParams.parentVisible;\n return parentVisible ? [\n ['M', x1, y1],\n ['L', x1 + width * (inverted ? -1 : 1), y2],\n ['L', x2, y2]\n ] : [\n ['M', x1, y1],\n ['L', x1, y2],\n ['L', x1, y2]\n ];\n}\n/**\n *\n */\nfunction getCurvedPath(pathParams) {\n var x1 = pathParams.x1,\n y1 = pathParams.y1,\n x2 = pathParams.x2,\n y2 = pathParams.y2,\n _a = pathParams.offset,\n offset = _a === void 0 ? 0 : _a,\n _b = pathParams.width,\n width = _b === void 0 ? 0 : _b,\n _c = pathParams.inverted,\n inverted = _c === void 0 ? false : _c,\n parentVisible = pathParams.parentVisible;\n return parentVisible ?\n [\n ['M', x1, y1],\n [\n 'C',\n x1 + offset,\n y1,\n x1 - offset + width * (inverted ? -1 : 1),\n y2,\n x1 + width * (inverted ? -1 : 1),\n y2\n ],\n ['L', x2, y2]\n ] :\n [\n ['M', x1, y1],\n ['C', x1, y1, x1, y2, x1, y2],\n ['L', x2, y2]\n ];\n}\n/**\n * General function to apply corner radius to a path\n * @private\n */\nfunction applyRadius(path, r) {\n var d = [];\n for (var i = 0; i < path.length; i++) {\n var x = path[i][1];\n var y = path[i][2];\n if (typeof x === 'number' && typeof y === 'number') {\n // MoveTo\n if (i === 0) {\n d.push(['M', x, y]);\n }\n else if (i === path.length - 1) {\n d.push(['L', x, y]);\n // CurveTo\n }\n else if (r) {\n var prevSeg = path[i - 1];\n var nextSeg = path[i + 1];\n if (prevSeg && nextSeg) {\n var x1 = prevSeg[1],\n y1 = prevSeg[2],\n x2 = nextSeg[1],\n y2 = nextSeg[2];\n // Only apply to breaks\n if (typeof x1 === 'number' &&\n typeof x2 === 'number' &&\n typeof y1 === 'number' &&\n typeof y2 === 'number' &&\n x1 !== x2 &&\n y1 !== y2) {\n var directionX = x1 < x2 ? 1 : -1,\n directionY = y1 < y2 ? 1 : -1;\n d.push([\n 'L',\n x - directionX * Math.min(Math.abs(x - x1), r),\n y - directionY * Math.min(Math.abs(y - y1), r)\n ], [\n 'C',\n x,\n y,\n x,\n y,\n x + directionX * Math.min(Math.abs(x - x2), r),\n y + directionY * Math.min(Math.abs(y - y2), r)\n ]);\n }\n }\n // LineTo\n }\n else {\n d.push(['L', x, y]);\n }\n }\n }\n return d;\n}\nvar PathUtilities = {\n applyRadius: applyRadius,\n getLinkPath: getLinkPath\n};\n/* harmony default export */ var Series_PathUtilities = (PathUtilities);\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/es5/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\nvar deg2rad = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).deg2rad;\nvar addEvent = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).addEvent, merge = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).merge, uniqueKey = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).uniqueKey, TextPath_defined = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).defined, extend = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).extend;\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 var _this = this;\n // Defaults\n textPathOptions = merge(true, {\n enabled: true,\n attributes: {\n dy: -5,\n startOffset: '50%',\n textAnchor: 'middle'\n }\n }, textPathOptions);\n var url = this.renderer.url,\n textWrapper = this.text || this,\n textPath = textWrapper.textPath,\n attributes = textPathOptions.attributes,\n enabled = textPathOptions.enabled;\n path = path || (textPath && textPath.path);\n // Remove previously added event\n if (textPath) {\n textPath.undo();\n }\n if (path && enabled) {\n var undo = addEvent(textWrapper, 'afterModifyTree',\n function (e) {\n if (path && enabled) {\n // Set ID for the path\n var textPathId = path.attr('id');\n if (!textPathId) {\n path.attr('id', textPathId = uniqueKey());\n }\n // Set attributes for the <text>\n var 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 var children = e.nodes.slice(0);\n e.nodes.length = 0;\n e.nodes[0] = {\n tagName: 'textPath',\n attributes: extend(attributes, {\n 'text-anchor': attributes.textAnchor,\n href: \"\" + url + \"#\".concat(textPathId)\n }),\n children: children\n };\n }\n });\n // Set the reference\n textWrapper.textPath = { path: path, undo: 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 var _a;\n var bBox = event.bBox,\n tp = (_a = this.element) === null || _a === void 0 ? void 0 : _a.querySelector('textPath');\n if (tp) {\n var polygon = [], _b = this.renderer.fontMetrics(this.element), b_1 = _b.b, h = _b.h, descender_1 = h - b_1, 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 var appendTopAndBottom = function (charIndex,\n positionOfChar) {\n var x = positionOfChar.x,\n y = positionOfChar.y,\n rotation = (tp.getRotationOfChar(charIndex) - 90) * deg2rad,\n cosRot = Math.cos(rotation),\n sinRot = Math.sin(rotation);\n return [\n [\n x - descender_1 * cosRot,\n y - descender_1 * sinRot\n ],\n [\n x + b_1 * cosRot,\n y + b_1 * sinRot\n ]\n ];\n };\n for (var i = 0, lineIndex = 0; lineIndex < numOfLines; lineIndex++) {\n var line = lines[lineIndex],\n lineLen = line.length;\n for (var lineCharIndex = 0; lineCharIndex < lineLen; lineCharIndex += 5) {\n try {\n var srcCharIndex = (i +\n lineCharIndex +\n lineIndex),\n _c = appendTopAndBottom(srcCharIndex,\n tp.getStartPositionOfChar(srcCharIndex)),\n lower = _c[0],\n upper = _c[1];\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 var srcCharIndex = i + lineIndex,\n charPos = tp.getEndPositionOfChar(srcCharIndex),\n _d = appendTopAndBottom(srcCharIndex,\n charPos),\n lower = _d[0],\n upper = _d[1];\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 var _a;\n var labelOptions = event.labelOptions,\n point = event.point,\n textPathOptions = (labelOptions[point.formatPrefix + 'TextPath'] ||\n labelOptions.textPath);\n if (textPathOptions && !labelOptions.useHTML) {\n this.setTextPath(((_a = point.getDataLabelPath) === null || _a === void 0 ? void 0 : _a.call(point, 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 compose(SVGElementClass) {\n addEvent(SVGElementClass, 'afterGetBBox', setPolygon);\n addEvent(SVGElementClass, 'beforeAddingDataLabel', drawTextPath);\n var svgElementProto = SVGElementClass.prototype;\n if (!svgElementProto.setTextPath) {\n svgElementProto.setTextPath = setTextPath;\n }\n}\nvar TextPath = {\n compose: compose\n};\n/* harmony default export */ var Extensions_TextPath = (TextPath);\n\n;// ./code/es5/es-modules/Series/Organization/OrganizationSeries.js\n/* *\n *\n * Organization chart module\n *\n * (c) 2018-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\nvar OrganizationSeries_extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d,\n b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d,\n b) { d.__proto__ = b; }) ||\n function (d,\n b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b,\n p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\nvar SankeySeries = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.sankey;\n\nvar css = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).css, crisp = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).crisp, OrganizationSeries_extend = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).extend, isNumber = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isNumber, OrganizationSeries_merge = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).merge, OrganizationSeries_pick = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).pick;\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.organization\n *\n * @augments Highcharts.seriesTypes.sankey\n */\nvar OrganizationSeries = /** @class */ (function (_super) {\n OrganizationSeries_extends(OrganizationSeries, _super);\n function OrganizationSeries() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /* *\n *\n * Functions\n *\n * */\n OrganizationSeries.prototype.alignDataLabel = function (point, dataLabel, options) {\n // Align the data label to the point graphic\n var shapeArgs = point.shapeArgs;\n if (options.useHTML && shapeArgs) {\n var padjust = (this.options.borderWidth +\n 2 * this.options.dataLabels.padding);\n var width_1 = shapeArgs.width || 0,\n height_1 = shapeArgs.height || 0;\n if (this.chart.inverted) {\n width_1 = height_1;\n height_1 = shapeArgs.width || 0;\n }\n height_1 -= padjust;\n width_1 -= padjust;\n // Set the size of the surrounding div emulating `g`\n var text = dataLabel.text;\n if (text) {\n css(text.element.parentNode, {\n width: width_1 + 'px',\n height: height_1 + 'px'\n });\n // Set properties for the span emulating `text`\n css(text.element, {\n left: 0,\n top: 0,\n width: '100%',\n height: '100%',\n overflow: 'hidden'\n });\n }\n // The getBBox function is used in `alignDataLabel` to align\n // inside the box\n dataLabel.getBBox = function () { return ({ width: width_1, height: height_1, x: 0, y: 0 }); };\n // Overwrite dataLabel dimensions (#13100).\n dataLabel.width = width_1;\n dataLabel.height = height_1;\n }\n _super.prototype.alignDataLabel.apply(this, arguments);\n };\n OrganizationSeries.prototype.createNode = function (id) {\n var node = _super.prototype.createNode.call(this,\n id);\n // All nodes in an org chart are equal width\n node.getSum = function () { return 1; };\n return node;\n };\n OrganizationSeries.prototype.pointAttribs = function (point, state) {\n var series = this,\n attribs = SankeySeries.prototype.pointAttribs.call(series,\n point,\n state),\n level = point.isNode ? point.level : point.fromNode.level,\n levelOptions = series.mapOptionsToLevel[level || 0] || {},\n options = point.options,\n stateOptions = (levelOptions.states &&\n levelOptions.states[state]) ||\n {},\n borderRadius = OrganizationSeries_pick(stateOptions.borderRadius,\n options.borderRadius,\n levelOptions.borderRadius,\n series.options.borderRadius),\n linkColor = OrganizationSeries_pick(stateOptions.linkColor,\n options.linkColor,\n levelOptions.linkColor,\n series.options.linkColor,\n stateOptions.link && stateOptions.link.color,\n options.link && options.link.color,\n levelOptions.link && levelOptions.link.color,\n series.options.link && series.options.link.color),\n linkLineWidth = OrganizationSeries_pick(stateOptions.linkLineWidth,\n options.linkLineWidth,\n levelOptions.linkLineWidth,\n series.options.linkLineWidth,\n stateOptions.link && stateOptions.link.lineWidth,\n options.link && options.link.lineWidth,\n levelOptions.link && levelOptions.link.lineWidth,\n series.options.link && series.options.link.lineWidth),\n linkOpacity = OrganizationSeries_pick(stateOptions.linkOpacity,\n options.linkOpacity,\n levelOptions.linkOpacity,\n series.options.linkOpacity,\n stateOptions.link && stateOptions.link.linkOpacity,\n options.link && options.link.linkOpacity,\n levelOptions.link && levelOptions.link.linkOpacity,\n series.options.link && series.options.link.linkOpacity);\n if (!point.isNode) {\n attribs.stroke = linkColor;\n attribs['stroke-width'] = linkLineWidth;\n attribs.opacity = linkOpacity;\n delete attribs.fill;\n }\n else {\n if (isNumber(borderRadius)) {\n attribs.r = borderRadius;\n }\n }\n return attribs;\n };\n OrganizationSeries.prototype.translateLink = function (point) {\n var chart = this.chart,\n options = this.options,\n fromNode = point.fromNode,\n toNode = point.toNode,\n linkWidth = OrganizationSeries_pick(options.linkLineWidth,\n options.link.lineWidth, 0),\n factor = OrganizationSeries_pick(options.link.offset, 0.5),\n type = OrganizationSeries_pick(point.options.link && point.options.link.type,\n options.link.type);\n if (fromNode.shapeArgs && toNode.shapeArgs) {\n var hangingIndent = options.hangingIndent, hangingRight = options.hangingSide === 'right', toOffset = toNode.options.offset, percentOffset = /%$/.test(toOffset) && parseInt(toOffset, 10), inverted = chart.inverted;\n var x1 = crisp((fromNode.shapeArgs.x || 0) +\n (fromNode.shapeArgs.width || 0),\n linkWidth),\n y1 = crisp((fromNode.shapeArgs.y || 0) +\n (fromNode.shapeArgs.height || 0) / 2,\n linkWidth),\n x2 = crisp(toNode.shapeArgs.x || 0,\n linkWidth),\n y2 = crisp((toNode.shapeArgs.y || 0) +\n (toNode.shapeArgs.height || 0) / 2,\n linkWidth),\n xMiddle = void 0;\n if (inverted) {\n x1 -= (fromNode.shapeArgs.width || 0);\n x2 += (toNode.shapeArgs.width || 0);\n }\n xMiddle = this.colDistance ?\n crisp(x2 +\n ((inverted ? 1 : -1) *\n (this.colDistance - this.nodeWidth)) /\n 2, linkWidth) :\n crisp((x2 + x1) / 2, linkWidth);\n // Put the link on the side of the node when an offset is given. HR\n // node in the main demo.\n if (percentOffset &&\n (percentOffset >= 50 || percentOffset <= -50)) {\n xMiddle = x2 = crisp(x2 + (inverted ? -0.5 : 0.5) *\n (toNode.shapeArgs.width || 0), linkWidth);\n y2 = toNode.shapeArgs.y || 0;\n if (percentOffset > 0) {\n y2 += toNode.shapeArgs.height || 0;\n }\n }\n if (toNode.hangsFrom === fromNode) {\n if (chart.inverted) {\n y1 = !hangingRight ?\n crisp((fromNode.shapeArgs.y || 0) +\n (fromNode.shapeArgs.height || 0) -\n hangingIndent / 2, linkWidth) :\n crisp((fromNode.shapeArgs.y || 0) + hangingIndent / 2, linkWidth);\n y2 = !hangingRight ? ((toNode.shapeArgs.y || 0) +\n (toNode.shapeArgs.height || 0)) : (toNode.shapeArgs.y || 0) + hangingIndent / 2;\n }\n else {\n y1 = crisp((fromNode.shapeArgs.y || 0) + hangingIndent / 2, linkWidth);\n }\n xMiddle = x2 = crisp((toNode.shapeArgs.x || 0) +\n (toNode.shapeArgs.width || 0) / 2, linkWidth);\n }\n point.plotX = xMiddle;\n point.plotY = (y1 + y2) / 2;\n point.shapeType = 'path';\n if (type === 'straight') {\n point.shapeArgs = {\n d: [\n ['M', x1, y1],\n ['L', x2, y2]\n ]\n };\n }\n else if (type === 'curved') {\n var offset = Math.abs(x2 - x1) * factor * (inverted ? -1 : 1);\n point.shapeArgs = {\n d: [\n ['M', x1, y1],\n ['C', x1 + offset, y1, x2 - offset, y2, x2, y2]\n ]\n };\n }\n else {\n point.shapeArgs = {\n d: Series_PathUtilities.applyRadius([\n ['M', x1, y1],\n ['L', xMiddle, y1],\n ['L', xMiddle, y2],\n ['L', x2, y2]\n ], OrganizationSeries_pick(options.linkRadius, options.link.radius))\n };\n }\n point.dlBox = {\n x: (x1 + x2) / 2,\n y: (y1 + y2) / 2,\n height: linkWidth,\n width: 0\n };\n }\n };\n OrganizationSeries.prototype.translateNode = function (node, column) {\n _super.prototype.translateNode.call(this, node, column);\n var chart = this.chart,\n options = this.options,\n sum = node.getSum(),\n translationFactor = this.translationFactor,\n nodeHeight = Math.max(Math.round(sum * translationFactor),\n options.minLinkWidth || 0),\n hangingRight = options.hangingSide === 'right',\n indent = options.hangingIndent || 0,\n indentLogic = options.hangingIndentTranslation,\n minLength = options.minNodeLength || 10,\n nodeWidth = Math.round(this.nodeWidth),\n shapeArgs = node.shapeArgs,\n sign = chart.inverted ? -1 : 1;\n var parentNode = node.hangsFrom;\n if (parentNode) {\n if (indentLogic === 'cumulative') {\n // Move to the right:\n shapeArgs.height -= indent;\n // If hanging right, first indent is handled by shrinking.\n if (chart.inverted && !hangingRight) {\n shapeArgs.y -= sign * indent;\n }\n while (parentNode) {\n // Hanging right is the same direction as non-inverted.\n shapeArgs.y += (hangingRight ? 1 : sign) * indent;\n parentNode = parentNode.hangsFrom;\n }\n }\n else if (indentLogic === 'shrink') {\n // Resize the node:\n while (parentNode &&\n shapeArgs.height > indent + minLength) {\n shapeArgs.height -= indent;\n // Fixes nodes not dropping in non-inverted charts.\n // Hanging right is the same as non-inverted.\n if (!chart.inverted || hangingRight) {\n shapeArgs.y += indent;\n }\n parentNode = parentNode.hangsFrom;\n }\n }\n else {\n // Option indentLogic === \"inherit\"\n // Do nothing (v9.3.2 and prev versions):\n shapeArgs.height -= indent;\n if (!chart.inverted || hangingRight) {\n shapeArgs.y += indent;\n }\n }\n }\n node.nodeHeight = chart.inverted ?\n shapeArgs.width :\n shapeArgs.height;\n // Calculate shape args correctly to align nodes to center (#19946)\n if (node.shapeArgs && !node.hangsFrom) {\n node.shapeArgs = OrganizationSeries_merge(node.shapeArgs, {\n x: (node.shapeArgs.x || 0) + (nodeWidth / 2) -\n ((node.shapeArgs.width || 0) / 2),\n y: (node.shapeArgs.y || 0) + (nodeHeight / 2) -\n ((node.shapeArgs.height || 0) / 2)\n });\n }\n };\n OrganizationSeries.prototype.drawDataLabels = function () {\n var dlOptions = this.options.dataLabels;\n if (dlOptions.linkTextPath && dlOptions.linkTextPath.enabled) {\n for (var _i = 0, _a = this.points; _i < _a.length; _i++) {\n var link = _a[_i];\n link.options.dataLabels = OrganizationSeries_merge(link.options.dataLabels, { useHTML: false });\n }\n }\n _super.prototype.drawDataLabels.call(this);\n };\n /* *\n *\n * Static Properties\n *\n * */\n OrganizationSeries.defaultOptions = OrganizationSeries_merge(SankeySeries.defaultOptions, Organization_OrganizationSeriesDefaults);\n return OrganizationSeries;\n}(SankeySeries));\nOrganizationSeries_extend(OrganizationSeries.prototype, {\n pointClass: Organization_OrganizationPoint\n});\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('organization', OrganizationSeries);\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var Organization_OrganizationSeries = ((/* unused pure expression or super */ null && (OrganizationSeries)));\n/* *\n *\n * API Declarations\n *\n * */\n/**\n * Layout value for the child nodes in an organization chart. If `hanging`, this\n * node's children will hang below their parent, allowing a tighter packing of\n * nodes in the diagram.\n *\n * @typedef {\"normal\"|\"hanging\"} Highcharts.SeriesOrganizationNodesLayoutValue\n */\n/**\n * Indent translation value for the child nodes in an organization chart, when\n * parent has `hanging` layout. Option can shrink nodes (for tight charts),\n * translate children to the left, or render nodes directly under the parent.\n *\n * @typedef {\"inherit\"|\"cumulative\"|\"shrink\"} Highcharts.OrganizationHangingIndentTranslationValue\n */\n''; // Detach doclets above\n\n;// ./code/es5/es-modules/masters/modules/organization.src.js\n\n\n\n\n/* harmony default export */ var organization_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});"],"names":["root","factory","exports","module","require","define","amd","__WEBPACK_EXTERNAL_MODULE__944__","__WEBPACK_EXTERNAL_MODULE__512__","__WEBPACK_EXTERNAL_MODULE__28__","extendStatics","__webpack_modules__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","__webpack_exports__","organization_src","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","__extends","b","setPrototypeOf","__proto__","Array","p","__","constructor","create","SankeyPointClass","seriesTypes","sankey","pointClass","defined","find","pick","OrganizationPoint","_super","series","options","x","_this","isNode","dataLabelOnNull","formatPrefix","getSum","setNodeColumn","node","fromNode","getFromNode","column","linksTo","length","layout","i_1","link","hangsFrom","linksFrom","index","found","toNode","j","id","getOffset","offset","forEach","Organization_OrganizationSeriesDefaults","borderColor","borderRadius","color","lineWidth","radius","type","borderWidth","dataLabels","nodeFormatter","outerStyle","width","height","display","imageStyle","innerStyle","padding","styleAttr","style","keys","reduce","str","_a","point","description","image","title","chart","renderer","forExport","position","left","top","html","name","margin","opacity","fontWeight","fontSize","textAlign","useHTML","linkTextPath","attributes","startOffset","textAnchor","hangingIndent","hangingIndentTranslation","hangingSide","minNodeLength","nodeWidth","tooltip","nodeFormat","Series_PathUtilities","applyRadius","path","r","i","y","push","prevSeg","nextSeg","x1","y1","x2","y2","directionX","directionY","Math","min","abs","highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_","highcharts_SVGElement_commonjs_highcharts_SVGElement_commonjs2_highcharts_SVGElement_root_Highcharts_SVGElement_default","deg2rad","addEvent","merge","uniqueKey","TextPath_defined","extend","setTextPath","textPathOptions","enabled","dy","url","textWrapper","text","textPath","undo","e","textPathId","attr","textAttribs","dx","transform","box","destroy","children","nodes","slice","tagName","href","concat","added","textCache","buildText","setPolygon","event","bBox","tp","element","querySelector","polygon","_b","fontMetrics","b_1","descender_1","h","lineCleanerRegex","RegExp","lines","innerHTML","replace","split","numOfLines","appendTopAndBottom","charIndex","positionOfChar","rotation","getRotationOfChar","cosRot","cos","sinRot","sin","lineIndex","lineLen","line","lineCharIndex","srcCharIndex","_c","getStartPositionOfChar","lower","upper","unshift","charPos","getEndPositionOfChar","_d","drawTextPath","labelOptions","getDataLabelPath","graphic","dataLabelPath","OrganizationSeries_extends","TypeError","String","SankeySeries","css","crisp","OrganizationSeries_extend","isNumber","OrganizationSeries_merge","OrganizationSeries_pick","Extensions_TextPath","compose","SVGElementClass","svgElementProto","OrganizationSeries","apply","arguments","alignDataLabel","dataLabel","shapeArgs","padjust","width_1","height_1","inverted","parentNode","overflow","getBBox","createNode","pointAttribs","state","attribs","level","levelOptions","mapOptionsToLevel","stateOptions","states","linkColor","linkLineWidth","linkOpacity","stroke","fill","translateLink","linkWidth","factor","hangingRight","toOffset","percentOffset","test","parseInt","xMiddle","colDistance","plotX","plotY","shapeType","linkRadius","dlBox","translateNode","nodeHeight","max","round","sum","translationFactor","minLinkWidth","indent","indentLogic","minLength","sign","drawDataLabels","dlOptions","_i","points","defaultOptions","registerSeriesType"],"mappings":"CAWA,AAXA;;;;;;;;;;CAUC,EACA,SAA0CA,CAAI,CAAEC,CAAO,EACpD,AAAmB,UAAnB,OAAOC,SAAwB,AAAkB,UAAlB,OAAOC,OACxCA,OAAOD,OAAO,CAAGD,EAAQG,QAAQ,cAAeA,QAAQ,cAAc,cAAiB,CAAEA,QAAQ,cAAc,UAAa,EACrH,AAAkB,YAAlB,OAAOC,QAAyBA,OAAOC,GAAG,CACjDD,OAAO,kCAAmC,CAAC,CAAC,wBAAwB,CAAE,CAAC,wBAAwB,iBAAiB,CAAE,CAAC,wBAAwB,aAAa,CAAC,CAAEJ,GACpJ,AAAmB,UAAnB,OAAOC,QACdA,OAAO,CAAC,kCAAkC,CAAGD,EAAQG,QAAQ,cAAeA,QAAQ,cAAc,cAAiB,CAAEA,QAAQ,cAAc,UAAa,EAExJJ,EAAK,UAAa,CAAGC,EAAQD,EAAK,UAAa,CAAEA,EAAK,UAAa,CAAC,cAAi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