PageSourceSearch

https://smartguys.ai/_next/static/chunks/6075-aa9eaaafdf5d44c4.js

js smartguys.ai collected 2026-10-05 15:08:04 UTC 9,439 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6075],{66075:(e,t,i)=>{i.d(t,{a:()=>I});var r=i(85773),n=i(46214),o=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},l=function(e){function t(t){var i=e.call(this,t)||this;return i.type="pointer",i}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){var i=Math.cos,r=Math.sin,n=t.r,o=t.width,l=t.angle,a=t.x-i(l)*o*(o>=n/3?1:2),s=t.y-r(l)*o*(o>=n/3?1:2);l=t.angle-Math.PI/2,e.moveTo(a,s),e.lineTo(t.x+i(l)*o,t.y+r(l)*o),e.lineTo(t.x+i(t.angle)*n,t.y+r(t.angle)*n),e.lineTo(t.x-i(l)*o,t.y-r(l)*o),e.lineTo(a,s)},t}(n.Ay),a=i(16295),s=i(20133),g=i(621),h=i(43633),d=i(78064),c=i(72726),p=i(51679),u=i(87005),y=i(56761),f=i(75865),v=i(68728),m=i(63642),w=i(840),A=i(34101),x=i(16925);function M(e,t){var i=null==e?"":e+"";return t&&((0,w.Kg)(t)?i=t.replace("{value}",i):(0,w.Tn)(t)&&(i=t(e))),i}var S=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.render=function(e,t,i){this.group.removeAll();var r,n,o=e.get(["axisLine","lineStyle","color"]),l=(r=e.get("center"),n=Math.min(i.getWidth(),i.getHeight()),{cx:(0,y.lo)(r[0],i.getWidth()),cy:(0,y.lo)(r[1],i.getHeight()),r:(0,y.lo)(e.get("radius"),n/2)});this._renderMain(e,t,i,o,l),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,i,r,n){var o=this.group,l=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,g=-e.get("endAngle")/180*Math.PI,h=e.getModel("axisLine"),d=h.get("roundCap")?f.A:a.A,c=h.get("show"),p=h.getModel("lineStyle"),u=p.get("width"),y=[s,g];(0,x.q)(y,!l),s=y[0];for(var v=(g=y[1])-s,m=s,A=[],M=0;c&&M<r.length;M++){var S=new d({shape:{startAngle:m,endAngle:g=s+v*Math.min(Math.max(r[M][0],0),1),cx:n.cx,cy:n.cy,clockwise:l,r0:n.r-u,r:n.r},silent:!0});S.setStyle({fill:r[M][1]}),S.setStyle(p.getLineStyle(["color","width"])),A.push(S),m=g}A.reverse(),(0,w.__)(A,function(e){return o.add(e)});var b=function(e){var t;if(e<=0)return r[0][1];for(t=0;t<r.length;t++)if(r[t][0]>=e&&(0===t?0:r[t-1][0])<e)return r[t][1];return r[t-1][1]};this._renderTicks(e,t,i,b,n,s,g,l,u),this._renderTitleAndDetail(e,t,i,b,n),this._renderAnchor(e,n),this._renderPointer(e,t,i,b,n,s,g,l,u)},t.prototype._renderTicks=function(e,t,i,r,n,o,l,a,h){for(var d,c,u=this.group,f=n.cx,v=n.cy,m=n.r,A=+e.get("min"),x=+e.get("max"),S=e.getModel("splitLine"),b=e.getModel("axisTick"),C=e.getModel("axisLabel"),I=e.get("splitNumber"),_=b.get("splitNumber"),k=(0,y.lo)(S.get("length"),m),L=(0,y.lo)(b.get("length"),m),E=o,P=(l-o)/I,N=P/_,T=S.getModel("lineStyle").getLineStyle(),z=b.getModel("lineStyle").getLineStyle(),D=S.get("distance"),V=0;V<=I;V++){if(d=Math.cos(E),c=Math.sin(E),S.get("show")){var W=D?D+h:h,B=new s.A({shape:{x1:d*(m-W)+f,y1:c*(m-W)+v,x2:d*(m-k-W)+f,y2:c*(m-k-W)+v},style:T,silent:!0});"auto"===T.stroke&&B.setStyle({stroke:r(V/I)}),u.add(B)}if(C.get("show")){var W=C.get("distance")+D,G=M((0,y.LI)(V/I*(x-A)+A),C.get("formatter")),H=r(V/I),F=d*(m-k-W)+f,O=c*(m-k-W)+v,X=C.get("rotate"),q=0;"radial"===X?(q=-E+2*Math.PI)>Math.PI/2&&(q+=Math.PI):"tangential"===X?q=-E-Math.PI/2:(0,w.Et)(X)&&(q=X*Math.PI/180),0===q?u.add(new g.Ay({style:(0,p.VB)(C,{text:G,x:F,y:O,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:d<-.4?"left":d>.4?"right":"center"},{inheritColor:H}),silent:!0})):u.add(new g.Ay({style:(0,p.VB)(C,{text:G,x:F,y:O,verticalAlign:"middle",align:"center"},{inheritColor:H}),silent:!0,originX:F,originY:O,rotation:q}))}if(b.get("show")&&V!==I){var W=b.get("distance");W=W?W+h:h;for(var K=0;K<=_;K++){d=Math.cos(E),c=Math.sin(E);var Y=new s.A({shape:{x1:d*(m-W)+f,y1:c*(m-W)+v,x2:d*(m-L-W)+f,y2:c*(m-L-W)+v},silent:!0,style:z});"auto"===z.stroke&&Y.setStyle({stroke:r((V+K/_)/I)}),u.add(Y),E+=N}E-=N}else E+=P}},t.prototype._renderPointer=function(e,t,i,r,n,o,s,g,d){var p=this.group,u=this._data,x=this._progressEls,M=[],S=e.get(["pointer","show"]),b=e.getModel("progress"),C=b.get("show"),I=e.getData(),_=I.mapDimension("value"),k=+e.get("min"),L=+e.get("max"),E=[k,L],P=[o,s];function N(t,i){var r,o=I.getItemModel(t).getModel("pointer"),a=(0,y.lo)(o.get("width"),n.r),s=(0,y.lo)(o.get("length"),n.r),g=e.get(["pointer","icon"]),h=o.get("offsetCenter"),d=(0,y.lo)(h[0],n.r),c=(0,y.lo)(h[1],n.r),p=o.get("keepAspect");return(r=g?(0,v.v5)(g,d-a/2,c-s,a,s,null,p):new l({shape:{angle:-Math.PI/2,width:a,r:s,x:d,y:c}})).rotation=-(i+Math.PI/2),r.x=n.cx,r.y=n.cy,r}function T(e,t){var i=b.get("roundCap")?f.A:a.A,r=b.get("overlap"),l=r?b.get("width"):d/I.count(),s=r?n.r-l:n.r-(e+1)*l,h=r?n.r:n.r-e*l,c=new i({shape:{startAngle:o,endAngle:t,cx:n.cx,cy:n.cy,clockwise:g,r0:s,r:h}});return r&&(c.z2=(0,y.Cb)(I.get(_,e),[k,L],[100,0],!0)),c}(C||S)&&(I.diff(u).add(function(t){var i=I.get(_,t);if(S){var r=N(t,o);h.LW(r,{rotation:-((isNaN(+i)?P[0]:(0,y.Cb)(i,E,P,!0))+Math.PI/2)},e),p.add(r),I.setItemGraphicEl(t,r)}if(C){var n=T(t,o),l=b.get("clip");h.LW(n,{shape:{endAngle:(0,y.Cb)(i,E,P,l)}},e),p.add(n),(0,A.a)(e.seriesIndex,I.dataType,t,n),M[t]=n}}).update(function(t,i){var r=I.get(_,t);if(S){var n=u.getItemGraphicEl(i),l=n?n.rotation:o,a=N(t,l);a.rotation=l,h.oi(a,{rotation:-((isNaN(+r)?P[0]:(0,y.Cb)(r,E,P,!0))+Math.PI/2)},e),p.add(a),I.setItemGraphicEl(t,a)}if(C){var s=x[i],g=T(t,s?s.shape.endAngle:o),d=b.get("clip");h.oi(g,{shape:{endAngle:(0,y.Cb)(r,E,P,d)}},e),p.add(g),(0,A.a)(e.seriesIndex,I.dataType,t,g),M[t]=g}}).execute(),I.each(function(e){var t=I.getItemModel(e),i=t.getModel("emphasis"),n=i.get("focus"),o=i.get("blurScope"),l=i.get("disabled");if(S){var a=I.getItemGraphicEl(e),s=I.getItemVisual(e,"style"),g=s.fill;if(a instanceof m.Ay){var h=a.style;a.useStyle((0,w.X$)({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},s))}else a.useStyle(s),"pointer"!==a.type&&a.setColor(g);a.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===a.style.fill&&a.setStyle("fill",r((0,y.Cb)(I.get(_,e),E,[0,1],!0))),a.z2EmphasisLift=0,(0,c.Mx)(a,t),(0,c.Lm)(a,n,o,l)}if(C){var d=M[e];d.useStyle(I.getItemVisual(e,"style")),d.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,(0,c.Mx)(d,t),(0,c.Lm)(d,n,o,l)}}),this._progressEls=M)},t.prototype._renderAnchor=function(e,t){var i=e.getModel("anchor");if(i.get("show")){var r=i.get("size"),n=i.get("icon"),o=i.get("offsetCenter"),l=i.get("keepAspect"),a=(0,v.v5)(n,t.cx-r/2+(0,y.lo)(o[0],t.r),t.cy-r/2+(0,y.lo)(o[1],t.r),r,r,null,l);
1a.z2=+!!i.get("showAbove"),a.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(a)}},t.prototype._renderTitleAndDetail=function(e,t,i,r,n){var o=this,l=e.getData(),a=l.mapDimension("value"),s=+e.get("min"),h=+e.get("max"),c=new d.A,u=[],f=[],v=e.isAnimationEnabled(),m=e.get(["pointer","showAbove"]);l.diff(this._data).add(function(e){u[e]=new g.Ay({silent:!0}),f[e]=new g.Ay({silent:!0})}).update(function(e,t){u[e]=o._titleEls[t],f[e]=o._detailEls[t]}).execute(),l.each(function(t){var i=l.getItemModel(t),o=l.get(a,t),g=new d.A,w=r((0,y.Cb)(o,[s,h],[0,1],!0)),A=i.getModel("title");if(A.get("show")){var x=A.get("offsetCenter"),S=n.cx+(0,y.lo)(x[0],n.r),b=n.cy+(0,y.lo)(x[1],n.r),C=u[t];C.attr({z2:2*!m,style:(0,p.VB)(A,{x:S,y:b,text:l.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:w})}),g.add(C)}var I=i.getModel("detail");if(I.get("show")){var _=I.get("offsetCenter"),k=n.cx+(0,y.lo)(_[0],n.r),L=n.cy+(0,y.lo)(_[1],n.r),E=(0,y.lo)(I.get("width"),n.r),P=(0,y.lo)(I.get("height"),n.r),N=e.get(["progress","show"])?l.getItemVisual(t,"style").fill:w,C=f[t],T=I.get("formatter");C.attr({z2:2*!m,style:(0,p.VB)(I,{x:k,y:L,text:M(o,T),width:isNaN(E)?null:E,height:isNaN(P)?null:P,align:"center",verticalAlign:"middle"},{inheritColor:N})}),(0,p.Oh)(C,{normal:I},o,function(e){return M(e,T)}),v&&(0,p.xb)(C,t,l,e,{getFormattedLabel:function(e,t,i,r,n,l){return M(l?l.interpolatedValue:o,T)}}),g.add(C)}c.add(g)}),this.group.add(c),this._titleEls=u,this._detailEls=f},t.type="gauge",t}(u.A),b=i(85264),C=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.visualStyleAccessPath="itemStyle",i}return(0,r.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,b.A)(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(i(56980).A);function I(e){e.registerChartView(S),e.registerSeriesModel(C)}}}]);

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.