import{M as w}from"./entry.783d4ced.js";function A(c,i){for(var o=0;o<i.length;o++){const a=i[o];if(typeof a!="string"&&!Array.isArray(a)){for(const t in a)if(t!=="default"&&!(t in c)){const e=Object.getOwnPropertyDescriptor(a,t);e&&Object.defineProperty(c,t,e.get?e:{enumerable:!0,get:()=>a[t]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(c){(function(i){c.exports?(i.default=i,c.exports=i):i(typeof Highcharts<"u"?Highcharts:void 0)})(function(i){var o=i?i._modules:{};function a(t,e,p,u){t.hasOwnProperty(e)||(t[e]=u.apply(null,p),typeof CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}a(o,"Extensions/PriceIndication.js",[o["Core/Utilities.js"]],function(t){let{addEvent:e,isArray:p,merge:u,pushUnique:m}=t,L=[];function v(){let r=this.options,b=r.lastVisiblePrice,f=r.lastPrice;if((b||f)&&r.id!=="highcharts-navigator-series"){let l,j=this.xAxis,s=this.yAxis,C=s.crosshair,E=s.cross,I=s.crossLabel,n=this.points,V=this.yData.length,h=n.length,y=this.xData[this.xData.length-1],P=this.yData[V-1];if(f&&f.enabled&&(s.crosshair=s.options.crosshair=r.lastPrice,!this.chart.styledMode&&s.crosshair&&s.options.crosshair&&r.lastPrice&&(s.crosshair.color=s.options.crosshair.color=r.lastPrice.color||this.color),s.cross=this.lastPrice,l=p(P)?P[3]:P,this.lastPriceLabel&&this.lastPriceLabel.destroy(),delete s.crossLabel,s.drawCrosshair(null,{x:y,y:l,plotX:j.toPixels(y,!0),plotY:s.toPixels(l,!0)}),this.yAxis.cross&&(this.lastPrice=this.yAxis.cross,this.lastPrice.addClass("highcharts-color-"+this.colorIndex),this.lastPrice.y=l),this.lastPriceLabel=s.crossLabel),b&&b.enabled&&h>0){s.crosshair=s.options.crosshair=u({color:"transparent"},r.lastVisiblePrice),s.cross=this.lastVisiblePrice;let d=n[h-1].isInside?n[h-1]:n[h-2];this.lastVisiblePriceLabel&&this.lastVisiblePriceLabel.destroy(),delete s.crossLabel,s.drawCrosshair(null,d),s.cross&&(this.lastVisiblePrice=s.cross,d&&typeof d.y=="number"&&(this.lastVisiblePrice.y=d.y)),this.lastVisiblePriceLabel=s.crossLabel}s.crosshair=s.options.crosshair=C,s.cross=E,s.crossLabel=I}}return{compose:function(r){m(L,r)&&e(r,"afterRender",v)}}}),a(o,"masters/modules/price-indicator.src.js",[o["Core/Globals.js"],o["Extensions/PriceIndication.js"]],function(t,e){e.compose(t.Series)})})})(x);var g=x.exports;const D=w(g),_=A({__proto__:null,default:D},[g]);export{_ as p};
