PageSourceSearch

https://www.mercedes-benz.com.cn/_next/static/chunks/5879-8dd2411302f1099f.js

js mercedes-benz.com.cn collected 2026-10-02 05:45:03 UTC 71,666 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5879],{2897:(e,t,n)=>{n.d(t,{A:()=>Z});var a=n(12115),o=n(85203),r=n.n(o),c=n(93322),i=n(5322),l=n(39192),d=n(33861),s=n(43233),u=n(10484),b=n(26337),g=n(4348),f=n(31848),p=n(88945),h=n(3548),m=n(47650);function v(e,t,n,a){var o=(t-n)/(a-n),r={};switch(e){case"rtl":r.right="".concat(100*o,"%"),r.transform="translateX(50%)";break;case"btt":r.bottom="".concat(100*o,"%"),r.transform="translateY(50%)";break;case"ttb":r.top="".concat(100*o,"%"),r.transform="translateY(-50%)";break;default:r.left="".concat(100*o,"%"),r.transform="translateX(-50%)"}return r}function y(e,t){return Array.isArray(e)?e[t]:e}var x=n(30174),C=a.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),k=a.createContext({}),S=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],w=a.forwardRef(function(e,t){var n,o=e.prefixCls,l=e.value,d=e.valueIndex,s=e.onStartMove,u=e.onDelete,b=e.style,g=e.render,f=e.dragging,m=e.draggingDelete,k=e.onOffsetChange,w=e.onChangeComplete,A=e.onFocus,E=e.onMouseEnter,O=(0,h.A)(e,S),I=a.useContext(C),j=I.min,B=I.max,M=I.direction,R=I.disabled,N=I.keyboard,P=I.range,z=I.tabIndex,H=I.ariaLabelForHandle,F=I.ariaLabelledByForHandle,L=I.ariaRequired,T=I.ariaValueTextFormatterForHandle,D=I.styles,q=I.classNames,W="".concat(o,"-handle"),G=function(e){R||s(e,d)},K=v(M,l,j,B),X={};null!==d&&(X={tabIndex:R?null:y(z,d),role:"slider","aria-valuemin":j,"aria-valuemax":B,"aria-valuenow":l,"aria-disabled":R,"aria-label":y(H,d),"aria-labelledby":y(F,d),"aria-required":y(L,d),"aria-valuetext":null==(n=y(T,d))?void 0:n(l),"aria-orientation":"ltr"===M||"rtl"===M?"horizontal":"vertical",onMouseDown:G,onTouchStart:G,onFocus:function(e){null==A||A(e,d)},onMouseEnter:function(e){E(e,d)},onKeyDown:function(e){if(!R&&N){var t=null;switch(e.which||e.keyCode){case x.A.LEFT:t="ltr"===M||"btt"===M?-1:1;break;case x.A.RIGHT:t="ltr"===M||"btt"===M?1:-1;break;case x.A.UP:t="ttb"!==M?1:-1;break;case x.A.DOWN:t="ttb"!==M?-1:1;break;case x.A.HOME:t="min";break;case x.A.END:t="max";break;case x.A.PAGE_UP:t=2;break;case x.A.PAGE_DOWN:t=-2;break;case x.A.BACKSPACE:case x.A.DELETE:null==u||u(d)}null!==t&&(e.preventDefault(),k(t,d))}},onKeyUp:function(e){switch(e.which||e.keyCode){case x.A.LEFT:case x.A.RIGHT:case x.A.UP:case x.A.DOWN:case x.A.HOME:case x.A.END:case x.A.PAGE_UP:case x.A.PAGE_DOWN:null==w||w()}}});var V=a.createElement("div",(0,p.A)({ref:t,className:r()(W,(0,i.A)((0,i.A)((0,i.A)({},"".concat(W,"-").concat(d+1),null!==d&&P),"".concat(W,"-dragging"),f),"".concat(W,"-dragging-delete"),m),q.handle),style:(0,c.A)((0,c.A)((0,c.A)({},K),b),D.handle)},X,O));return g&&(V=g(V,{index:d,prefixCls:o,value:l,dragging:f,draggingDelete:m})),V}),A=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onF
1ocus"],E=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.style,r=e.onStartMove,i=e.onOffsetChange,l=e.values,d=e.handleRender,u=e.activeHandleRender,b=e.draggingIndex,g=e.draggingDelete,f=e.onFocus,v=(0,h.A)(e,A),x=a.useRef({}),C=a.useState(!1),k=(0,s.A)(C,2),S=k[0],E=k[1],O=a.useState(-1),I=(0,s.A)(O,2),j=I[0],B=I[1],M=function(e){B(e),E(!0)};a.useImperativeHandle(t,function(){return{focus:function(e){var t;null==(t=x.current[e])||t.focus()},hideHelp:function(){(0,m.flushSync)(function(){E(!1)})}}});var R=(0,c.A)({prefixCls:n,onStartMove:r,onOffsetChange:i,render:d,onFocus:function(e,t){M(t),null==f||f(e)},onMouseEnter:function(e,t){M(t)}},v);return a.createElement(a.Fragment,null,l.map(function(e,t){var n=b===t;return a.createElement(w,(0,p.A)({ref:function(e){e?x.current[t]=e:delete x.current[t]},dragging:n,draggingDelete:n&&g,style:y(o,t),key:t,value:e,valueIndex:t},R))}),u&&S&&a.createElement(w,(0,p.A)({key:"a11y"},R,{value:l[j],valueIndex:null,dragging:-1!==b,draggingDelete:g,render:u,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))});let O=function(e){var t=e.prefixCls,n=e.style,o=e.children,l=e.value,d=e.onClick,s=a.useContext(C),u=s.min,b=s.max,g=s.direction,f=s.includedStart,p=s.includedEnd,h=s.included,m="".concat(t,"-text"),y=v(g,l,u,b);return a.createElement("span",{className:r()(m,(0,i.A)({},"".concat(m,"-active"),h&&f<=l&&l<=p)),style:(0,c.A)((0,c.A)({},y),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){d(l)}},o)},I=function(e){var t=e.prefixCls,n=e.marks,o=e.onClick,r="".concat(t,"-mark");return n.length?a.createElement("div",{className:r},n.map(function(e){var t=e.value,n=e.style,c=e.label;return a.createElement(O,{key:t,prefixCls:r,style:n,value:t,onClick:o},c)})):null},j=function(e){var t=e.prefixCls,n=e.value,o=e.style,l=e.activeStyle,d=a.useContext(C),s=d.min,u=d.max,b=d.direction,g=d.included,f=d.includedStart,p=d.includedEnd,h="".concat(t,"-dot"),m=g&&f<=n&&n<=p,y=(0,c.A)((0,c.A)({},v(b,n,s,u)),"function"==typeof o?o(n):o);return m&&(y=(0,c.A)((0,c.A)({},y),"function"==typeof l?l(n):l)),a.createElement("span",{className:r()(h,(0,i.A)({},"".concat(h,"-active"),m)),style:y})},B=function(e){var t=e.prefixCls,n=e.marks,o=e.dots,r=e.style,c=e.activeStyle,i=a.useContext(C),l=i.min,d=i.max,s=i.step,u=a.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),o&&null!==s)for(var t=l;t<=d;)e.add(t),t+=s;return Array.from(e)},[l,d,s,o,n]);return a.createElement("div",{className:"".concat(t,"-step")},u.map(function(e){return a.createElement(j,{prefixCls:t,key:e,value:e,style:r,activeStyle:c})}))},M=function(e){var t=e.prefixCls,n=e.style,o=e.start,l=e.end,d=e.index,s=e.onStartMove,u=e.replaceCls,b=a.useContext(C),g=b.direction,f=b.min,p=b.max,h=b.disabled,m=b.range,v=b.classNames,y="".concat(t,"-track"),x=(o-f)/(p-f),k=(l-f)/(p-f),S=function(e){!h&&s&&s(e,-1)},w={};switch(g){case"rtl":w.right="".concat(100*x,"%"),w.width="".concat(100*k-100*x,"%");break;case"btt":w.bottom="".concat(100*x,"%"),w.height="".concat(100*k-100*x,"%");break;case"ttb":w.top="".concat(100*x,"%"),w.height="".concat(100*k-100*x,"%");break;default:w.left="".concat(100*x,"%"),w.width="".concat(100*k-100*x,"%")}var A=u||r()(y,(0,i.A)((0,i.A)({},"".concat(y,"-").concat(d+1),null!==d&&m),"".concat(t,"-track-draggable"),s),v.track);return a.createElement("div",{className:A,style:(0,c.A)((0,c.A)({},w),n),onMouseDown:S,onTouchStart:S})},R=function(e){var t=e.prefixCls,n=e.style,o=e.values,i=e.startPoint,l=e.onStartMove,d=a.useContext(C),s=d.included,u=d.range,b=d.min,g=d.styles,f=d.classNames,p=a.useMemo(function(){if(!u){if(0===o.length)return[];var e=null!=i?i:b,t=o[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],a=0;a<o.length-1;a+=1)n.push({start:o[a],end:o[a+1]});return n},[o,u,i,b]);if(!s)return null;var h=null!=p&&p.length&&(f.tracks||g.tracks)?a.createElement(M,{index:null,prefixCls:t,start:p[0].start,end:p[p.length-1].end,replaceCls:r()(f.tracks,"".concat(t,"-tracks")),style:g.tracks}):null;return a.createElement(a.Fragment,null,h,p.map(function(e,o){var r=e.start,i=e.end;return a.createElement(M,{index:o,prefixCls:t,style:(0,c.A)((0,c.A)({},y(n,o)),g.track),start:r,end:i,key:o,onStartMove:l})}))};var N=n(74027);function P(e){var t="targetTouches"in e?e.targetTouches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}let z=function(e,t,n,o,r,c,i,d,b,g,f){var p=a.useState(null),h=(0,s.A)(p,2),m=h[0],v=h[1],y=a.useState(-1),x=(0,s.A)(y,2),C=x[0],S=x[1],w=a.useState(!1),A=(0,s.A)(w,2),E=A[0],O=A[1],I=a.useState(n),j=(0,s.A)(I,2),B=j[0],M=j[1],R=a.useState(n),z=(0,s.A)(R,2),H=z[0],F=z[1],L=a.useRef(null),T=a.useRef(null),D=a.useRef(null),q=a.useContext(k),W=q.onDragStart,G=q.onDragChange;(0,N.A)(function(){-1===C&&M(n)},[n,C]),a.useEffect(function(){return function(){document.removeEventListener("mousemove",L.current),document.removeEventListener("mouseup",T.current),D.current&&(D.current.removeEventListener("touchmove",L.current),D.current.removeEventListener("touchend",T.current))}},[]);var K=function(e,t,n){void 0!==t&&v(t),M(e);var a=e;n&&(a=e.filter(function(e,t){return t!==C})),i(a),G&&G({rawValues:e,deleteIndex:n?C:-1,draggingIndex:C,draggingValue:t})},X=(0,u.A)(function(e,t,n){if(-1===e){var a=H[0],i=H[H.length-1],d=t*(r-o);d=Math.min(d=Math.max(d,o-a),r-i),d=c(a+d)-a,K(H.map(function(e){return e+d}
1))}else{var s=(0,l.A)(B);s[e]=H[e];var u=b(s,(r-o)*t,e,"dist");K(u.values,u.value,n)}});return[C,m,E,a.useMemo(function(){var e=(0,l.A)(n).sort(function(e,t){return e-t}),t=(0,l.A)(B).sort(function(e,t){return e-t}),a={};t.forEach(function(e){a[e]=(a[e]||0)+1}),e.forEach(function(e){a[e]=(a[e]||0)-1});var o=+!!g;return Object.values(a).reduce(function(e,t){return e+Math.abs(t)},0)<=o?B:n},[n,B,g]),function(a,o,r){a.stopPropagation();var c=r||n,i=c[o];S(o),v(i),F(c),M(c),O(!1);var l=P(a),s=l.pageX,u=l.pageY,b=!1;W&&W({rawValues:c,draggingIndex:o,draggingValue:i});var p=function(n){n.preventDefault();var a,r,c=P(n),i=c.pageX,l=c.pageY,d=i-s,p=l-u,h=e.current.getBoundingClientRect(),m=h.width,v=h.height;switch(t){case"btt":a=-p/v,r=d;break;case"ttb":a=p/v,r=d;break;case"rtl":a=-d/m,r=p;break;default:a=d/m,r=p}O(b=!!g&&Math.abs(r)>130&&f<B.length),X(o,a,b)},h=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",p),D.current&&(D.current.removeEventListener("touchmove",L.current),D.current.removeEventListener("touchend",T.current)),L.current=null,T.current=null,D.current=null,d(b),S(-1),O(!1)};document.addEventListener("mouseup",h),document.addEventListener("mousemove",p),a.currentTarget.addEventListener("touchend",h),a.currentTarget.addEventListener("touchmove",p),L.current=p,T.current=h,D.current=a.currentTarget}]};var H=a.forwardRef(function(e,t){var n,o,p,h,m,v,y,x=e.prefixCls,k=void 0===x?"rc-slider":x,S=e.className,w=e.style,A=e.classNames,O=e.styles,j=e.id,M=e.disabled,N=void 0!==M&&M,P=e.keyboard,H=void 0===P||P,F=e.autoFocus,L=e.onFocus,T=e.onBlur,D=e.min,q=void 0===D?0:D,W=e.max,G=void 0===W?100:W,K=e.step,X=void 0===K?1:K,V=e.value,_=e.defaultValue,U=e.range,Y=e.count,Q=e.onChange,$=e.onBeforeChange,J=e.onAfterChange,Z=e.onChangeComplete,ee=e.allowCross,et=e.pushable,en=void 0!==et&&et,ea=e.reverse,eo=e.vertical,er=e.included,ec=void 0===er||er,ei=e.startPoint,el=e.trackStyle,ed=e.handleStyle,es=e.railStyle,eu=e.dotStyle,eb=e.activeDotStyle,eg=e.marks,ef=e.dots,ep=e.handleRender,eh=e.activeHandleRender,em=e.track,ev=e.tabIndex,ey=void 0===ev?0:ev,ex=e.ariaLabelForHandle,eC=e.ariaLabelledByForHandle,ek=e.ariaRequired,eS=e.ariaValueTextFormatterForHandle,ew=a.useRef(null),eA=a.useRef(null),eE=a.useMemo(function(){return eo?ea?"ttb":"btt":ea?"rtl":"ltr"},[ea,eo]),eO=(0,a.useMemo)(function(){if(!0===U||!U)return[!!U,!1,!1,0];var e=U.editable,t=U.draggableTrack;return[!0,e,!e&&t,U.minCount||0,U.maxCount]},[U]),eI=(0,s.A)(eO,5),ej=eI[0],eB=eI[1],eM=eI[2],eR=eI[3],eN=eI[4],eP=a.useMemo(function(){return isFinite(q)?q:0},[q]),ez=a.useMemo(function(){return isFinite(G)?G:100},[G]),eH=a.useMemo(function(){return null!==X&&X<=0?1:X},[X]),eF=a.useMemo(function(){return"boolean"==typeof en?!!en&&eH:en>=0&&en},[en,eH]),eL=a.useMemo(function(){return Object.keys(eg||{}).map(function(e){var t=eg[e],n={value:Number(e)};return t&&"object"===(0,d.A)(t)&&!a.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[eg]),eT=(n=void 0===ee||ee,o=a.useCallback(function(e){return Math.max(eP,Math.min(ez,e))},[eP,ez]),p=a.useCallback(function(e){if(null!==eH){var t=eP+Math.round((o(e)-eP)/eH)*eH,n=function(e){return(String(e).split(".")[1]||"").length},a=Math.max(n(eH),n(ez),n(eP)),r=Number(t.toFixed(a));return eP<=r&&r<=ez?r:null}return null},[eH,eP,ez,o]),h=a.useCallback(function(e){var t=o(e),n=eL.map(function(e){return e.value});null!==eH&&n.push(p(e)),n.push(eP,ez);var a=n[0],r=ez-eP;return n.forEach(function(e){var n=Math.abs(t-e);n<=r&&(a=e,r=n)}),a},[eP,ez,eL,eH,o,p]),m=function e(t,n,a){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var r,c=t[a],i=c+n,d=[];eL.forEach(function(e){d.push(e.value)}),d.push(eP,ez),d.push(p(c));var s=n>0?1:-1;"unit"===o?d.push(p(c+s*eH)):d.push(p(i)),d=d.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=c:e>=c}),"unit"===o&&(d=d.filter(function(e){return e!==c}));var u="unit"===o?c:i,b=Math.abs((r=d[0])-u);
1if(d.forEach(function(e){var t=Math.abs(e-u);t<b&&(r=e,b=t)}),void 0===r)return n<0?eP:ez;if("dist"===o)return r;if(Math.abs(n)>1){var g=(0,l.A)(t);return g[a]=r,e(g,n-s,a,o)}return r}return"min"===n?eP:"max"===n?ez:void 0},v=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e[n],r=m(e,t,n,a);return{value:r,changed:r!==o}},y=function(e){return null===eF&&0===e||"number"==typeof eF&&e<eF},[h,function(e,t,a){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",r=e.map(h),c=r[a],i=m(r,t,a,o);if(r[a]=i,!1===n){var l=eF||0;a>0&&r[a-1]!==c&&(r[a]=Math.max(r[a],r[a-1]+l)),a<r.length-1&&r[a+1]!==c&&(r[a]=Math.min(r[a],r[a+1]-l))}else if("number"==typeof eF||null===eF){for(var d=a+1;d<r.length;d+=1)for(var s=!0;y(r[d]-r[d-1])&&s;){var u=v(r,1,d);r[d]=u.value,s=u.changed}for(var b=a;b>0;b-=1)for(var g=!0;y(r[b]-r[b-1])&&g;){var f=v(r,-1,b-1);r[b-1]=f.value,g=f.changed}for(var p=r.length-1;p>0;p-=1)for(var x=!0;y(r[p]-r[p-1])&&x;){var C=v(r,-1,p-1);r[p-1]=C.value,x=C.changed}for(var k=0;k<r.length-1;k+=1)for(var S=!0;y(r[k+1]-r[k])&&S;){var w=v(r,1,k+1);r[k+1]=w.value,S=w.changed}}return{value:r[a],values:r}}]),eD=(0,s.A)(eT,2),eq=eD[0],eW=eD[1],eG=(0,b.A)(_,{value:V}),eK=(0,s.A)(eG,2),eX=eK[0],eV=eK[1],e_=a.useMemo(function(){var e=null==eX?[]:Array.isArray(eX)?eX:[eX],t=(0,s.A)(e,1)[0],n=void 0===t?eP:t,a=null===eX?[]:[n];if(ej){if(a=(0,l.A)(e),Y||void 0===eX){var o,r=Y>=0?Y+1:2;for(a=a.slice(0,r);a.length<r;)a.push(null!=(o=a[a.length-1])?o:eP)}a.sort(function(e,t){return e-t})}return a.forEach(function(e,t){a[t]=eq(e)}),a},[eX,ej,eP,Y,eq]),eU=function(e){return ej?e:e[0]},eY=(0,u.A)(function(e){var t=(0,l.A)(e).sort(function(e,t){return e-t});Q&&!(0,g.A)(t,e_,!0)&&Q(eU(t)),eV(t)}),eQ=(0,u.A)(function(e){e&&ew.current.hideHelp();var t=eU(e_);null==J||J(t),(0,f.Ay)(!J,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),null==Z||Z(t)}),e$=z(eA,eE,e_,eP,ez,eq,eY,eQ,eW,eB,eR),eJ=(0,s.A)(e$,5),eZ=eJ[0],e0=eJ[1],e1=eJ[2],e3=eJ[3],e2=eJ[4],e4=function(e,t){if(!N){var n,a,o=(0,l.A)(e_),r=0,c=0,i=ez-eP;e_.forEach(function(t,n){var a=Math.abs(e-t);a<=i&&(i=a,r=n),t<e&&(c=n)});var d=r;eB&&0!==i&&(!eN||e_.length<eN)?(o.splice(c+1,0,e),d=c+1):o[r]=e,ej&&!e_.length&&void 0===Y&&o.push(e);var s=eU(o);null==$||$(s),eY(o),t?(null==(n=document.activeElement)||null==(a=n.blur)||a.call(n),ew.current.focus(d),e2(t,d,o)):(null==J||J(s),(0,f.Ay)(!J,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),null==Z||Z(s))}},e5=a.useState(null),e7=(0,s.A)(e5,2),e8=e7[0],e6=e7[1];a.useEffect(function(){if(null!==e8){var e=e_.indexOf(e8);e>=0&&ew.current.focus(e)}e6(null)},[e8]);var e9=a.useMemo(function(){return(!eM||null!==eH)&&eM},[eM,eH]),te=(0,u.A)(function(e,t){e2(e,t),null==$||$(eU(e_))}),tt=-1!==eZ;a.useEffect(function(){if(!tt){var e=e_.lastIndexOf(e0);ew.current.focus(e)}},[tt]);var tn=a.useMemo(function(){return(0,l.A)(e3).sort(function(e,t){return e-t})},[e3]),ta=a.useMemo(function(){return ej?[tn[0],tn[tn.length-1]]:[eP,tn[0]]},[tn,ej,eP]),to=(0,s.A)(ta,2),tr=to[0],tc=to[1];a.useImperativeHandle(t,function(){return{focus:function(){ew.current.focus(0)},blur:function(){var e,t=document.activeElement;null!=(e=eA.current)&&e.contains(t)&&(null==t||t.blur())}}}),a.useEffect(function(){F&&ew.current.focus(0)},[]);var ti=a.useMemo(function(){return{min:eP,max:ez,direction:eE,disabled:N,keyboard:H,step:eH,included:ec,includedStart:tr,includedEnd:tc,range:ej,tabIndex:ey,ariaLabelForHandle:ex,ariaLabelledByForHandle:eC,ariaRequired:ek,ariaValueTextFormatterForHandle:eS,styles:O||{},classNames:A||{}}},[eP,ez,eE,N,H,eH,ec,tr,tc,ej,ey,ex,eC,ek,eS,O,A]);return a.createElement(C.Provider,{value:ti},a.createElement("div",{ref:eA,className:r()(k,S,(0,i.A)((0,i.A)((0,i.A)((0,i.A)({},"".concat(k,"-disabled"),N),"".concat(k,"-vertical"),eo),"".concat(k,"-horizontal"),!eo),"".concat(k,"-with-marks"),eL.length)),style:w,onMouseDown:function(e){e.preventDefault();var t,n=eA.current.getBoundingClientRect(),a=n.width,o=n.height,r=n.left,c=n.top,i=n.bottom,l=n.right,d=e.clientX,s=e.clientY;switch(eE){case"btt":t=(i-s)/o;break;case"ttb":t=(s-c)/o;break;case"rtl":t=(l-d)/a;break;default:t=(d-r)/a}e4(eq(eP+t*(ez-eP)),e)},id:j},a.createElement("div",{className:r()("".concat(k,"-rail"),null==A?void 0:A.rail),style:(0,c.A)((0,c.A)({},es),null==O?void 0:O.rail)}),!1!==em&&a.createElement(R,{prefixCls:k,style:el,values:e_,startPoint:ei,onStartMove:e9?te:void 0}),a.createElement(B,{prefixCls:k,marks:eL,dots:ef,style:eu,activeStyle:eb}),a.createElement(E,{ref:ew,prefixCls:k,style:ed,values:e3,draggingIndex:eZ,draggingDelete:e1,onStartMove:te,onOffsetChange:function(e,t){if(!N){var n=eW(e_,e,t);null==$||$(eU(e_)),eY(n.values),e6(n.value)}},onFocus:L,onBlur:T,handleRender:ep,activeHandleRender:eh,onChangeComplete:eQ,onDelete:eB?function(e){if(!N&&eB&&!(e_.length<=eR)){var t=(0,l.A)(e_);t.splice(e,1),null==$||$(eU(t)),eY(t);var n=Math.max(0,e-1);ew.current.hideHelp(),ew.current.focus(n)}}:void 0}),a.createElement(I,{prefixCls:k,marks:eL,onClick:e4})))}),F=n(93485),L=n(24623);let T=(0,a.createContext)({});var D=n(79473),q=n(62740);let W=a.forwardRef((e,t)=>
1{let{open:n,draggingDelete:o,value:r}=e,c=(0,a.useRef)(null),i=n&&!o,l=(0,a.useRef)(null);function d(){F.A.cancel(l.current),l.current=null}return a.useEffect(()=>(i?l.current=(0,F.A)(()=>{var e;null==(e=c.current)||e.forceAlign(),l.current=null}):d(),d),[i,e.title,r]),a.createElement(q.A,Object.assign({ref:(0,D.K4)(c,t)},e,{open:i}))});var G=n(47100),K=n(73508),X=n(94821),V=n(16780),_=n(34562);let U=(e,t)=>{let{componentCls:n,railSize:a,handleSize:o,dotSize:r,marginFull:c,calc:i}=e,l=t?"width":"height",d=t?"height":"width",s=t?"insetBlockStart":"insetInlineStart",u=t?"top":"insetInlineStart",b=i(a).mul(3).sub(o).div(2).equal(),g=i(o).sub(a).div(2).equal(),f=t?{borderWidth:"".concat((0,G.unit)(g)," 0"),transform:"translateY(".concat((0,G.unit)(i(g).mul(-1).equal()),")")}:{borderWidth:"0 ".concat((0,G.unit)(g)),transform:"translateX(".concat((0,G.unit)(e.calc(g).mul(-1).equal()),")")};return{[t?"paddingBlock":"paddingInline"]:a,[d]:i(a).mul(3).equal(),["".concat(n,"-rail")]:{[l]:"100%",[d]:a},["".concat(n,"-track,").concat(n,"-tracks")]:{[d]:a},["".concat(n,"-track-draggable")]:Object.assign({},f),["".concat(n,"-handle")]:{[s]:b},["".concat(n,"-mark")]:{insetInlineStart:0,top:0,[u]:i(a).mul(3).add(t?0:c).equal(),[l]:"100%"},["".concat(n,"-step")]:{insetInlineStart:0,top:0,[u]:a,[l]:"100%",[d]:a},["".concat(n,"-dot")]:{position:"absolute",[s]:i(a).sub(r).div(2).equal()}}},Y=(0,V.OF)("Slider",e=>{let t=(0,_.mergeToken)(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[(e=>{let{componentCls:t,antCls:n,controlSize:a,dotSize:o,marginFull:r,marginPart:c,colorFillContentHover:i,handleColorDisabled:l,calc:d,handleSize:s,handleSizeHover:u,handleActiveColor:b,handleActiveOutlineColor:g,handleLineWidth:f,handleLineWidthHover:p,motionDurationMid:h}=e;return{[t]:Object.assign(Object.assign({},(0,X.dF)(e)),{position:"relative",height:a,margin:"".concat((0,G.unit)(c)," ").concat((0,G.unit)(r)),padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:"".concat((0,G.unit)(r)," ").concat((0,G.unit)(c))},["".concat(t,"-rail")]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:"background-color ".concat(h)},["".concat(t,"-track,").concat(t,"-tracks")]:{position:"absolute",transition:"background-color ".concat(h)},["".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:i},["".concat(t,"-handle::after")]:{boxShadow:"0 0 0 ".concat((0,G.unit)(f)," ").concat(e.colorPrimaryBorderHover)},["".concat(t,"-dot-active")]:{borderColor:e.dotActiveBorderColor}},["".concat(t,"-handle")]:{position:"absolute",width:s,height:s,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0}
1,"&::before":{content:'""',position:"absolute",insetInlineStart:d(f).mul(-1).equal(),insetBlockStart:d(f).mul(-1).equal(),width:d(s).add(d(f).mul(2)).equal(),height:d(s).add(d(f).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,G.unit)(f)," ").concat(e.handleColor),outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:"\n            inset-inline-start ".concat(h,",\n            inset-block-start ").concat(h,",\n            width ").concat(h,",\n            height ").concat(h,",\n            box-shadow ").concat(h,",\n            outline ").concat(h,"\n          ")},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:d(u).sub(s).div(2).add(p).mul(-1).equal(),insetBlockStart:d(u).sub(s).div(2).add(p).mul(-1).equal(),width:d(u).add(d(p).mul(2)).equal(),height:d(u).add(d(p).mul(2)).equal()},"&::after":{boxShadow:"0 0 0 ".concat((0,G.unit)(p)," ").concat(b),outline:"6px solid ".concat(g),width:u,height:u,insetInlineStart:e.calc(s).sub(u).div(2).equal(),insetBlockStart:e.calc(s).sub(u).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:o,height:o,backgroundColor:e.colorBgElevated,border:"".concat((0,G.unit)(f)," 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,G.unit)(f)," ").concat(l),insetInlineStart:0,insetBlockStart:0},["\n          ".concat(t,"-mark-text,\n          ").concat(t,"-dot\n        ")]:{cursor:"not-allowed !important"}},["&-tooltip ".concat(n,"-tooltip-inner")]:{minWidth:"unset"}})}})(t),(e=>{let{componentCls:t,marginPartWithMark:n}=e;return{["".concat(t,"-horizontal")]:Object.assign(Object.assign({},U(e,!0)),{["&".concat(t,"-with-marks")]:{marginBottom:n}})}})(t),(e=>{let{componentCls:t}=e;return{["".concat(t,"-vertical")]:Object.assign(Object.assign({},U(e,!1)),{height:"100%"})}})(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,a=e.lineWidth+1,o=e.lineWidth+1.5,r=e.colorPrimary,c=new K.FastColor(r).setA(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:a,handleLineWidthHover:o,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:r,handleActiveOutlineColor:c,handleColorDisabled:new K.FastColor(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});function Q(){let[e,t]=a.useState(!1),n=a.useRef(null),o=()=>{F.A.cancel(n.current)};return a.useEffect(()=>o,[]),[e,e=>{o(),e?t(e):n.current=(0,F.A)(()=>{t(e)})}]}var $=n(1943),J=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let Z=a.forwardRef((e,t)=>
1{let{prefixCls:n,range:o,className:c,rootClassName:i,style:l,disabled:d,tooltipPrefixCls:s,tipFormatter:u,tooltipVisible:b,getTooltipPopupContainer:g,tooltipPlacement:f,tooltip:p={},onChangeComplete:h,classNames:m,styles:v}=e,y=J(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:x}=e,{getPrefixCls:C,direction:k,className:S,style:w,classNames:A,styles:E,getPopupContainer:O}=(0,$.TP)("slider"),I=a.useContext(L.A),{handleRender:j,direction:B}=a.useContext(T),M="rtl"===(B||k),[R,N]=Q(),[P,z]=Q(),D=Object.assign({},p),{open:q,placement:G,getPopupContainer:K,prefixCls:X,formatter:V}=D,_=null!=q?q:b,U=(R||P)&&!1!==_,Z=function(e,t){return e||null===e?e:t||null===t?t:e=>"number"==typeof e?e.toString():""}(V,u),[ee,et]=Q(),en=(e,t)=>e||(t?M?"left":"right":"top"),ea=C("slider",n),[eo,er,ec]=Y(ea),ei=r()(c,S,A.root,null==m?void 0:m.root,i,{["".concat(ea,"-rtl")]:M,["".concat(ea,"-lock")]:ee},er,ec);M&&!y.vertical&&(y.reverse=!y.reverse),a.useEffect(()=>{let e=()=>{(0,F.A)(()=>{z(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let el=o&&!_,ed=j||((e,t)=>{let{index:n}=t,o=e.props;function r(e,t,n){var a,r;n&&(null==(a=y[e])||a.call(y,t)),null==(r=o[e])||r.call(o,t)}let c=Object.assign(Object.assign({},o),{onMouseEnter:e=>{N(!0),r("onMouseEnter",e)},onMouseLeave:e=>{N(!1),r("onMouseLeave",e)},onMouseDown:e=>{z(!0),et(!0),r("onMouseDown",e)},onFocus:e=>{var t;z(!0),null==(t=y.onFocus)||t.call(y,e),r("onFocus",e,!0)},onBlur:e=>{var t;z(!1),null==(t=y.onBlur)||t.call(y,e),r("onBlur",e,!0)}}),i=a.cloneElement(e,c),l=(!!_||U)&&null!==Z;return el?i:a.createElement(W,Object.assign({},D,{prefixCls:C("tooltip",null!=X?X:s),title:Z?Z(t.value):"",value:t.value,open:l,placement:en(null!=G?G:f,x),key:n,classNames:{root:"".concat(ea,"-tooltip")},getPopupContainer:K||g||O}),i)}),es=el?(e,t)=>{let n=a.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return a.createElement(W,Object.assign({},D,{prefixCls:C("tooltip",null!=X?X:s),title:Z?Z(t.value):"",open:null!==Z&&U,placement:en(null!=G?G:f,x),key:"tooltip",classNames:{root:"".concat(ea,"-tooltip")},getPopupContainer:K||g||O,draggingDelete:t.draggingDelete}),n)}:void 0,eu=Object.assign(Object.assign(Object.assign(Object.assign({},E.root),w),null==v?void 0:v.root),l),eb=Object.assign(Object.assign({},E.tracks),null==v?void 0:v.tracks),eg=r()(A.tracks,null==m?void 0:m.tracks);return eo(a.createElement(H,Object.assign({},y,{classNames:Object.assign({handle:r()(A.handle,null==m?void 0:m.handle),rail:r()(A.rail,null==m?void 0:m.rail),track:r()(A.track,null==m?void 0:m.track)},eg?{tracks:eg}:{}),styles:Object.assign({handle:Object.assign(Object.assign({},E.handle),null==v?void 0:v.handle),rail:Object.assign(Object.assign({},E.rail),null==v?void 0:v.rail),track:Object.assign(Object.assign({},E.track),null==v?void 0:v.track)},Object.keys(eb).length?{tracks:eb}:{}),step:y.step,range:o,className:ei,style:eu,disabled:null!=d?d:I,ref:t,prefixCls:ea,handleRender:ed,activeHandleRender:es,onChangeComplete:e=>{null==h||h(e),et(!1)}})))})},14664:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115),o=n(33785);let r=function(e){var t=(0,a.useRef)(e);t.current=e,(0,o.A)(function(){return function(){return t.current()}})},c=function(e){var t=(0,a.useRef)(0),n=(0,a.useState)(e),o=n[0],c=n[1],i=(0,a.useCallback)(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){c(e)})},[]);return r(function(){cancelAnimationFrame(t.current)}),[o,i]};var i=n(93683);let l=function(e){var t=void 0===e?{}:e,n=t.initialWidth,o=t.initialHeight,r=t.onChange,l=c({width:i.Bd?window.innerWidth:void 0===n?1/0:n,height:i.Bd?window.innerHeight:void 0===o?1/0:o}),d=l[0],s=l[1];return(0,a.useEffect)(function(){if(i.Bd){var e=function(){var e=window.innerWidth,t=window.innerHeight;s({width:e,height:t}),r&&r(e,t)};return(0,i.on)(window,"resize",e),function(){(0,i.AU)(window,"resize",e)}}},[]),d}},20063:(e,t,n)=>{var a=n(47260);n.o(a,"notFound")&&n.d(t,{notFound:function(){return a.notFound}}),n.o(a,"usePathname")&&n.d(t,{usePathname:function(){return a.usePathname}}),n.o(a,"useRouter")&&n.d(t,{useRouter:function(){return a.useRouter}}),n.o(a,"useSearchParams")&&n.d(t,{useSearchParams:function(){return a.useSearchParams}})},25241:(e,t,n)=>{n.d(t,{A:()=>W});var a=n(12115),o=n(88945);let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.9
16 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var c=n(81579),i=a.forwardRef(function(e,t){return a.createElement(c.A,(0,o.A)({},e,{ref:t,icon:r}))}),l=n(85203),d=n.n(l),s=n(39192),u=n(43233),b=n(33861),g=n(26337),f=n(31848),p=n(3548),h=n(46734),m=n(93322),v=n(5322),y=n(56241),x=n(30174),C=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.forceRender,r=e.className,c=e.style,i=e.children,l=e.isActive,s=e.role,b=e.classNames,g=e.styles,f=a.useState(l||o),p=(0,u.A)(f,2),h=p[0],m=p[1];return(a.useEffect(function(){(o||l)&&m(!0)},[o,l]),h)?a.createElement("div",{ref:t,className:d()("".concat(n,"-content"),(0,v.A)((0,v.A)({},"".concat(n,"-content-active"),l),"".concat(n,"-content-inactive"),!l),r),style:c,role:s},a.createElement("div",{className:d()("".concat(n,"-content-box"),null==b?void 0:b.body),style:null==g?void 0:g.body},i)):null});C.displayName="PanelContent";var k=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],S=a.forwardRef(function(e,t){var n=e.showArrow,r=e.headerClass,c=e.isActive,i=e.onItemClick,l=e.forceRender,s=e.className,u=e.classNames,b=void 0===u?{}:u,g=e.styles,f=void 0===g?{}:g,h=e.prefixCls,S=e.collapsible,w=e.accordion,A=e.panelKey,E=e.extra,O=e.header,I=e.expandIcon,j=e.openMotion,B=e.destroyInactivePanel,M=e.children,R=(0,p.A)(e,k),N="disabled"===S,P=(0,v.A)((0,v.A)((0,v.A)({onClick:function(){null==i||i(A)},onKeyDown:function(e){("Enter"===e.key||e.keyCode===x.A.ENTER||e.which===x.A.ENTER)&&(null==i||i(A))},role:w?"tab":"button"},"aria-expanded",c),"aria-disabled",N),"tabIndex",N?-1:0),z="function"==typeof I?I(e):a.createElement("i",{className:"arrow"}),H=z&&a.createElement("div",(0,o.A)({className:"".concat(h,"-expand-icon")},["header","icon"].includes(S)?P:{}),z),F=d()("".concat(h,"-item"),(0,v.A)((0,v.A)({},"".concat(h,"-item-active"),c),"".concat(h,"-item-disabled"),N),s),L=d()(r,"".concat(h,"-header"),(0,v.A)({},"".concat(h,"-collapsible-").concat(S),!!S),b.header),T=(0,m.A)({className:L,style:f.header},["header","icon"].includes(S)?{}:P);return a.createElement("div",(0,o.A)({},R,{ref:t,className:F}),a.createElement("div",T,(void 0===n||n)&&H,a.createElement("span",(0,o.A)({className:"".concat(h,"-header-text")},"header"===S?P:{}),O),null!=E&&"boolean"!=typeof E&&a.createElement("div",{className:"".concat(h,"-extra")},E)),a.createElement(y.default,(0,o.A)({visible:c,leavedClassName:"".concat(h,"-content-hidden")},j,{forceRender:l,removeOnLeave:B}),function(e,t){var n=e.className,o=e.style;return a.createElement(C,{ref:t,prefixCls:h,className:n,classNames:b,style:o,styles:f,isActive:c,forceRender:l,role:w?"tabpanel":void 0},M)}))}),w=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],A=function(e,t){var n=t.prefixCls,r=t.accordion,c=t.collapsible,i=t.destroyInactivePanel,l=t.onItemClick,d=t.activeKey,s=t.openMotion,u=t.expandIcon;return e.map(function(e,t){var b=e.children,g=e.label,f=e.key,h=e.collapsible,m=e.onItemClick,v=e.destroyInactivePanel,y=(0,p.A)(e,w),x=String(null!=f?f:t),C=null!=h?h:c,k=!1;return k=r?d[0]===x:d.indexOf(x)>-1,a.createElement(S,(0,o.A)({},y,{prefixCls:n,key:x,panelKey:x,isActive:k,accordion:r,openMotion:s,expandIcon:u,header:g,collapsible:C,onItemClick:function(e){"disabled"!==C&&(l(e),null==m||m(e))},destroyInactivePanel:null!=v?v:i}),b)})},E=function(e,t,n){if(!e)return null;var o=n.prefixCls,r=n.accordion,c=n.collapsible,i=n.destroyInactivePanel,l=n.onItemClick,d=n.activeKey,s=n.openMotion,u=n.expandIcon,b=e.key||String(t),g=e.props,f=g.header,p=g.headerClass,h=g.destroyInactivePanel,m=g.collapsible,v=g.onItemClick,y=!1;y=r?d[0]===b:d.indexOf(b)>-1;var x=null!=m?m:c,C={key:b,panelKey:b,header:f,headerClass:p,isActive:y,prefixCls:o,destroyInactivePanel:null!=h?h:i,openMotion:s,accordion:r,children:e.props.children,onItemClick:function(e){"disabled"!==x&&(l(e),null==v||v(e))},expandIcon:u,collapsible:x};return"string"==typeof e.type?e:(Object.keys(C).forEach(function(e){void 0===C[e]&&delete C[e]}),a.cloneElement(e,C))},O=n(94847);function I(e){var t=e;if(!Array.isArray(t)){var n=(0,b.A)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}let j=Object.assign(a.forwardRef(function(e,t){var n,r=e.prefixCls,c=void 0===r?"rc-collapse":r,i=e.destroyInactivePanel,l=e.style,b=e.accordion,p=e.className,m=e.children,v=e.collapsible,y=e.openMotion,x=e.expandIcon,C=e.activeKey,k=e.defaultActiveKey,S=e.onCh
1ange,w=e.items,j=d()(c,p),B=(0,g.A)([],{value:C,onChange:function(e){return null==S?void 0:S(e)},defaultValue:k,postState:I}),M=(0,u.A)(B,2),R=M[0],N=M[1];(0,f.Ay)(!m,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var P=(n={prefixCls:c,accordion:b,openMotion:y,expandIcon:x,collapsible:v,destroyInactivePanel:void 0!==i&&i,onItemClick:function(e){return N(function(){return b?R[0]===e?[]:[e]:R.indexOf(e)>-1?R.filter(function(t){return t!==e}):[].concat((0,s.A)(R),[e])})},activeKey:R},Array.isArray(w)?A(w,n):(0,h.A)(m).map(function(e,t){return E(e,t,n)}));return a.createElement("div",(0,o.A)({ref:t,className:j,style:l,role:b?"tablist":void 0},(0,O.A)(e,{aria:!0,data:!0})),P)}),{Panel:S});j.Panel;var B=n(86537),M=n(68901),R=n(13414),N=n(1943),P=n(15357);let z=a.forwardRef((e,t)=>{let{getPrefixCls:n}=a.useContext(N.QO),{prefixCls:o,className:r,showArrow:c=!0}=e,i=n("collapse",o),l=d()({["".concat(i,"-no-arrow")]:!c},r);return a.createElement(j.Panel,Object.assign({ref:t},e,{prefixCls:i,className:l}))});var H=n(47100),F=n(94821),L=n(7257),T=n(16780),D=n(34562);let q=(0,T.OF)("Collapse",e=>{let t=(0,D.mergeToken)(e,{collapseHeaderPaddingSM:"".concat((0,H.unit)(e.paddingXS)," ").concat((0,H.unit)(e.paddingSM)),collapseHeaderPaddingLG:"".concat((0,H.unit)(e.padding)," ").concat((0,H.unit)(e.paddingLG)),collapsePanelBorderRadius:e.borderRadiusLG});return[(e=>{let{componentCls:t,contentBg:n,padding:a,headerBg:o,headerPadding:r,collapseHeaderPaddingSM:c,collapseHeaderPaddingLG:i,collapsePanelBorderRadius:l,lineWidth:d,lineType:s,colorBorder:u,colorText:b,colorTextHeading:g,colorTextDisabled:f,fontSizeLG:p,lineHeight:h,lineHeightLG:m,marginSM:v,paddingSM:y,paddingLG:x,paddingXS:C,motionDurationSlow:k,fontSizeIcon:S,contentPadding:w,fontHeight:A,fontHeightLG:E}=e,O="".concat((0,H.unit)(d)," ").concat(s," ").concat(u);return{[t]:Object.assign(Object.assign({},(0,F.dF)(e)),{backgroundColor:o,border:O,borderRadius:l,"&-rtl":{direction:"rtl"},["& > ".concat(t,"-item")]:{borderBottom:O,"&:first-child":{["\n            &,\n            & > ".concat(t,"-header")]:{borderRadius:"".concat((0,H.unit)(l)," ").concat((0,H.unit)(l)," 0 0")}},"&:last-child":{["\n            &,\n            & > ".concat(t,"-header")]:{borderRadius:"0 0 ".concat((0,H.unit)(l)," ").concat((0,H.unit)(l))}},["> ".concat(t,"-header")]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:r,color:g,lineHeight:h,cursor:"pointer",transition:"all ".concat(k,", visibility 0s")},(0,F.K8)(e)),{["> ".concat(t,"-header-text")]:{flex:"auto"},["".concat(t,"-expand-icon")]:{height:A,display:"flex",alignItems:"center",paddingInlineEnd:v},["".concat(t,"-arrow")]:Object.assign(Object.assign({},(0,F.Nk)()),{fontSize:S,transition:"transform ".concat(k),svg:{transition:"transform ".concat(k)}}),["".concat(t,"-header-text")]:{marginInlineEnd:"auto"}}),["".concat(t,"-collapsible-header")]:{cursor:"default",["".concat(t,"-header-text")]:{flex:"none",cursor:"pointer"},["".concat(t,"-expand-icon")]:{cursor:"pointer"}},["".concat(t,"-collapsible-icon")]:{cursor:"unset",["".concat(t,"-expand-icon")]:{cursor:"pointer"}}},["".concat(t,"-content")]:{color:b,backgroundColor:n,borderTop:O,["& > ".concat(t,"-content-box")]:{padding:w},"&-hidden":{display:"none"}},"&-small":{["> ".concat(t,"-item")]:{["> ".concat(t,"-header")]:{padding:c,paddingInlineStart:C,["> ".concat(t,"-expand-icon")]:{marginInlineStart:e.calc(y).sub(C).equal()}},["> ".concat(t,"-content > ").concat(t,"-content-box")]:{padding:y}}},"&-large":{["> ".concat(t,"-item")]:{fontSize:p,lineHeight:m,["> ".concat(t,"-header")]:{padding:i,paddingInlineStart:a,["> ".concat(t,"-expand-icon")]:{height:E,marginInlineStart:e.calc(x).sub(a).equal()}},["> ".concat(t,"-content > ").concat(t,"-content-box")]:{padding:x}}},["".concat(t,"-item:last-child")]:{borderBottom:0,["> ".concat(t,"-content")]:{borderRadius:"0 0 ".concat((0,H.unit)(l)," ").concat((0,H.unit)(l))}},["& ".concat(t,"-item-disabled > ").concat(t,"-header")]:{"\n          &,\n          & > .arrow\n        ":{color:f,cursor:"not-allowed"}},["&".concat(t,"-icon-position-end")]:{["& > ".concat(t,"-item")]:{["> ".concat(t,"-header")]:{["".concat(t,"-expand-icon")]:{order:1,paddingInlineEnd:0,paddingInlineStart:v}}}}})}})(t),(e=>{let{componentCls:t,headerBg:n,borderlessContentPadding:a,borderlessContentBg:o,c
1olorBorder:r}=e;return{["".concat(t,"-borderless")]:{backgroundColor:n,border:0,["> ".concat(t,"-item")]:{borderBottom:"1px solid ".concat(r)},["\n        > ".concat(t,"-item:last-child,\n        > ").concat(t,"-item:last-child ").concat(t,"-header\n      ")]:{borderRadius:0},["> ".concat(t,"-item:last-child")]:{borderBottom:0},["> ".concat(t,"-item > ").concat(t,"-content")]:{backgroundColor:o,borderTop:0},["> ".concat(t,"-item > ").concat(t,"-content > ").concat(t,"-content-box")]:{padding:a}}}})(t),(e=>{let{componentCls:t,paddingSM:n}=e;return{["".concat(t,"-ghost")]:{backgroundColor:"transparent",border:0,["> ".concat(t,"-item")]:{borderBottom:0,["> ".concat(t,"-content")]:{backgroundColor:"transparent",border:0,["> ".concat(t,"-content-box")]:{paddingBlock:n}}}}}})(t),(e=>{let{componentCls:t}=e,n="> ".concat(t,"-item > ").concat(t,"-header ").concat(t,"-arrow");return{["".concat(t,"-rtl")]:{[n]:{transform:"rotate(180deg)"}}}})(t),(0,L.A)(t)]},e=>({headerPadding:"".concat(e.paddingSM,"px ").concat(e.padding,"px"),headerBg:e.colorFillAlter,contentPadding:"".concat(e.padding,"px 16px"),contentBg:e.colorBgContainer,borderlessContentPadding:"".concat(e.paddingXXS,"px 16px ").concat(e.padding,"px"),borderlessContentBg:"transparent"})),W=Object.assign(a.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o,expandIcon:r,className:c,style:l}=(0,N.TP)("collapse"),{prefixCls:s,className:u,rootClassName:b,style:g,bordered:f=!0,ghost:p,size:m,expandIconPosition:v="start",children:y,destroyInactivePanel:x,destroyOnHidden:C,expandIcon:k}=e,S=(0,P.A)(e=>{var t;return null!=(t=null!=m?m:e)?t:"middle"}),w=n("collapse",s),A=n(),[E,O,I]=q(w),z=a.useMemo(()=>"left"===v?"start":"right"===v?"end":v,[v]),H=null!=k?k:r,F=a.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof H?H(e):a.createElement(i,{rotate:e.isActive?"rtl"===o?-90:90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,R.Ob)(t,()=>{var e;return{className:d()(null==(e=t.props)?void 0:e.className,"".concat(w,"-arrow"))}})},[H,w,o]),L=d()("".concat(w,"-icon-position-").concat(z),{["".concat(w,"-borderless")]:!f,["".concat(w,"-rtl")]:"rtl"===o,["".concat(w,"-ghost")]:!!p,["".concat(w,"-").concat(S)]:"middle"!==S},c,u,b,O,I),T=a.useMemo(()=>Object.assign(Object.assign({},(0,M.A)(A)),{motionAppear:!1,leavedClassName:"".concat(w,"-content-hidden")}),[A,w]),D=a.useMemo(()=>y?(0,h.A)(y).map((e,t)=>{var n,a;let o=e.props;if(null==o?void 0:o.disabled){let r=null!=(n=e.key)?n:String(t),c=Object.assign(Object.assign({},(0,B.A)(e.props,["disabled"])),{key:r,collapsible:null!=(a=o.collapsible)?a:"disabled"});return(0,R.Ob)(e,c)}return e}):null,[y]);return E(a.createElement(j,Object.assign({ref:t,openMotion:T},(0,B.A)(e,["rootClassName"]),{expandIcon:F,prefixCls:w,className:L,style:Object.assign(Object.assign({},l),g),destroyInactivePanel:null!=C?C:x}),D))}),{Panel:z})},32587:(e,t,n)=>{n.d(t,{Ay:()=>z});var a=n(12115),o=n(85203),r=n.n(o),c=n(77393),i=n(26337),l=n(94847),d=n(1943),s=n(79224),u=n(15357);let b=a.createContext(null),g=b.Provider,f=a.createContext(null),p=f.Provider;var h=n(35595),m=n(79473),v=n(35042),y=n(82754),x=n(71373),C=n(24623),k=n(88407),S=n(47100),w=n(94821),A=n(16780),E=n(34562);let O=(0,A.OF)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,a="0 0 0 ".concat((0,S.unit)(n)," ").concat(t),o=(0,E.mergeToken)(e,{radioFocusShadow:a,radioButtonFocusShadow:a});return[(e=>{let{componentCls:t,antCls:n}=e,a="".concat(t,"-group");return{[a]:Object.assign(Object.assign({},(0,w.dF)(e)),{display:"inline-block",fontSize:0,["&".concat(a,"-rtl")]:{direction:"rtl"},["&".concat(a,"-block")]:{display:"flex"},["".concat(n,"-badge ").concat(n,"-badge-count")]:{zIndex:1},["> ".concat(n,"-badge:not(:first-child) > ").concat(n,"-button-wrapper")]:{borderInlineStart:"none"}})}})(o),(e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:a,radioSize:o,motionDurationSlow:r,motionDurationMid:c,motionEaseInOutCirc:i,colorBgContainer:l,colorBorder:d,lineWidth:s,colorBgContainerDisabled:u,colorTextDisabled:b,paddingXS:g,dotColorDisabled:f,lineType:p,radioColor:h,radioBgColor:m,calc:v}=e,y="".concat(t,"-inner"),x=v(o).sub(v(4).mul(2)),C=v(1).mul(o).equal({unit:!0});return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({},(0,w.dF)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&:last-child":{marginInlineEnd:0},["&".concat(t,"-wrapper-rtl")]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},["".concat(t,"-checked::after")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:"".concat((0,S.unit)(s)," ").concat(p," ").concat(a),borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,w.dF)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),["".concat(t,"-wrapper:hover &,\n        &:hover ").concat(y)]:{borderColor:a},["".concat(t,"-input:focus-visible + ").concat(y)]:(0,w.jk)(e),["".concat(t,":hover::after, ").concat(t,"-wrapper:hover &::after")]:{visibility:"visible"},["".concat(t,"-inner")]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:C,height:C,marginBlockStart:v(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:v(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:h,borderBlockStart:0,borderInlineStart:0,borderRadius:C,transform:"scale(0)",opacity:0,transition:"all ".concat(r," ").concat(i),content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:C,height:C,backgroundColor:l,borderColor:d,borderStyle:"solid",borderWidth:s,borderRadius:"50%",transition:"all ".concat(c)},["".concat(t,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0}
1,["".concat(t,"-checked")]:{[y]:{borderColor:a,backgroundColor:m,"&::after":{transform:"scale(".concat(e.calc(e.dotSize).div(o).equal(),")"),opacity:1,transition:"all ".concat(r," ").concat(i)}}},["".concat(t,"-disabled")]:{cursor:"not-allowed",[y]:{backgroundColor:u,borderColor:d,cursor:"not-allowed","&::after":{backgroundColor:f}},["".concat(t,"-input")]:{cursor:"not-allowed"},["".concat(t,"-disabled + span")]:{color:b,cursor:"not-allowed"},["&".concat(t,"-checked")]:{[y]:{"&::after":{transform:"scale(".concat(v(x).div(o).equal(),")")}}}},["span".concat(t," + *")]:{paddingInlineStart:g,paddingInlineEnd:g}})}})(o),(e=>{let{buttonColor:t,controlHeight:n,componentCls:a,lineWidth:o,lineType:r,colorBorder:c,motionDurationMid:i,buttonPaddingInline:l,fontSize:d,buttonBg:s,fontSizeLG:u,controlHeightLG:b,controlHeightSM:g,paddingXS:f,borderRadius:p,borderRadiusSM:h,borderRadiusLG:m,buttonCheckedBg:v,buttonSolidCheckedColor:y,colorTextDisabled:x,colorBgContainerDisabled:C,buttonCheckedBgDisabled:k,buttonCheckedColorDisabled:A,colorPrimary:E,colorPrimaryHover:O,colorPrimaryActive:I,buttonSolidCheckedBg:j,buttonSolidCheckedHoverBg:B,buttonSolidCheckedActiveBg:M,calc:R}=e;return{["".concat(a,"-button-wrapper")]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:l,paddingBlock:0,color:t,fontSize:d,lineHeight:(0,S.unit)(R(n).sub(R(o).mul(2)).equal()),background:s,border:"".concat((0,S.unit)(o)," ").concat(r," ").concat(c),borderBlockStartWidth:R(o).add(.02).equal(),borderInlineEndWidth:o,cursor:"pointer",transition:["color ".concat(i),"background ".concat(i),"box-shadow ".concat(i)].join(","),a:{color:t},["> ".concat(a,"-button")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:last-child)":{marginInlineEnd:R(o).mul(-1).equal()},"&:first-child":{borderInlineStart:"".concat((0,S.unit)(o)," ").concat(r," ").concat(c),borderStartStartRadius:p,borderEndStartRadius:p},"&:last-child":{borderStartEndRadius:p,borderEndEndRadius:p},"&:first-child:last-child":{borderRadius:p},["".concat(a,"-group-large &")]:{height:b,fontSize:u,lineHeight:(0,S.unit)(R(b).sub(R(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:m,borderEndStartRadius:m},"&:last-child":{borderStartEndRadius:m,borderEndEndRadius:m}},["".concat(a,"-group-small &")]:{height:g,paddingInline:R(f).sub(o).equal(),paddingBlock:0,lineHeight:(0,S.unit)(R(g).sub(R(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h}},"&:hover":{position:"relative",color:E},"&:has(:focus-visible)":(0,w.jk)(e),["".concat(a,"-inner, input[type='checkbox'], input[type='radio']")]:{width:0,height:0,opacity:0,pointerEvents:"none"},["&-checked:not(".concat(a,"-button-wrapper-disabled)")]:{zIndex:1,color:E,background:v,borderColor:E,"&::before":{backgroundColor:E},"&:first-child":{borderColor:E},"&:hover":{color:O,borderColor:O,"&::before":{backgroundColor:O}},"&:active":{color:I,borderColor:I,"&::before":{backgroundColor:I}}},["".concat(a,"-group-solid &-checked:not(").concat(a,"-button-wrapper-disabled)")]:{color:y,background:j,borderColor:j,"&:hover":{color:y,background:B,borderColor:B},"&:active":{color:y,background:M,borderColor:M}},"&-disabled":{color:x,backgroundColor:C,borderColor:c,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:C,borderColor:c}},["&-disabled".concat(a,"-button-wrapper-checked")]:{color:A,backgroundColor:k,borderColor:c,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}})(o)]},e=>{let{wireframe:t,padding:n,marginXS:a,lineWidth:o,fontSizeLG:r,colorText:c,colorBgContainer:i,colorTextDisabled:l,controlItemBgActiveDisabled:d,colorTextLightSolid:s,colorPrimary:u,colorPrimaryHover:b,colorPrimaryActive:g,colorWhite:f}=e;return{radioSize:r,dotSize:t?r-8:r-(4+o)*2,dotColorDisabled:l,buttonSolidCheckedColor:s,buttonSolidCheckedBg:u,buttonSolidCheckedHoverBg:b,buttonSolidCheckedActiveBg:g,buttonBg:i,buttonCheckedBg:i,buttonColor:c,buttonCheckedBgDisabled:d,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:a,radioColor:t?u:f,radioBgColor:t?i:u}},{unitless:{radioSize:!0,dotSize:!0}});var I=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let j=a.forwardRef((e,t)=>
1{var n,o;let c=a.useContext(b),i=a.useContext(f),{getPrefixCls:l,direction:u,radio:g}=a.useContext(d.QO),p=a.useRef(null),S=(0,m.K4)(t,p),{isFormItemInput:w}=a.useContext(k.$W),{prefixCls:A,className:E,rootClassName:j,children:B,style:M,title:R}=e,N=I(e,["prefixCls","className","rootClassName","children","style","title"]),P=l("radio",A),z="button"===((null==c?void 0:c.optionType)||i),H=z?"".concat(P,"-button"):P,F=(0,s.A)(P),[L,T,D]=O(P,F),q=Object.assign({},N),W=a.useContext(C.A);c&&(q.name=c.name,q.onChange=t=>{var n,a;null==(n=e.onChange)||n.call(e,t),null==(a=null==c?void 0:c.onChange)||a.call(c,t)},q.checked=e.value===c.value,q.disabled=null!=(n=q.disabled)?n:c.disabled),q.disabled=null!=(o=q.disabled)?o:W;let G=r()("".concat(H,"-wrapper"),{["".concat(H,"-wrapper-checked")]:q.checked,["".concat(H,"-wrapper-disabled")]:q.disabled,["".concat(H,"-wrapper-rtl")]:"rtl"===u,["".concat(H,"-wrapper-in-form-item")]:w,["".concat(H,"-wrapper-block")]:!!(null==c?void 0:c.block)},null==g?void 0:g.className,E,j,T,D,F),[K,X]=(0,x.A)(q.onClick);return L(a.createElement(v.A,{component:"Radio",disabled:q.disabled},a.createElement("label",{className:G,style:Object.assign(Object.assign({},null==g?void 0:g.style),M),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:R,onClick:K},a.createElement(h.A,Object.assign({},q,{className:r()(q.className,{[y.D]:!z}),type:"radio",prefixCls:H,ref:S,onClick:X})),void 0!==B?a.createElement("span",{className:"".concat(H,"-label")},B):null)))});var B=n(68585);let M=a.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o}=a.useContext(d.QO),{name:b}=a.useContext(k.$W),f=(0,c.A)((0,B.H)(b)),{prefixCls:p,className:h,rootClassName:m,options:v,buttonStyle:y="outline",disabled:x,children:C,size:S,style:w,id:A,optionType:E,name:I=f,defaultValue:M,value:R,block:N=!1,onChange:P,onMouseEnter:z,onMouseLeave:H,onFocus:F,onBlur:L}=e,[T,D]=(0,i.A)(M,{value:R}),q=a.useCallback(t=>{let n=t.target.value;"value"in e||D(n),n!==T&&(null==P||P(t))},[T,D,P]),W=n("radio",p),G="".concat(W,"-group"),K=(0,s.A)(W),[X,V,_]=O(W,K),U=C;v&&v.length>0&&(U=v.map(e=>"string"==typeof e||"number"==typeof e?a.createElement(j,{key:e.toString(),prefixCls:W,disabled:x,value:e,checked:T===e},e):a.createElement(j,{key:"radio-group-value-options-".concat(e.value),prefixCls:W,disabled:e.disabled||x,value:e.value,checked:T===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required},e.label)));let Y=(0,u.A)(S),Q=r()(G,"".concat(G,"-").concat(y),{["".concat(G,"-").concat(Y)]:Y,["".concat(G,"-rtl")]:"rtl"===o,["".concat(G,"-block")]:N},h,m,V,_,K),$=a.useMemo(()=>({onChange:q,value:T,disabled:x,name:I,optionType:E,block:N}),[q,T,x,I,E,N]);return X(a.createElement("div",Object.assign({},(0,l.A)(e,{aria:!0,data:!0}),{className:Q,style:w,onMouseEnter:z,onMouseLeave:H,onFocus:F,onBlur:L,id:A,ref:t}),a.createElement(g,{value:$},U)))}),R=a.memo(M);var N=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let P=a.forwardRef((e,t)=>{let{getPrefixCls:n}=a.useContext(d.QO),{prefixCls:o}=e,r=N(e,["prefixCls"]),c=n("radio",o);return a.createElement(p,{value:"button"},a.createElement(j,Object.assign({prefixCls:c},r,{type:"radio",ref:t})))});j.Button=P,j.Group=R,j.__ANT_RADIO=!0;let z=j},33785:(e,t,n)=>{n.d(t,{A:()=>o});var a=n(12115);let o=function(e){(0,a.useEffect)(e,[])}},38730:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115),o=n(93683),r=function(e){var t=window.history,n=t[e];t[e]=function(t){var a=n.apply(this,arguments),o=new Event(e.toLowerCase());return o.state=t,window.dispatchEvent(o),a}};o.Bd&&(r("pushState"),r("replaceState"));var c=function(e){var t=window.history,n=t.state,a=t.length,o=window.location;return{trigger:e,state:n,length:a,hash:o.hash,host:o.host,hostname:o.hostname,href:o.href,origin:o.origin,pathname:o.pathname,port:o.port,protocol:o.protocol,search:o.search}},i="function"==typeof Event;let l=o.Bd&&i?function(){var e=(0,a.useState)(c("load")),t=e[0],n=e[1];return(0,a.useEffect)(function(){var e=function(){return n(c("popstate"))},t=function(){return n(c("pushstate"))},a=function(){return n(c("replacestate"))};return(0,o.on)(window,"popstate",e),(0,o.on)(window,"pushstate",t),(0,o.on)(window,"replacestate",a),function(){(0,o.AU)(window,"popstate",e),(0,o.AU)(window,"pushstate",t),(0,o.AU)(window,"replacestate",a)}},[]),t}:function(){return{trigger:"load",length:1}}},39327:(e,t,n)=>{n.d(t,{A:()=>p});var a=n(12115),o=n(85203),r=n.n(o),c=n(1943),i=n(15357),l=n(47100),d=n(94821),s=n(16780),u=n(34562);let b=(0,s.OF)("Divider",e=>{let t=(0,u.mergeToken)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:a,lineWidth:o,textPaddingInline:r,orientationMargin:c,verticalMarginInline:i}=e;return{[t]:Object.assign(Object.assign({}
1,(0,d.dF)(e)),{borderBlockStart:"".concat((0,l.unit)(o)," solid ").concat(a),"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:i,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,l.unit)(o)," solid ").concat(a)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,l.unit)(e.marginLG)," 0")},["&-horizontal".concat(t,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,l.unit)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(a),"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:"".concat((0,l.unit)(o)," solid transparent"),borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},["&-horizontal".concat(t,"-with-text-start")]:{"&::before":{width:"calc(".concat(c," * 100%)")},"&::after":{width:"calc(100% - ".concat(c," * 100%)")}},["&-horizontal".concat(t,"-with-text-end")]:{"&::before":{width:"calc(100% - ".concat(c," * 100%)")},"&::after":{width:"calc(".concat(c," * 100%)")}},["".concat(t,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:"".concat((0,l.unit)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dashed")]:{"&::before, &::after":{borderStyle:"dashed none none"}},["&-vertical".concat(t,"-dashed")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:a,borderStyle:"dotted",borderWidth:"".concat((0,l.unit)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dotted")]:{"&::before, &::after":{borderStyle:"dotted none none"}},["&-vertical".concat(t,"-dotted")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(t,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(t,"-with-text-start").concat(t,"-no-default-orientation-margin-start")]:{"&::before":{width:0},"&::after":{width:"100%"},["".concat(t,"-inner-text")]:{paddingInlineStart:n}},["&-horizontal".concat(t,"-with-text-end").concat(t,"-no-default-orientation-margin-end")]:{"&::before":{width:"100%"},"&::after":{width:0},["".concat(t,"-inner-text")]:{paddingInlineEnd:n}}})}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{["&".concat(t)]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}})(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}});var g=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let f={small:"sm",middle:"md"},p=e=>{let{getPrefixCls:t,direction:n,className:o,style:l}=(0,c.TP)("divider"),{prefixCls:d,type:s="horizontal",orientation:u="center",orientationMargin:p,className:h,rootClassName:m,children:v,dashed:y,variant:x="solid",plain:C,style:k,size:S}=e,w=g(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size"]),A=t("divider",d),[E,O,I]=b(A),j=f[(0,i.A)(S)],B=!!v,M=a.useMemo(()=>"left"===u?"rtl"===n?"end":"start":"right"===u?"rtl"===n?"start":"end":u,[n,u]),R="start"===M&&null!=p,N="end"===M&&null!=p,P=r()(A,o,O,I,"".concat(A,"-").concat(s),{["".concat(A,"-with-text")]:B,["".concat(A,"-with-text-").concat(M)]:B,["".concat(A,"-dashed")]:!!y,["".concat(A,"-").concat(x)]:"solid"!==x,["".concat(A,"-plain")]:!!C,["".concat(A,"-rtl")]:"rtl"===n,["".concat(A,"-no-default-orientation-margin-start")]:R,["".concat(A,"-no-default-orientation-margin-end")]:N,["".concat(A,"-").concat(j)]:!!j},h,m),z=a.useMemo(()=>"number"==typeof p?p:/^\d+$/.test(p)?Number(p):p,[p]);return E(a.createElement("div",Object.assign({className:P,style:Object.assign(Object.assign({},l),k)},w,{role:"separator"}),v&&"vertical"!==s&&a.createElement("span",{className:"".concat(A,"-inner-text"),style:{marginInlineStart:R?z:void 0,marginInlineEnd:N?z:void 0}},v)))}},39578:(e,t,n)=>{n.d(t,{A:()=>S});var a=n(12115),o=n(85203),r=n.n(o),c=n(86537),i=n(1943),l=n(15357),d=n(16039),s=n(31622),u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let b=e=>{var{prefixCls:t,className:n,hoverable:o=!0}=e,c=u(e,["prefixCls","className","hoverable"]);let{getPrefixCls:l}=a.useContext(i.QO),d=l("card",t),s=r()("".concat(d,"-grid"),n,{["".concat(d,"-grid-hoverable")]:o});return a.createElement("div",Object.assign({},c,{className:s}))};var g=n(47100),f=n(94821),p=n(16780),h=n(34562);let m=(0,p.OF)("Card",e=>{let t=(0,h.mergeToken)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[(e=>
1{let{componentCls:t,cardShadow:n,cardHeadPadding:a,colorBorderSecondary:o,boxShadowTertiary:r,bodyPadding:c,extraColor:i}=e;return{[t]:Object.assign(Object.assign({},(0,f.dF)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,["&:not(".concat(t,"-bordered)")]:{boxShadow:r},["".concat(t,"-head")]:(e=>{let{antCls:t,componentCls:n,headerHeight:a,headerPadding:o,tabsMarginBottom:r}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:"0 ".concat((0,g.unit)(o)),color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:"".concat((0,g.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorderSecondary),borderRadius:"".concat((0,g.unit)(e.borderRadiusLG)," ").concat((0,g.unit)(e.borderRadiusLG)," 0 0")},(0,f.t6)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},f.L9),{["\n          > ".concat(n,"-typography,\n          > ").concat(n,"-typography-edit-content\n        ")]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),["".concat(t,"-tabs-top")]:{clear:"both",marginBottom:r,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:"".concat((0,g.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorderSecondary)}}})})(e),["".concat(t,"-extra")]:{marginInlineStart:"auto",color:i,fontWeight:"normal",fontSize:e.fontSize},["".concat(t,"-body")]:{padding:c,borderRadius:"0 0 ".concat((0,g.unit)(e.borderRadiusLG)," ").concat((0,g.unit)(e.borderRadiusLG))},["".concat(t,"-grid")]:(e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:a,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:"\n      ".concat((0,g.unit)(o)," 0 0 0 ").concat(n,",\n      0 ").concat((0,g.unit)(o)," 0 0 ").concat(n,",\n      ").concat((0,g.unit)(o)," ").concat((0,g.unit)(o)," 0 0 ").concat(n,",\n      ").concat((0,g.unit)(o)," 0 0 0 ").concat(n," inset,\n      0 ").concat((0,g.unit)(o)," 0 0 ").concat(n," inset;\n    "),transition:"all ".concat(e.motionDurationMid),"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}})(e),["".concat(t,"-cover")]:{"> *":{display:"block",width:"100%",borderRadius:"".concat((0,g.unit)(e.borderRadiusLG)," ").concat((0,g.unit)(e.borderRadiusLG)," 0 0")}},["".concat(t,"-actions")]:(e=>{let{componentCls:t,iconCls:n,actionsLiMargin:a,cardActionsIconSize:o,colorBorderSecondary:r,actionsBg:c}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:c,borderTop:"".concat((0,g.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(r),display:"flex",borderRadius:"0 0 ".concat((0,g.unit)(e.borderRadiusLG)," ").concat((0,g.unit)(e.borderRadiusLG))},(0,f.t6)()),{"& > li":{margin:a,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:"color ".concat(e.motionDurationMid)},["a:not(".concat(t,"-btn), > ").concat(n)]:{display:"inline-block",width:"100%",color:e.colorIcon,lineHeight:(0,g.unit)(e.fontHeight),transition:"color ".concat(e.motionDurationMid),"&:hover":{color:e.colorPrimary}},["> ".concat(n)]:{fontSize:o,lineHeight:(0,g.unit)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:"".concat((0,g.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(r)}}})})(e),["".concat(t,"-meta")]:(e=>Object.assign(Object.assign({margin:"".concat((0,g.unit)(e.calc(e.marginXXS).mul(-1).equal())," 0"),display:"flex"},(0,f.t6)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},f.L9),"&-description":{color:e.colorTextDescription}}))(e)}),["".concat(t,"-bordered")]:{border:"".concat((0,g.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(o),["".concat(t,"-cover")]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},["".concat(t,"-hoverable")]:{cursor:"pointer",transition:"box-shadow ".concat(e.motionDurationMid,", border-color ").concat(e.motionDurationMid),"&:hover":{borderColor:"transparent",boxShadow:n}},["".concat(t,"-contain-grid")]:{borderRadius:"".concat((0,g.unit)(e.borderRadiusLG)," ").concat((0,g.unit)(e.borderRadiusLG)," 0 0 "),["".concat(t,"-body")]:{dis
1play:"flex",flexWrap:"wrap"},["&:not(".concat(t,"-loading) ").concat(t,"-body")]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},["".concat(t,"-contain-tabs")]:{["> div".concat(t,"-head")]:{minHeight:0,["".concat(t,"-head-title, ").concat(t,"-extra")]:{paddingTop:a}}},["".concat(t,"-type-inner")]:(e=>{let{componentCls:t,colorFillAlter:n,headerPadding:a,bodyPadding:o}=e;return{["".concat(t,"-head")]:{padding:"0 ".concat((0,g.unit)(a)),background:n,"&-title":{fontSize:e.fontSize}},["".concat(t,"-body")]:{padding:"".concat((0,g.unit)(e.padding)," ").concat((0,g.unit)(o))}}})(e),["".concat(t,"-loading")]:(e=>{let{componentCls:t}=e;return{overflow:"hidden",["".concat(t,"-body")]:{userSelect:"none"}}})(e),["".concat(t,"-rtl")]:{direction:"rtl"}}})(t),(e=>{let{componentCls:t,bodyPaddingSM:n,headerPaddingSM:a,headerHeightSM:o,headerFontSizeSM:r}=e;return{["".concat(t,"-small")]:{["> ".concat(t,"-head")]:{minHeight:o,padding:"0 ".concat((0,g.unit)(a)),fontSize:r,["> ".concat(t,"-head-wrapper")]:{["> ".concat(t,"-extra")]:{fontSize:e.fontSize}}},["> ".concat(t,"-body")]:{padding:n}},["".concat(t,"-small").concat(t,"-contain-tabs")]:{["> ".concat(t,"-head")]:{["".concat(t,"-head-title, ").concat(t,"-extra")]:{paddingTop:0,display:"flex",alignItems:"center"}}}}})(t)]},e=>{var t,n;return{headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:"".concat(e.paddingSM,"px 0"),tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:null!=(t=e.bodyPadding)?t:e.paddingLG,headerPadding:null!=(n=e.headerPadding)?n:e.paddingLG}});var v=n(23322),y=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let x=e=>{let{actionClasses:t,actions:n=[],actionStyle:o}=e;return a.createElement("ul",{className:t,style:o},n.map((e,t)=>a.createElement("li",{style:{width:"".concat(100/n.length,"%")},key:"action-".concat(t)},a.createElement("span",null,e))))},C=a.forwardRef((e,t)=>{let n,{prefixCls:o,className:u,rootClassName:g,style:f,extra:p,headStyle:h={},bodyStyle:C={},title:k,loading:S,bordered:w,variant:A,size:E,type:O,cover:I,actions:j,tabList:B,children:M,activeTabKey:R,defaultActiveTabKey:N,tabBarExtraContent:P,hoverable:z,tabProps:H={},classNames:F,styles:L}=e,T=y(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:D,direction:q,card:W}=a.useContext(i.QO),[G]=(0,v.A)("card",A,w),K=e=>{var t;return r()(null==(t=null==W?void 0:W.classNames)?void 0:t[e],null==F?void 0:F[e])},X=e=>{var t;return Object.assign(Object.assign({},null==(t=null==W?void 0:W.styles)?void 0:t[e]),null==L?void 0:L[e])},V=a.useMemo(()=>{let e=!1;return a.Children.forEach(M,t=>{(null==t?void 0:t.type)===b&&(e=!0)}),e},[M]),_=D("card",o),[U,Y,Q]=m(_),$=a.createElement(d.A,{loading:!0,active:!0,paragraph:{rows:4},title:!1},M),J=void 0!==R,Z=Object.assign(Object.assign({},H),{[J?"activeKey":"defaultActiveKey"]:J?R:N,tabBarExtraContent:P}),ee=(0,l.A)(E),et=ee&&"default"!==ee?ee:"large",en=B?a.createElement(s.A,Object.assign({size:et},Z,{className:"".concat(_,"-head-tabs"),onChange:t=>{var n;null==(n=e.onTabChange)||n.call(e,t)},items:B.map(e=>{var{tab:t}=e;return Object.assign({label:t},y(e,["tab"]))})})):null;if(k||p||en){let e=r()("".concat(_,"-head"),K("header")),t=r()("".concat(_,"-head-title"),K("title")),o=r()("".concat(_,"-extra"),K("extra")),c=Object.assign(Object.assign({},h),X("header"));n=a.createElement("div",{className:e,style:c},a.createElement("div",{className:"".concat(_,"-head-wrapper")},k&&a.createElement("div",{className:t,style:X("title")},k),p&&a.createElement("div",{className:o,style:X("extra")},p)),en)}let ea=r()("".concat(_,"-cover"),K("cover")),eo=I?a.createElement("div",{className:ea,style:X("cover")},I):null,er=r()("".concat(_,"-body"),K("body")),ec=Object.assign(Object.assign({},C),X("body")),ei=a.createElement("div",{className:er,style:ec},S?$:M),el=r()("".concat(_,"-actions"),K("actions")),ed=(null==j?void 0:j.length)?a.createElement(x,{actionClasses:el,actionStyle:X("actions"),actions:j}):null,es=(0,c.A)(T,["onTabChange"]),eu=r()(_,null==W?void 0:W.className,{["".concat(_,"-loading")]:S,["".concat(_,"-bordered")]:"borderless"!==G,["".concat(_,"-hoverable")]:z,["".concat(_,"-contain-grid")]:V,["".concat(_,"-contain-tabs")]:null==B?void 0:B.length,["".concat(_,"-").concat(ee)]:ee,["".concat(_,"-type-").concat(O)]:!!O,["".concat(_,"-rtl")]:"rtl"===q},u,g,Y,Q),eb=Object.assign(Object.assign({},null==W?void 0:W.style),f);return U(a.createElement("div",Object.assign({ref:t},es,{className:eu,style:eb}),n,eo,ei,ed))});var k=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};C.Grid=b,C.Meta=e=>{let{prefixCls:t,className:n,avatar:o,title:c,description:l}=e,d=k(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=a.useContext(i.QO),u=s("card",t),b=r()("".concat(u,"-meta"),n),g=o?a.createElement("div",{className:"".concat(u,"-meta-avatar")},o):null,f=c?a.createElement("div",{className:"".concat(u,"-meta-title")},c):null,p=l?a.createElement("div",{className:"".concat(u,"-meta-description")},l):null,h=f||p?a.createElement("div",{className:"".concat(u,"-meta-detail")},f,p):null;return a.createElement("div",Object.assign({},d,{className:b}),g,h)};let S=C}
1,69249:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(12115),o=n(93683),r=["mousedown","touchstart"];let c=function(e,t,n){void 0===n&&(n=r);var c=(0,a.useRef)(t);(0,a.useEffect)(function(){c.current=t},[t]),(0,a.useEffect)(function(){for(var t=function(t){var n=e.current;n&&!n.contains(t.target)&&c.current(t)},a=0,r=n;a<r.length;a++){var i=r[a];(0,o.on)(document,i,t)}return function(){for(var e=0,a=n;e<a.length;e++){var r=a[e];(0,o.AU)(document,r,t)}}},[n,e])}},78231:(e,t,n)=>{n.d(t,{A:()=>r});var a=n(12115),o=n(93683);let r=function(e,t){var n=(0,a.useState)(void 0!==t?t:!!o.Bd&&window.matchMedia(e).matches),r=n[0],c=n[1];return(0,a.useEffect)(function(){var t=!0,n=window.matchMedia(e),a=function(){t&&c(!!n.matches)};return n.addEventListener("change",a),c(n.matches),function(){t=!1,n.removeEventListener("change",a)}},[e]),r}}}]);

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.