1import{aC as N}from"./e3jp4aij.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};h.SENTRY_RELEASE={id:"ecos-frontend-cp@12213eb99e1069e82980933c1ec51c50139958dd"};var a=new h.Error().stack;a&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[a]="e2be5a6b-eb0c-41eb-bc6d-6cc0523caf89",h._sentryDebugIdIdentifier="sentry-dbid-e2be5a6b-eb0c-41eb-bc6d-6cc0523caf89")}catch{}})();function S(h,a){for(var o=0;o<a.length;o++){const g=a[o];if(typeof g!="string"&&!Array.isArray(g)){for(const i in g)if(i!=="default"&&!(i in h)){const l=Object.getOwnPropertyDescriptor(g,i);l&&Object.defineProperty(h,i,l.get?l:{enumerable:!0,get:()=>g[i]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}},H;function I(){return H||(H=1,(function(h){(function(a){h.exports?(a.default=a,h.exports=a):a(typeof Highcharts<"u"?Highcharts:void 0)})(function(a){var o=a?a._modules:{};function g(i,l,c,b){i.hasOwnProperty(l)||(i[l]=b.apply(null,c),typeof CustomEvent=="function"&&a.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:l,module:i[l]}})))}g(o,"Extensions/DragPanes/AxisResizerDefaults.js",[],function(){return{minLength:"10%",maxLength:"100%",resize:{controlledAxis:{next:[],prev:[]},enabled:!1,cursor:"ns-resize",lineColor:"#cccccc",lineDashStyle:"Solid",lineWidth:4,x:0,y:0}}}),g(o,"Extensions/DragPanes/AxisResizer.js",[o["Extensions/DragPanes/AxisResizerDefaults.js"],o["Core/Utilities.js"]],function(i,l){let{addEvent:c,clamp:b,isNumber:P,relativeLength:E}=l;class D{constructor(e){this.init(e)}init(e,t){this.axis=e,this.options=e.options.resize||{},this.render(),t||this.addMouseEvents()}render(){let e=this.axis,t=e.chart,r=this.options,s=r.x||0,d=r.y,n=b(e.top+e.height+d,t.plotTop,t.plotTop+t.plotHeight),u={};t.styledMode||(u={cursor:r.cursor,stroke:r.lineColor,"stroke-width":r.lineWidth,dashstyle:r.lineDashStyle}),this.lastPos=n-d,this.controlLine||(this.controlLine=t.renderer.path().addClass("highcharts-axis-resizer")),this.controlLine.add(e.axisGroup);let f=t.styledMode?this.controlLine.strokeWidth():r.lineWidth;u.d=t.renderer.crispLine([["M",e.left+s,n],["L",e.left+e.width+s,n]],f),this.controlLine.attr(u)}addMouseEvents(){let e,t,r,s=this,d=s.controlLine.element,n=s.axis.chart.container,u=[];s.mouseMoveHandler=e=f=>s.onMouseMove(f),s.mouseUpHandler=t=f=>s.onMouseUp(f),s.mouseDownHandler=r=()=>s.onMouseDown(),u.push(c(n,"mousemove",e),c(n.ownerDocument,"mouseup",t),c(d,"mousedown",r),c(n,"touchmove",e),c(n.ownerDocument,"touchend",t),c(d,"touchstart",r)),s.eventsToUnbind=u}onMouseMove(e){if(!e.touches||e.touches[0].pageX!==0){let t=this.axis.chart.pointer;this.grabbed&&t&&(this.hasDragged=!0,this.updateAxes(t.normalize(e).chartY-(this.options.y||0)))}}onMouseUp(e){let t=this.axis.chart.pointer;this.hasDragged&&t&&this.updateAxes(t.normalize(e).chartY-(this.options.y||0)),this.grabbed=this.hasDragged=this.axis.chart.activeResizer=void 0}onMouseDown(){this.axis.chart.pointer?.reset(!1,0),this.grabbed=this.axis.chart.activeResizer=!0}updateAxes(e){let t=this.axis.chart,r=this.options.controlledAxis,s=r.next.length===0?[t.yAxis.indexOf(this.axis)+1]:r.next,d=[this.axis].concat(r.prev),n=[],u=t.plotTop,f=t.plotHeight,w=u+f,j=y=>100*y/f+"%",T=(y,v,p)=>Math.round(b(y,v,p));e=b(e,u,w);let L=!1,z=e-this.lastPos;if(z*z<1)return;let A=!0;for(let y of[d,s])for(let v of y){let p,x,m=P(v)?t.yAxis[v]:A?v:t.get(v),M=m&&m.options;if(!M||M.isInternal){A=!1;continue}x=m.top;let R=Math.round(E(M.minLength||NaN,f)),C=Math.round(E(M.maxLength||NaN,f));if(A)(p=T(e-x,R,C))===C&&(L=!0),e=x+p,n.push({axis:m,options:{height:j(p)}});else{if(z=e-this.lastPos,p=T(m.len-z,R,C),(x=m.top+z)+p>w){let k=w-p-x;e+=k,x+=k}x<u&&(x=u)+p>w&&(p=f),p===R&&(L=!0),n.push({axis:m,options:{top:j(x-u),height:j(p)}})}A=!1}if(!L){for(let y of n)y.axis.update(y.options,!1);t.redraw(!1)}}destroy(){let e=this.axis;for(let t of(delete e.resizer,this.eventsToUnbind&&this.eventsToUnbind.forEach(r=>r()),this.controlLine.destroy(),Object.keys(this)))this[t]=null}}return D.resizerOptions=i,D}
1),g(o,"Extensions/DragPanes/DragPanes.js",[o["Extensions/DragPanes/AxisResizer.js"],o["Core/Defaults.js"],o["Core/Utilities.js"]],function(i,l,c){let{defaultOptions:b}=l,{addEvent:P,merge:E,wrap:D}=c;function _(){let s=this.resizer,d=this.options.resize;if(d){let n=d.enabled!==!1;s?n?s.init(this,!0):s.destroy():n&&(this.resizer=new i(this))}}function e(s){!s.keepEvents&&this.resizer&&this.resizer.destroy()}function t(s){this.chart.activeResizer||s.apply(this,[].slice.call(arguments,1))}function r(s){this.chart.activeResizer||s.apply(this,[].slice.call(arguments,1))}return{compose:function(s,d){s.keepProps.includes("resizer")||(E(!0,b.yAxis,i.resizerOptions),s.keepProps.push("resizer"),P(s,"afterRender",_),P(s,"destroy",e),D(d.prototype,"runPointActions",r),D(d.prototype,"drag",t))}}}),g(o,"masters/modules/drag-panes.src.js",[o["Core/Globals.js"],o["Extensions/DragPanes/AxisResizer.js"],o["Extensions/DragPanes/DragPanes.js"]],function(i,l,c){return i.AxisResizer=l,c.compose(i.Axis,i.Pointer),i})})})(O)),O.exports}var U=I();const W=N(U),q=S({__proto__:null,default:W},[U]);export{q as d};
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.