"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6638],{3513:function(e,t,o){o.d(t,{Z:function(){return P}});var r=o(2265),n=o(56800),a=o.n(n),l=o(86678),c=o(80333),i=o(38750),u=o(62135),s=o(17492),d=o(88625);let b=r.forwardRef((e,t)=>{let{open:o}=e,n=(0,r.useRef)(null),a=(0,r.useRef)(null);function l(){c.Z.cancel(a.current),a.current=null}return r.useEffect(()=>(o?a.current=(0,c.Z)(()=>{var e;null===(e=n.current)||void 0===e||e.forceAlign(),a.current=null}):l(),l),[o,e.title]),r.createElement(d.Z,Object.assign({ref:(0,s.sQ)(n,t)},e))});var p=o(71086),g=o(70142),f=o(98170),h=o(25204),v=o(73204);let m=e=>{let{componentCls:t,antCls:o,controlSize:r,dotSize:n,marginFull:a,marginPart:l,colorFillContentHover:c,handleColorDisabled:i,calc:u,handleSize:s,handleSizeHover:d,handleActiveColor:b,handleActiveOutlineColor:g,handleLineWidth:h,handleLineWidthHover:v,motionDurationMid:m}=e;return{[t]:Object.assign(Object.assign({},(0,f.Wf)(e)),{position:"relative",height:r,margin:"".concat((0,p.bf)(l)," ").concat((0,p.bf)(a)),padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:"".concat((0,p.bf)(a)," ").concat((0,p.bf)(l))},["".concat(t,"-rail")]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:"background-color ".concat(m)},["".concat(t,"-track,").concat(t,"-tracks")]:{position:"absolute",transition:"background-color ".concat(m)},["".concat(t,"-track")]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},["".concat(t,"-track-draggable")]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{["".concat(t,"-rail")]:{backgroundColor:e.railHoverBg},["".concat(t,"-track")]:{backgroundColor:e.trackHoverBg},["".concat(t,"-dot")]:{borderColor:c},["".concat(t,"-handle::after")]:{boxShadow:"0 0 0 ".concat((0,p.bf)(h)," ").concat(e.colorPrimaryBorderHover)},["".concat(t,"-dot-active")]:{borderColor:e.dotActiveBorderColor}},["".concat(t,"-handle")]:{position:"absolute",width:s,height:s,outline:"none","&::before":{content:'""',position:"absolute",insetInlineStart:u(h).mul(-1).equal(),insetBlockStart:u(h).mul(-1).equal(),width:u(s).add(u(h).mul(2)).equal(),height:u(s).add(u(h).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:s,height:s,backgroundColor:e.colorBgElevated,boxShadow:"0 0 0 ".concat((0,p.bf)(h)," ").concat(e.handleColor),outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:"\n            inset-inline-start ".concat(m,",\n            inset-block-start ").concat(m,",\n            width ").concat(m,",\n            height ").concat(m,",\n            box-shadow ").concat(m,",\n            outline ").concat(m,"\n          ")},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(d).sub(s).div(2).add(v).mul(-1).equal(),insetBlockStart:u(d).sub(s).div(2).add(v).mul(-1).equal(),width:u(d).add(u(v).mul(2)).equal(),height:u(d).add(u(v).mul(2)).equal()},"&::after":{boxShadow:"0 0 0 ".concat((0,p.bf)(v)," ").concat(b),outline:"6px solid ".concat(g),width:d,height:d,insetInlineStart:e.calc(s).sub(d).div(2).equal(),insetBlockStart:e.calc(s).sub(d).div(2).equal()}}},["&-lock ".concat(t,"-handle")]:{"&::before, &::after":{transition:"none"}},["".concat(t,"-mark")]:{position:"absolute",fontSize:e.fontSize},["".concat(t,"-mark-text")]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},["".concat(t,"-step")]:{position:"absolute",background:"transparent",pointerEvents:"none"},["".concat(t,"-dot")]:{position:"absolute",width:n,height:n,backgroundColor:e.colorBgElevated,border:"".concat((0,p.bf)(h)," solid ").concat(e.dotBorderColor),borderRadius:"50%",cursor:"pointer",transition:"border-color ".concat(e.motionDurationSlow),pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},["&".concat(t,"-disabled")]:{cursor:"not-allowed",["".concat(t,"-rail")]:{backgroundColor:"".concat(e.railBg," !important")},["".concat(t,"-track")]:{backgroundColor:"".concat(e.trackBgDisabled," !important")},["\n          ".concat(t,"-dot\n        ")]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},["".concat(t,"-handle::after")]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:s,height:s,boxShadow:"0 0 0 ".concat((0,p.bf)(h)," ").concat(i),insetInlineStart:0,insetBlockStart:0},["\n          ".concat(t,"-mark-text,\n          ").concat(t,"-dot\n        ")]:{cursor:"not-allowed !important"}},["&-tooltip ".concat(o,"-tooltip-inner")]:{minWidth:"unset"}})}},k=(e,t)=>{let{componentCls:o,railSize:r,handleSize:n,dotSize:a,marginFull:l,calc:c}=e,i=t?"width":"height",u=t?"height":"width",s=t?"insetBlockStart":"insetInlineStart",d=t?"top":"insetInlineStart",b=c(r).mul(3).sub(n).div(2).equal(),g=c(n).sub(r).div(2).equal(),f=t?{borderWidth:"".concat((0,p.bf)(g)," 0"),transform:"translateY(".concat((0,p.bf)(c(g).mul(-1).equal()),")")}:{borderWidth:"0 ".concat((0,p.bf)(g)),transform:"translateX(".concat((0,p.bf)(e.calc(g).mul(-1).equal()),")")};return{[t?"paddingBlock":"paddingInline"]:r,[u]:c(r).mul(3).equal(),["".concat(o,"-rail")]:{[i]:"100%",[u]:r},["".concat(o,"-track,").concat(o,"-tracks")]:{[u]:r},["".concat(o,"-track-draggable")]:Object.assign({},f),["".concat(o,"-handle")]:{[s]:b},["".concat(o,"-mark")]:{insetInlineStart:0,top:0,[d]:c(r).mul(3).add(t?0:l).equal(),[i]:"100%"},["".concat(o,"-step")]:{insetInlineStart:0,top:0,[d]:r,[i]:"100%",[u]:r},["".concat(o,"-dot")]:{position:"absolute",[s]:c(r).sub(a).div(2).equal()}}},y=e=>{let{componentCls:t,marginPartWithMark:o}=e;return{["".concat(t,"-horizontal")]:Object.assign(Object.assign({},k(e,!0)),{["&".concat(t,"-with-marks")]:{marginBottom:o}})}},C=e=>{let{componentCls:t}=e;return{["".concat(t,"-vertical")]:Object.assign(Object.assign({},k(e,!1)),{height:"100%"})}};var S=(0,h.I$)("Slider",e=>{let t=(0,v.TS)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[m(t),y(t),C(t)]},e=>{let t=e.controlHeightLG/4,o=e.controlHeightSM/2,r=e.lineWidth+1,n=e.lineWidth+1.5,a=e.colorPrimary,l=new g.C(a).setAlpha(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:o,dotSize:8,handleLineWidth:r,handleLineWidthHover:n,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:l,handleColorDisabled:new g.C(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});function B(){let[e,t]=r.useState(!1),o=r.useRef(),n=()=>{c.Z.cancel(o.current)};return r.useEffect(()=>n,[]),[e,e=>{n(),e?t(e):o.current=(0,c.Z)(()=>{t(e)})}]}var w=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o},P=r.forwardRef((e,t)=>{let{prefixCls:o,range:n,className:s,rootClassName:d,style:p,disabled:g,tooltipPrefixCls:f,tipFormatter:h,tooltipVisible:v,getTooltipPopupContainer:m,tooltipPlacement:k,tooltip:y={},onChangeComplete:C}=e,P=w(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:O}=e,{direction:x,slider:q,getPrefixCls:E,getPopupContainer:j}=r.useContext(i.E_),R=r.useContext(u.Z),[M,T]=B(),[D,I]=B(),_=Object.assign({},y),{open:H,placement:z,getPopupContainer:Q,prefixCls:Z,formatter:F}=_,N=null!=H?H:v,A=(M||D)&&!1!==N,W=F||null===F?F:h||null===h?h:e=>"number"==typeof e?e.toString():"",[L,V]=B(),G=(e,t)=>e||(t?"rtl"===x?"left":"right":"top"),J=E("slider",o),[X,Y,$]=S(J),K=a()(s,null==q?void 0:q.className,d,{["".concat(J,"-rtl")]:"rtl"===x,["".concat(J,"-lock")]:L},Y,$);"rtl"!==x||P.vertical||(P.reverse=!P.reverse);let[U,ee]=r.useMemo(()=>n?"object"==typeof n?[!0,n.draggableTrack]:[!0,!1]:[!1],[n]);r.useEffect(()=>{let e=()=>{(0,c.Z)(()=>{I(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let et=U&&!N,eo=et?(e,t)=>{let o=r.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return r.createElement(b,Object.assign({},_,{prefixCls:E("tooltip",null!=Z?Z:f),title:W?W(t.value):"",open:null!==W&&A,placement:G(null!=z?z:k,O),key:"tooltip",overlayClassName:"".concat(J,"-tooltip"),getPopupContainer:Q||m||j}),o)}:void 0,er=Object.assign(Object.assign({},null==q?void 0:q.style),p);return X(r.createElement(l.Z,Object.assign({},P,{step:P.step,range:U,draggableTrack:ee,className:K,style:er,disabled:null!=g?g:R,ref:t,prefixCls:J,handleRender:(e,t)=>{let{index:o}=t,n=e.props,a=Object.assign(Object.assign({},n),{onMouseEnter:e=>{var t;T(!0),null===(t=n.onMouseEnter)||void 0===t||t.call(n,e)},onMouseLeave:e=>{var t;T(!1),null===(t=n.onMouseLeave)||void 0===t||t.call(n,e)},onMouseDown:e=>{var t;I(!0),V(!0),null===(t=n.onMouseDown)||void 0===t||t.call(n,e)},onFocus:e=>{var t,o;I(!0),null===(t=P.onFocus)||void 0===t||t.call(P,e),null===(o=n.onFocus)||void 0===o||o.call(n,e)},onBlur:e=>{var t,o;I(!1),null===(t=P.onBlur)||void 0===t||t.call(P,e),null===(o=n.onBlur)||void 0===o||o.call(n,e)}}),l=r.cloneElement(e,a),c=(!!N||A)&&null!==W;return et?l:r.createElement(b,Object.assign({},_,{prefixCls:E("tooltip",null!=Z?Z:f),title:W?W(t.value):"",open:c,placement:G(null!=z?z:k,O),key:o,overlayClassName:"".concat(J,"-tooltip"),getPopupContainer:Q||m||j}),l)},activeHandleRender:eo,onChangeComplete:e=>{null==C||C(e),V(!1)}})))})},69815:function(e,t,o){o.d(t,{SimulatePreloadedQuery:function(){return y}});var r=o(12471),n=Symbol.for("apollo.skipToken"),a=o(11735),l=o(2474),c=o(40094),i=o(70382),u=o(75165),s=o(92),d=o(88607),b=o(34511),p=o(79045);function g(e,t){var o,u,g,f,h,v,m,k=(0,r.x)(t.client),y=(0,c.Y)(k),C=(u=(o={client:k,query:e,options:t}).client,g=o.query,f=o.options,h=function(){if(f===n)return{query:g,fetchPolicy:"standby"};var e,t,o,r,l,c=f.fetchPolicy||(null===(l=u.defaultOptions.watchQuery)||void 0===l?void 0:l.fetchPolicy)||"cache-first",i=(0,a.pi)((0,a.pi)({},f),{fetchPolicy:c,query:g,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return!1!==globalThis.__DEV__&&(t=i.query,o=i.fetchPolicy,r=i.returnPartialData,(0,d.Vp)(t,d.n_.Query),void 0===(e=o)&&(e="cache-first"),(0,s.kG)(["cache-first","network-only","no-cache","cache-and-network"].includes(e),58,e),"no-cache"===o&&r&&!1!==globalThis.__DEV__&&s.kG.warn(59)),f.skip&&(i.fetchPolicy="standby"),i},v=[u,f,g],(m=l.useRef()).current&&(0,b.D)(m.current.deps,v)||(m.current={value:h(),deps:v}),m.current.value),S=C.fetchPolicy,B=C.variables,w=t.queryKey,P=l.useRef("standby"!==S);P.current||(P.current="standby"!==S);var O=(0,a.ev)([e,(0,p.B)(B)],[].concat(void 0===w?[]:w),!0),x=y.getQueryRef(O,function(){return k.watchQuery(C)}),q=l.useState((0,i.JO)(x)),E=q[0],j=q[1];if((0,i.fA)(E)!==x&&j((0,i.JO)(x)),x.didChangeOptions(C)){var R=x.applyOptions(C);(0,i.k$)(E,R)}l.useEffect(function(){var e=setTimeout(function(){x.disposed&&y.add(O,x)});return function(){return clearTimeout(e)}});var M=l.useCallback(function(e){var t=x.fetchMore(e);return j((0,i.JO)(x)),t},[x]),T=l.useCallback(function(e){var t=x.refetch(e);return j((0,i.JO)(x)),t},[x]);return l.useEffect(function(){return x.softRetain()},[x]),[P.current?E:void 0,{fetchMore:M,refetch:T,subscribeToMore:x.observable.subscribeToMore}]}var f=o(4903),h=o(71710),v=o(2265),m=o(22884),k=new WeakMap;function y(e){let{options:t,result:o,children:a,queryKey:l}=e,c=(0,r.x)();if(!k.has(t)){let e="preloadedQuery:".concat(c.queryManager.generateQueryId());k.set(t,e),m.ZP.debug("Preloaded query %s started on the server, simulating ongoing request",e),c.onQueryStarted({type:"started",id:e,options:t}),o.then(t=>{for(let o of(m.ZP.debug("Preloaded query %s: received events: %o",e,t),t))c.onQueryProgress({...o,id:e})})}return!function(e,t){void 0===t&&(t=Object.create(null)),(0,u.I)("useBackgroundQuery",g,(0,r.x)("object"==typeof t?t.client:void 0))(e,t)}(...(0,v.useMemo)(()=>{let{query:e,...o}={...t,query:(0,f.Ps)((0,h.S)((0,f.Ps)(t.query)))};return[e,l?{...o,queryKey:l}:n]},[t,l])),a}}}]);