1import{au as nt}from"./5YXSnQcP.js";function at($,Y){for(var A=0;A<Y.length;A++){const H=Y[A];if(typeof H!="string"&&!Array.isArray(H)){for(const j in H)if(j!=="default"&&!(j in $)){const w=Object.getOwnPropertyDescriptor(H,j);w&&Object.defineProperty($,j,w.get?w:{enumerable:!0,get:()=>H[j]})}}}return Object.freeze(Object.defineProperty($,Symbol.toStringTag,{value:"Module"}))}var J={exports:{}},et;function ot(){return et||(et=1,function($){(function(Y){$.exports?(Y.default=Y,$.exports=Y):Y(typeof Highcharts<"u"?Highcharts:void 0)})(function(Y){var A=Y?Y._modules:{};function H(j,w,c,d){j.hasOwnProperty(w)||(j[w]=d.apply(null,c),typeof CustomEvent=="function"&&Y.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:w,module:j[w]}})))}H(A,"Gantt/Connection.js",[A["Core/Globals.js"],A["Core/Utilities.js"]],function(j,w){let{defined:c,error:d,merge:x,objectEach:n}=w,b=j.deg2rad,O=Math.max,B=Math.min;return class{constructor(o,h,M){this.init(o,h,M)}init(o,h,M){this.fromPoint=o,this.toPoint=h,this.options=M,this.chart=o.series.chart,this.pathfinder=this.chart.pathfinder}renderPath(o,h){let M=this.chart,r=M.styledMode,t=this.pathfinder,e={},i=this.graphics&&this.graphics.path;t.group||(t.group=M.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(M.seriesGroup)),t.group.translate(M.plotLeft,M.plotTop),i&&i.renderer||(i=M.renderer.path().add(t.group),r||i.attr({opacity:0})),i.attr(h),e.d=o,r||(e.opacity=1),i.animate(e),this.graphics=this.graphics||{},this.graphics.path=i}addMarker(o,h,M){let r,t,e,i,a,l,s,y,p=this.fromPoint.series.chart,I=p.pathfinder,u=p.renderer,C=o==="start"?this.fromPoint:this.toPoint,R=C.getPathfinderAnchorPoint(h);h.enabled&&((y=o==="start"?M[1]:M[M.length-2])&&y[0]==="M"||y[0]==="L")&&(s={x:y[1],y:y[2]},t=C.getRadiansToVector(s,R),r=C.getMarkerVector(t,h.radius,R),e=-t/b,h.width&&h.height?(a=h.width,l=h.height):a=l=2*h.radius,this.graphics=this.graphics||{},i={x:r.x-a/2,y:r.y-l/2,width:a,height:l,rotation:e,rotationOriginX:r.x,rotationOriginY:r.y},this.graphics[o]?this.graphics[o].animate(i):(this.graphics[o]=u.symbol(h.symbol).addClass("highcharts-point-connecting-path-"+o+"-marker highcharts-color-"+this.fromPoint.colorIndex).attr(i).add(I.group),u.styledMode||this.graphics[o].attr({fill:h.color||this.fromPoint.color,stroke:h.lineColor,"stroke-width":h.lineWidth,opacity:0}).animate({opacity:1},C.series.options.animation)))}getPath(o){let h=this.pathfinder,M=this.chart,r=h.algorithms[o.type],t=h.chartObstacles;return typeof r!="function"?(d('"'+o.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]}):(r.requiresObstacles&&!t&&(t=h.chartObstacles=h.getChartObstacles(o),M.options.connectors.algorithmMargin=o.algorithmMargin,h.chartObstacleMetrics=h.getObstacleMetrics(t)),r(this.fromPoint.getPathfinderAnchorPoint(o.startMarker),this.toPoint.getPathfinderAnchorPoint(o.endMarker),x({chartObstacles:t,lineObstacles:h.lineObstacles||[],obstacleMetrics:h.chartObstacleMetrics,hardBounds:{xMin:0,xMax:M.plotWidth,yMin:0,yMax:M.plotHeight},obstacleOptions:{margin:o.algorithmMargin},startDirectionX:h.getAlgorithmStartDirection(o.startMarker)},o)))}render(){let o=this.fromPoint,h=o.series,M=h.chart,r=M.pathfinder,t={},e=x(M.options.connectors,h.options.connectors,o.options.connectors,this.options);!M.styledMode&&(t.stroke=e.lineColor||o.color,t["stroke-width"]=e.lineWidth,e.dashStyle&&(t.dashstyle=e.dashStyle)),t.class="highcharts-point-connecting-path highcharts-color-"+o.colorIndex,c((e=x(t,e)).marker.radius)||(e.marker.radius=B(O(Math.ceil((e.algorithmMargin||8)/2)-1,1),5));let i=this.getPath(e),a=i.path;i.obstacles&&(r.lineObstacles=r.lineObstacles||[],r.lineObstacles=r.lineObstacles.concat(i.obstacles)),this.renderPath(a,t),this.addMarker("start",x(e.marker,e.startMarker),a),this.addMarker("end",x(e.marker,e.endMarker),a)}destroy(){this.graphics&&(n(this.graphics,function(o){o.destroy()}),delete this.graphics)}}}),H(A,"Series/PathUtilities.js",[],function(){function j(w,c){let d=[];for(let x=0;x<w.length;x++){let n=w[x][1],b=w[x][2];if(typeof n=="number"&&typeof b=="number")if(x===0)d.push(["M",n,b]);else if(x===w.length-1)d.push(["L",n,b]);else if(c){let O=w[x-1],B=w[x+1];if(O&&B){let o=O[1],h=O[2],M=B[1],r=B[2];if(typeof o=="number"&&typeof M=="number"&&typeof h=="number"&&typeof r=="number"&&o!==M&&h!==r){let t=o<M?1:-1,e=h<r?1:-1;d.push(["L",n-t*Math.min(Math.abs(n-o),c),b-e*Math.min(Math.abs(b-h),c)],["C",n,b,n,b,n+t*Math.min(Math.abs(n-M),c),b+e*Math.min(Math.abs(b-r),c)])}}}else d.push(["L",n,b])}return d}return{applyRadius:j,getLinkPath:{default:function(w){let{x1:c,y1:d,x2:x,y2:n,width:b=0,inverted:O=!1,radius:B,parentVisible:o}=w;return o?j([["M",c,d],["L",c+b*(O?-.5:.5),d],["L",c+b*(O?-.5:.5),n],["L",x,n]],B):[["M",c,d],["L",c,d],["C",c,d,c,n,c,n],["L",c,n],["C",c,d,c,n,c,n],["L",c,n]]},straight:function(w){let{x1:c,y1:d,x2:x,y2:n,width:b=0,inverted:O=!1,parentVisible:B}=w;return B?[["M",c,d],["L",c+b*(O?-1:1),n],["L",x,n]]:[["M",c,d],["L",c,n],["L",c,n]]},curved:function(w){let{x1:c,y1:d,x2:x,y2:n,offset:b=0,width:O=0,inverted:B=!1,parentVisible:o}=w;return o?[["M",c,d],["C",c+b,d,c-b+O*(B?-1:1),n,c+O*(B?-1:1),n],["L",x,n]]:[["M",c,d],["C",c,d,c,n,c,n],["L",x,n]]}}}}),H(A,"Gantt/PathfinderAlgorithms.js",[A["Series/PathUtilities.js"],A["Core/Utilities.js"]],function(j,w){let{pick:c}=w,{min:d,max:x,abs:n}=Math;function b(r,t,e){let i=t-1e-7,a=0,l=r.length-1,s,y;for(;a<=l;)if((y=i-r[s=l+a>>1].xMin)>0)a=s+1;else{if(!(y<0))return s;l=s-1}return a>0?a-1:0}function O(r,t){let e=b(r,t.x+1)+1;for(;e--;){var i;if(r[e].xMax>=t.x&&(i=r[e],t.x<=i.xMax&&t.x>=i.xMin&&t.y<=i.yMax&&t.y>=i.yMin))return e}return-1}function B(r){let t=[];if(r.length){t.push(["M",r[0].start.x,r[0].start.y]);for(let e=0;e<r.length;++e)t.push(["L",r[e].end.x,r[e].end.y])}return t}function o(r,t){r.yMin=x(r.yMin,t.yMin),r.yMax=d(r.yMax,t.yMax),r.xMin=x(r.xMin,t.xMin),r.xMax=d(r.xMax,t.xMax)}let h=function(r,t,e){let i=[],a=e.chartObstacles,l=O(a,r),s=O(a,t),y,p=c(e.startDirectionX,n(t.x-r.x)>
1n(t.y-r.y))?"x":"y",I,u,C,R;function g(V,D,U,v,f){let W={x:V.x,y:V.y};return W[D]=U[v||D]+(f||0),W}function P(V,D,U){let v=n(D[U]-V[U+"Min"])>n(D[U]-V[U+"Max"]);return g(D,U,V,U+(v?"Max":"Min"),v?1:-1)}s>-1?(y={start:u=P(a[s],t,p),end:t},R=u):R=t,l>-1&&(u=P(I=a[l],r,p),i.push({start:r,end:u}),u[p]>=r[p]==u[p]>=R[p]&&(C=r[p=p==="y"?"x":"y"]<t[p],i.push({start:u,end:g(u,p,I,p+(C?"Max":"Min"),C?1:-1)}),p=p==="y"?"x":"y"));let k=i.length?i[i.length-1].end:r;u=g(k,p,R),i.push({start:k,end:u});let S=g(u,p=p==="y"?"x":"y",R);return i.push({start:u,end:S}),i.push(y),{path:j.applyRadius(B(i),e.radius),obstacles:i}};function M(r,t,e){let i=c(e.startDirectionX,n(t.x-r.x)>n(t.y-r.y)),a=i?"x":"y",l=[],s=e.obstacleMetrics,y=d(r.x,t.x)-s.maxWidth-10,p=x(r.x,t.x)+s.maxWidth+10,I=d(r.y,t.y)-s.maxHeight-10,u=x(r.y,t.y)+s.maxHeight+10,C,R,g,P=!1,k=e.chartObstacles,S=b(k,p),V=b(k,y);function D(v,f,W){let E,G,X,N,m=v.x<f.x?1:-1;v.x<f.x?(E=v,G=f):(E=f,G=v),v.y<f.y?(N=v,X=f):(N=f,X=v);let L=m<0?d(b(k,G.x),k.length-1):0;for(;k[L]&&(m>0&&k[L].xMin<=G.x||m<0&&k[L].xMax>=E.x);){if(k[L].xMin<=G.x&&k[L].xMax>=E.x&&k[L].yMin<=X.y&&k[L].yMax>=N.y)return W?{y:v.y,x:v.x<f.x?k[L].xMin-1:k[L].xMax+1,obstacle:k[L]}:{x:v.x,y:v.y<f.y?k[L].yMin-1:k[L].yMax+1,obstacle:k[L]};L+=m}return f}function U(v,f,W,E,G){let X=G.soft,N=G.hard,m=E?"x":"y",L={x:f.x,y:f.y},_={x:f.x,y:f.y},T=v[m+"Max"]>=X[m+"Max"],q=v[m+"Min"]<=X[m+"Min"],F=v[m+"Max"]>=N[m+"Max"],Z=v[m+"Min"]<=N[m+"Min"],K=n(v[m+"Min"]-f[m]),Q=n(v[m+"Max"]-f[m]),z=10>n(K-Q)?f[m]<W[m]:Q<K;_[m]=v[m+"Min"],L[m]=v[m+"Max"];let rt=D(f,_,E)[m]!==_[m],tt=D(f,L,E)[m]!==L[m];return z=rt?!tt||z:!tt&&z,z=q?!T||z:!T&&z,z=Z?!F||z:!F&&z}for((S=O(k=k.slice(V,S+1),t))>-1&&(g=function(v,f,W){let E=d(v.xMax-f.x,f.x-v.xMin)<d(v.yMax-f.y,f.y-v.yMin),G=U(v,f,W,E,{soft:e.hardBounds,hard:e.hardBounds});return E?{y:f.y,x:v[G?"xMax":"xMin"]+(G?1:-1)}:{x:f.x,y:v[G?"yMax":"yMin"]+(G?1:-1)}}(k[S],t,r),l.push({end:t,start:g}),t=g);(S=O(k,t))>-1;)R=t[a]-r[a]<0,(g={x:t.x,y:t.y})[a]=k[S][R?a+"Max":a+"Min"]+(R?1:-1),l.push({end:t,start:g}),t=g;return{path:B(C=(C=function v(f,W,E){let G,X,N,m,L,_,T;if(f.x===W.x&&f.y===W.y)return[];let q=E?"x":"y",F=e.obstacleOptions.margin,Z={soft:{xMin:y,xMax:p,yMin:I,yMax:u},hard:e.hardBounds};return(L=O(k,f))>-1?(m=U(L=k[L],f,W,E,Z),o(L,e.hardBounds),T=E?{y:f.y,x:L[m?"xMax":"xMin"]+(m?1:-1)}:{x:f.x,y:L[m?"yMax":"yMin"]+(m?1:-1)},(_=O(k,T))>-1&&(o(_=k[_],e.hardBounds),T[q]=m?x(L[q+"Max"]-F+1,(_[q+"Min"]+L[q+"Max"])/2):d(L[q+"Min"]+F-1,(_[q+"Max"]+L[q+"Min"])/2),f.x===T.x&&f.y===T.y?(P&&(T[q]=m?x(L[q+"Max"],_[q+"Max"])+1:d(L[q+"Min"],_[q+"Min"])-1),P=!P):P=!1),X=[{start:f,end:T}]):(G=D(f,{x:E?W.x:f.x,y:E?f.y:W.y},E),X=[{start:f,end:{x:G.x,y:G.y}}],G[E?"x":"y"]!==W[E?"x":"y"]&&(m=U(G.obstacle,G,W,!E,Z),o(G.obstacle,e.hardBounds),N={x:E?G.x:G.obstacle[m?"xMax":"xMin"]+(m?1:-1),y:E?G.obstacle[m?"yMax":"yMin"]+(m?1:-1):G.y},E=!E,X=X.concat(v({x:G.x,y:G.y},N,E)))),X=X.concat(v(X[X.length-1].end,W,!E))}(r,t,i)).concat(l.reverse())),obstacles:C}}return h.requiresObstacles=!0,M.requiresObstacles=!0,{fastAvoid:M,straight:function(r,t){return{path:[["M",r.x,r.y],["L",t.x,t.y]],obstacles:[{start:r,end:t}]}},simpleConnect:h}}),H(A,"Gantt/ConnectorsDefaults.js",[],function(){return{connectors:{type:"straight",radius:0,lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}}}),H(A,"Gantt/PathfinderComposition.js",[A["Gantt/ConnectorsDefaults.js"],A["Core/Defaults.js"],A["Core/Utilities.js"]],function(j,w,c){var d;let{setOptions:x}=w,{defined:n,error:b,merge:O}=c;function B(o){let h=o.shapeArgs;if(h)return{xMin:h.x||0,xMax:(h.x||0)+(h.width||0),yMin:h.y||0,yMax:(h.y||0)+(h.height||0)};let M=o.graphic&&o.graphic.getBBox();return M?{xMin:o.plotX-M.width/2,xMax:o.plotX+M.width/2,yMin:o.plotY-M.height/2,yMax:o.plotY+M.height/2}:null}return function(o){function h(t){let e,i,a=B(this);switch(t.align){case"right":e="xMax";break;case"left":e="xMin"}switch(t.verticalAlign){case"top":i="yMin";break;case"bottom":i="yMax"}return{x:e?a[e]:(a.xMin+a.xMax)/2,y:i?a[i]:(a.yMin+a.yMax)/2}}function M(t,e){let i;return!n(e)&&(i=B(this))&&(e={x:(i.xMin+i.xMax)/2,y:(i.yMin+i.yMax)/2}),Math.atan2(e.y-t.y,t.x-e.x)}function r(t,e,i){let a=2*Math.PI,l=B(this),s=l.xMax-l.xMin,y=l.yMax-l.yMin,p=Math.atan2(y,s),I=s/2,u=y/2,C=l.xMin+I,R=l.yMin+u,g={x:C,y:R},P=t,k=1,S=!1,V=1,D=1;for(;P<-Math.PI;)P+=a;for(;P>Math.PI;)P-=a;return k=Math.tan(P),P>-p&&P<=p?(D=-1,S=!0):P>p&&P<=Math.PI-p?D=-1:P>Math.PI-p||P<=-(Math.PI-p)?(V=-1,S=!0):V=-1,S?(g.x+=V*I,g.y+=D*I*k):(g.x+=y/(2*k)*V,g.y+=D
1*u),i.x!==C&&(g.x=i.x),i.y!==R&&(g.y=i.y),{x:g.x+e*Math.cos(P),y:g.y-e*Math.sin(P)}}o.compose=function(t,e,i){let a=i.prototype;a.getPathfinderAnchorPoint||(t.prototype.callbacks.push(function(l){l.options.connectors.enabled!==!1&&((l.options.pathfinder||l.series.reduce(function(s,y){return y.options&&O(!0,y.options.connectors=y.options.connectors||{},y.options.pathfinder),s||y.options&&y.options.pathfinder},!1))&&(O(!0,l.options.connectors=l.options.connectors||{},l.options.pathfinder),b('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new e(this),this.pathfinder.update(!0))}),a.getMarkerVector=r,a.getPathfinderAnchorPoint=h,a.getRadiansToVector=M,x(j))}}(d||(d={})),d}),H(A,"Gantt/Pathfinder.js",[A["Gantt/Connection.js"],A["Gantt/PathfinderAlgorithms.js"],A["Gantt/PathfinderComposition.js"],A["Core/Series/Point.js"],A["Core/Utilities.js"]],function(j,w,c,d,x){let{addEvent:n,defined:b,pick:O,splat:B}=x,o=Math.max,h=Math.min;class M{static compose(t,e){c.compose(t,M,e)}constructor(t){this.init(t)}init(t){this.chart=t,this.connections=[],n(t,"redraw",function(){this.pathfinder.update()})}update(t){let e=this.chart,i=this,a=i.connections;i.connections=[],e.series.forEach(function(l){l.visible&&!l.options.isInternal&&l.points.forEach(function(s){var u;let y,p=s.options;p&&p.dependency&&(p.connect=p.dependency);let I=((u=s.options)==null?void 0:u.connect)&&B(s.options.connect);s.visible&&s.isInside!==!1&&I&&I.forEach(function(C){(y=e.get(typeof C=="string"?C:C.to))instanceof d&&y.series.visible&&y.visible&&y.isInside!==!1&&i.connections.push(new j(s,y,typeof C=="string"?{}:C))})})});for(let l=0,s,y,p=a.length,I=i.connections.length;l<p;++l){y=!1;let u=a[l];for(s=0;s<I;++s){let C=i.connections[s];if((u.options&&u.options.type)===(C.options&&C.options.type)&&u.fromPoint===C.fromPoint&&u.toPoint===C.toPoint){C.graphics=u.graphics,y=!0;break}}y||u.destroy()}delete this.chartObstacles,delete this.lineObstacles,i.renderConnections(t)}renderConnections(t){t?this.chart.series.forEach(function(e){let i=function(){let a=e.chart.pathfinder;(a&&a.connections||[]).forEach(function(l){l.fromPoint&&l.fromPoint.series===e&&l.render()}),e.pathfinderRemoveRenderEvent&&(e.pathfinderRemoveRenderEvent(),delete e.pathfinderRemoveRenderEvent)};e.options.animation===!1?i():e.pathfinderRemoveRenderEvent=n(e,"afterAnimate",i)}):this.connections.forEach(function(e){e.render()})}getChartObstacles(t){let e=this.chart.series,i=O(t.algorithmMargin,0),a=[],l;for(let s=0,y=e.length;s<y;++s)if(e[s].visible&&!e[s].options.isInternal)for(let p=0,I=e[s].points.length,u,C;p<I;++p)(C=e[s].points[p]).visible&&(u=function(R){let g=R.shapeArgs;if(g)return{xMin:g.x||0,xMax:(g.x||0)+(g.width||0),yMin:g.y||0,yMax:(g.y||0)+(g.height||0)};let P=R.graphic&&R.graphic.getBBox();return P?{xMin:R.plotX-P.width/2,xMax:R.plotX+P.width/2,yMin:R.plotY-P.height/2,yMax:R.plotY+P.height/2}:null}(C))&&a.push({xMin:u.xMin-i,xMax:u.xMax+i,yMin:u.yMin-i,yMax:u.yMax+i});return a=a.sort(function(s,y){return s.xMin-y.xMin}),b(t.algorithmMargin)||(l=t.algorithmMargin=function(s){let y,p=s.length,I=[];for(let u=0;u<p;++u)for(let C=u+1;C<p;++C)(y=function R(g,P,k){let S=O(k,10),V=g.yMax+S>P.yMin-S&&g.yMin-S<P.yMax+S,D=g.xMax+S>P.xMin-S&&g.xMin-S<P.xMax+S,U=V?g.xMin>P.xMax?g.xMin-P.xMax:P.xMin-g.xMax:1/0,v=D?g.yMin>P.yMax?g.yMin-P.yMax:P.yMin-g.yMax:1/0;return D&&V?S?R(g,P,Math.floor(S/2)):1/0:h(U,v)}(s[u],s[C]))<80&&I.push(y);return I.push(80),o(Math.floor(I.sort(function(u,C){return u-C})[Math.floor(I.length/10)]/2-1),1)}(a),a.forEach(function(s){s.xMin-=l,s.xMax+=l,s.yMin-=l,s.yMax+=l})),a}getObstacleMetrics(t){let e=0,i=0,a,l,s=t.length;for(;s--;)a=t[s].xMax-t[s].xMin,l=t[s].yMax-t[s].yMin,e<a&&(e=a),i<l&&(i=l);return{maxHeight:i,maxWidth:e}}getAlgorithmStartDirection(t){let e=t.align!=="left"&&t.align!=="right",i=t.verticalAlign!=="top"&&t.verticalAlign!=="bottom";return e?!!i&&void 0:!!i||void 0}}return M.prototype.algorithms=w,M}),H(A,"Extensions/ArrowSymbols.js",[],function(){function j(x,n,b,O){return[["M",x,n+O/2],["L",x+b,n],["L",x,n+O/2],["L",x+b,n+O]]}function w(x,n,b,O){return j(x,n,b/2,O)}function c(x,n,b,O){return[["M",x+b,n],["L",x,n+O/2],["L",x+b,n+O],["Z"]]}function d(x,n,b,O){return c(x,n,b/2,O)}return{compose:function(x){let n=x.prototype.symbols;n.arrow=j,n["arrow-filled"]=c,n["arrow-filled-half"]=d,n["arrow-half"]=w,n["triangle-left"]=c,n["triangle-left-half"]=d}}}),H(A,"masters/modules/pathfinder.src.js",[A["Core/Globals.js"],A["Gantt/Pathfinder.js"],A["Extensions/ArrowSymbol
1s.js"]],function(j,w,c){return j.Pathfinder=j.Pathfinder||w,c.compose(j.SVGRenderer),j.Pathfinder.compose(j.Chart,j.Point),j})})}(J)),J.exports}var it=ot();const st=nt(it),ct=at({__proto__:null,default:st},[it]);export{ct as p};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.