PageSourceSearch

https://staticassets.goreact.com/prod-client/app/node_modules_high…s_esm_modules_xrange_js.4c40cdc99e54a3b5.js

js goreact.com collected 2026-10-02 10:00:49 UTC 6,738 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([["node_modules_highcharts_esm_modules_xrange_js"],{92367(mt,W,I){I.r(W),I.d(W,{default:()=>ut});var T=I(76825),d={n:r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return d.d(t,{a:t}),t},d:(r,t)=>{for(var e in t)d.o(t,e)&&!d.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:t[e]})},o:(r,t)=>Object.prototype.hasOwnProperty.call(r,t)},b=d.n(T.default),Q=d.n(T.default.Color),X=d.n(T.default.SeriesRegistry);let{correctFloat:tt,isNumber:et,isObject:it}=b(),{column:{prototype:{pointClass:st}}}=X().seriesTypes,{extend:ot}=b();class L extends st{static getColorByCategory(t,e){let i=t.options.colors||t.chart.options.colors,l=e.y%(i?i.length:t.chart.options.chart.colorCount),a=i?.[l];return{colorIndex:l,color:a}}resolveColor(){let t=this.series;if(t.options.colorByPoint&&!this.options.color){let e=L.getColorByCategory(t,this);t.chart.styledMode||(this.color=e.color),null==this.options.colorIndex&&(this.colorIndex=e.colorIndex)}else this.color=this.options.color||t.color}constructor(t,e){super(t,e),this.y||(this.y=0)}applyOptions(t,e){return super.applyOptions(t,e),this.x2=this.series.chart.time.parse(this.x2),this.isNull=!this.isValid?.(),this.formatPrefix=this.isNull?"null":"point",this}setState(){super.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())}isValid(){return"number"==typeof this.x&&"number"==typeof this.x2}}ot(L.prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]});let{composed:rt,noop:Y}=b(),{parse:_}=Q(),{column:K}=X().seriesTypes,{addEvent:at,clamp:A,crisp:D,defined:lt,extend:nt,find:U,isNumber:C,isObject:N,merge:g,pick:w,pushUnique:pt,relativeLength:ht}=b();function dt(){let r,t;if(this.isXAxis){for(let e of(r=w(this.dataMax,-Number.MAX_VALUE),this.series)){let i=e.dataTable.getColumn("x2",!0)||e.dataTable.getColumn("end",!0);if(i)for(let s of i)C(s)&&s>r&&(r=s,t=!0)}t&&(this.dataMax=r)}}class S extends K{static compose(t){pt(rt,"Series.XRange")&&at(t,"afterGetSeriesExtremes",dt)}init(){super.init.apply(this,arguments),this.options.stacking=void 0}getColumnMetrics(){let t=()=>{for(let i of this.chart.series){let s=i.xAxis;i.xAxis=i.yAxis,i.yAxis=s}};t();let e=super.getColumnMetrics();return t(),e}cropData(t,e,i){let s=t.getColumn("x")||[],l=t.getColumn("x2");t.setColumn("x",l,void 0,{silent:!0});let a=super.cropData(t,e,i);return t.setColumn("x",s.slice(a.start,a.end),void 0,{silent:!0}),a}findPointIndex(t){let e,{cropStart:i,points:s}=this,{id:l}=t;if(l){let a=U(s,n=>n.id===l);e=a?a.index:void 0}if(void 0===e){let a=U(s,n=>n.x===t.x&&n.x2===t.x2&&!n.touched);e=a?a.index:void 0}return this.cropped&&C(e)&&C(i)&&e>=i&&(e-=i),e}alignDataLabel(t){let e=t.plotX;t.plotX=w(t.dlBox?.centerX,t.plotX),t.dataLabel&&t.shapeArgs?.width&&t.dataLabel.css({width:`${t.shapeArgs.width}px`}),super.alignDataLabel.apply(this,arguments),t.plotX=e}translatePoint(t){let F,y,f,R,E,V,e=this.xAxis,i=this.yAxis,s=this.columnMetrics,l=this.options,a=l.minPointLength||0,n=(t.shapeArgs?.width||0)/2,u=this.pointXOffset=s.offset,v=w(t.x2,t.x+(t.len||0)),M=l.borderRadius,B=this.chart.plotTop,x=this.chart.plotLeft,h=t.plotX,o=e.translate(v,0,0,0,1),c=Math.abs(o-h),m=this.chart.inverted,j=w(l.borderWidth,1),z=s.offset,P=Math.round(s.width);a&&((F=a-c)<0&&(F=0),h-=F/2,o+=F/2),h=Math.max(h,-10),o=A(o,-10,e.len+10),lt(t.options.pointWidth)&&(z-=(Math.ceil(t.options.pointWidth)-P)/2,P=Math.ceil(t.options.pointWidth)),l.pointPlacement&&C(t.plotY)&&i.categories&&(t.plotY=i.translate(t.y,0,1,0,1,l.pointPlacement));let G=D(Math.min(h,o),j),$=D(Math.max(h,o),j)-G,gt=Math.min(ht("object"==typeof M?M.radius:M||0,P),Math.min($,P)/2),p={x:G,y:D((t.plotY||0)+z,j),width:$,height:P,r:gt};t.shapeArgs=p,m?t.tooltipPos[1]+=u+n:t.tooltipPos[0]-=n+u-p.width/2,R=(f=p.x)+p.width,f<0||R>e.len?(f=A(f,0,e.len),E=(R=A(R,0,e.len))-f,t.dlBox=g(p,{x:f,width:R-f,centerX:E?E/2:null})):t.dlBox=null;let O=t.tooltipPos,k=+!!m,q=+!m,xt=this.columnMetrics?this.columnMetrics.offset:-s.width/2;m?O[k]+=p.width/2:O[k]=A(O[k]+(e.reversed?-1:0)*p.width,e.left-x,e.left+e.len-x-1),O[q]=A(O[q]+(m?-1:1)*xt,i.top-B,i.top+i.len-B-1),(y=t.partialFill)&&(N(y)&&(y=y.amount),C(y)||(y=0),t.partShapeArgs=g(p),V=Math.max(Math.round(c*y+t.plotX-h),0),t.clipRectArgs={x:e.reversed?p.x+c-V:p.x,y:p.y,width:V,height:p.height}
1),t.key=t.category||t.name,t.yCategory=i.categories?.[t.y??-1]}translate(){for(let t of(super.translate.apply(this,arguments),this.points))this.translatePoint(t)}drawPoint(t,e){let i=this.options,s=this.chart.renderer,l=t.shapeType,a=t.shapeArgs,n=t.partShapeArgs,u=t.clipRectArgs,v=t.state,M=i.states[v||"normal"]||{},B=void 0===v?"attr":e,x=this.pointAttribs(t,v),h=w(this.chart.options.chart.animation,M.animation),o=t.graphic,c=t.partialFill;if(t.isNull||!1===t.visible)o&&(t.graphic=o.destroy());else if(o?o.rect[e](a):(t.graphic=o=s.g("point").addClass(t.getClassName()).add(t.group||this.group),o.rect=s[l](g(a)).addClass(t.getClassName()).addClass("highcharts-partfill-original").add(o)),n&&(o.partRect?(o.partRect[e](g(n)),o.partialClipRect[e](g(u))):(o.partialClipRect=s.clipRect(u.x,u.y,u.width,u.height),o.partRect=s[l](n).addClass("highcharts-partfill-overlay").add(o).clip(o.partialClipRect))),!this.chart.styledMode&&(o.rect[e](x,h).shadow(i.shadow),n)){N(c)||(c={}),N(i.partialFill)&&(c=g(i.partialFill,c));let m=c.fill||_(x.fill).brighten(-.3).get()||_(t.color||this.color).brighten(-.3).get();x.fill=m,o.partRect[B](x,h).shadow(i.shadow)}}drawPoints(){let t=this.getAnimationVerb();for(let e of this.points)this.drawPoint(e,t)}getAnimationVerb(){return this.chart.pointCount<(this.options.animationLimit||250)?"animate":"attr"}isPointInside(t){let e=t.shapeArgs,i=t.plotX,s=t.plotY;return e?void 0!==i&&void 0!==s&&s>=0&&s<=this.yAxis.len&&(e.x||0)+(e.width||0)>=0&&i<=this.xAxis.len:super.isPointInside.apply(this,arguments)}}S.defaultOptions=g(K.defaultOptions,{colorByPoint:!0,dataLabels:{formatter:function(){let r=this.partialFill;if(it(r)&&(r=r.amount),et(r)&&r>0)return tt(100*r)+"%"},inside:!0,verticalAlign:"middle",style:{whiteSpace:"nowrap"}},tooltip:{headerFormat:'<span style="font-size: 0.8em">{ucfirst point.x} - {point.x2}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.yCategory}</b><br/>'},borderRadius:3,pointRange:0}),nt(S.prototype,{pointClass:L,pointArrayMap:["x2","y"],getExtremesFromAll:!0,keysAffectYAxis:["y"],parallelArrays:["x","x2","y"],requireSorting:!1,type:"xrange",animate:X().series.prototype.animate,autoIncrement:Y,buildKDTree:Y}),X().registerSeriesType("xrange",S);let ct=b();S.compose(ct.Axis);let ut=b()}}]);
2//# sourceMappingURL=node_modules_highcharts_esm_modules_xrange_js.4c40cdc99e54a3b5.js.map

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.