1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4095],{72269:function(t,e,n){"use strict";n.d(e,{Z:function(){return z}});var i=n(77322),a=n(94184),r=n.n(a),o=n(87462),l=n(4942),c=n(97685),s=n(91),d=n(67294),h=n(21770),u=n(15105),f=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],g=d.forwardRef(function(t,e){var n,i=t.prefixCls,a=void 0===i?"rc-switch":i,g=t.className,x=t.checked,w=t.defaultChecked,b=t.disabled,p=t.loadingIcon,y=t.checkedChildren,v=t.unCheckedChildren,m=t.onClick,S=t.onChange,_=t.onKeyDown,M=(0,s.Z)(t,f),$=(0,h.Z)(!1,{value:x,defaultValue:w}),k=(0,c.Z)($,2),I=k[0],P=k[1];function C(t,e){var n=I;return b||(P(n=t),null==S||S(n,e)),n}var E=r()(a,g,(n={},(0,l.Z)(n,"".concat(a,"-checked"),I),(0,l.Z)(n,"".concat(a,"-disabled"),b),n));return d.createElement("button",(0,o.Z)({},M,{type:"button",role:"switch","aria-checked":I,disabled:b,className:E,ref:e,onKeyDown:function(t){t.which===u.Z.LEFT?C(!1,t):t.which===u.Z.RIGHT&&C(!0,t),null==_||_(t)},onClick:function(t){var e=C(!I,t);null==m||m(e,t)}}),p,d.createElement("span",{className:"".concat(a,"-inner")},d.createElement("span",{className:"".concat(a,"-inner-checked")},y),d.createElement("span",{className:"".concat(a,"-inner-unchecked")},v)))});g.displayName="Switch";var x=n(53124),w=n(98866),b=n(97647),p=n(45353),y=n(63329),v=n(67968),m=n(45503),S=n(14747);let _=t=>{let{componentCls:e}=t,n=`${e}-inner`;return{[e]:{[`&${e}-small`]:{minWidth:t.switchMinWidthSM,height:t.switchHeightSM,lineHeight:`${t.switchHeightSM}px`,[`${e}-inner`]:{paddingInlineStart:t.switchInnerMarginMaxSM,paddingInlineEnd:t.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${t.switchPinSizeSM+2*t.switchPadding}px - ${2*t.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(100% - ${t.switchPinSizeSM+2*t.switchPadding}px + ${2*t.switchInnerMarginMaxSM}px)`},[`${n}-unchecked`]:{marginTop:-t.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${e}-handle`]:{width:t.switchPinSizeSM,height:t.switchPinSizeSM},[`${e}-loading-icon`]:{top:(t.switchPinSizeSM-t.switchLoadingIconSize)/2,fontSize:t.switchLoadingIconSize},[`&${e}-checked`]:{[`${e}-inner`]:{paddingInlineStart:t.switchInnerMarginMinSM,paddingInlineEnd:t.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${t.switchPinSizeSM+2*t.switchPadding}px + ${2*t.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(-100% + ${t.switchPinSizeSM+2*t.switchPadding}px - ${2*t.switchInnerMarginMaxSM}px)`}},[`${e}-handle`]:{insetInlineStart:`calc(100% - ${t.switchPinSizeSM+t.switchPadding}px)`}},[`&:not(${e}-disabled):active`]:{[`&:not(${e}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:t.marginXXS/2,marginInlineEnd:-t.marginXXS/2}},[`&${e}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-t.marginXXS/2,marginInlineEnd:t.marginXXS/2}}}}}}},M=t=>{let{componentCls:e}=t;return{[e]:{[`${e}-loading-icon${t.iconCls}`]:{position:"relative",top:(t.switchPinSize-t.fontSize)/2,color:t.switchLoadingIconColor,verticalAlign:"top"},[`&${e}-checked ${e}-loading-icon`]:{color:t.switchColor}}}},$=t=>{let{componentCls:e}=t,n=`${e}-handle`;return{[e]:{[n]:{position:"absolute",top:t.switchPadding,insetInlineStart:t.switchPadding,width:t.switchPinSize,height:t.switchPinSize,transition:`all ${t.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:t.colorWhite,borderRadius:t.switchPinSize/2,boxShadow:t.switchHandleShadow,transition:`all ${t.switchDuration} ease-in-out`,content:'""'}},[`&${e}-checked ${n}`]:{insetInlineStart:`calc(100% - ${t.switchPinSize+t.switchPadding}px)`},[`&:not(${e}-disabled):active`]:{[`${n}::before`]:{insetInlineEnd:t.switchHandleActiveInset,insetInlineStart:0},[`&${e}-checked ${n}::before`]:{insetInlineEnd:0,insetInlineStart:t.switchHandleActiveInset}}}}},k=t=>{let{componentCls:e}=t,n=`${e}-inner`;return{[e]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:t.switchInnerMarginMax,paddingInlineEnd:t.switchInnerMarginMin,transition:`padding-inline-start ${t.switchDuration} ease-in-out, padding-inline-end ${t.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:t.colorTextLightSolid,fontSize:t.fontSizeSM,transition:`margin-inline-start ${t.switchDuration} ease-in-out, margin-inline-end ${t.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${t.switchPinSize+2*t.switchPadding}px - ${2*t.switchInnerMarginMax}px)`,marginInlineEnd:`calc(100% - ${t.switchPinSize+2*t.switchPadding}px + ${2*t.switchInnerMarginMax}px)`},[`${n}-unchecked`]:{marginTop:-t.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${e}-checked ${n}`]:{paddingInlineStart:t.switchInnerMarginMin,paddingInlineEnd:t.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${t.switchPinSize+2*t.switchPadding}px + ${2*t.switchInnerMarginMax}px)`,marginInlineEnd:`calc(-100% + ${t.switchPinSize+2*t.switchPadding}px - ${2*t.switchInnerMarginMax}px)`}},[`&:not(${e}-disabled):active`]:{[`&:not(${e}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:2*t.switchPadding,marginInlineEnd:-(2*t.switchPadding)}},[`&${e}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-(2*t.switchPadding),marginInlineEnd:2*t.switchPadding}}}}}},I=t=>{let{componentCls:e}=t;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(t)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:t.switchMinWidth,height:t.switchHeight,lineHeight:`${t.switchHeight}px`,verticalAlign:"middle",background:t.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${t.motionDurationMid}`,userSelect:"none",[`&:hover:not(${e}-disabled)`]:{background:t.colorTextTertiary}}),(0,S.Qy)(t)),{[`&${e}-checked`]:{background:t.switchColor,[`&:hover:not(${e}-disabled)`]:{background:t.colorPrimaryHover}},[`&${e}-loading, &${e}-disabled`]:{cursor:"not-allowed",opacity:t.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${e}-rtl`]:{direction:"rtl"}})}};var P=(0,v.Z)("Switch",t=>{let e=t.fontSize*t.lineHeight,n=t.controlHeight/2,i=e-4,a=n-4,r=(0,m.TS)(t,{switchMinWidth:2*i+8,switchHeight:e,switchDuration:t.motionDurationMid,switchColor:t.colorPrimary,switchDisabledOpacity:t.opacityLoading,switchInnerMarginMin:i/2,switchInnerMarginMax:i+2+4,switchPadding:2,switchPinSize:i,switchBg:t.colorBg
1Container,switchMinWidthSM:2*a+4,switchHeightSM:n,switchInnerMarginMinSM:a/2,switchInnerMarginMaxSM:a+2+4,switchPinSizeSM:a,switchHandleShadow:`0 2px 4px 0 ${new y.C("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:.75*t.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${t.opacityLoading})`,switchHandleActiveInset:"-30%"});return[I(r),k(r),$(r),M(r),_(r)]}),C=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>e.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(t);a<i.length;a++)0>e.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(t,i[a])&&(n[i[a]]=t[i[a]]);return n};let E=d.forwardRef((t,e)=>{var{prefixCls:n,size:a,disabled:o,loading:l,className:c,rootClassName:s}=t,h=C(t,["prefixCls","size","disabled","loading","className","rootClassName"]);let{getPrefixCls:u,direction:f}=d.useContext(x.E_),y=d.useContext(b.Z),v=d.useContext(w.Z),m=u("switch",n),S=d.createElement("div",{className:`${m}-handle`},l&&d.createElement(i.Z,{className:`${m}-loading-icon`})),[_,M]=P(m),$=r()({[`${m}-small`]:"small"===(a||y),[`${m}-loading`]:l,[`${m}-rtl`]:"rtl"===f},c,s,M);return _(d.createElement(p.Z,null,d.createElement(g,Object.assign({},h,{prefixCls:m,className:$,disabled:(null!=o?o:v)||l,ref:e,loadingIcon:S}))))});E.__ANT_SWITCH=!0;var z=E},57028:function(t,e,n){"use strict";n.d(e,{Z:function(){return M}});var i=n(9676),a=n(23148),r=function(){if("undefined"!=typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var t=window.screen;if(t)return(t.deviceXDPI||1)/(t.logicalXDPI||1)}return 1}(),o={toTextLines:function(t){var e,n=[];for(t=[].concat(t);t.length;)"string"==typeof(e=t.pop())?n.unshift.apply(n,e.split("\n")):Array.isArray(e)?t.push.apply(t,e):(0,i.k)(t)||n.unshift(""+e);return n},textSize:function(t,e,n){var i,a=[].concat(e),r=a.length,o=t.font,l=0;for(i=0,t.font=n.string;i<r;++i)l=Math.max(t.measureText(a[i]).width,l);return t.font=o,{height:r*n.lineHeight,width:l}},bound:function(t,e,n){return Math.max(t,Math.min(e,n))},arrayDiff:function(t,e){var n,i,a,r,o=t.slice(),l=[];for(n=0,a=e.length;n<a;++n)r=e[n],-1===(i=o.indexOf(r))?l.push([r,1]):o.splice(i,1);for(n=0,a=o.length;n<a;++n)l.push([o[n],-1]);return l},rasterize:function(t){return Math.round(t*r)/r}};function l(t,e){var n=e.x,i=e.y;if(null===n)return{x:0,y:-1};if(null===i)return{x:1,y:0};var a=t.x-n,r=t.y-i,o=Math.sqrt(a*a+r*r);return{x:o?a/o:0,y:o?r/o:-1}}function c(t,e,n){var i=0;return t<n.left?i|=1:t>n.right&&(i|=2),e<n.top?i|=8:e>n.bottom&&(i|=4),i}function s(t,e){var n,i,a=e.anchor,r=t;return e.clamp&&(r=function(t,e){for(var n,i,a,r=t.x0,o=t.y0,l=t.x1,s=t.y1,d=c(r,o,e),h=c(l,s,e);d|h&&!(d&h);)8&(n=d||h)?(i=r+(l-r)*(e.top-o)/(s-o),a=e.top):4&n?(i=r+(l-r)*(e.bottom-o)/(s-o),a=e.bottom):2&n?(a=o+(s-o)*(e.right-r)/(l-r),i=e.right):1&n&&(a=o+(s-o)*(e.left-r)/(l-r),i=e.left),n===d?d=c(r=i,o=a,e):h=c(l=i,s=a,e);return{x0:r,x1:l,y0:o,y1:s}}(r,e.area)),"start"===a?(n=r.x0,i=r.y0):"end"===a?(n=r.x1,i=r.y1):(n=(r.x0+r.x1)/2,i=(r.y0+r.y1)/2),function(t,e,n,i,a){switch(a){case"center":n=i=0;break;case"bottom":n=0,i=1;break;case"right":n=1,i=0;break;case"left":n=-1,i=0;break;case"top":n=0,i=-1;break;case"start":n=-n,i=-i;break;case"end":break;default:a*=Math.PI/180,n=Math.cos(a),i=Math.sin(a)}return{x:t,y:e,vx:n,vy:i}}(n,i,t.vx,t.vy,e.align)}var d={arc:function(t,e){var n=(t.startAngle+t.endAngle)/2,i=Math.cos(n),a=Math.sin(n),r=t.innerRadius,o=t.outerRadius;return s({x0:t.x+i*r,y0:t.y+a*r,x1:t.x+i*o,y1:t.y+a*o,vx:i,vy:a},e)},point:function(t,e){var n=l(t,e.origin),i=n.x*t.options.radius,a=n.y*t.options.radius;return s({x0:t.x-i,y0:t.y-a,x1:t.x+i,y1:t.y+a,vx:n.x,vy:n.y},e)},bar:function(t,e){var n=l(t,e.origin),i=t.x,a=t.y,r=0,o=0;return t.horizontal?(i=Math.min(t.x,t.base),r=Math.abs(t.base-t.x)):(a=Math.min(t.y,t.base),o=Math.abs(t.base-t.y)),s({x0:i,y0:a+o,x1:i+r,y1:a,vx:n.x,vy:n.y},e)},fallback:function(t,e){var n=l(t,e.origin);return s({x0:t.x,y0:t.y,x1:t.x+(t.width||0),y1:t.y+(t.height||0),vx:n.x,vy:n.y},e)}},h=o.rasterize,u=function(t,e,n,i){var a=this;a._config=t,a._index=i,a._model=null,a._rects=null,a._ctx=e,a._el=n};(0,i.a4)(u.prototype,{_modelize:function(t,e,n,r){var l,c=this._index,s=(0,i.a0)((0,i.a)([n.font,{}],r,c)),h=(0,i.a)([n.color,i.d.color],r,c);return{align:(0,i.a)([n.align,"center"],r,c),anchor:(0,i.a)([n.anchor,"center"],r,c),area:r.chart.chartArea,backgroundColor:(0,i.a)([n.backgroundColor,null],r,c),borderColor:(0,i.a)([n.borderColor,null],r,c),borderRadius:(0,i.a)([n.borderRadius,0],r,c),borderWidth:(0,i.a)([n.borderWidth,0],r,c),clamp:(0,i.a)([n.clamp,!1],r,c),clip:(0,i.a)([n.clip,!1],r,c),color:h,display:t,font:s,lines:e,offset:(0,i.a)([n.offset,4],r,c),opacity:(0,i.a)([n.opacity,1],r,c),origin:function(t,e){var n=e.chart.getDatasetMeta(e.datasetIndex).vScale;if(!n)return null;if(void 0!==n.xCenter&&void 0!==n.yCenter)return{x:n.xCenter,y:n.yCenter};var i=n.getBasePixel();return t.horizontal?{x:i,y:null}:{x:null,y:i}}(this._el,r),padding:(0,i.E)((0,i.a)([n.padding,4],r,c)),positioner:(l=this._el)instanceof a.qi?d.arc:l instanceof a.od?d.point:l instanceof a.ZL?d.bar:d.fallback,rotation:(0,i.a)([n.rotation,0],r,c)*(Math.PI/180),size:o.textSize(this._ctx,e,s),textAlign:(0,i.a)([n.textAlign,"start"],r,c),textShadowBlur:(0,i.a)([n.textShadowBlur,0],r,c),textShadowColor:(0,i.a)([n.textShadowColor,h],r,c),textStrokeColor:(0,i.a)([n.textStrokeColor,h],r,c),textStrokeWidth:(0,i.a)([n.textStrokeWidth,0],r,c)}},update:function(t){var e,n,a,r,l,c,s,d,h,u,f=this,g=null,x=null,w=f._index,b=f._config,p=(0,i.a)([b.display,!0],t,w);
1p&&(d=t.dataset.data[w],h=(0,i.v)((0,i.Q)(b.formatter,[d,t]),d),(u=(0,i.k)(h)?[]:o.toTextLines(h)).length)&&(n=(e=g=f._modelize(p,u,b,t)).borderWidth||0,a=e.padding,r=e.size.height,c=-(l=e.size.width)/2,s=-r/2,x={frame:{x:c-a.left-n,y:s-a.top-n,w:l+a.width+2*n,h:r+a.height+2*n},text:{x:c,y:s,w:l,h:r}}),f._model=g,f._rects=x},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(t,e){var n,i,a,r,l,c,s=t.ctx,d=this._model,u=this._rects;this.visible()&&(s.save(),d.clip&&(c=d.area,s.beginPath(),s.rect(c.left,c.top,c.right-c.left,c.bottom-c.top),s.clip()),s.globalAlpha=o.bound(0,d.opacity,1),s.translate(h(e.x),h(e.y)),s.rotate(d.rotation),n=s,i=u.frame,a=d.backgroundColor,r=d.borderColor,l=d.borderWidth,(a||r&&l)&&(n.beginPath(),function(t,e,n,i,a,r){var o=Math.PI/2;if(r){var l=Math.min(r,a/2,i/2),c=e+l,s=n+l,d=e+i-l,h=n+a-l;t.moveTo(e,s),c<d&&s<h?(t.arc(c,s,l,-Math.PI,-o),t.arc(d,s,l,-o,0),t.arc(d,h,l,0,o),t.arc(c,h,l,o,Math.PI)):c<d?(t.moveTo(c,n),t.arc(d,s,l,-o,o),t.arc(c,s,l,o,Math.PI+o)):s<h?(t.arc(c,s,l,-Math.PI,0),t.arc(c,h,l,0,Math.PI)):t.arc(c,s,l,-Math.PI,Math.PI),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,a)}(n,h(i.x)+l/2,h(i.y)+l/2,h(i.w)-l,h(i.h)-l,d.borderRadius),n.closePath(),a&&(n.fillStyle=a,n.fill()),r&&l&&(n.strokeStyle=r,n.lineWidth=l,n.lineJoin="miter",n.stroke())),function(t,e,n,i){var a,r,o,l,c,s,d=i.textAlign,u=i.color,f=!!u,g=i.font,x=e.length,w=i.textStrokeColor,b=i.textStrokeWidth,p=w&&b;if(x&&(f||p))for(a=n,r=g.lineHeight,o=a.w,l=a.x,c=a.y+r/2,"center"===d?l+=o/2:("end"===d||"right"===d)&&(l+=o),n={h:r,w:o,x:l,y:c},t.font=g.string,t.textAlign=d,t.textBaseline="middle",t.shadowBlur=i.textShadowBlur,t.shadowColor=i.textShadowColor,f&&(t.fillStyle=u),p&&(t.lineJoin="round",t.lineWidth=b,t.strokeStyle=w),s=0,x=e.length;s<x;++s)!function(t,e,n){var i=t.shadowBlur,a=n.stroked,r=h(n.x),o=h(n.y),l=h(n.w);a&&t.strokeText(e,r,o,l),n.filled&&(i&&a&&(t.shadowBlur=0),t.fillText(e,r,o,l),i&&a&&(t.shadowBlur=i))}(t,e[s],{stroked:p,filled:f,w:n.w,x:n.x,y:n.y+n.h*s})}(s,d.lines,u.text,d),s.restore())}});var f=Number.MIN_SAFE_INTEGER||-9007199254740991,g=Number.MAX_SAFE_INTEGER||9007199254740991;function x(t,e,n){var i=Math.cos(n),a=Math.sin(n),r=e.x,o=e.y;return{x:r+i*(t.x-r)-a*(t.y-o),y:o+a*(t.x-r)+i*(t.y-o)}}function w(t,e){var n,i,a,r,o,l=g,c=f,s=e.origin;for(n=0;n<t.length;++n)a=(i=t[n]).x-s.x,r=i.y-s.y,l=Math.min(l,o=e.vx*a+e.vy*r),c=Math.max(c,o);return{min:l,max:c}}function b(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i);return{vx:(e.x-t.x)/a,vy:(e.y-t.y)/a,origin:t,ln:a}}var p=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function y(t,e,n){var i=e.positioner(t,e),a=i.vx,r=i.vy;if(!a&&!r)return{x:i.x,y:i.y};var o=n.w,l=n.h,c=e.rotation,s=Math.abs(o/2*Math.cos(c))+Math.abs(l/2*Math.sin(c)),d=Math.abs(o/2*Math.sin(c))+Math.abs(l/2*Math.cos(c)),h=1/Math.max(Math.abs(a),Math.abs(r));return s*=a*h,d*=r*h,s+=e.offset*a,d+=e.offset*r,{x:i.x+s,y:i.y+d}}(0,i.a4)(p.prototype,{center:function(){var t=this._rect;return{x:t.x+t.w/2,y:t.y+t.h/2}},update:function(t,e,n){this._rotation=n,this._rect={x:e.x+t.x,y:e.y+t.y,w:e.w,h:e.h}},contains:function(t){var e=this._rect;return!((t=x(t,this.center(),-this._rotation)).x<e.x-1||t.y<e.y-1||t.x>e.x+e.w+2||t.y>e.y+e.h+2)},intersects:function(t){var e,n,i,a=this._points(),r=t._points(),o=[b(a[0],a[1]),b(a[0],a[3])];for(this._rotation!==t._rotation&&o.push(b(r[0],r[1]),b(r[0],r[3])),e=0;e<o.length;++e)if(n=w(a,o[e]),i=w(r,o[e]),n.max<i.min||i.max<n.min)return!1;return!0},_points:function(){var t=this._rect,e=this._rotation,n=this.center();return[x({x:t.x,y:t.y},n,e),x({x:t.x+t.w,y:t.y},n,e),x({x:t.x+t.w,y:t.y+t.h},n,e),x({x:t.x,y:t.y+t.h},n,e)]}});var v={prepare:function(t){var e,n,i,a,r,o=[];for(e=0,i=t.length;e<i;++e)for(n=0,a=t[e].length;n<a;++n)r=t[e][n],o.push(r),r.$layout={_box:new p,_hidable:!1,_visible:!0,_set:e,_idx:r._index};return o.sort(function(t,e){var n=t.$layout,i=e.$layout;
1return n._idx===i._idx?i._set-n._set:i._idx-n._idx}),this.update(o),o},update:function(t){var e,n,i,a,r,o=!1;for(e=0,n=t.length;e<n;++e)a=(i=t[e]).model(),(r=i.$layout)._hidable=a&&"auto"===a.display,r._visible=i.visible(),o|=r._hidable;o&&function(t){var e,n,i,a,r,o,l;for(e=0,n=t.length;e<n;++e)(a=(i=t[e]).$layout)._visible&&(l=new Proxy(i._el,{get:(t,e)=>t.getProps([e],!0)[e]}),r=i.geometry(),o=y(l,i.model(),r),a._box.update(o,r,i.rotation()));!function(t,e){var n,i,a,r;for(n=t.length-1;n>=0;--n)for(a=t[n].$layout,i=n-1;i>=0&&a._visible;--i)(r=t[i].$layout)._visible&&a._box.intersects(r._box)&&e(a,r)}(t,function(t,e){var n=t._hidable,i=e._hidable;n&&i||i?e._visible=!1:n&&(t._visible=!1)})}(t)},lookup:function(t,e){var n,i;for(n=t.length-1;n>=0;--n)if((i=t[n].$layout)&&i._visible&&i._box.contains(e))return t[n];return null},draw:function(t,e){var n,i,a,r,o,l;for(n=0,i=e.length;n<i;++n)(r=(a=e[n]).$layout)._visible&&(o=a.geometry(),l=y(a._el,a.model(),o),r._box.update(l,o,a.rotation()),a.draw(t,l))}},m="$datalabels",S="$default";function _(t,e,n,a){if(e){var r,o=n.$context,l=n.$groups;e[l._set]&&(r=e[l._set][l._key])&&!0===(0,i.Q)(r,[o,a])&&(t[m]._dirty=!0,n.update(o))}}var M={id:"datalabels",defaults:{align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:function(t){if((0,i.k)(t))return null;var e,n,a,r=t;if((0,i.i)(t)){if((0,i.k)(t.label)){if((0,i.k)(t.r))for(a=0,r="",n=(e=Object.keys(t)).length;a<n;++a)r+=(0!==a?", ":"")+e[a]+": "+t[e[a]];else r=t.r}else r=t.label}return""+r},labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},beforeInit:function(t){t[m]={_actives:[]}},beforeUpdate:function(t){var e=t[m];e._listened=!1,e._listeners={},e._datasets=[],e._labels=[]},afterDatasetUpdate:function(t,e,n){var a,r,o,l,c,s,d,h,f,g,x,w,b,p,y=e.index,v=t[m],_=v._datasets[y]=[],M=t.isDatasetVisible(y),$=t.data.datasets[y],k=(a=n,l=$.datalabels,c={},s=[],!1===l?null:(!0===l&&(l={}),o=Object.keys(r=(a=(0,i.a4)({},[a,l])).labels||{}),delete a.labels,o.length?o.forEach(function(t){r[t]&&s.push((0,i.a4)({},[a,r[t],{_key:t}]))}):s.push(a),c=s.reduce(function(t,e){return(0,i.F)(e.listeners||{},function(n,i){t[i]=t[i]||{},t[i][e._key||S]=n}),delete e.listeners,t},{}),{labels:s,listeners:c})),I=e.meta.data||[],P=t.ctx;for(P.save(),d=0,f=I.length;d<f;++d)if((b=I[d])[m]=[],M&&b&&t.getDataVisibility(d)&&!b.skip)for(h=0,g=k.labels.length;h<g;++h)w=(x=k.labels[h])._key,(p=new u(x,P,b,d)).$groups={_set:y,_key:w||S},p.$context={active:!1,chart:t,dataIndex:d,dataset:$,datasetIndex:y},p.update(p.$context),b[m].push(p),_.push(p);P.restore(),(0,i.a4)(v._listeners,k.listeners,{merger:function(t,n,i){n[t]=n[t]||{},n[t][e.index]=i[t],v._listened=!0}})},afterUpdate:function(t){t[m]._labels=v.prepare(t[m]._datasets)},afterDatasetsDraw:function(t){v.draw(t,t[m]._labels)},beforeEvent:function(t,e){if(t[m]._listened){var n,i,a,r=e.event;switch(r.type){case"mousemove":case"mouseout":!function(t,e){var n,i,a,r,o,l=t[m],c=l._listeners;if(c.enter||c.leave){if("mousemove"===e.type)o=v.lookup(l._labels,e);else if("mouseout"!==e.type)return;r=l._hovered,l._hovered=o,n=o,(r||n)&&(r?n?r!==n&&(a=i=!0):a=!0:i=!0,a&&_(t,c.leave,r,e),i&&_(t,c.enter,n,e))}}(t,r);break;case"click":(a=(i=(n=t[m])._listeners.click)&&v.lookup(n._labels,r))&&_(t,i,a,r)}}},afterEvent:function(t){var e,n,i,a,r,l,c,s=t[m],d=s._actives,h=s._actives=t.getActiveElements(),u=o.arrayDiff(d,h);for(e=0,n=u.length;e<n;++e)if((r=u[e])[1])for(i=0,a=(c=r[0].element[m]||[]).length;i<a;++i)(l=c[i]).$context.active=1===r[1],l.update(l.$context);(s._dirty||u.length)&&(v.update(s._labels),t.render()),delete s._dirty}}},35823:function(t){t.exports=function(t,e,n,i){var a=new Blob(void 0!==i?[i,t]:[t],{type:n||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(a,e);else{var r=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(a):window.webkitURL.createObjectURL(a),o=document.createElement("a");o.style.display="none",o.href=r,o.setAttribute("download",e),void 0===o.download&&o.setAttribute("target","_blank"),document.body.appendChild(o),o.click(),setTimeout(function(){document.body.removeChild(o),window.URL.revokeObjectURL(r)},200)}}},26495:function(t,e,n){"use strict";n.d(e,{$Q:function(){return h},by:function(){return u},x1:function(){return d}});var i=n(67294),a=n(23148);let r="label";function o(t,e){"function"==typeof t?t(e):t&&(t.current=e)}function l(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,i=[];t.datasets=e.map(e=>{let a=t.datasets.find(t=>t[n]===e[n]);return!a||!e.data||i.includes(a)?{...e}:(i.push(a),Object.assign(a,e),a)})}let c=(0,i.forwardRef)(function(t,e){let{height:n=150,width:c=300,redraw:s=!1,datasetIdKey:d,type:h,data:u,options:f,plugins:g=[],fallbackContent:x,updateMode:w,...b}=t,p=(0,i.useRef)(null),y=(0,i.useRef)(),v=()=>
1{p.current&&(y.current=new a.kL(p.current,{type:h,data:function(t){var e,n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,a={labels:[],datasets:[]};return e=a,n=t.labels,e.labels=n,l(a,t.datasets,i),a}(u,d),options:f&&{...f},plugins:g}),o(e,y.current))},m=()=>{o(e,null),y.current&&(y.current.destroy(),y.current=null)};return(0,i.useEffect)(()=>{!s&&y.current&&f&&function(t,e){let n=t.options;n&&e&&Object.assign(n,e)}(y.current,f)},[s,f]),(0,i.useEffect)(()=>{if(!s&&y.current){var t,e;t=y.current.config.data,e=u.labels,t.labels=e}},[s,u.labels]),(0,i.useEffect)(()=>{!s&&y.current&&u.datasets&&l(y.current.config.data,u.datasets,d)},[s,u.datasets]),(0,i.useEffect)(()=>{y.current&&(s?(m(),setTimeout(v)):y.current.update(w))},[s,f,u.labels,u.datasets,w]),(0,i.useEffect)(()=>{y.current&&(m(),setTimeout(v))},[h]),(0,i.useEffect)(()=>(v(),()=>m()),[]),i.createElement("canvas",Object.assign({ref:p,role:"img",height:n,width:c},b),x)});function s(t,e){return a.kL.register(e),(0,i.forwardRef)((e,n)=>i.createElement(c,Object.assign({},e,{ref:n,type:t})))}let d=s("line",a.ST),h=s("bar",a.vn),u=s("pie",a.tt)}}]);
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.