1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4109],{45220:function(t){t.exports=function(t){return null===t}},96869:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},c=n(44192),r=a.forwardRef(function(t,e){return a.createElement(c.Z,(0,o.Z)({},t,{ref:e,icon:i}))})},75685:function(t,e,n){"use strict";n.d(e,{Z:function(){return D}});var o=n(67294),a=n(93967),i=n.n(a),c=n(87462),r=n(97685),l=n(91),u=n(4942),s=n(1413),d=n(71002),m=n(22720),f=n(97485),b=n(89157),h=n(16819),g=n(5842),v=function(t,e){if(!t)return null;var n={left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth,top:t.offsetTop,bottom:t.parentElement.clientHeight-t.clientHeight-t.offsetTop,height:t.clientHeight};return e?{left:0,right:0,width:0,top:n.top,bottom:n.bottom,height:n.height}:{left:n.left,right:n.right,width:n.width,top:0,bottom:0,height:0}},p=function(t){return void 0!==t?"".concat(t,"px"):void 0};function w(t){var e=t.prefixCls,n=t.containerRef,a=t.value,c=t.getValueIndex,l=t.motionName,u=t.onMotionStart,d=t.onMotionEnd,m=t.direction,f=t.vertical,w=void 0!==f&&f,S=o.useRef(null),y=o.useState(a),C=(0,r.Z)(y,2),Z=C[0],k=C[1],x=function(t){var o,a=c(t),i=null===(o=n.current)||void 0===o?void 0:o.querySelectorAll(".".concat(e,"-item"))[a];return(null==i?void 0:i.offsetParent)&&i},O=o.useState(null),j=(0,r.Z)(O,2),M=j[0],E=j[1],N=o.useState(null),R=(0,r.Z)(N,2),H=R[0],I=R[1];(0,g.Z)(function(){if(Z!==a){var t=x(Z),e=x(a),n=v(t,w),o=v(e,w);k(a),E(n),I(o),t&&e?u():d()}},[a]);var P=o.useMemo(function(){if(w){var t;return p(null!==(t=null==M?void 0:M.top)&&void 0!==t?t:0)}return"rtl"===m?p(-(null==M?void 0:M.right)):p(null==M?void 0:M.left)},[w,m,M]),z=o.useMemo(function(){if(w){var t;return p(null!==(t=null==H?void 0:H.top)&&void 0!==t?t:0)}return"rtl"===m?p(-(null==H?void 0:H.right)):p(null==H?void 0:H.left)},[w,m,H]);return M&&H?o.createElement(h.ZP,{visible:!0,motionName:l,motionAppear:!0,onAppearStart:function(){return w?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return w?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){E(null),I(null),d()}},function(t,n){var a=t.className,c=t.style,r=(0,s.Z)((0,s.Z)({},c),{},{"--thumb-start-left":P,"--thumb-start-width":p(null==M?void 0:M.width),"--thumb-active-left":z,"--thumb-active-width":p(null==H?void 0:H.width),"--thumb-start-top":P,"--thumb-start-height":p(null==M?void 0:M.height),"--thumb-active-top":z,"--thumb-active-height":p(null==H?void 0:H.height)}),l={ref:(0,b.sQ)(S,n),style:r,className:i()("".concat(e,"-thumb"),a)};return o.createElement("div",l)}):null}var S=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"],y=function(t){var e=t.prefixCls,n=t.className,a=t.disabled,c=t.checked,r=t.label,l=t.title,s=t.value,d=t.name,m=t.onChange,f
1=t.onFocus,b=t.onBlur,h=t.onKeyDown,g=t.onKeyUp,v=t.onMouseDown;return o.createElement("label",{className:i()(n,(0,u.Z)({},"".concat(e,"-item-disabled"),a)),onMouseDown:v},o.createElement("input",{name:d,className:"".concat(e,"-item-input"),type:"radio",disabled:a,checked:c,onChange:function(t){a||m(t,s)},onFocus:f,onBlur:b,onKeyDown:h,onKeyUp:g}),o.createElement("div",{className:"".concat(e,"-item-label"),title:l,"aria-selected":c},r))},C=o.forwardRef(function(t,e){var n,a,h=t.prefixCls,g=void 0===h?"rc-segmented":h,v=t.direction,p=t.vertical,C=t.options,Z=void 0===C?[]:C,k=t.disabled,x=t.defaultValue,O=t.value,j=t.name,M=t.onChange,E=t.className,N=t.motionName,R=(0,l.Z)(t,S),H=o.useRef(null),I=o.useMemo(function(){return(0,b.sQ)(H,e)},[H,e]),P=o.useMemo(function(){return Z.map(function(t){if("object"===(0,d.Z)(t)&&null!==t){var e=function(t){if(void 0!==t.title)return t.title;if("object"!==(0,d.Z)(t.label)){var e;return null===(e=t.label)||void 0===e?void 0:e.toString()}}(t);return(0,s.Z)((0,s.Z)({},t),{},{title:e})}return{label:null==t?void 0:t.toString(),title:null==t?void 0:t.toString(),value:t}})},[Z]),z=(0,m.Z)(null===(n=P[0])||void 0===n?void 0:n.value,{value:O,defaultValue:x}),D=(0,r.Z)(z,2),A=D[0],B=D[1],X=o.useState(!1),q=(0,r.Z)(X,2),K=q[0],L=q[1],V=function(t,e){B(e),null==M||M(e)},T=(0,f.Z)(R,["children"]),W=o.useState(!1),F=(0,r.Z)(W,2),U=F[0],_=F[1],G=o.useState(!1),Q=(0,r.Z)(G,2),Y=Q[0],$=Q[1],J=function(){$(!0)},tt=function(){$(!1)},te=function(){_(!1)},tn=function(t){"Tab"===t.key&&_(!0)},to=function(t){var e=P.findIndex(function(t){return t.value===A}),n=P.length,o=P[(e+t+n)%n];o&&(B(o.value),null==M||M(o.value))},ta=function(t){switch(t.key){case"ArrowLeft":case"ArrowUp":to(-1);break;case"ArrowRight":case"ArrowDown":to(1)}};return o.createElement("div",(0,c.Z)({role:"radiogroup","aria-label":"segmented control",tabIndex:k?void 0:0},T,{className:i()(g,(a={},(0,u.Z)(a,"".concat(g,"-rtl"),"rtl"===v),(0,u.Z)(a,"".concat(g,"-disabled"),k),(0,u.Z)(a,"".concat(g,"-vertical"),p),a),void 0===E?"":E),ref:I}),o.createElement("div",{className:"".concat(g,"-group")},o.createElement(w,{vertical:p,prefixCls:g,value:A,containerRef:H,motionName:"".concat(g,"-").concat(void 0===N?"thumb-motion":N),direction:v,getValueIndex:function(t){return P.findIndex(function(e){return e.value===t})},onMotionStart:function(){L(!0)},onMotionEnd:function(){L(!1)}}),P.map(function(t){var e;return o.createElement(y,(0,c.Z)({},t,{name:j,key:t.value,prefixCls:g,className:i()(t.className,"".concat(g,"-item"),(e={},(0,u.Z)(e,"".concat(g,"-item-selected"),t.value===A&&!K),(0,u.Z)(e,"".concat(g,"-item-focused"),Y&&U&&t.value===A),e)),checked:t.value===A,onChange:V,onFocus:J,onBlur:tt,onKeyDown:ta,onKeyUp:tn,onMouseDown:te,disabled:!!k||!!t.disabled}))})))}),Z=n(68208),k=n(17399),x=n(35332),O=n(46368),j=n(30641),M=n(52317),E=n(88494);function N(t,e){return{["".concat(t,", ").concat(t,":hover, ").concat(t,":focus")]:{color:e.colorTextDisabled,cursor:"not-allowed"}}}function R(t){return{background:t.itemSelectedBg,boxShadow:t.boxShadowTertiary}}let H=Object.assign({overflow:"hidden"},j.vS),I=t=>{let{componentCls:e}=t,n=t.calc(t.controlHeight).sub(t.calc(t.trackPadding).mul(2)).equal(),o=t.calc(t.controlHeightLG).sub(t.calc(t.trackPadding).mul(2)).equal(),a=t.calc(t.controlHeightSM).sub(t.calc(t.trackPadding).mul(2)).equal();return{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,j.Wf)(t)),{display:"inline-block",padding:t.trackPadding,color:t.itemColor,background:t.trackBg,borderRadius:t.borderRadius,transition:"all ".concat(t.motionDurationMid)}),(0,j.Qy)(t)),{["".concat(e,"-group")]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},["&".concat(e,"-rtl")]:{direction:"rtl"},["&".concat(e,"-vertical")]:{["".concat(e,"-group")]:{flexDirection:"column"},["".concat(e,"-thumb")]:{width:"100%",height:0,padding:"0 ".concat((0,O.bf)(t.paddingXXS))}},["&".concat(e,"-block")]:{display:"flex"},["&".concat(e,"-block ").concat(e,"-item")]:{flex:1,minWidth:0},["".concat(e,"-item")]:{position:"relative",textAlign:"center",cursor:"pointer",transition:"color ".concat(t.motionDurationMid),borderRadius:t.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},R(t)),{color:t.itemSelectedColor}),"&-focused":(0,j.oN)(t),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,transition:"opacity ".concat(t.motionDurationMid,", background-color ").concat(t.motionDurationMid),pointerEvents:"none"},["&:not(".concat(e,"-item-selected):not(").concat(e,"-item-disabled)")]:{"&:hover, &:active":{color:t.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:t.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:t.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,O.bf)(n),padding:"0 ".concat((0,O.bf)(t.segmentedPaddingHorizontal))},H),"&-icon + *":{marginInlineStart:t.calc(t.marginSM).div(2).equal()}
1,"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},["".concat(e,"-thumb")]:Object.assign(Object.assign({},R(t)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:"".concat((0,O.bf)(t.paddingXXS)," 0"),borderRadius:t.borderRadiusSM,["& ~ ".concat(e,"-item:not(").concat(e,"-item-selected):not(").concat(e,"-item-disabled)::after")]:{backgroundColor:"transparent"}}),["&".concat(e,"-lg")]:{borderRadius:t.borderRadiusLG,["".concat(e,"-item-label")]:{minHeight:o,lineHeight:(0,O.bf)(o),padding:"0 ".concat((0,O.bf)(t.segmentedPaddingHorizontal)),fontSize:t.fontSizeLG},["".concat(e,"-item, ").concat(e,"-thumb")]:{borderRadius:t.borderRadius}},["&".concat(e,"-sm")]:{borderRadius:t.borderRadiusSM,["".concat(e,"-item-label")]:{minHeight:a,lineHeight:(0,O.bf)(a),padding:"0 ".concat((0,O.bf)(t.segmentedPaddingHorizontalSM))},["".concat(e,"-item, ").concat(e,"-thumb")]:{borderRadius:t.borderRadiusXS}}}),N("&-disabled ".concat(e,"-item"),t)),N("".concat(e,"-item-disabled"),t)),{["".concat(e,"-thumb-motion-appear-active")]:{transition:"transform ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut,", width ").concat(t.motionDurationSlow," ").concat(t.motionEaseInOut),willChange:"transform, width"},["&".concat(e,"-shape-round")]:{borderRadius:9999,["".concat(e,"-item, ").concat(e,"-thumb")]:{borderRadius:9999}}})}};var P=(0,M.I$)("Segmented",t=>{let{lineWidth:e,calc:n}=t;return I((0,E.IX)(t,{segmentedPaddingHorizontal:n(t.controlPaddingHorizontal).sub(e).equal(),segmentedPaddingHorizontalSM:n(t.controlPaddingHorizontalSM).sub(e).equal()}))},t=>{let{colorTextLabel:e,colorText:n,colorFillSecondary:o,colorBgElevated:a,colorFill:i,lineWidthBold:c,colorBgLayout:r}=t;return{trackPadding:c,trackBg:r,itemColor:e,itemHoverColor:n,itemHoverBg:o,itemSelectedBg:a,itemActiveBg:i,itemSelectedColor:n}}),z=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(t);a<o.length;a++)0>e.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(t,o[a])&&(n[o[a]]=t[o[a]]);return n},D=o.forwardRef((t,e)=>{let n=(0,Z.Z)(),{prefixCls:a,className:c,rootClassName:r,block:l,options:u=[],size:s="middle",style:d,vertical:m,shape:f="default",name:b=n}=t,h=z(t,["prefixCls","className","rootClassName","block","options","size","style","vertical","shape","name"]),{getPrefixCls:g,direction:v,className:p,style:w}=(0,k.dj)("segmented"),S=g("segmented",a),[y,O,j]=P(S),M=(0,x.Z)(s),E=o.useMemo(()=>u.map(t=>{if("object"==typeof t&&(null==t?void 0:t.icon)){let{icon:e,label:n}=t;return Object.assign(Object.assign({},z(t,["icon","label"])),{label:o.createElement(o.Fragment,null,o.createElement("span",{className:"".concat(S,"-item-icon")},e),n&&o.createElement("span",null,n))})}return t}),[u,S]),N=i()(c,r,p,{["".concat(S,"-block")]:l,["".concat(S,"-sm")]:"small"===M,["".concat(S,"-lg")]:"large"===M,["".concat(S,"-vertical")]:m,["".concat(S,"-shape-").concat(f)]:"roun
1d"===f},O,j),R=Object.assign(Object.assign({},w),d);return y(o.createElement(C,Object.assign({},h,{name:b,className:N,style:R,options:E,ref:e,prefixCls:S,direction:v,vertical:m})))})}}]);
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.